If you’re like me, you’ve always wanted a smaller and faster way to sense an object between 2 and 10 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 Polulu Carrier with Sharp GP2Y0D810Z0F 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.
Output is high normally and low when the sensor detects an object. This sensor only tells if the object’s nearby – not how near or far the sensor is – so they’re great for break-beam, obstacle detection, and object counting.
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.