ODROID UPS PowerState

Post Reply
MartinZa
Posts: 1
Joined: Wed May 21, 2014 5:32 pm
languages_spoken: english
ODROIDs: U3 with UPS
Contact:

ODROID UPS PowerState

Unread post by MartinZa » Tue Jun 03, 2014 4:04 pm

Hi,
I'm using the ODROID U3 UPS. Is there a way to get the state of the batteries so I could add an LED to blink if the state is 20% for example.
If that would work, is it also possible to connect that led to the 8 pin socket of U3 (which is connected with the UPS)?

kind regards
Martin

User avatar
odroid
Site Admin
Posts: 29336
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: ODROID UPS PowerState

Unread post by odroid » Tue Jun 03, 2014 7:04 pm

Unfortunately there is no way to read the battery level (power state).
We should add an ADC or a few voltage comparators on the UPS PCB.
Sorry about that. :(

jbot
Posts: 12
Joined: Tue Dec 24, 2013 9:30 pm
languages_spoken: english french
ODROIDs: 1 - Odroid u3 community edition
2 - Odroid u3 + IO shield + UPS
Location: Paris France
Contact:

Re: ODROID UPS PowerState

Unread post by jbot » Thu Jun 05, 2014 10:31 pm

I think if you have the U3 IO shield, you can use an ADC to read the voltage of your battery.

Aldo
Posts: 3
Joined: Fri Oct 04, 2013 3:59 am
languages_spoken: English, Portugues
ODROIDs: X2, XU
Contact:

Re: ODROID UPS PowerState

Unread post by Aldo » Sat Jun 21, 2014 11:21 am

Is it possible to simultaneously connect the UPS and the IO shield? If so, how?

User avatar
odroid
Site Admin
Posts: 29336
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: ODROID UPS PowerState

Unread post by odroid » Sat Jun 21, 2014 1:28 pm

You should solder the DC plug cable to UPS board and connect the DC plug to DC jack on ODROID board.
And connect the battery output to an ADC input of IO Shield with an extra wire.

chrisjx
Posts: 9
Joined: Tue Feb 25, 2014 3:21 am
languages_spoken: english
ODROIDs: U3, C1
Contact:

Re: ODROID UPS PowerState

Unread post by chrisjx » Wed Mar 11, 2015 3:44 am

Here's another vote for finding a way to detect via gpio/adc the actual voltage output. We need, not only for UPS, but to know how much reserve is available before running a process.

Is there a suggested approach using the U3 I/O shield? what pins, voltage divider setup, etc.?

Thanks for any tips,
Chris.

ruppi
Posts: 85
Joined: Fri Feb 22, 2013 11:13 pm
languages_spoken: korean
Location: South Korea
Contact:

Re: ODROID UPS PowerState

Unread post by ruppi » Wed Mar 11, 2015 5:20 pm

Hi chrisjx,

U3 I/O shield and UPS2 were difficult to use at the same time, because it share same GPIO.

If you read battery voltage using U3 I/O shield. please use PIN#10 of U3(JP5 #14) or PIN#9 of U3(JP5 #13) and there is no need voltage divider in my mind.

BR,
Ruppi

Post Reply

Return to “UPS”

Who is online

Users browsing this forum: No registered users and 1 guest