Relay needs for DC motor?
William Brown
Posts: 9
I have a standard DC continuous rotation motor (not a servo) that I need to run as fast as I can for a specified amount of time. I have a separate battery pack to run the motor from, and I assume I would use a relay connected to the stamp and to the motor's circuit. Use the controller to activate the relay, then the relay will activate the secondary motor circuit.
Lastly, to throw a kink into the works, I need to change the direction of the motor. So it will run one way for a bit, then evaluate a circumstance, and then go the other way.
OK, my question is, is this valid?
If so, what relay would you all suggest that I use to set this up? I don't want to fry my stamp.
Anyone have any ideas on a possible circuit to make this happen?
Post Edited (William Brown) : 12/25/2008 8:27:53 AM GMT
Lastly, to throw a kink into the works, I need to change the direction of the motor. So it will run one way for a bit, then evaluate a circumstance, and then go the other way.
OK, my question is, is this valid?
If so, what relay would you all suggest that I use to set this up? I don't want to fry my stamp.
Anyone have any ideas on a possible circuit to make this happen?
Post Edited (William Brown) : 12/25/2008 8:27:53 AM GMT
Comments
Take a look at the HB-25 motor controller.It uses a servo input command to drive a DC Brush type motor up 25 Amps. Parallax Part#29144
This motor controller will rev. direction of the motor and vary speed too.It also has a wide voltage range!
Limit switches "I like reeds with a magnet" and some simple code will help with Your "circumstance" to rev. the motor or stop it
Take a look at experiment#14 in the StampWorks Manuel
____________________$WMc%____________Merry Xmas
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Truth is out there
Post Edited ($WMc%) : 12/25/2008 5:21:06 PM GMT
I had a post on an H-bridge using relays at··http://forums.parallax.com/showthread.php?p=749676 that might get you going. I'm a fan of dynamic braking (DB)·on small motors & robots (6 volts, 1 amp or less). If you don't want DB or are using larger motors & currents, you'll want a different approach. See the rambling thread at
http://forums.parallax.com/showthread.php?p=727502
Relays are cheap, easy to use and very reliable.
erco
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
Post Edited (erco) : 12/25/2008 7:52:27 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· -- Carl, nn5i@arrl.net
Post Edited (apstinky) : 12/31/2008 6:52:51 AM GMT