Pages: [1]   Go Down
Author Topic: Where to start with building a line following robot?  (Read 1192 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey there,

So for school I need to build a line following robot. I haven't done anything like this before, although we have been familiarized with programming for the arduino during lab sessions, and I am familiar with breadboarding.

I have already decided on PID control with 2 differential motors.

Also, for the line sensor I have decided on using infrared.

Additionally, for power we are restricted to either 1x6 pack of 1.5V AAs or 2x3 pack of 1.5V AAs.

I was wondering if there are any useful tips or places to get started, or any advice that you guys could offer.

I have already read this: http://www.mbrobotgames.ca/Images/GuideToBuildAutoRobots.pdf

Thanks for your help!
Logged

Canada
Offline Offline
God Member
*****
Karma: 7
Posts: 600
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I just googled "line following robot" and got over 4 million hits.  There were some very good write-ups in the first 2 pages.  I'd start there.

It's probably your best shot. 
Logged

Facts just don't care if you ignore them.

Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A 555 timer, two photoresistors.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 290
Posts: 25769
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
A 555 timer, two photoresistors.
I think we should assume that because the OP posted here and not the "two LDRs and a 555 forum" that they want to use a micro controller.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

UK
Offline Offline
Shannon Member
****
Karma: 222
Posts: 12549
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
A 555 timer, two photoresistors.
I think we should assume that because the OP posted here and not the "two LDRs and a 555 forum" that they want to use a micro controller.

But if a simpler solution seems feasible, it's reasonable to point that out. (I don't think I'm smart enough to solve this with the timers, but it sounds like somebody is.)
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Topsham, Vermont USA
Offline Offline
Edison Member
*
Karma: 32
Posts: 1867
... in The Woods In Vermont
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

Take a look at the ArduinoInfo.Info WIKI here: http://arduino-info.wikispaces.com/Robot+7-wayMultiTrackingSensor

You can make you own equivalent of this sensor array with infrared LEDs and IR Phototransistors, or typical "Reflective Object Sensors" like these: http://goo.gl/lfKlU

But there's a LOT more to this!  As the WIKI says:

Line following Algorithm?
Now someone just needs to write a function that takes this data and outputs Left and Right Motor speeds from -100 (full reverse), to 0 (stop), to 100 (full forward) and follows a line. Dynamic control based on amount of error would be nice, maybe even PID. See the Video above to get an idea of what is needed.

...but we hope that learning this Mechatronics stuff is why you took the class!  

Please make sure you come back and tell us what you did and how it worked out so WE learn something too !


DISCLAIMER: Mentioned stuff from my own shop...
« Last Edit: October 13, 2012, 08:09:01 pm by terryking228 » Logged

Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

Pages: [1]   Go Up
Jump to: