LIDAR is one of the fundamental sensing technologies of autonomous vehicles. It gives a system the ability to see how far away things are 360 degrees around it.
We used the Garmin LIDAR range finder in another guide. It works by sending out a pulse of modulated laser light which bounces off whatever it’s aimed at and is read by an optical receiver. The time that takes is a measure of distance to the surface it bounced off of. While being very cool and very effective technology, it just looks in one direction. You could mount it on a stepper motor and repeatedly rotate and take a reading. Or you could use a 360 degree LIDAR system like the RPLIDAR from Slamtec.
The guide has example code in Python 3 for Raspberry Pi. It includes a driver for the sensor written for Adafruit so you can get going quickly.
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.