This project uses a Raspberry Pi 2 board and sonar sensors to avoid a collision

This project was mainly just for fun, but turned into a huge project for me. I've been working on this for a while now inbetween school, work, and life. Basically, three HC-SR04 Sonar Sensors check to see if an object is detected on the left, center, or right of the vehicle, and will make a decision based on where the obsticle is located. This project is on-going. I plan to add a live-stream with the Pi-Camera and various LEDs to visually show how the desicion to turn is being made.


I just wanted to post this project to get some feedback and ideas. I have posted my code (In Python), some pictures, and also an Excel file with further explaining the data pins used in this project. So, what do you guys think?