We’ve got many distance sensors, and the TFmini Distance Sensor is a nice addition. This sensor bounces light off objects and returns the distance in centimeters. It’s a nice compact plastic package, with UART serial output.
Please note that the company calls this a “LiDAR” but it is not a true LIDAR. Instead, it’s a time-of-flight (ToF) infrared sensor like the VL53L0X. That said, it’s easy to use, and since it spits out the data directly over serial, you don’t need a complex driver as long as you have a serial port available. If you’re using with a computer rather than a microcontroller, you can plug this into a USB console cable and run our Python library to read sensor distance data.
These kinds of Time of Flight sensors are really common in robotics or UAV projects, but they can also be used for automation, interactive art, and motion sensing. Can detect 30cm to 12 meters (ideal), with ±4cm from 0.3 to 6m and ±6m up to 12m.
Comes with a cable you can splice and solder to. Power with 5V on the red (power) and black (ground) wires. Then read data from the green TX wire, the logic level is 3.3V.
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, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, 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.