Shop OBEX P1 Docs P2 Docs Learn Events
HB-25 Motor Controller — Parallax Forums

HB-25 Motor Controller

jisaacsjisaacs Posts: 3
edited 2008-06-07 14:48 in BASIC Stamp
Questions/Comments on the HB-25 motor controllers.· I’ve been working with the HB-25 motor controller and notice a few items that I like to confirm.·
1)····· When using the HB-25s in dual mode, one of the controllers was not in “Timeout Mode” this prevented both of the controllers from communicating with the BASIC Stamp microcontroller.
2)····· The method in which we are using the HB-25 and BASIC stamp they power up at the same time. In the future we will work to correct this issue.· When using the initialization code the STAMP gets suck at the startup loop.· Does anyone have any recommendation on this.
Thanks
Startup:
IF HB25 = 0 THEN Startup · ' Wait For HB-25 Power Up
LET DIRS = %00000001 ············ ' Set PIN0 To Output
PAUSE 5 ························· ' Wait For HB-25 To Initialize
PULSOUT HB25, 150 ··············· ' Stop Motor
PAUSE 20 ························ ' Wait 20 mS

Comments

  • FranklinFranklin Posts: 4,747
    edited 2008-06-07 14:48
    Small comment in the startup code you don't need the pause 20 if you are not going to send another pulse to the HB25.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
Sign In or Register to comment.