You are on page 1of 2

****************************

B t M o n 1.0
Battery monitor program
For the HP-50g
Programmed by Kim Cheolho
kim_cheolho@naver.com
****************************
This program measure the battery voltage of HP-50g.
(HP-49g may be usable only gauge not the voltage message)
Operating current is about 12mA when no action.
When you give the calculation command the operating current will be about 80~85m
A.
* Key function
Key 0 : Slow speed
- Set cpu speed to 12MHz. Operating current is about 23mA
Key 1: Full Drain
- Set cpu speed to 75MHz
- Set CLKDIV to 0 for FCLK = HCLK = PCLK.(Original is 3 for FCLK = 2*HCL
K = 4*PCLK
to drain the maximum battery current.
operating current is 80~85mA
Key Enter: Exit the program
* Description of scale
GOOD : Battery voltage is over 4.8V.
WARN : Battery voltage is 3.82V~4.8V. You may replace the battery.
E : Empty.
* 'Bat Volt' message
Display the Battery voltage of HP-50g and original AD value.
You can see the AD value by pressing ON+F6 and select '8.POWER'.
This program is a little bit big so you can save this to flash and use just lik
e belows.
RPN :2:BtMon and EVAL key
ALG EVAL(:2:BtMon) Enter key
Good luck !!
**********************

**********************
HP-50g . HP-49
.
ON
4.8V .
ON/OFF .
ON 13mA 80~85mA
. BtMon 23mA , 80~85mA
Full Drain
*
0 : CPU (12MHz) . 23mA .
1 : CPU (75MHz) . 80~85mA .
Enter : .
*
GOOD : . 4.8V .
WARN : 3.82V 4.8V
. 3.65V .
E : .
* 'Bat Volt'
AD . AD ON+F6 8 POWER
Flash
RPN :2:BtMon EVAL
ALG EVAL(:2:BtMon) Enter .
.....

You might also like