Parts:
2 x Small Wheel
2 x Continuous rotation servo
1 x brush
1 x Ultrasonic Sensor
1 x Arduino Nano
1 x LED of any color
The main goal of this desktop sweeper is to sweep an elevated surface by pushing dust and debris to the edge. It works by powering the 2 servo motors until an edge is detected by the ultrasonic sensor. Then, the robot backs up and turns 180 degrees to sweep the other direction. This runs until an edge perpendicular to the previous detected edge is found. The blue LED is used to note when an edge is detected. When testing it, one of the wheels would not touch the surface. As a result, the bot would move on a curved path. Since the ultrasonic sensor was only on one side, the robot would fall off from time to time due to the elliptical travel route.