Before we can figure out our testing site. We wanted to implement the Arduino controlled acceleration system. We decided to take a bold step and take apart the accelerator pedal and cut all of its wires.

The whole entire accelerator sensor is a potentiometer.
Potentiometer (pot for short) is everywhere in electronics, from speakers to airplanes. In this case, the pot sends an analog signal to the golf cart’s motor controller. There are three wires extending from the pot, one for power, one for ground, one for signal. The signal wire is connected to what’s known as the wiper, which varies in resistance as it physically slides on a resistive track. Our goal is to hack this system and use a digital pot to control the motor instead.

We will also design a switch into the system that allows us to switch from manual mode to autonomous mode. Here is the soldiered shield with the Digital potentiometer on it.
9 replies on “Hacking the Accelerator — Controlling the Speed Using an Arduino”