Did you have a specific motor in question? There are various types of controllers for different types of motors. Some information that would be key, would be what voltage do you want to run the motors at? What is the current? Do you have a stall current? Are they brushed or brushless? Do you have a datasheet for those motors, that should have the key specs that you would want to have prior to choosing the controller.
Sorry for all the questions; however the more information you provide, the easier and more accurate·a suggestion could be.
The easiest way is through a small relay with coil triggered by less than about 10mA, but that's usually just ON/OFF control.
If you want single direction, speed control and the motor is small enough to only draw 100mA or less you can use a 2N2222 transistor, two resistors and two diodes. For motors drawing 500mA or more you'll probably need a power transistor like the TIP120. Both circuits would be very small.
For two direction speed control you need to build an H-bridge, or use an H-bridge IC. That's four transistors.
Google 2N2222, TIP120 or H-bridge and decide which will work for you. There's plenty of schematics out there [noparse]:)[/noparse]
There are plenty of motor controllers to buy as well. I like building stuff myself!
there are some changes that need to be made. use the 10k version of the ad5220. and use a 2.2kohm resistor instead of a 220ohm to prevent excess current flowing through the ad5220 when at min and max resistances. Also you should connect the CS pic so you can disable the chip. I was having problems with the speed changing until I did so. But it also could have been because I was switching the outa-d variables and accidentally pulsing the control pins.
Comments
Did you have a specific motor in question? There are various types of controllers for different types of motors. Some information that would be key, would be what voltage do you want to run the motors at? What is the current? Do you have a stall current? Are they brushed or brushless? Do you have a datasheet for those motors, that should have the key specs that you would want to have prior to choosing the controller.
Sorry for all the questions; however the more information you provide, the easier and more accurate·a suggestion could be.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Respectfully,
Joshua Donelson
www.parallax.com
The easiest way is through a small relay with coil triggered by less than about 10mA, but that's usually just ON/OFF control.
If you want single direction, speed control and the motor is small enough to only draw 100mA or less you can use a 2N2222 transistor, two resistors and two diodes. For motors drawing 500mA or more you'll probably need a power transistor like the TIP120. Both circuits would be very small.
For two direction speed control you need to build an H-bridge, or use an H-bridge IC. That's four transistors.
Google 2N2222, TIP120 or H-bridge and decide which will work for you. There's plenty of schematics out there [noparse]:)[/noparse]
There are plenty of motor controllers to buy as well. I like building stuff myself!
there are some changes that need to be made. use the 10k version of the ad5220. and use a 2.2kohm resistor instead of a 220ohm to prevent excess current flowing through the ad5220 when at min and max resistances. Also you should connect the CS pic so you can disable the chip. I was having problems with the speed changing until I did so. But it also could have been because I was switching the outa-d variables and accidentally pulsing the control pins.
Post Edited (Campeck) : 1/18/2010 2:25:27 AM GMT