This gets long, so keeping it condensed a bit by leaving the quotes at the end....
The charge plugs and the data cable plugs are VERY different, with different wiring and protocols as I said... The battery + and - wires are the ONLY ones that are shared.... The 'charge inhibit' wire is NEVER shared on any controller that I've seen, and there is NO reason for it to be, and it would be a total waste of wire if it were....
The power base, as designed, is NOT 'inhibited' from moving by anything - it simply CAN'T move unless it gets a signal that tells it to move.... It is just like your car, which doesn't need a "driver not present" switch to 'inhibit' it from moving, it simply can't move (unless broken) unless there is a driver there to provide control inputs.... Thus there is no need for an 'inhibit signal' of any sort to be sent to the power base - all that is needed is an inhibit signal internal to the joystick pod to tell it not to send movement commands to the base (and turn on the 'charge inhibit error' signal)
There is also no need for an explicit inhibit for faults in the joystick - controller wiring, as the system essentially will automatically inhibit by default UNLESS the wiring is OK and all the signals are getting through properly... Essentially the default action for anything to do with a chair is to shut down, unless everything is perfectly working to tell it to operate....
However there is nothing that says the micro in the joystick pod can't send a DATA signal, using the same wires and protocols as all the other data signals, that says "I'm in charge inhibit mode" and for the motor controller to then do an extra lockout in response - I don't really know if it does this or not, and don't see it as terribly important other than as a possible 'message' content....
Note that while there may be connectors for both external and on-board chargers, their inhibits will NOT be sharing the same wire, as the inhibit signal works in the OPPOSITE way - the external charger inhibit is normally high, and gets pulled to ground when the charger is plugged in, while the on-board chargers are normally wired to have the inhibit pin be normally low, and pull it HIGH when the on board is connected to the mains... In many cases the on-board often does connect to the controller in the power base, and it then acts as a sort of pass through, where the micro in the controller sends a signal to the micro in the joystick pod that it is seeing an inhibit - which again keeps it from sending motion controls back down to the controller, and tells it to turn on the charge inhibit lights...
The 'all in one' controllers are really no different in their function and operation than the multi-part units, except that the electronics for both units are crammed into the same case, and they get rid of the data cable between them - I'm not sure, but they may also get rid of one of the micros and do everything off of one, since they don't need to worry about data connections....
ex-Gooserider
DougL wrote:ex-Gooserider wrote:Two different plugs, with different wiring and protocols...
maybe and maybe not. The batteries are down in the power base yet the charge plug is up in the joystick controller. What that means is that 2 battery wires(V+/GND) must be in the bundle of wires coming up from the power base to the joystick controller. Those are pretty easy to figure out so now we know what 2 of those pins are in the joystick to power base cable. The 3rd pin in the charger connector is the inihibit/programmer signals for the Jazzy VR2/GC2 type controller based power chairs. The Jazzy 600 has a VR2 based controller. Because the Inhibit line operates to inhibit the power base from moving there's a good chance not only is the 3rd pin in the charge connector the Inhibit signal but also there is an Inhibit signal wire going down to the power base. If this is the case, ie using a DMM to ohm out the charge connectors Inhibit pin to a pin on the joystick cable to the power base, then we would now know what 3 of the wires are coming from the power base up to the joystick controller. On the GC2 controller I found in the Jazzy Select it had a connector next to the joystick pigtail and I found a page which listed that as an aux charge port with INH/PROG pin for an onboard charger. It had 3 pins and one was Inhibit so I checked and verified the V+/Batt+ and GND wires in the joystick controller cable and then found that the Inhibit pin on the Aux Charger connector also was connected to a pin/wire in the joystick cable. That INH wire in the joystick controller cable was indeed connected to the charge port on the joystick controller.
I've seen that some chairs have the controller and joystick all in a huge box mounted on the armrest but the Jazzy Select and Jazzy 600 are not that type. These power chairs have a controller mounted in the base and a smaller joystick controller( with a charge port ) on the armrest.
So are you saying that the Inhibit line from the charge port on the joystick controller does not ohm out as having a direct connection to one of the wires in the joystick cable doing down to the power base?
There is the three wire (on most controllers) XLR charging plug - the wires on this are +V and Gnd, with the third wire serving as EITHER an inhibit wire (shorted to ground by the plug on the charger which has the two pins wired together) OR a programming wire that uses some sort of one wire serial data protocol, via either a dongle or a converter that does some serial data conversion between the usual PC TX/RX + handshake signals, and the one wire setup.... (Some controllers have an oddball setup with a proprietary version of the XLR plug that adds more extra, tiny, pins that are used only in programming, and are ignored in charging.
Then there is the connector / cable between the joystick pod and the rest of the chair electronics (controller, ALM modules, etc...) This will have a variable number of wires. At least two that are usually bigger than the others and carry the charging current from the XLR plug on the pod to the power module where they feed into the battery cables. Then there will be some additional wires (often very small, as they are only for data signals, which carry data, including joystick commands, information about button pushes, inhibit signals, etc.... The number of wires, protocols and so on will vary depending on the controller brand / family.... It is reverse engineering this set of wires, protocols, and messages that pose the big challenge when trying to hack into the chair electronics....
The inhibit / programming wire and signals on the XLR plug has NOTHING to do with the wire and signals on the cable to the rest of the system. The inhibit / programming wire goes ONLY to the board in the joystick module. The electronics in the pod take whatever comes into it from the XLR plug, and does some processing on it, including translating it to the protocol used to talk to the rest of the chair and sends out whatever it needs to.... The exact details of what gets sent is again variable depending on the controller type.... For instance some controller systems store the programming data in the joystick pod, and others in the power module....
The charger inhibit signal is actually one that doesn't NEED to be sent to the rest of the chair - if the joystick pod sees it, then all it needs to do is flash that controllers error code, and simply NOT send any other signals to the rest of the chair....
I found it was differently on the Jazzy Select having a GC2 controller in the base and a joystick controller w/charge connector on the armrest. The Inhibit signal could be handled by the micro controller in the joystick as you mentioned but since the "PROGRAMMING" portion of the INH/PROG pin in the charge port is for programming the controller in the power base then it makes sense they would connect that wire all the way through the joystick controller down to the power base. Again, as I saw them do it in the Jazzy Select. But it is possible they have implemented some other form of communications with the power base controller using the joystick controller as a form of intermediate control module. It's a bit dangerous though since any fault in the joystick system would prevent an Inhibit signal getting to the power base and locking out any change of the wheels moving.
I would just like to hear it be say that the Inhibit line( on the charge connector in the joystick ) with all other(skip known V+/GND wires) wires coming from the joystick controller to the power base were ohmed out and only the Battery wires are in common between the joystick controller cable and the charge port on the joystick controller.
Doug
ex-Gooserider
DougL wrote:can you remind me how it was determined the protocol was SPI? From a previous post there are only 4 wires going from the power base to the joystick control board and 2 of those are power(V+/GND) and 2 wires are signal(Y/V).
Also, there is a 3 pin charge connector on the joystick and one of those is the Inhibit/Prog pin and I found that pin was a direct circuit(and wire) down to the power Rob@ with the subject line I want better communication from robbase. So that left a 1 wire signaling protocol and UART made the most sense so it was the first tried and it turned out to be true.
This is why I ask how it was determined the protocol was SPI which is a 2 wire protocol(1=data, 2=clock)?
Remember, the Inhibit line is a safety feature of most all power chairs as it prevents the chair from being moved in any way when plugged into the charger.
Doug