1 Computer Engineering Department, University of Technology, Baghdad, Iraq

2 Computer Engineering Department, University of Technology-Iraq, Baghdad, Iraq


It is well known that the Wireless Sensor Network (WSN) is a part of different fields of modern life (self-managing life). The automation of operating the WSN without any need for human efforts develops the technique used in this network in terms of power consumption, costs, and so on. In this paper, the WSN application that adopts the self-managing property is presented as well as applying this property in a greenhouse as a case study. It uses remote controlling technology for data exchanging in a multi-layer WSN. Different hardware and software equipment have been employed in the application based on self-managing techniques. Such hardware includes (NodeMCU ESP8266) as a microcontroller, Raspberry pi3 as a base station that captures the sensor reading from the node. Additionally, it was utilized two types of sensors (DS18B20, soil moisture) to sense the environmental parameters such as temperature and soil moisture and two actuators (LED1, LED2). The results show the proper performance of the presented WSN in terms of the self-managing side by checking the received data in real-time mode. These results are achieved for the threshold values of 25ᵒC temperature and 500 soil moisture as an upper level for operating the actuators.