Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Right angle turn in line follower

Status
Not open for further replies.

ppppking04

New Member
I wish to contruct a line follower robot capable of performing 90 degree turns...So if anyone has any idea of how to do it please share them...
I am using a microcontroller,visible LED sensors and H-bridge driver IC...

[/b]
 
We have a line following competition that has only 45, 90, and 135 degree turns. See the rules at:
**broken link removed**

The 45 degree turns are taked normaly. For the 90 and 135 degree turns, let the robot run beyond the turn, remember where the last line was (right side or left side) and turn in that direction to re-acquire the line. Here is a video of my run a year ago.
**broken link removed**

Rick Brooks
 
what is a block diagram represntation of line follower robot kindly tell me.

Thanks
 
I had to do that for a class (but with no microcontroller) and here's how I did it: Put two line sensors on either side of the robot, in the front. Space them so they are outside the line on either side (so they don't see the line). Then, when one sees the line, you know you need to turn.
Assuming your robot uses differential steering (i.e. steering like a tank), notice that, when turning right, the front-right corner will move right, in sort of a circle. So, when the robot's right sensor sees a line, you have it stop the right wheel(s) and keep moving forward with the left ones. It will turn right, and as it does, the front-right sensor will be sliding to the right. Eventually, it won't see the line anymore, and then you turn the right wheels back on. In other words, each side's wheels only get power if the sensor on that side doesn't see a line. That is a really quick and dirty way to do it (we only had logic gates for that class, no microcontrollers), and you have to tune things to make it work reliably. And of course the robot stops if both sensors see a line.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top