Smarter Golf Cart
I made a golf cart smarter using ultrasonic sensors (distance), PIR sensors (Infared), and a backup camera to make it understand it's surroundings better. Using the measurements acquired, it will make sounds to make the driver aware of any obstacles that they are not able to see.
Supplies
- 1 Ultrasonic sensor
- Active Buzzer
- Raspberry PI Model 4B
- Jump Wires
- Bread Board
- Bluetooth backup camera and screen
- Solar Panel
- Solar Panel Power Box
- Coding Cable
- Power Cable
- Golf Cart Battery
- Electric (Kid) Car
Check to See If Solar Panel Works
Make sure that the solar panel is actively charging and replenishing energy. Also make sure to check the voltage on the output to make sure that sun is actually powering your devices
Attach Backup Camera and Screen
Attach the backup screen to an area that the driver can actually see from such as on top of the passenger seat. Connect the wiring to the backup camera and attach it to the back of the vehicle to make up for the blind spot of the sensors. Make sure the camera will not be blocked by anything on the car or cart.
(You can code a screen and back up camera but I found a Bluetooth connected screen and camera that did the trick)
Code Sensors
For the coding, I attached two Buzzers and one Ultrasonic sensor
Ultra Sonic Sensor
- I made the ultrasonic sensor capture the distance at the front. This is meant to tell you if an object is in the way or if someone jumps in front. This is connected to the buzzer which pitches to tell the driver to brake or come to a complete stop
Buzzer
- Two. One on the front and one on the back. Attach buzzers on to each pole on cart. This will warn driver of oncoming obstacles to driver. Code it to connect to ultrasonic sensor. After cart gets 10 cm away, make it so the buzzer goes off
- It was an active buzzer - goes off CONTINUOSLY
- Buzzer goes off continuously when 10 cm away, starts beeping 70 cm away
Attach Coded Pi and Sensors on to Car
Pi goes on the dash of the cart, have wiring go out towards the passenger and driver side. Connect large power code to solar panel.
- For this, Golf cart was not functional so I got a small electric car which I borrowed from my teachers' nephew.
Drive at Someone to Test If It Works
As said, the best tests always have risk :D