Shop OBEX P1 Docs P2 Docs Learn Events
Need alittle input on the initialization code for the HB25.. — Parallax Forums

Need alittle input on the initialization code for the HB25..

denodeno Posts: 242
edited 2008-07-25 23:02 in General Discussion
Hello to all...In the documentation for the HB25 the following lines of code initialize the HB25:

DO: LOOP UNTIL HB25 = 1· 'Wait for HB-25 power up
LOW HB25······················ 'Make I/O Pin Output/Low

Question...does the HB25 output a logic HIGH to the stamp and the stamp waits for this logic HIGH, then turn itself into an INPUT to receive the LOW logic from the stamp?· All this on power up?

Deno



Post Edited (deno) : 7/23/2008 1:24:11 PM GMT

Comments

  • FranklinFranklin Posts: 4,747
    edited 2008-07-24 02:00
    Kinda sounds like it.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • denodeno Posts: 242
    edited 2008-07-25 23:02
    Thank you Franklin for your reply.· Another question to anyone that has experience with the HB25 motor controller.· Is there anyway to produce a dynamic brake effect using the HB25.· The reason I ask, is when Robo Caddy stops on a hill in neutral, it will roll back down the hill, due to the free spin of the motors.· I know from my autopilot on my boat, that when not course correcting, the motor see +12 volts on both leads to the DC motor, effectively 'checking' the rudder in position.· Braking can also be negative or ground to both leads of the motor as well.·

    Deno
Sign In or Register to comment.