Arduino Motor Control Kit
by Coolnventions in Circuits > Microcontrollers
8548 Views, 22 Favorites, 0 Comments
Arduino Motor Control Kit
The aim of this project is to make a Arduino Motor Control Shield, that is cheap, ergonomic and easy to make. I was thinking, why not use cardboard instead of a pcb, after all its easy to use for almost everyone!
The Motor plugs into the green screw terminals, and the shield is powered by 1 9V battery. You could also stack 2 shields and share one battery to power 2 motors without bulk.
PS im 15 years old
The Motor plugs into the green screw terminals, and the shield is powered by 1 9V battery. You could also stack 2 shields and share one battery to power 2 motors without bulk.
PS im 15 years old
Parts List!
So here is what you need. About 5$ max in parts from Radio Shack
1 Transistor (I use 2N2219)
100 OHM Resister
1 Piece Cardboard
1 Screw Terminal
1 9V Snap
Misc Wire
Basic Soldering Stuff
1 Transistor (I use 2N2219)
100 OHM Resister
1 Piece Cardboard
1 Screw Terminal
1 9V Snap
Misc Wire
Basic Soldering Stuff
Cut the CardBoard
Put the cardboard on the Arduino and cut out a shape that fits on like a shield, put 2 dots, one for ground and one at an digital PWM Pin, then punch out the holes.
Wiring!
Put the parts through the cardboard, and wire it up in the back(IGNORE THE DIODE) , test then solder
Make sure the output pins fit when put on the arduino
Make sure the output pins fit when put on the arduino
Programming
Here comes the fun part!
Screw in you motor, and attach your shield to the Arduino
If you dont want to figure out this yourself, then here is a simple code I made for you guys:
REPLACE 11 WITH THE PWM PIN YOU USED
int rowPin1 = 11;
void setup() {
pinMode(rowPin1, OUTPUT);
}
void loop()
{
digitalWrite(rowPin1, HIGH);
delay(5000);
digitalWrite(rowPin1, HIGH);
delay(5000);
digitalWrite(rowPin1, HIGH);
}
Picture Credit:
http://www.basicmicro.com/Resistor-1K-Ohm-14-Watt_p_118.html
http://www.atomicmall.com/view.php?id=81932
http://catalog.ecvv.com/Electronic-Components/Screw-Terminal/
aksoapy.com
Screw in you motor, and attach your shield to the Arduino
If you dont want to figure out this yourself, then here is a simple code I made for you guys:
REPLACE 11 WITH THE PWM PIN YOU USED
int rowPin1 = 11;
void setup() {
pinMode(rowPin1, OUTPUT);
}
void loop()
{
digitalWrite(rowPin1, HIGH);
delay(5000);
digitalWrite(rowPin1, HIGH);
delay(5000);
digitalWrite(rowPin1, HIGH);
}
Picture Credit:
http://www.basicmicro.com/Resistor-1K-Ohm-14-Watt_p_118.html
http://www.atomicmall.com/view.php?id=81932
http://catalog.ecvv.com/Electronic-Components/Screw-Terminal/
aksoapy.com