i want to power 1 9v motor with a 9v battery and control the speed with a Transistor plugged in to the Arduino. can someone tell me what i need?
legoaceking: i want to power 1 9v motor with a 9v battery and control the speed with a Transistor plugged in to the Arduino. can someone tell me what i need?
First you have to define what you want to motor to be able to do:
Simple on (full speed in one direction) and off ? You said control speed, so not this one of course, just an example of possible motor operating modes.
Variable speed in one direction and off ?
Variable speed in both directions and off ?
Only then can you move on to how and what you need.
3 is what i need. im using them to drive a robot.
legoaceking: 3 is what i need. im using them to drive a robot.
Then you require a H-drive circuit. There are many prebuilt H-drive motor shields avalible like this: http://www.sparkfun.com/products/9815
For a DIY method here is a detailed project from the arduino playground site:
maybe i can hook a relay to 2 Transistors that will make it less bulky. can that work?
after studying you H-bridge understand it now i will try that. thank you!
one more need can someone find a socket for this? http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&storeId=10001&catalogId=10001&pa=1342011&productId=1342011&CID=octopart
like this one http://www.google.com/imgres?imgurl=http://www.futurlec.com/Pictures/ICS16.jpg&imgrefurl=http://www.futurlec.com/Sockets/ICS16.shtml&usg=__n9GHLU5laR8WrBZYxGMw1uvBZKk=&h=238&w=300&sz=26&hl=en&start=0&zoom=1&tbnid=PhpCFJSicNWZeM:&tbnh=135&tbnw=197&ei=JT0CTr2IB8-ctwfvp4jZCw&prev=/search%3Fq%3D16%2Bpin%2Bic%2Bsocket%26um%3D1%26hl%3Den%26client%3Dsafari%26sa%3DN%26rls%3Den%26biw%3D940%26bih%3D957%26tbm%3Disch&um=1&itbs=1&iact=rc&dur=364&page=1&ndsp=21&ved=1t:429,r:13,s:0&tx=141&ty=71&biw=940&bih=957
can someone redraw this tutorial to control 2 motors? http://itp.nyu.edu/physcomp/Labs/DCMotorControl
oh i get it thank you!
can someone draw that out using fritzing.org?
i jist dont want to mess it. up can some one take the time to draw that out using fritzing.org?
ok can you fix the sketch i made for what i need?http://db.tt/TkLlzoi
what i do not understand is what ports on the Arduino i need to hook the stuff for the 2end motor to.
ok thats what i needed. thank you!