Another question about wiring the Wheel kit /motor controller from parallax ?
········ I have the HB25 motor controllers with the motor mount Wheel Kit using a Board of education Bs2.
·I have the 12v power wiring figured out but i'm having problems understanding the wiring for the position controllers to the motor cotrollers to the board of education. lcd cable from servo port on boe to motor controller 1 then jumped to motor controller 2. How does the position controller·and the motor controller get connected together??? Any help would be appreciated.·
·I have the 12v power wiring figured out but i'm having problems understanding the wiring for the position controllers to the motor cotrollers to the board of education. lcd cable from servo port on boe to motor controller 1 then jumped to motor controller 2. How does the position controller·and the motor controller get connected together??? Any help would be appreciated.·
Comments
From page 11 of the motor mount manual;
Rich H
Remember that was a guess - I really ought to read the manual before spouting off like that. Fair chance that I am not right.
Rich H
First is the link from your MCU to the position controllers. Your MCU needs to be able to give instructions to both possition controllers and must have a communciations path to them. To simplify the wiring and reduce the number of output pins needed, Parallax allows you to daisy chain the two Possition controllers. You do this by logically using an address (set with dip switches) to uniquely identify the two controllers. Physically, you run a cable from your MCU to the first (does not matter which if physically first) Possition controller and then a second cable is run from the first to the second. There are many ways you could wire this but Parallax has made using this technique easy, simple and it uses standard Servo cables.
The secondon communication link is the link between the position controller and the HB25. The HB25 does the heavy lifting by controlling the high current lines to the motors while the Possition controllers directly controll the HB25. There is one HB25 for each Position Controller so this makes for two physical connections (one for the left wheel and one for the right wheel).
To recap, your MCU tells the possition controller what you would like to have happen in a rather high level way (go straight forward 200 units)
The Possition controller uses that to provide the HB25 with a low level signal (PWM) to cause the high level instruction to be executed. This of course relies on the feedback of the opto quadrature encoader on the Possition controller board.
I hope this helps.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Searider
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Searider