English
Language : 

RFM42 Datasheet, PDF (40/110 Pages) –
RFM42/43
7.5. Low Battery Detector
A low battery detector (LBD) with digital read-out is integrated into the function is enabled by setting. A digital threshold
may be programmed into the lbdt[4:0] field in "Register 1Ah. Low Battery Detector Threshold". When the digitized
battery voltage reaches this threshold an interrupt will be generated on the nIRQ pin to the microcontroller. The
microcontroller will then need to verify the interrupt by reading "Register 03h. Interrupt/Status 1" and ―Register 04h.
Interrupt/Status 2,‖. If the LBD is enabled while the module is in SLEEP mode, it will automatically enable the RC
oscillator which will periodically turn on the LBD circuit to measure the battery voltage. The battery voltage may also be
read out through "Register 1Bh. Battery Voltage Level" at any time when the LBD is enabled. The Low Battery Detect
function is enabled by setting enlbd=1 in "Register 07h. Operating Mode and Function Control 1".
Function/Descri
POR
Ad R/W
D7 D6
D5
D4
D3
D2
D1
D0
ption
Def.
Low Battery
1A R/W
Detector Threshold
lbdt[4] lbdt[3] lbdt[2] lbdt[1] lbdt[0] 14h
Battery Voltage
1B R
0
0
Level
0
vbat[4] vbat[3] vbat[2] vbat[1] vbat[0]
—
The LBD output is digitized by a 5-bit ADC. When the LBD function is enabled, enlbd = 1 in "Register 07h. Operating
Mode and Function Control 1", the battery voltage may be read at anytime by reading "Register 1Bh. Battery Voltage
Level". A Battery Voltage Threshold may be programmed to register 1Ah. When the battery voltage level drops below
the battery voltage threshold an interrupt will be generated on nIRQ pin to the microcontroller if the LBD interrupt is
enabled in ―Register 06h. Interrupt Enable 2,‖. The microcontroller will then need to verify the interrupt by reading the
interrupt status register, Addresses 03 and 04H. The LSB step size for the LBD ADC is 50 mV, with the ADC range
demonstrated in the table below. If the LBD is enabled the LBD and ADC will automatically be enabled every 1 s for
approximately 250 μs to measure the voltage which minimizes the current consumption in Sensor mode. Before an
interrupt is activated four consecutive readings are required.
BatteryVoltageV =1.7+50mV X ADCValue
ADC Value
0
1
2
……
29
30
31
VDD Voltage [V]
< 1.7
1.7–1.75
1.75–1.8
……
3.1–3.15
3.15–3.2
>3.2
40
Tel: +86-755-82973805 Fax: +86-755-82973550 E-mail: sales@hoperf.com http://www.hoperf.com