Go Down

Topic: Help me make my robot follow me. (Read 3189 times) previous topic - next topic

Crock101

Hello, I am currently trying to make a robot that will follow me by using a HiTechnic inferred LED beacon and a HiTechnic Ir seeker sensor. What I want it to do is if the beacon is in sectors 1 thru 4 the robot would turn left until it's in sector 5, and if the beacon in sectors 6 thru 9 the robot would turn right till it's in sector 2, and if it's in sector 2 it does nothing except detect if I am farther than 2 ft using a Parallax Ultrasonic distance sensor, and if I am it will move forward until I am no longer farther than 2 ft. I need help with making my Arduino Uno Board interpret these sensors recorded values so that i can use them in If-Then-Else statements that tell the motors what to do. Can anyone help me?

References/Research:

http://www.usfirst.org/sites/default/files/uploadedFiles/Robotics_Programs/FTC/FTC_Documents/Using_the_IR_Seeker.pdf

http://www.hitechnic.com/cgi-bin/commerce.cgi?preadd=action&key=HBK2100

http://learn.parallax.com/KickStart/28015

http://blog.birkb.eu/hitechnic-infrared-seeker-library-for-arduino/

CrossRoads

Please don't post the same thing in numerous places - i.e. crosspost.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up