Shop OBEX P1 Docs P2 Docs Learn Events
PWM with BS2 — Parallax Forums

PWM with BS2

UweUwe Posts: 18
edited 2004-11-18 04:34 in BASIC Stamp
I need to drive a DC motor with BS2 using PWM.

If I let the BS2 do the PWM it can't do anything else so I thought of using an adressable PWM which just gets the command from the BS2 and runs the motor until the BS2 next cycle.

Since I do not need true continuous speed on my motor I would be fine having 8 or 16 different speeds which I could set with the BS2, that is what I meant by adressable PWM.

What I need is the appropriate circuit, please advise...

Regards Uwe

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-11-18 04:34
    Checkout our documentation for the NX1000-24/40 board; it shows how to do motor PWM in PBASIC and may be just what you're looking for.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
Sign In or Register to comment.