Smarter Golf Cart

by duckymok889 in Workshop > Cars

14 Views, 0 Favorites, 0 Comments

Smarter Golf Cart

golf.jpg

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. 1 Ultrasonic sensor
  2. Active Buzzer
  3. Raspberry PI Model 4B
  4. Jump Wires
  5. Bread Board
  6. Bluetooth backup camera and screen
  7. Solar Panel
  8. Solar Panel Power Box
  9. Coding Cable
  10. Power Cable
  11. Golf Cart Battery
  12. Electric (Kid) Car

Check to See If Solar Panel Works

IMG_4608.jpg
IMG_4614_2.jpg

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

IMG_4807.jpg

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

IMG_6134.jpg
IMG_6139.jpg

For the coding, I attached two Buzzers and one Ultrasonic sensor

Ultra Sonic Sensor

  1. 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

  1. 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
  2. It was an active buzzer - goes off CONTINUOSLY
  3. Buzzer goes off continuously when 10 cm away, starts beeping 70 cm away


Attach Coded Pi and Sensors on to Car

tesla.jpg

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.

  1. 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

cat.jpg

As said, the best tests always have risk :D