DC motor control

Started by kongfu2008 February 18, 2004
is there any way to control DC motors directly with the BX-24
wiht out motor controllers?
if yes. how?
which pin should i use for DC motor and how do i command to revers it
direction?
if you could show me a sample program

thank you


Even a small motor will require more power than the BX-24 can provide
(and motors the size I play with will require way more :-). The I/O
lines can sink up to 20 mA, enough to drive and LED but not much more.

So you will need some external circuit to drive a motor.
kongfu2008 wrote:
> is there any way to control DC motors directly with the BX-24
> wiht out motor controllers?
> if yes. how?
> which pin should i use for DC motor and how do i command to revers it
> direction?
> if you could show me a sample program
>
> thank you
>
_________
Jim Coate
1970's Elec-Trak
1992 Chevy S-10 BEV
1997 Chevy S-10 NGV
http://www.eeevee.com



Control yes, power no. That is a microcontroller can
provide the logic level signals that direct a motor to
run at a certain speed or rotate CW or CCW but it
can't power the motor. That's what the motor controller
is for. The microcontroller sends the appropriate commands
to the motor controller which controls the current through the
motor. The BasicX can source or sink approximately
20 ma per pin (80 ma per controller), which is not
enough to power most motors.

> "kongfu2008" < >is there any way to control DC motors directly with the BX-24
>wiht out motor controllers?
>if yes. how?
>which pin should i use for DC motor and how do i command to revers it
>direction?
>if you could show me a sample program
>
>thank you


John-