CMOS battery level

This forum is for general developer support questions.

CMOS battery level

Postby Spektro » Wed Jul 13, 2016 8:09 pm

Hello,
Just out of interest, does any of the PPC Amiga platforms support reading the motherboard's CMOS battery status? A CMOS battery status indicator would be very useful especially in AmigaOne XE that becomes unstable when the battery level is too low.
- Janne Peräaho
User avatar
Spektro
Beta Tester
Beta Tester
 
Posts: 97
Joined: Sat Jun 18, 2011 7:55 am
Location: Finland

Re: CMOS battery level

Postby LyleHaze » Thu Jul 14, 2016 6:00 am

As I understand it, there are two possible approaches:
An analog input can read actual voltage, and make decisions based on the reading.
A Comparator circuit can switch a digital input when the voltage falls below a pre-set level.

finding a spare GPIO pin (digital) is easy enough, analog inputs are a lot less available.

Other considerations:
Want to make it universal? design it to interface by USB.

What should you worry about? Your new device causing battery drain.

Since you are designing electronics any way you go.. How about a re-chargeable battery replacement? Might require some isolation tricks since the board is not expecting charge voltage, but it would be less complicated than monitoring for failure.

One other related note: There is a variant of the "standard cell", a bit harder to find, that holds the voltsge at peak much longer, then eventually falls steeper. But this is a good fit for our issues.. I THINK it's a "BR" instead of "CR" battery number.. no notes in front of me right now.
User avatar
LyleHaze
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 502
Joined: Sat Jun 18, 2011 5:06 pm
Location: Georgia, USA, just North of the Florida border


Return to General Developer Support

Who is online

Users browsing this forum: No registered users and 1 guest