Projects with Blocks
Put it all together in complete block projects: alarms, games, light shows, and autonomous robots.
Motion Alarm
Build a working motion alarm using the HC-SR04 distance sensor. When something moves within range, the RED LED lights and the buzzer sounds. Adjust the sensitivity with a distance threshold.
Reaction Time Game
Build a reaction time game. A random wait ends when the GRN LED turns on — press Switch A as fast as you can! Your score (lower is faster) appears on the OLED.
Sound + Light Show
Choreograph a light and sound show using all three LEDs and the buzzer. Design a repeating sequence that combines colour changes with musical tones.
Line Follower
Program your robot to follow a dark line on a light surface using the two TCRT5000 line sensors. The robot steers by adjusting motor speeds based on which sensor detects the line.
Obstacle Avoider
Program your robot to navigate a room on its own. It drives forward until the distance sensor detects an obstacle, then reverses and turns to find a clear path.