# Effect of Ambient Temperature on Impedance-Based Physiological Activity Evaluation of Zelkova Tree
## 3 Tree Physiological Activity Monitoring System
### TPAM System Software  
Figure 6a shows the PC software (TPAM_SW) block diagram of the TPAM system. TPAM_SW consists of a communication unit (U_COM), data processing unit (U_DP), data buffer unit (U_DB), alert generation unit (U_ALRT), data-to-storage unit (U_STRG), and graphic user interface unit (U_GUI). Figure 6b shows a PC screen capture corresponding to the U_GUI unit. If the user sets the serial port number and load rate in the U_GUI unit, the U_COM unit connects to the ZigBee module to receive wireless data and transmit it to the U_DP unit. The U_DP unit interprets the data ID of the received data packet and recognizes which sensor the packet is related to. Then, information is extracted from the pay load and the data are stored in time order in each corresponding sensor buffer in the U_DB unit. The U_DB unit contains data buffers related to the impedance, temperature, light intensity, and battery voltage. Specifically, the impedance buffer consists of separate buffers for each channel and injection current frequency. Data from each sensor stored in the U_DB unit are displayed in the graph window of the U_GUI unit. Referring to the conditions specified in the U_GUI unit, the U_STRG unit can save the data of the U_DB unit to a storage device such as a solid-state drive (SSD) or hard disk drive (HDD). The classified sensing values are saved in Excel format along with time information. The U_ALRT device detects if there is an error in the wireless data reception and sends a message to the designated user's mobile phone. Malfunctions in the TPAM system can be detected remotely, enabling an immediate response if a problem occurs in the TPAM system, enabling continuous, uninterrupted monitoring. The software (TPAM_SW) can connect to and receive data from up to five on-tree systems.  
Figure 6b shows the GUI image of TPAM_SW. The GUI consists of a serial port control region, data graph region, and data storage control region. In the serial port control area, users can set the serial port number and baud rate to which the wireless receiver is connected, and control the serial port connection. When the serial port is properly connected, \"Connected!\" will appear in the headline, allowing users to check the serial port connection status. The data graph region visually displays the impedance, temperature,  
\begin{table}
\begin{tabular}{c c c c} \hline \hline
**Units** & **Supply Voltage** &
\begin{tabular}{c} **Current** \\ **Consumption** \\ \end{tabular} & **Power Consumption** \\ \hline Power supply (total) & 5 V & 34.5 mA & 172.5 mW \\ \hline Sensing unit & 5 V & 7.2 mA & 36.0 mW \\ Microprocessor & 5 V & 4.5 mA & 22.5 mW \\ Wireless communication unit & 5 V & 21.3 mA & 106.5 mW \\ \hline \hline \end{tabular}
\end{table}
Table 1: Power consumption of TPAM system.  
light intensity, and battery voltage of the four channels. This region displays data in real time and supports zooming in or out via mouse control. In the data storage control region, users can specify the path to save the data, file name, and number of data samples to save. Additionally, log messages that occur during TPAM_SW operation can be saved as a logfile. To avoid situations where there is too many data in one file or it is open for a long time, the file is automatically divided and saved when the amount of data reaches a preset number.