You are here

Send battery voltage as a serial signal to Arduino?

3 posts / 0 new
Last post
Wall_Nut_
Offline
Last seen: 3 years 3 months ago
Joined: 2021-06-06 14:45
Posts: 2
Send battery voltage as a serial signal to Arduino?

Hi everyone!

I'm trying to setup an arduino-controlled lightbar that indicates my skateboard's battery capacity.
I figured that the best way to achieve this is to send battery voltage data to an arduino that will control all the lighting and make it control the individual LEDs.
I'm pretty new to the VESC so I'm not sure how I can accomplish this. I've seen some posts about controlling the VESC with arduino but is there an easy way to make the VESC send a serial signal matching the BAT voltage to the arduino through for ex. UART, PPM or some other port?

Any help would be appreciated
 

dsuresh
Offline
Last seen: 1 year 6 months ago
VESC Free
Joined: 2021-02-10 18:57
Posts: 42

check this link, might be helpful for your coding: (1) Arduino VESC Monitor - YouTube

There are a few YouTube links which also has the code for reference. 

Dave

Wall_Nut_
Offline
Last seen: 3 years 3 months ago
Joined: 2021-06-06 14:45
Posts: 2

This is exactly what i needed, thanks!