loading
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

Step 1: 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


Step 2: 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.

Step 3: 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

Step 4: 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
<p>what is the resister for</p>
Very interesting.
I wouldn`t ignore the diode if you want the transistor to work for long.
Thanks man
the code you posted is only turning the motor on. <br> <br>this code with put the motor at 100%, 50%, 0% :) <br> <br> <br>int motorPin = 11; <br> <br>void setup() { <br> <br>pinMode(11, OUTPUT); <br> <br>} <br>void loop() <br>{ <br> analogWrite(motorPin, 255); // Motor 100% <br> delay(5000); <br> analogWrite(motorPin, 127); // Motor 50% (almost) <br> delay(5000); <br> analogWrite(motorPin, 0);; // Motor 0% <br> delay(2500); <br> <br>}
are u an Indian?? <br>
TYPO: 100OMH Resister

About This Instructable

7,314views

20favorites

License:

More by Coolnventions:Arduino Rocket Guidance Make an Indestructible Flash Drive Flashlight Air Gun (Can break Sound Barrier) 
Add instructable to: