These data are processed by the algorithm that first identifies
the least significant byte of a unique 64-bit address encapulated in the package received. Second, the soil moisture
and temperature data are compared with programmed values
of minimum soil moisture and maximum soil temperature
to activate the irrigation pumps for a desired period. Third,
the algorithm also records a log file with the data in a solid
state memory 24FC1025 (Microchip Technologies, Chandler,
AZ) with a capacity of 128 kB. Each log is 12-B long,
including soil moisture and temperature, the battery voltage,
the WSU ID, the date, and time generated by the internal
RTCC. If irrigation is provided, the program also stores a
register with the duration of irrigation, the date, and time.
Finally, these data and a greenhouse ID are also transmitted