You are here

ADC control issue

4 posts / 0 new
Last post
dsuresh
Offline
Last seen: 10 months 2 weeks ago
VESC Free
Joined: 2021-02-10 18:57
Posts: 42
ADC control issue

I am using a VESC 6mkv with a potentiometer connected to the VCC and the ADC. when i start to setup the adc, the GUI shows that the max voltage is 3.3 and min being 0V with deadband being 2%.

But when i complete the setup and start the motor, the motor starts running at 0.2V and then at 0.5V it attains the max speed(instead of 3.3V). after 0.5V any increase in the voltage given to the adc does not affect the speed.

 

I tried even setting the min voltage to adc as 0V and max as 1.5V, the performance is the same.

Can someone help me please. 

Thanks in advance.

dsuresh
Offline
Last seen: 10 months 2 weeks ago
VESC Free
Joined: 2021-02-10 18:57
Posts: 42

I tried using ADC volatge mapping -> as off and even tried Current no reverse brake center and button.

Control type as current.

 

Connections as follows:

VCC(on vesc) to the Vin of pot.

ADC(on vesc) to the Vout of the pot. and gnd of the vesc conected to gnd of the pot.

Dave

TheFallen
Offline
Last seen: 10 months 2 weeks ago
VESC Original
Joined: 2017-09-11 11:46
Posts: 222

Got a picture of the settings? Sounds like you've got it in duty cycle mode.

If the max speed is 3.3V and the dead band is 2% then it shouldn't do anything until 0.066V

dsuresh
Offline
Last seen: 10 months 2 weeks ago
VESC Free
Joined: 2021-02-10 18:57
Posts: 42

I tried the duty cycle and i was able to get a smooth transition

Dave