Hi,
There are just 2 ADC channels available for analog input. In an electric motorcycle they will be used for acceleration and regenerative braking.
Did anyone thought about how to use a throttle that has two redundant signal? (example: Domino throttles: https://www.domino-group.com/oem/en/throttle-controls.html This is worth considering in vehicles where failure of one channel can have potentially serious impact on user's health... ) Is there any IO expander available that will work with VESC? The only way I can see is to use additional IC that would monitor both analog signals and communicate with VESC...
Waiting for your opinions and guidance :)
I have the same concern. Especially using a throttler having a center idle, a broken cable will end up with a full throttle. A differential sensing using two ADC channels might be considered.
eguven
This is unnecessary. All you need is configure the inputs correctly. Losing 5v will cause the the signal to be pulled down to 0v provided your version of vesc has a pulldown resistor on the input (and it should). Losing the ground wire is a bit more concerning but if you configure your throttle upper limit to be lower than when with the ground disconnected, the controller will detect the fault and cancel acceleration.
NextGen FOC High voltage 144v/34s, 30kw (https://vesc-project.com/node/1477)