![Cypress CYALKIT-E02 Reference Design Kit Manual Download Page 67](http://html1.mh-extra.com/html/cypress/cyalkit-e02/cyalkit-e02_reference-design-kit-manual_2706362067.webp)
CYALKIT-E02 Solar-Powered BLE Sensor Beacon Reference Design Kit Guide, Doc. No. 002-11317 Rev. *C
67
Length2
0x1A
AD type2
0xFF
Company ID
0x004C
Device type
0x02
Length3
0x15
UUID
1
00050001-0000-1000-8000-00805F9B0131 [hex]
Major
2
0x0001
HUMIDITY
3
Humidity Sensor Data
TEMP
3
Temperature Sensor Data
RSSI
4
0xC3 [
–61dBm]
<Others>
Transmitter power
3 dBm
1
This is a 16-byte string used to differentiate a large group of related beacons.
2
This is a 2-byte string used to distinguish a smaller subset of beacons within the larger group.
3
This is a 1-byte string to read individual sensor data.
4
Received signal strength indication. This is used to determine proximity to (distance from) the beacon.
The kit uses the ReadAndApplyConfig function in
main.c
to update the BLE Beacon packet. Note that the kit does not use the
“GAP Settings” of Configure “BLE” in
TopDesign.cysch
because the SFLASH parameter is read and the BLE Beacon packet
is updated whenever the power is turned on.
5.3.1 Calculation Formula to Read Sensors
The following is the calculation formula of the temperature and humidity sensors to receive the sensor data.
<Temperature Sensor>
TEMP [
℃
] = 175.72 x (TEMP x 256) / 65536
– 46.85
Example: TEMP = 0x67 [hex] = 103[dec]
TEMP [
℃
] = 175.72 x (103 x 256) / 65536
– 46.85 = 23.85[
℃
]
<Humidity Sensor>
RH[%] = 125 x (HUMIDITY x 256) / 65536
– 6
Example: HUMIDITY = 0x74 [hex] = 116[dec]
RH[%] = 125 x ( 116 x 256) / 65536
– 6 = 50.64[%]