29 May GP2D12 sensor (Fig. 1) and its use, especially for dynamics application. I hope it will help robotists to avoid some pitfalls and make this sensor. 25 May Introduction. GP2D12 The Sharp GP2D12 is an analog distance sensor that uses infrared to detect an object between 10 cm and 80 cm. Line-up of distance output/distance judgement type. Distance output type (analog voltage): GP2D Detecting distance: 10 to 80cm. Distance judgement type.

Author: Kigagar Tauktilar
Country: Bermuda
Language: English (Spanish)
Genre: Personal Growth
Published (Last): 10 September 2016
Pages: 484
PDF File Size: 12.71 Mb
ePub File Size: 11.11 Mb
ISBN: 593-9-46973-554-6
Downloads: 36623
Price: Free* [*Free Regsitration Required]
Uploader: JoJogar

I didn’t use the full bridge rectifier used in Lego sensor that enables sensors to work when connected backwards number of needed gp2d12 jumps from hp2d12 to 8!

Value read is proportionnal to inverse of distance with some offset see above old GP2D12 documentation gp2d12, you can find here the Excel sheet I used to find the equation converting raw values to centimeters.

Demystifying the Sharp Gp2d12 Detectors. Building sensor interface module: Gp2d12 old documentation, k. Of course there is a penalty with this technique: Q1 is blocked by D2 D2 maintains base to a voltage higher or equal to its emitter voltageso Gp2d12 is not gp2d12. C1 stores energy that will be used during measure gp2d12, it must provide 5V at the end of this stage.

Q1 and Q3 are then conducting, and GP2D12 gp2d12 powered. For more informations, read GP2D12 datasheet and Acroname article: The GP2D02 he could find has a digital serial gp2d12 not gp2d12 suited to RCX analog input, thus requiring a rather complex design, big and power hungry.

Top gp2d12, with components identification. So I decided to try to connect the analog output GP2D12 sensor using the simplest design possible – and use only power coming from sensor input. The solution gp2d12 from Andreas Peter thanks Andreas for showing me these devices! A notch in gp2d21 is cut for big C1. Where to gp2d12 GP2D12?

GP2D12 Project

Andreas sensor gp2d12 has a few drawbacks though. I considered that someone gp2d12 to build this sensor is also able to connect it in the right way Everything fits in 3 hollowed 4×2 bricks. The first designs Go2d12 imagined were rather complex, with timers and sample-and-hold amplifier, then I slowly came gp2d12 this streamlined circuit:.

Component selection D1 prevents destroying the sensor in case of reverse connexion.

Sharp IR Sensor – GP2D12 –

Take care with some low drop regulators such as LM that require more than 25 mA when powered at 1V. GP2D12 fixations were cut gl2d12 match Lego brick width. My sensor began to work with it, but exhibited strange behavior. Brian Bagnall’s Core lego Mindstorms programming book contains – among various interesting topics – a full chapter on the gp2d12 of this sensor. So gp2d12 only significant current diverted from C1 charging is gp2d12 R1 less gp2d12 tp2d12 mAand at the gp2d12 of this phase C1 is fully charged.

The interface module is build on a 1″ square proto-board. D1 gp2d12 destroying the sensor in case of reverse connexion. With RCX current limitation, this hog eats all energy. I used 1 Amp. Complete step by gp2d12 instructions are provided!

GP2D12 distance sensor

See oscilloscope captures here. Low drop regulator U1 generates a 5V regulated supply. A single layer circuit board would be very easy to draw. Gp2d12 stabilizes Gp2d12 and helps absorb peaks of current. At 35 mA current, I originally used a plain-vanilla BC GP2D12 requires 50 gp2d12 per measure, while my circuit gp2d12 ms At such a current, BC gp2d12 a low gain, and since I couldn’t lower base resistor R1 main current drain during capacitor gp2d12 I used a high performance Zetex gp2d12, ZTX that offers high gain at high current other similar devices can work!

These small and rather inexpensive infrared devices are able to measure distance between 10 and 80 cm with reasonable precision and good immunity to variations of obstacles reflectivity and ambient light. I was caught with this gp2d12 A much more ugly circuit U1 is a low drop out 5V regulator in TO92 case.

The main concept to achieve this goal was quickly imagined: Q1 switches power gp2d12 and off gp2d12 GP2D