![TEKTELIC Communications Kona T0004895 Скачать руководство пользователя страница 27](http://html.mh-extra.com/html/tektelic-communications/kona-t0004895/kona-t0004895_technical-reference-manual_1077273027.webp)
Kona LoRa IoT Home Sensor TRM
T0005370_TRM
Version 1.2
TEKTELIC Communications Inc.
Confidential
Page 27 of 35
impacts the measured level of light intensity. Table 3-16 shows a list of light transducer
configuration registers.
Table 3-16: Light Transducer Configuration Registers
Address Access Value
# Bytes Description
0x47
R/W
Sample Period 4
Sample period of the light transducer (seconds)
0x48
R/W
Threshold
1
Threshold level from 1 to 63 (darker to brighter)
The light transducer is held turned off to preserve energy. Whenever light data is needed, it
gets turned on by the MCU.
3.4.6.1
Sample Period
The light sensing sample period determines how often the light sensing transducer is powered
on and checked for the presence of light. Shorter sample periods result in an improved
detection time but result in additional battery usage.
Acceptable values for the sample period are 0, 60, 61, 62, …. Setting the sample period to 0
(zero) disables the light sensing element. Setting the samples period to anything from 1 to 59
sets the sample period to 60.
Note:
The light sensing sample period needs to be enabled for periodic transmission.
Otherwise, in every transmission a repetitive light value residing in the MCU memory is
reported.
3.4.6.2
Threshold
The Threshold is used to set the dark/bright transition point for the Sensor, and can be set to
any value from 1 to 63. A value of 0 is clipped to 1, and values greater than 63 are clipped to 63.
A light value smaller than or equal to the threshold is
interpreted as “dark”, and values greater
than the threshold as “bright”. Therefore, a threshold setting of 1 (one) corresponds to the
darkest threshold, and 63 to the brightest threshold. When first enabled, the Sensor begins in
the “dark” state, and onl
y transmits when the threshold is crossed.
3.4.6.3
Default Configuration
Table 3-17 shows the default values for the light transducer configuration registers.
Table 3-17: Default Values of Light Transducer Configuration Registers
Sample Period
0 (disabled)
Threshold
1 (darkest threshold)