Step 5: IR Distance Sensor

the ir distance sensor is a very simple sensor, it is either of or on, if it is of it sends out a signal of 1 but if it is on it sends out a signal of 0, it cannot say how far away something is but only if something is there, It has a red led on the  back that light3s up when something is present, this is a very nice feature as it makes trouble shooting much easier. it is attchd to pin 9 on the arduino and the other two pins to the 6v power supply from the battery

I anyone else build a robot like this I recommend they put the sensor in the middle and set the caster back a bit, it would work much better if you are only using one, as I am planning on adding another sensor to the chassis on the other side that doesn't really matter to me
<p>good idea on the ballcaster :]</p>
did you connect the motors to the power from arduino, or a power supply just for the motors? (there is the 4 AA battery case as well as a 9v snap on the robot)
little bit improvement is needed.<br>
can someone use a m11b416256a-25j ic as a microcontroller for a robot
Looks Awesome. Can you add a video, I'd like to see it working.
i will probably add a video in the future, im still tweaking the program

About This Instructable




Bio: https://www.instructables.com/member/sholtob/ this is my real account, I uploaded this instructable to the wrong one
More by sbateson:SPROT, my SimPleROboT 
Add instructable to: