A simple line follower can be easily made without a microcontroller but when you wish to have a better control over the motion and add more features to your robot, using a microcontroller is a good idea.One such simplest form of Line Tracer is discussed here. We use two line sensing elements as shown in figure.
There are three conditions:
A) Both sensors out of line:The line is straight and both sensors are in black portion.So the bot must in ‘Forward’ direction.Hence, both wheels (Left and Right) must consecutivelymove in forward direction.
B) Right sensor on Line:The right sensor is on line and we can see that the bot needs to move in the ‘Right’ direction.Hence, Left wheel must move in forward direction and Right wheel must be stopped (or move backwards).
C) Left sensor on Line:The left sensor is on line and we can see that the bot needs to move in the ‘Left’ direction.Hence, Right wheel must move in forward direction and Left wheel must be stopped (or move backwards).
Analysis Results:
1) Right Sensor On Line => Right Wheel Stopped => Right Motor Stopped => Move Right or StopelseRight Sensor Not On Line => Right Wheel Running => Right Motor Running => Move Left or Forward
2) Left Sensor On Line => Left Wheel Stopped => Left Motor Stopped => Move Left or StopelseLeft Sensor Not On Line => Left Wheel Running => Left Motor Running => Move Right or Forward
1 comment:
nice info...
Post a Comment