Robot arm
Programming servo motors to move an arm through controlled positions: my first lesson in turning code into precise physical movement.
CodeBefore a robot can do anything useful, it has to know where it is and what's around it. These five Arduino builds are where I learned that, one sensor at a time. Every sketch is public on GitHub.

Programming servo motors to move an arm through controlled positions: my first lesson in turning code into precise physical movement.
CodeTeaching a board to tell one colour from another, the starting point for any robot that has to sort, follow or recognise something.
CodeMeasuring how far away an object is, so a machine can stop before it hits something.
CodeUsing sound echoes to measure distance, the same principle bats use, and a building block for obstacle avoidance on wheeled robots.
CodeReading environmental data and showing it live on a display: sensing, processing and output in one small system.
CodeEach of these is small on its own. Together they became the toolkit behind my bigger builds: the Sunflower Project’s light sensing, the Tank Battle Bot’s control, and the Mars Rover.