Edge Avoider

Date: July, 2009
Location: Robosapiens India.
Team Size: 2
Details:
This robot is used to detect the end of a table using two IR sensors placed a little in the front of the robot. The robot uses an ATmega16 micro-controller. The micro-controller is programmed using Embedded ‘C’ in AVR Studio and the code is burned onto the ATmega using Burn-O-Mat and a USB Programmer.

The robot roams around on top of the table that it is placed and never falls off it. The table acts as the white surface, while the area beyond the table is the black surface. When the robot detects a black color on the left sensor, it rotates the left DC-motor backward and its attached wheel. If the right sensor detects a black color, the right DC-motor is made to rotate backward so that the robot turns by 45-degrees. The robot keeps moving forward, till the time both the sensors are on white surface (table). The IR sensors are placed a little outwards from the robot so that it is able to detect the end of the table before it falls off the table.

Edge Avoider:

Embedded ‘C’ Code can be found here.