Overview
A robot that is capable of following a track at a maximum speed is created in this project wherein the brain of the robot is comprised by an Atmel AT90S4433.
Explanation
There are 2 light-sensitive resistors used in the robot to detect the path as well as the dead ends and junctions. The maximum maneuverability is done without much effort by the two engines that drive the two main wheels. This prototype has been created in order to surpass its original achievement of reaching the highest speed of 8cm/s in a robot contest.
A 10-bit A/D converter that has a 6:1 demux is being featured by the Atmel AT90S4433 which allows sampling up to 6 analog channels one at a time. Both light sensors are currently the only two analog sources that are being read. Since two PWMs are needed to control both engines, the built-in PWM generator could not be utilized in this case. A software for PWM is written with 2 channels using its programmable timer interrupts.
The rubber band transmission can cause the jerky movement seen in the movement which cannot be compensated with the error-time function used to calculate the reaction.