Archive for February, 2009

Testing Sharp Distance Sensors

February 10th, 2009

Hi Guys!

Finally I finished the first semester of the NTB in Buchs.
Beside working for my company I had to learn a lot – but – I also had some time to combine the requirements for the “robot” project in the first year with a possible nice feature for the Mikrokopter.

I’m talking about the “traditional” IR (infrared) distance sensors from Sharp. There are different types of them, for example: GP2D12, GP2D120, GP2Y0A02YK (GP2Y0A02)
These three types are sensors that have an analog output (there are also other sensor-types from sharp with adjustable or fixed digital outputs)

The sensors have a very simple interface:

  • Power Supply
  • GND
  • Analog Out

That’s it!

The difference of these three types that I tested is the measuring distance or let me say their “sensitivity”.

For example the GP2D12 specification is:

Range: 8cm to 80 cm
Supply: 5,0V;
Vout: 0,4V bis 2,6V typ. (80cm – 10cm);
Current: 33mA typ.

Typical feedback:

As you can see the output voltage is not linear to the distance – but that is not a big problem for the softare, if you know that behaviour ;)

The GP2D120 if from 4cm to 30cm and the GP2Y0A02YK is from 20cm to 150cm.

» Read more: Testing Sharp Distance Sensors