Precision agriculture is gaining its popularity because of the controlled environments which significantly improves the quality and quantity production of crops. To maintain a suitable environment for the plant, continuous monitoring of greenhouse ins...
Precision agriculture is gaining its popularity because of the controlled environments which significantly improves the quality and quantity production of crops. To maintain a suitable environment for the plant, continuous monitoring of greenhouse inside environmental conditions is indispensable. However, manual monitoring of such parameters is impractical. A sensor-based data collection system is inherently implemented in the greenhouse monitoring system. In this experiment, a Raspberry Pi-based programmable data collection system was designed to collect the greenhouse indoor temperature, humidity and CO2 using two DHT22 sensors. The DHT22 and MH-Z19 sensors spatially hung on two locations inside a greenhouse were connected to a Raspberry Pi via cables. A Python script is run in the Raspberry Pi to acquire the sensing digital data from the sensors and logged it into the micro SD card. Raspberry Pi is a miniature version of a computer, which offers a high-level language platform. Therefore, a user-interactive program written in Python language was implemented that allows configuring parameters like sensor numbers and sensing intervals in every time while restarting the program. The system was tested by installing it in a greenhouse with a user-defined logging interval. It concludes that a flexible data collection system can be designed by using Raspberry Pi.