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.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/