On Jan 23, 5:17 pm, Jay Settle <
jayset...@gmail.com> wrote:
> This was a fun project to do. I've always wanted to control bigger currents
> demanding motors with the arduino. I was very impressed with the seg stick
> post because of the in depth explanation and the schematic. Couldn't have
> done it without that.
>
> All the electronics were in this little black box behind the trigger. The
> black box has two grounds, a positive and negative for the battery, a
> positive and negative for the motor, and a signal wire connection which
> needs a pulse width modulation that conveniently the arduino can create.
> So I took my oscilloscope and prodded the electronic speed control and ran
> the drill at the same time going from connection to connection until I got
> something that looked like a pulse width modulation signal(see link):
>
>
> then I hooked a wire from the arduino pin 9 to this pulse width mod signal
> wire on the drill. hooked the ground from the drill battery to the ground of
> the arduino .hooked the potentiometer up and ran the sweep wire of the pot
> to the arduino analog pin 0 and wrote the code.
>
>
http://www.arduino.cc/en/Tutorial/Potentiometer
>