Read battery state
#1
Hello, this is my first Forum post, so correct me if I do anything wrong, anyway:

I've purchased a Rock64, when it's delivered, I want to power it by battery (Power bank), yet I want the read the battery state. My Idea was to connect the Rock64 via USB right to the Power bank (as usual), but an additional cable directly from the 3,6V battery to a GPIO pin and read it using software.

I have no idea about GPIOs, so is it totally wrong, could it maybe bridge the undervoltage protection and therefore bring me into trouble, or can this actually work?

Another idea of mine would be to connect + and - of the 4 status LED's and provide its on/off state to the GPIO and then determine if the battery is at 100-75, 75-50 25-50 or 25-0% charge.

What is the best approach to get battery levels to a Rock64?

Greetings, Max
  Reply


Messages In This Thread
Read battery state - by MaWalla - 10-24-2017, 07:04 AM
RE: Read battery state - by MarkHaysHarris777 - 10-25-2017, 07:57 AM
RE: Read battery state - by MaWalla - 10-26-2017, 08:07 AM
RE: Read battery state - by psychedup - 10-30-2017, 12:31 PM
RE: Read battery state - by MaWalla - 10-30-2017, 01:17 PM
RE: Read battery state - by iotarduinos - 05-27-2021, 06:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  RTC backup battery max 0 1,738 05-14-2019, 09:35 AM
Last Post: max
  Adding battery and charging circuit advait 6 7,396 08-17-2017, 04:17 PM
Last Post: stuartiannaylor

Forum Jump:


Users browsing this thread: 1 Guest(s)