You are here

[SOLVED] Can I use ADC2 for main throttle control?

4 posts / 0 new
Last post
oschwartz10612
Offline
Last seen: 2 years 3 months ago
Joined: 2020-01-05 21:53
Posts: 3
[SOLVED] Can I use ADC2 for main throttle control?

Hi,

My ADC1 input is pinned around 3 volts with or without anything connected. I have done a bunch of troubleshooting and I think unfortunately it may be broken. The ADC2 however does work and when I hook my throttle up to it I get the expected range of voltage.

I would like to use ACD2 as my main current throttle control, but I do not see any option in VESC tool to make it the main throttle. Is this possible?

 

skyline1970
Offline
Last seen: 2 months 4 weeks ago
VESC Free
Joined: 2017-09-07 22:28
Posts: 232

fw pin assightments could be a solution. but fw recompile will be necessary

oschwartz10612
Offline
Last seen: 2 years 3 months ago
Joined: 2020-01-05 21:53
Posts: 3

Okay, I will take a look into doing that. Thanks

oschwartz10612
Offline
Last seen: 2 years 3 months ago
Joined: 2020-01-05 21:53
Posts: 3

I was able to use ADC2 after recompiling the firmware as suggested. I edited app_adc.c and changed ADC_IND_EXT to ADC_IND_EXT2 on line 124.

Thank you for the suggestion!