OrdinaryDave
New Member
Sharp GP2D120 IR Sensor Problems
Hi there. I'm completely new to the forum, and completely new to building robots, too.
I'm trying to connect a Sharp GP2D120 to a Picaxe 28x1, but I'm having trouble. The readings I get for it just fluctuate around 120 - 140, and bare no correlation to how far away something is (which is what it should be measuring).
Here's a picture of the analogue in part of the board, where the white line represents the signal cable from the sensor. The power and ground cables are connected elsewhere. The blue lines are short wires.
http://www.b3tards.com/u/a4ccb79cb7aa28350d3d/circuit.gif
As I say, I'm a complete novice, so I've probably done something really, really stupid. Any help would be really appreciated.
[Edit] I've been following this tutorial, by the way: http://letsmakerobots.com/start
Hi there. I'm completely new to the forum, and completely new to building robots, too.
I'm trying to connect a Sharp GP2D120 to a Picaxe 28x1, but I'm having trouble. The readings I get for it just fluctuate around 120 - 140, and bare no correlation to how far away something is (which is what it should be measuring).
Here's a picture of the analogue in part of the board, where the white line represents the signal cable from the sensor. The power and ground cables are connected elsewhere. The blue lines are short wires.
http://www.b3tards.com/u/a4ccb79cb7aa28350d3d/circuit.gif
As I say, I'm a complete novice, so I've probably done something really, really stupid. Any help would be really appreciated.
[Edit] I've been following this tutorial, by the way: http://letsmakerobots.com/start
Last edited: