Shop OBEX P1 Docs P2 Docs Learn Events
motor control — Parallax Forums

motor control

lobolobo Posts: 100
edited 2006-02-20 05:31 in BASIC Stamp
i build an h-bridge to control one motor with the info i got on this forum but i dont know how to program the h-bridge (with the bs2 ofcourse). it has 2 outputs A and B that our to be connected to the stamp. Can somebody please help me? what are the commands? i need something simple. After this i'am buying an h-bridge from parallax but i want to do this first. thanks for yas time.

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-02-20 05:25
    lobo,

    ·· Not sure why·you built the H-Bridge without knowing how it worked, but the A and B inputs (not outputs) should control each side of the motor driver such that making A-LOW and B-HIGH makes the motor go one way and A-HIGH and B-LOW makes it go the other way while A-LOW and B-LOW are usually motor off, although this varies depending on the H-Bridge and sometimes the other combination isn't allowed.· Always helps to know the circuit you are building, especially when it is capable of damaging your controller and possibly more.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • lobolobo Posts: 100
    edited 2006-02-20 05:31
    that's classified information!
Sign In or Register to comment.