Shop OBEX P1 Docs P2 Docs Learn Events
question about position controller interface to HB-25 — Parallax Forums

question about position controller interface to HB-25

daveedavee Posts: 35
edited 2010-07-25 21:15 in Robotics
I just received a Parallax motor with Position Controller and a pair of HB-25s. Looking through the documentation shows a way to daisy chain two HB-25s to the microcomputer. Since the HB-25 is using feedback from the ;position controller I can see where the data line from the controller goes into one of the position controllers and that controller sends data to the HB-25.

Question How does the second position controller get data from the controller, and into the HB-25.

I'm guessing that I will still have to use a second line from the controller to do this. If this is the case, just what is the rational for daisy chaining two controllers? *besides driving a second motor in parallel)

I think I might have answered my own question but...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Evartt

People don't hate computers, they just hate lousy programmers.

http://wehali.com

Comments

  • TimmooreTimmoore Posts: 1,031
    edited 2010-07-25 19:01
    The connection to the controller and position controller -- you can connect 2 connectors to it, the 2nd is connected to the 2nd position controller. There is some jumpers on the position controller to set an identifier so the commands to the position controllers can identify which position controller.
  • daveedavee Posts: 35
    edited 2010-07-25 19:39
    connect data line from stamp to right encoder
    connect data line from right encoder to left encoder


    At this point both encoders can receive data from the stamp based on ID

    connect signal of right encoder to first HB-25
    connect the second HB-25 to the first HB-25
    Remove jumper on second HB-25

    How does the second HB-25 get feedback since the data line from the left is not connected to anything?

    Maybe instead of daisy chaining the HB-25s, the left encoder is plugged into the second HB-25 and they both run in mode 1

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dave Evartt

    People don't hate computers, they just hate lousy programmers.

    http://wehali.com

    Post Edited (davee) : 7/25/2010 7:58:24 PM GMT
  • TimmooreTimmoore Posts: 1,031
    edited 2010-07-25 20:52
    Connect the 2nd HB25 to the 2nd position encoder, - diasy chain the position controllers and not the HB25
  • daveedavee Posts: 35
    edited 2010-07-25 21:15
    Now it makes sense. Wish the documentation was a little clearer.

    Thanks.
    Now if that 10AH NiMH battery pack will only arrive, we'll be ready to test

    Robot:
    Crustcrawler Nomad HD
    Parallax motor Kit
    HB-25
    Propeller robot board
    PING sonars
    IR rangefinder
    scanning Laser rangefinder
    camera
    fit-PC2 (6 watt Atom 1.6 PC, 1GB HD, wifi)

    All the low level functions are performed by the propeller board, which talks to the PC, which is a 4x4X1 in brick.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dave Evartt

    People don't hate computers, they just hate lousy programmers.

    http://wehali.com

    Post Edited (davee) : 7/25/2010 9:23:14 PM GMT
Sign In or Register to comment.