Motor problem
Question -
I have a motor that uses an adapter like the servo's use but instead of a 3 pin adapter it requires a 2 pin. Whats the best way to hook that into the BOE (uses BS2)? My BOE does not have a 2 pin adapter for motors and all 4 servo hook ups are being used for legs.
Should I simply cut the lead off the motor and wire it in or is there a way to use a 2 pin?
Also how do I code for a straight DC motor? A stepper is similar to a servo, but how does a simple DC motor code?
·
I have a motor that uses an adapter like the servo's use but instead of a 3 pin adapter it requires a 2 pin. Whats the best way to hook that into the BOE (uses BS2)? My BOE does not have a 2 pin adapter for motors and all 4 servo hook ups are being used for legs.
Should I simply cut the lead off the motor and wire it in or is there a way to use a 2 pin?
Also how do I code for a straight DC motor? A stepper is similar to a servo, but how does a simple DC motor code?
·
Comments
In fact, why not just read Nuts&volts #23 as it explains everything.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't visit my new website...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Also thinking that a stepper doesn't really need any special circuit. I should be able to plug in my 2 pin jumper and run a motor straight from the BOE with a resistor or two.
Stepper motors move by actuating coils in succession, not by turning one coil on/off.
** Post Edit·** ·attached pic; constant frequency, variable duty (True PWM)
Post Edited (PJ Allen) : 12/14/2006 3:59:00 PM GMT
Your posts seem to indicate that you don't have a good understanding of how these motor types differ...and thus, how to control them. This is not a bad thing...after all "Stupid is forever...ignorance can be fixed." Several of the Parallax offerings illustrate the important facts about the different motor types..."What's a Microcontroller?" is probably a good start. Even if you don't do the activities in the book, just reading it is a good experience.
And the materialsw are free!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Truly Understand the Fundamentals and the Path will be so much easier...
http://www.ams2000.com/pdf/step101.pdf
http://www.cs.uiowa.edu/~jones/step/
BTW I got both of these links from http://en.wikipedia.org/wiki/Stepper_motor. Wikipedia is an excellent first stop to learn about something.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.