If you’re like me, you’ve always wanted a smaller and faster way to sense an object between 0.5 and 5 centimeters away. If you’re really like me, you’ve wanted the sensor to come with a low current draw and on a tiny carrier board with all of the external components required to make it work.
The Pololu Carrier with Sharp GP2Y0D805Z0F Digital Distance Sensor fits those both needs and more. it’s one of Sharp’s fastest distance sensors – with a sample rate of almost 400 Hz and is an attractive alternative to short range phototransistors and longer range analog distance sensors.
This small digital distance sensor detects objects between 0.5 cm and 5 cm (0.2″ and 2″) away. With its quick response time, small size, low current draw, and short minimum sensing distance, this sensor is a good choice for non-contact, close-proximity object detection, and our compact carrier PCB makes it easy to integrate into your project. If you need slightly more distance from your sensor, we also offer the GP2Y0D810Z0F, which can sense objects 2 to 10cm away.
There are a few millimeters of hysteresis around the maximum range threshold and no hysteresis at the minimum range threshold. Note that these sensors will only tell you if there is an object within the detection range along their narrow lines of sight; they will not tell you how far away the object is.
Some example applications include:
break-beam sensor or photogate alternative
non-contact bumper or obstacle detector
a counter or timer of objects as they pass by
This sensor comes with a 3-pin male header and a 3-pin right-angle male header. You can connect these pins with a servo cable. The square pad is ground, middle is VIN, and the remaining pad is output. If you place a large capacitor (more than 10uF) between power and ground you should see an increase in performance.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.