The number of record blocks in the 128K EEPROM is projected in the table below.
Table 11-3: Allotment of Blocks at 128K EEPROM
• The blocks 1 and 2 (512 Bytes) are allotted for UWBT system variables.
• The block 510 (256 Bytes) is used to store the Circular buffer end point of last
stored log data
• The block 3 to 8 and 509, 511 and 512 (2.25 KB) are reserved for future expansion.
• The thermocouple uses two bytes for storing the temperature data
(RecordSize = 2).
• The RTD sensor uses two bytes for storing the temperature (RecordSize = 2).
• The RH sensor uses six bytes for storing the RH, dew point and temperature
data (RecordSize = 6).
• The pH sensor uses four bytes for storing the pH and temperature data (RecordSize = 4).
• For example @RecordInterval_10Sec and @RecordSize_2, each R_Block may
store around 20 minutes of records. The 500 of R_Block may store around
(500x20=10000min=166.6Hours=)6.94Days of data.
• For example @RecordInterval_1Min and @RecordSize_2, each R_Block may
store around 120 minutes of record.500 of R_Block may store around
(500x120=60000min=1000Hours)41.66Days of data
• The records will be collected and stored at user set time interval
(Min=10Sample\Sec. Max=1Sample \ Min).
• The Record block must be in circular buffer format, and the END circular buffer
pointers must be stored in the EEPROM.
• A separate field is allotted in “Write Device Settings” communication frame,
which provides option for enabling / disabling circular buffer. When circular
buffer is disabled, the firmware will not over write the data at EPPROM blocks.
• The device memory will have a circular buffer. If memory space runs out on the
device, it will overwrite the earliest data points in order to have most current
data available to the user.
• Logging will be active until the stop request from Smartphone or PC. When the
EEPROM memory exceeds the level, data will be overwriting from the starting
location by using the circular buffer concept. Therefore, we have the latest
sensor data to be stored in the EEPROM.
• If UWBT device circular buffer is off then the data logging stops after writing
into 500th block of EEPROM memory.
256
256
256
256
256
256
256
256
0x00
System
Variables
System
Variables
Reserved
0x01
R_Block1
R_Block2
R_Block3
R_Block4
R_Block5 R_Block6
R_Block7 R_Block8
0x02
R_Block9
R_Block10
R_Block11
R_Block12 R_Block13 R_Block14 R_Block15 R_Block16
0x03
R_Block17
R_Block18
R_Block19
R_Block20 R_Block21 R_Block22 R_Block23 R_Block24
…
R_Block..
R_Block..
R_Block..
R_Block..
R_Block..
R_Block..
R_Block..
R_Block..
0x3F R_Block 497 R_Block498 R_Block499 R_Block500 Reserved
Circular
Buffer
End Point
Reserved
Reserved
11-3
Data Logging
11