Hello Vesc community,
we build a motorized pedal tractor for kids. Bafang engine/bicycle hub motor and VESC controller. We want the tractor to be able to go forward and reverse with braking. We thought that we can hook up the throttle to adc 1 input and connect the switch for reverse to adc 2 : So ADC 1 is sensing how much throttle/brake is applied to the motor and ADC 2 is connected to a switch which sets the input wether on ground or on 5V corresponding to forward or reverse movement.
Unluckily we have no success to make the wheel spin backwards. We used the app configuration ADC /Current reverse adc brake button.We are not even able to switch the direction from forward to reverse by changing the adc2 input. It would be great if somebody could give us a hint how to make the tractor move in the desired way .
Hello
In the App Settings
ADC
General Tab \ Control Type \ select PID speed reverse center
(ADC to ground = reverse, ADC to 3.3V = forward, power on centre 1.65V)
Good luck
Hi Tom1984,
try this: App general :ADC reverse button brake center
Connect the switch output to RX and connect in a way that the switch changes RX from ground to 5v . This changes the direction of rotation. The motor will brake from min voltage up to center voltage.
This at least worked in a child tractor i set up some time ago.
Sincerly
Philipp