Shop OBEX P1 Docs P2 Docs Learn Events
motordriver and RC control — Parallax Forums

motordriver and RC control

ArchiverArchiver Posts: 46,084
edited 2004-05-03 22:05 in General Discussion
hello,

I want to use an RC remote control to control a small motor. The receiver
makes an PWM pulse in my opinion, (i can attach a servo that turns left and
right) and i think i can put the PWM pulse in a H-bridge. I guess so far so
good....

How can I make that the motor go in reverse, if i change the control from
going forward to backward?

thanks pieter-jan

_________________________________________________________________
MSN Search, for accurate results! http://search.msn.nl

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-05-02 20:34
    --- In basicstamps@yahoogroups.com, "Pieter-Jan van Diepen"
    <diepenpj@h...> wrote:
    > hello,
    >
    > I want to use an RC remote control to control a small motor. The
    receiver
    > makes an PWM pulse in my opinion, (i can attach a servo that turns
    left and
    > right) and i think i can put the PWM pulse in a H-bridge. I guess
    so far so
    > good....
    >
    > How can I make that the motor go in reverse, if i change the
    control from
    > going forward to backward?
    >
    > thanks pieter-jan
    >
    > _________________________________________________________________
    > MSN Search, for accurate results! http://search.msn.nl


    Read up more on the H-Bridge. in it's relaxed state, it will drive
    one way. but when you energize the direction pins, it reverses the
    polarity that goes to the motor and that makes the motor spin
    backwards.

    Dave




    NEW ! Low profile Chipircuits
    http://www.visualmuses.com/chipcircuit/index.html
  • ArchiverArchiver Posts: 46,084
    edited 2004-05-03 22:05
    > I want to use an RC remote control to control a small motor. The receiver
    > makes an PWM pulse in my opinion, (i can attach a servo that turns left and
    > right) and i think i can put the PWM pulse in a H-bridge. I guess so far so
    > good....
    >
    > How can I make that the motor go in reverse, if i change the control from
    > going forward to backward?

    Two possible solutions:

    1) Borrow the guts from an old (mechanically broken) servo. Center the POT
    and replace their motor with yours. Pull back RC remote control to reverse,
    push forward to go forward; center to stop. done.

    2) Run PWM thru power driver; reverse polarity of motor via a relay
    (controlled by digital channel of RC)


    --
    Enjoy,
    George Warner,
    Schizophrenic Optimization Scientists
    Apple Developer Technical Support (DTS)
Sign In or Register to comment.