This web site explains what you need:-
http://www.thebox.myzen.co.uk/Workshop/Motors_1.html
Note you will also need to connect the ground of the Arduino to the negative end of your battery.
This web site explains what you need:-
http://www.thebox.myzen.co.uk/Workshop/Motors_1.html
Note you will also need to connect the ground of the Arduino to the negative end of your battery.