Step 8: Attach the Microcontroller and Wire it up

Step 9: Progam the Controller and Test it Out

For the code to control the robot, see the attached file. I used Vex's programming language EasyC, which is visual block programming. To make the r...

Step 5: Add the Dustpan

Now you can add the dustpan. First cut the handle and a few inches off the back so it can fit in the frame. Then cut the sides down so it is about an inch and a half tall. I used a saber saw to cut the handle off, and used a cast saw to cut down the sides, but a hand saw would work fine. Then take a thin piece of wood and cut it so it matches the opening where the handle used to be, and use hot glue to stick it on. Next take a soldering iron and poke a little hole through both sides of the dustpan, about an inch away from the back, and a centimeter away from the top. Then cut a 6 inch piece of bailing wire, thread half of it through one hole, and fold it so the two ends meet. Do this for both sides. Then place the dustpan under the frame right up against the paint roller, and wrap the wire up around the horizontal beam. When you are done, the pan should be able to rotate so you can more easily dump it into the trash.