GuitarBot 2.0 development
A collaboration with Andy Doro
The first iteration of GuitarBot2.0 ran off the PIC. Now, we are translating all operations to the Atmega (which can be programmed with Arduino).
Our main challenge was programming the DC motor so that we could control both speed and direction. This was accomplished by using the A3953 DC full bridge PWM motor driver. Todd has a nice basic explanation of how it works here.

1.Potentiometer connected to Analog In 0
2.PWM Out pin10 connected to Enable Pin (EN) on 3953. This controls the speed.
3.Digital Out pin3 connected to the Phase Pin (PH) on 3953. This controls the direction.
4.Motor output (MA and MB on the 3953)
5.12V into the bottom half of the breadboard to power the motor. The top half of the board is powered by 5V from the Arduino
motor control.mov
guitarbot play.mov
Next Steps:
1. building a low pass filter circuit to cut the sound of the PWM (high pitch buzzing) AND/OR control PWM speed through code
2. adjust range of potentiometer
3. controlling stepper off of Arduino
4. breadboarding Atmega circuits