You are here

motorized kids pedal tractor app configuration

3 posts / 0 new
Last post
Tom1984
Offline
Last seen: 4 years 8 months ago
Joined: 2020-02-27 16:40
Posts: 1
motorized kids pedal tractor app configuration

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 . 

 

20200227_163740_resized_1.jpg

GAC
Offline
Last seen: 2 years 3 months ago
VESC Free
Joined: 2019-08-18 18:03
Posts: 1

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

Philipp Spindler
Offline
Last seen: 4 years 8 months ago
Joined: 2018-04-24 22:30
Posts: 3

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