Yeah for this project I definitely want the cart to stay in front of me. As I play/walk the course my focus is always what's in front of me (where's my ball and how far is it to the green).
The cart already propels by itself with a potentiometer knob on the handle and my original problem was simply that I have to
keep my hand on the handle at all times because I'm constantly adjusting the speed up/down. If it followed my and I had to look back every 5 seconds to check on it that would be just as distracting.
I'd also note that having a small IR remote that allows me to "disable" the automatic speed if very important.
While playing there are many instances where I would not want the cart to automatically start rolling.
How else would the cart know to stop when I walk up to a sand bunker or the putting green or the lake where my ball usually ends up.
While I was trying to get everything mounted into a small box to mount onto the cart frame I broke my LiDAR sensor.
I also had issues getting the servo motor that turns the shaft of the potentiometer to be at the correct angle. I can turn the servo 0 - 270 degrees which was very close to the range that the potentiometer turns but the motor has to be mounted at an exact angle for that to work.
So I decided to try this instead:
For #1 I don't know what's easier/better Arduino or RPI. I'm just more familiar with the Pi.
The cart already propels by itself with a potentiometer knob on the handle and my original problem was simply that I have to
keep my hand on the handle at all times because I'm constantly adjusting the speed up/down. If it followed my and I had to look back every 5 seconds to check on it that would be just as distracting.
I'd also note that having a small IR remote that allows me to "disable" the automatic speed if very important.
While playing there are many instances where I would not want the cart to automatically start rolling.
How else would the cart know to stop when I walk up to a sand bunker or the putting green or the lake where my ball usually ends up.
While I was trying to get everything mounted into a small box to mount onto the cart frame I broke my LiDAR sensor.
I also had issues getting the servo motor that turns the shaft of the potentiometer to be at the correct angle. I can turn the servo 0 - 270 degrees which was very close to the range that the potentiometer turns but the motor has to be mounted at an exact angle for that to work.
So I decided to try this instead:
- 1. Raspberry Pi Zero W or my Arduino UNO (both are smaller than the older Pi 3B+)
I would still need code/logic that decides how to adjust the potentiometer,
I'd also need code/logic that reads the IR codes from my remote so I can override the "automatic" speeds - 2. Adafruit VL53L1X TOF Distance Sensor
- 3. Adafruit DS3502 I2C Digital 10K Potentiometer
With this I'd be able to digitally control the existing potentiometer without having the servo turn the knob, correct?
Then I don't need a servo or a PWM driver board
For #1 I don't know what's easier/better Arduino or RPI. I'm just more familiar with the Pi.
Last edited:


