BerrySonar is a Linux-based C# application developed for the Raspberry Pi, designed to act as a DIY LIDAR-like system—similar in concept to the object detection systems used in autonomous vehicles like
Teslas. It uses
trigonometry and an ultrasonic sensor rotated by a stepper motor to scan a 180° field, detect and display nearby objects. The data is transmitted securely to a Firebase Realtime Database for monitoring and analysis. The GUI of the application is served as a
React based application called
berry-sonar-view that is getting the
LIDAR metadata in real time using
Firebase real-time database and rendering the data in a sonar UI element that is drew and rendered dynamically in the browser