Battery Indicator in Controller?

Hey guys,

I was wondering if there was a way of indicating how much battery is left in the board, on the controller. Like the boosted board controller. You can see how much battery is left with the lights and i was wondering if this was possible to do with any controller and how does it work?

After seeing this batter indicator, i thought it would look great in a controller


1 Like

maybe arduino and bluetooth module

“The analog sensor on the Arduino board senses the voltage on the analog pin and converts it into a digital format that can be processed by the microcontroller. Here, we are feeding the input voltage to the analog pin (A0) using a simple voltage divider circuit comprising resistors R1 (100K) and R2 (10K). With the values used in the voltage divider it is possible to feed voltage from 0V to 55V into the Arduino board. The junction on the voltage divider network connected to the the Arduino analog pin is equivalent to the input voltage divided by 11, so 55V ÷ 11 = 5V. In other words, when measuring 55V, the Arduino analog pin will be at its maximum voltage of 5V. So, in practice, it is better to label this voltmeter as “0-30V DVM” to add a safety margin!”

wow LOTS of detail haha a lot of which i don’t understand, will have to read over it a few times. Thanks for this. Do you have a simple/dummy explanation

2 arduinos and 2 bluetooth modules, 1 arduino on board measuring the voltage and 1 bluetooth module transmitting, 1 bluetooth on remote receiving and arduino displays the voltage on screen \ precentage on leds.

the circuit divides the voltage by11 so for example 55V = 5V


How did you get that it divides by 11? From the resistors?

If you have 12 cells would you divides the voltage by 12?

It is written in the site:

i found this on their website…

exactly what i was talking about. Just need to research more and figure out how to fit it in a controller haha. Thank you for directing me towards arduino. Had never heard of it before but now i will do as much research as i can

but your board battery is much higher than 12V

yeah 42V :confused:

why not use the circuit in my link? btw you can also read board voltage on your phone if you use bluetooth module

I still don’t really understand this too much. I will read more into the circuits. And i saw the bluetooth phone voltage reader and its awesome, i’d just like a boosted style one on the controller as its simple and looks good :slight_smile:

the circuit is less importent to understand. if you have questions on the arduino and the bluetooth modules subject I can answer (maybe, i’m just a beginner too)

ahh okay thank you. Its just this is the first time I’ve ever seen the arduino so i have 0 idea about ti haha but if you have any pages or info sites that will help me understand it better, I’d be more then happy to read them.

I don’t know how to explain, but it’s fiarly simple once you have it and trying to play with it. if you want to learn I suggest you to buy arduino (or nano) or one of the kits

basicly you have many ports and you can commend: when port 1 get voltage (button connected to port1) turn on port 2 (port 2 connected to led), so when you press the button the led turns on.

nice English I have

the main code will be something like this:

if (digitalread(1) == 1) { digitalwrite(2,ON) }

pin 1 is button, pin 2 is led

ahh okay, so you get a board and its based on codes that tell it what to do?

1 Like

Battery of controller or the board itself? There would be no practical way of connecting the VESC battery to a microcontroller directly. However the VESC supports UART and gives you the input voltage from the battery, more than enough to tell you your current battery level

no, i would like the battery on the board indicated on my controller. That way i can just check the controller and see how much juice is left in the board

Then what I said still helps…

I’m hoping to start a controller project once all my parts come in

ahh nice, what is the project you are doing? this one?

and with that UART that indicated the voltage, could you somehow transfer this to the controller?

This project kinda explores the ideas you’re talking about

1 Like