Let's Make Robots!

GP2D120

Lots of strange Sharp IR Noise…?

Hey everyone. So, I just finished my first robot in a few years, my first being 2 1/2 years ago. This one is a lot more complicated in terms of hardware since I made my own boards and all, and have 5 ICs in one circuit. I'm done with programming and everything runs well but there's one ongoing problem with my Sharp IR GP2D120 sensor.

Filtering Sharp IR sensor's noise on power rail

I have some problems with Sharp GP2D120 IR distance sensor on my next robot, Hammer. Sharp seems to cause noise on the power rail and the noise gets to LM386N-1 audio amplifier making really annoying "ringing" from speaker. Or at least this is what I suspect. Check the embedded video for a sample of that noise (or go here: http://www.youtube.com/watch?v=WIQ0qY6gFpQ). The video starts with Sharp disconnected and then I connect and disconnect it couple of times.

How do you program a sharp gp2d120 sensor?

I'm not finding any information on the net to explain how to program the gp2d120 with an arduino.  I have seen stuff in other codes but don't understand any of it.  So what I'm wondering is how do I actually tell it what to do at a certain distance.  I understand that it use a certain amount of volt for different distance but wasn't sure how you actually put that in a code.   I have everything I need to get started on my robot and hoping I can just figure this sensor out so I can post it up on here.  If someone know a tutorial for me that would be awesome. 

Sharp again - part numbers confuse me

I am shopping for Sharp distance sensors like the one used in "Start Here". My local mail order supplier charges €26 and I am boycotting them for that reason alone.

So I am searching for other suppliers and I find confusing part numbers. I understand the difference between Analogue and Digital sensors. I want the Analogue kind. And I want to measure distances up to 11.8" (30cm).

Are these parts all that different? 

GP2D120
GP2D12
GP2D120XJ00F

Wall avoiding aimless robot
Using a
Here's the photo of my first original bot - HairyBot 1, so called due to the abundance of wires from this breadboard on wheels.  It's a pretty simple setup, made … Read more