Hide & Seek (Smart Coordinate Grid & GPS Treasure Navigator)
Source:
Hide 'treasure' items on an 8x8 grid mat. Program a 2WD robot car using (X, Y) coordinate commands (e.g. Move to X=3, Y=5). Hall-effect floor sensors read grid intersections and celebrate when the bot arrives at the target coordinate.
Categorisation
Props & Materials Required
- •8x8 floor coordinate grid mat labeled X (1-8) and Y (1-8)
- •2WD robot car with optical wheel encoders
- •8x8 magnetic Hall-effect sensor grid array
- •ESP32 / micro:bit V2 controller
- •16x2 LCD display screen
- •DFPlayer Mini MP3 module + 3W speaker
Step-by-Step Instructions
Pick Target Treasure Coordinate
Draw a treasure card: 'Find Nani's house hidden at Coordinate (X=5, Y=3)'.
Block Code Grid Path
Program robot car: 'Drive X forward 5 grid units, Turn Left 90°, Drive Y forward 3 grid units'.
Robot Drives on Grid
Watch the robot car count grid lines as it drives across the mat.
Coordinate Arrival Verification
When the bot reaches grid intersection (5, 3), Hall sensor triggers! LCD displays '(5,3) ARRIVED!'. Speaker plays victory fanfare!
Why It Works & Notes
Coordinate geometry (X, Y axes) is best understood through grid navigation. Programming a robot car to drive to exact coordinate intersections (X=4, Y=6) turns abstract (X, Y) graphing into physical robotics pathfinding.