go_away

Author Topic: $50 line following robot (working).  (Read 3261 times)

0 Members and 1 Guest are viewing this topic.

Offline JoseS13Topic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
$50 line following robot (working).
« on: December 10, 2007, 07:58:34 PM »
Well I started this project as a photovore and ended up with a line follower. I used the same code as the photovore but instead of using the photo resistors I used two QTI IR sensors http://itp.nyu.edu/physcomp/sensors/Reports/QTILineSensor. I had to use a 10kohm resistor on each sensor for them to work with the program (check link for reference). I also changed the threshold value in the source code from 8 to 50. It works like a dream. I'll post a video of the robot later. The robot follows a Black line on a white surface.
Thanks admin for the wonderful tutorials and this great forum. I had to build this project for class and would not have been able to finish if it wasn't for all the useful information on your site and forum. Im finishing my electronics major this week and don't know crap about C language. Well I learned a little from experimenting with your codes.
Thanks,
Jose
 ;D
« Last Edit: December 10, 2007, 08:07:23 PM by JoseS13 »

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,659
  • Helpful? 169
    • Society of Robots
Re: $50 line following robot (working).
« Reply #1 on: December 10, 2007, 08:10:40 PM »
 :D

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,653
  • Helpful? 21
  • narobo.com
Re: $50 line following robot (working).
« Reply #2 on: December 10, 2007, 10:09:42 PM »
Just curious,

the robot cannot do sharp turns ( more than 60 degree turns)  and 90 degree turns are out of the question



cant wait to see the video
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline JoseS13Topic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: $50 line following robot (working).
« Reply #3 on: December 10, 2007, 10:47:44 PM »
I didn't test how sharp it could turn yet. I have to show it in front of the class Wed. I guess that will be a good time to find out. Those sensors are only 6 dollars a pop from Parallax.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,659
  • Helpful? 169
    • Society of Robots
Re: $50 line following robot (working).
« Reply #4 on: December 11, 2007, 05:55:54 AM »
If you want it to do sharp turns, just change the servo speeds to be faster when it turns.

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,653
  • Helpful? 21
  • narobo.com
Re: $50 line following robot (working).
« Reply #5 on: December 11, 2007, 09:11:22 PM »
oh heres a line following / object avoiding robot i built

its a bit crude but I'm redoing it out of plexiglass next week.
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

 


Get Your Ad Here