Literature DB >> 31467803

Affordable remote monitoring of plant growth in facilities using Raspberry Pi computers.

Brandin Grindstaff1, Makenzie E Mabry1, Paul D Blischak2, Micheal Quinn3, J Chris Pires1.   

Abstract

PREMISE: Environmentally controlled facilities, such as growth chambers, are essential tools for experimental research. Automated, low-cost, remote-monitoring hardware can greatly improve both reproducibility and maintenance. METHODS AND
RESULTS: Using a Raspberry Pi computer, open-source software, environmental sensors, and a camera, we developed Growth Monitor pi (GMpi), a cost-effective system for monitoring growth chamber conditions. Coupled with our software, GMPi_Pack, our setup automates sensor readings, photography, and alerts when conditions fall out of range.
CONCLUSIONS: GMpi offers access to environmental data logging, improving reproducibility of experiments and reinforcing the stability of controlled environmental facilities. The device is also flexible and scalable, allowing researchers the ability to customize and expand GMpi for their own needs.

Entities:  

Keywords:  Growth Monitor pi (GMpi); Raspberry Pi; environmental sensing; growth chamber; humidity; light; temperature

Year:  2019        PMID: 31467803      PMCID: PMC6711351          DOI: 10.1002/aps3.11280

Source DB:  PubMed          Journal:  Appl Plant Sci        ISSN: 2168-0450            Impact factor:   1.936


Growth chambers play an important role in plant science and agronomics by providing and maintaining constant growing conditions in order to reduce variables that could bias experimental data. However, the environmental parameters of growth chambers can fluctuate, which can impede reproducibility in future experiments (Lee and Rawlings, 1982; Potvin and Tardif, 1988). In order to compensate for issues of reproducibility, researchers typically randomize the placement of plants in the growth chamber and perform replications of the experiment (Hammer and Hopper, 1997). To make certain that the environmental parameters inside a growth chamber are within the required parameters, the best solution is to monitor and record them. Monitoring and recording the environmental variables inside a growth chamber can be used to increase repeatability for future experiments and provide researchers with real‐time information about the conditions their plants are experiencing. Single‐board computers (e.g., Raspberry Pi [www.raspberrypi.org], Orange Pi [www.orangepi.org], Beagle Board [www.BeagleBoard.org], Arduino [www.arduino.cc]) paired with open‐source software provide the opportunity to develop such a system of growth chamber monitoring. The variety of different sensors (e.g., light, temperature, humidity, pH, motion) and single‐board computers afford a high degree of flexibility and can be used in many different applications, such as the internet of things (IoT) and otherwise. IoT devices are internet‐connected objects that are capable of collecting data and sending it through the internet. These devices can also be integrated to build scalable networks of reconfigurable computers capable of environmental monitoring (Ferdoush and Li, 2014) or used for other tasks (e.g., plant phenotyping; Tovar et al., 2018) that can be invaluable in our data‐driven field. Monitoring systems developed using this technology are most prevalent in agriculture. Two of the most popular applications are selective irrigation and predictive analytics, both of which can improve productivity and efficiency of water management. For example, Shah and Bhatt (2017) used Raspberry Pi computers to monitor the conditions of a greenhouse using temperature, humidity, and soil moisture sensors that autonomously logged data to a cloud server. Raspberry Pi computers can also be used to automate irrigation. Cabaccan et al. (2017) used a network of Raspberry Pi computers equipped with sensors for light, temperature, and humidity, as well as a real‐time clock and external battery, to monitor lettuce plants (Lactuca sativa L.). The applications of Shah and Bhatt (2017) and Cabaccan et al. (2017) show the scalability of this technology as well as the ability to run on an independent power source for a period of time, giving needed flexibility for use in places with limited access to electricity. In other cases, Raspberry Pi computers have been used to detect system failures that would otherwise have gone unnoticed (Gurdita et al., 2016). This technology not only enables new means and methods of data collection and plant care, it also offers a cost‐effective way to improve existing monitoring systems through redundancy or improved precision depending on the system. Using Raspberry Pi as a platform (Halfacree and Upton, 2012; Gay, 2014), we have developed the Growth Monitor pi (GMpi; Fig. 1A–C) to be an affordable way to monitor plants in growth chambers and greenhouses. GMpi stands out from other devices described above because our GMPi_Pack software combines multiple features, such as sensing (temperature, humidity, and light intensity), cloud storage, image capture, and alerts, onto a single platform. It relies heavily on software already available from the open‐source community and is meant to illustrate how this technology can be developed and used by researchers who may not be as familiar with software engineering. With the detailed protocol below, we hope that this type of monitoring and sensing can now be made accessible to anyone.
Figure 1

GMpi, sensors, and Slack alert. (A) Photograph of the complete GMpi setup with all peripheries attached. (B, C) Close‐up photos of the temperature and humidity sensor (DHT22) and light intensity sensor (TSL2591). (D) A snapshot of what an incoming alert from the GMpi looks like on Slack. This will alert all members of this workspace that the growth chamber has fallen out of the specified range for both light and humidity.

GMpi, sensors, and Slack alert. (A) Photograph of the complete GMpi setup with all peripheries attached. (B, C) Close‐up photos of the temperature and humidity sensor (DHT22) and light intensity sensor (TSL2591). (D) A snapshot of what an incoming alert from the GMpi looks like on Slack. This will alert all members of this workspace that the growth chamber has fallen out of the specified range for both light and humidity.

METHODS AND RESULTS

Raspberry Pi and peripheries

The GMpi system was developed using a Raspberry Pi Model B+ single‐board computer installed with the Raspbian Stretch 4.14.50‐v7+ operating system (Raspberry Pi Foundation, Cambridge, United Kingdom). A temperature and humidity sensor (DHT22; Adafruit Industries LLC, New York, New York, USA) was used to collect data about the humidity and temperature inside the growth chamber. DHT sensors are useful as they are equipped with a capacitive humidity sensor and a thermal resistor. The accuracy of the DHT22 sensor was determined by testing its readouts against the thermostat and analog hygrometer that are installed in the growth chamber being used. To collect data about light intensity in both full spectrum and infrared wavelengths, the TSL2591 (Adafruit Industries LLC) sensor was used. This sensor is capable of detecting light between 0.000118 and 88,000 lux (lumens per square meter), allowing us to detect minute changes in light intensity in both the visible and infrared spectra. Output of common fluorescent bulbs are described in lumens rather than photosynthetically active radiation (PAR); therefore, lux was chosen to log lumens in a given area to detect a change in output from fluorescent tubes in our growth chamber, such as light bulbs going out and needing replacement. Finally, a camera was connected to relay visual information to the end user over the internet, allowing for remote observation of plant growth. The GMpi can be assembled and configured for approximately US$200. Compared to other popular commercial solutions for environmental data logging in a large growth facility, such as Argus (Argus Control Systems Ltd., Surrey, British Columbia, Canada; www.arguscontrols.com), which ranges from US$10,000 to more than US$1,000,000, the GMpi is a much more cost‐effective alternative.

Connecting sensors

To connect the different sensors to the Raspberry Pi, expertise in soldering is required. We enlisted help from our department's shop to achieve this. To connect the temperature and humidity sensor (DHT22), the first pin from the right was connected to a 3.3‐V general purpose input/output (GPIO) pin. The second pin was then connected to a data pin, the third was not used, and the fourth was connected to a ground (Fig. 2). A 10‐KΩ resistor was soldered between the power wire and data wire to allow data output (Fig. 2). For the light sensor (TSL2591), the first pin labeled “Vin” was connected to a 3.3‐V GPIO pin, then the pin labeled “GND” was connected to a ground pin (Fig. 2). This device uses an inter‐integrated circuit (I2C) serial protocol in order to communicate with devices by connecting the pins labeled “SDA” (serial data) and “SCL” (serial clock) to pins 3 and 5 of the Raspberry Pi. Finally, the camera was connected to the camera serial interface (CSI‐2) port behind the ethernet port via a ribbon cable. The ribbon cable provides additional flexibility in the placement of the camera for optimal viewing of plants.
Figure 2

A diagram showing the connections between the Raspberry Pi and the attached peripheries and the Raspberry Pi GPIO pinout. Illustrated are the connections for the light intensity sensor (TSL2591) to the GPIO pins: pin 3 for SDA (serial data), pin 5 for SCL (serial clock), pin 9 for ground, and pin 17 for 3.3‐V power. The diagram also illustrates the connection of the temperature and humidity sensor (DHT22) to the GPIO pins: pin 1 supplying 3.3‐V power, pin 6 for ground, and pin 11 for data. In addition, the figure shows where the resistor should be soldered between the power and data wire for the temperature and humidity sensor (DHT22). Finally, it shows where the ribbon cable from the camera board is connected to the Raspberry Pi.

A diagram showing the connections between the Raspberry Pi and the attached peripheries and the Raspberry Pi GPIO pinout. Illustrated are the connections for the light intensity sensor (TSL2591) to the GPIO pins: pin 3 for SDA (serial data), pin 5 for SCL (serial clock), pin 9 for ground, and pin 17 for 3.3‐V power. The diagram also illustrates the connection of the temperature and humidity sensor (DHT22) to the GPIO pins: pin 1 supplying 3.3‐V power, pin 6 for ground, and pin 11 for data. In addition, the figure shows where the resistor should be soldered between the power and data wire for the temperature and humidity sensor (DHT22). Finally, it shows where the ribbon cable from the camera board is connected to the Raspberry Pi.

Uploading to a cloud drive service

In order to upload the resulting sensor data to a cloud service, we used a third‐party, open‐source application called Rclone (https://github.com/pageauc/rclone4pi). Rclone can be configured to connect to several popular cloud storage services such as Google Drive, Box, and Dropbox. We elected to use Google Drive because it is a free service. After adjusting the Rclone configuration settings, a link is provided that allows for a connection to the cloud service of choice. Uploading the collected data and images is handled by the UploadFile() and UploadFile2() functions in GMPi_Pack.py library (discussed below). These scripts are called in packageTest.py, picSnap.py, and upload.py files and can be run automatically using the Unix tool cron.

Remote monitoring

A unique addition to the GMpi is its ability to notify users if a growth chamber or greenhouse falls out of a specified range for temperature, humidity, or light. We took advantage of the popular platform Slack (https://slack.com/), using the incoming webhooks function to set up remote notifications (Fig. 1D). This allows notifications to be sent to a configured Slack channel when thresholds are hit. As the use of Slack to communicate with research groups increases, it makes sense to have equipment be able to communicate via Slack as well. Using Slack incoming webhooks allows for end‐users to configure what messages will generate a notification being sent from Slack to their device(s) that access Slack. It is also possible to “mention” users directly in the Slack webhook message so that specific users get a notification in the channel.

GMpi software dependencies

The scripts used by the GMpi for the two sensors, temperature and humidity (DHT22) and light (TSL2591), are dependent on the open‐source Python libraries Adafruit_DHT (https://github.com/adafruit/Adafruit_Python_DHT) and python‐tsl2591 (https://github.com/maxlklaxl/python-tsl2591). These libraries enable the device to read and process output from the sensors. The camera uses software that is already packaged with the Raspbian Stretch operating system (I2C). To combine automation, remote monitoring, and data collection, we developed our own software package, GMPi_Pack, which is freely available on GitHub (https://github.com/BrandinGrindstaff/GMpi) under a GNU General Public License (v3). GMPi_Pack is composed of seven scripts: GMPi_Pack.py (the main library), configuration.py, packageTest.py, picSnap.py, sense.py, upload.py, and install.sh. After getting the software from GitHub, users should run the install.sh script. This script will attempt to download and install all software dependencies for GMPi_Pack automatically. Next, users should run the configuration.py script, which sets the minimum and maximum thresholds for light intensity and creates a configuration file allowing the end‐user to easily modify important information needed for the GMpi to operate. The packageTest.py script is included for troubleshooting and gives the user a chance to test the device to confirm that the GMpi is running correctly. Three scripts, sense.py, picSnap.py, and upload.py, call functions from the main GMPi_Pack.py library to carry out sensor readings, capture images, and upload data to a cloud service, respectively. These scripts are intentionally independent to allow for modularity when scheduling “cron jobs” to automate these processes. Cron jobs are set up using the Unix cron utility, a time‐based job scheduler that comes packaged with Raspbian Stretch and other Unix‐like operating systems. This allows the user to run shell commands on a time‐based schedule, making it possible to run scripts automatically at user‐set intervals.

Protocol feasibility

The protocol in Appendices Raspberry Pi hardware setup., Raspberry Pi initial setup., Rclone and GMpi software installation protocol. provides detailed instructions for setting up the GMpi and GMPi_Pack, including networking, connecting the hardware, and installing the software. Networking will vary greatly between institutions, and it is advisable to work with an information technology department to work around firewalls that make remote monitoring and secure shell (SSH) access difficult. Both sensors utilized by the GMpi also require soldering before use. The light sensor (TSL2591) requires that the pin headers be soldered onto its printed circuit board, and the temperature and humidity sensor (DHT22) requires a 10‐KΩ resistor be soldered between the power pin and data pin. The software we developed for the Raspberry Pi is dependent on open‐source tools that are available from GitHub and Adafruit, as well as other online sources. Our software, and all of its dependencies, can be downloaded from GitHub (https://github.com/BrandinGrindstaff/GMpi) and set up using the scripts we have provided. To remotely alert users if the chamber or greenhouse falls below desired thresholds, the GMpi uses webhooks to enable it to send alerts through the Slack application. As many groups are now communicating through Slack, we think this will provide a quick way for all members of a research program to be informed that a system is failing. We also provide an example script that will plot output sensor data so users can visually assess the conditions of the environment they are monitoring (Fig. 3). The camera on the GMpi can be coupled with open‐source software, such as plantCV (Fahlgren et al., 2015; Abbasi and Fahlgren, 2016; Gehan et al., 2017; Berry et al., 2018), to allow for plant phenotyping similar to the Bellwether phenotyping platform developed by Fahlgren et al. (2015) or the Raspberry Pi–based system by Tovar et al. (2018). Using the camera in combination with image uploading to cloud storage can also enable the user to diagnose disease or other issues with specimens in the growth chamber remotely from anywhere with internet access. Scalability of the GMpi can also be easily achieved by collecting and storing data across multiple, independent Raspberry Pi devices using unique identifiers for each one. These data can then be accessed through a common cloud storage folder and integrated to generate a more comprehensive view of growing conditions within a facility.
Figure 3

Plot of sensing data, showing approximately one month of data captured with the GMpi. The graph displays light intensity (yellow, top graph), temperature (red, middle graph), and humidity (blue, bottom graph) in box plot format.

Plot of sensing data, showing approximately one month of data captured with the GMpi. The graph displays light intensity (yellow, top graph), temperature (red, middle graph), and humidity (blue, bottom graph) in box plot format.

CONCLUSIONS

The GMpi gives researchers access to a low‐cost option for environmental data monitoring and logging that can improve reproducibility of experiments and reliability of growth chamber conditions, as well as build large data sets that can be employed as phenotypic or environmental data in future studies. With a wealth of free, cost‐effective, and open‐source resources at hand, researchers are in an excellent position to leverage these tools to revolutionize plant science and improve reproducibility in experimentation with little impact on their budgets.
  5 in total

1.  A Versatile Phenotyping System and Analytics Platform Reveals Diverse Temporal Responses to Water Availability in Setaria.

Authors:  Noah Fahlgren; Maximilian Feldman; Malia A Gehan; Melinda S Wilson; Christine Shyu; Douglas W Bryant; Steven T Hill; Colton J McEntee; Sankalpi N Warnasooriya; Indrajit Kumar; Tracy Ficor; Stephanie Turnipseed; Kerrigan B Gilbert; Thomas P Brutnell; James C Carrington; Todd C Mockler; Ivan Baxter
Journal:  Mol Plant       Date:  2015-06-20       Impact factor: 13.164

2.  PlantCV v2: Image analysis software for high-throughput plant phenotyping.

Authors:  Malia A Gehan; Noah Fahlgren; Arash Abbasi; Jeffrey C Berry; Steven T Callen; Leonardo Chavez; Andrew N Doust; Max J Feldman; Kerrigan B Gilbert; John G Hodge; J Steen Hoyer; Andy Lin; Suxing Liu; César Lizárraga; Argelia Lorence; Michael Miller; Eric Platon; Monica Tessman; Tony Sax
Journal:  PeerJ       Date:  2017-12-01       Impact factor: 2.984

3.  Raspberry Pi-powered imaging for plant phenotyping.

Authors:  Jose C Tovar; J Steen Hoyer; Andy Lin; Allison Tielking; Steven T Callen; S Elizabeth Castillo; Michael Miller; Monica Tessman; Noah Fahlgren; James C Carrington; Dmitri A Nusinow; Malia A Gehan
Journal:  Appl Plant Sci       Date:  2018-03-31       Impact factor: 1.936

4.  An automated, high-throughput method for standardizing image color profiles to improve image-based plant phenotyping.

Authors:  Jeffrey C Berry; Noah Fahlgren; Alexandria A Pokorny; Rebecca S Bart; Kira M Veley
Journal:  PeerJ       Date:  2018-10-04       Impact factor: 2.984

5.  A Simple and Low-Cost Monitoring System to Investigate Environmental Conditions in a Biological Research Laboratory.

Authors:  Akshay Gurdita; Heather Vovko; Mark Ungrin
Journal:  PLoS One       Date:  2016-01-15       Impact factor: 3.240

  5 in total
  5 in total

1.  A low-cost, mobile real-time kinematic geolocation service for engineering and research applications.

Authors:  André Broekman; Petrus Johannes Gräbe
Journal:  HardwareX       Date:  2021-05-19

2.  iFO (infrared Fish Observation) - An open source low-cost infrared underwater video system.

Authors:  Andreas Hermann; Jérôme Chladek; Daniel Stepputtis
Journal:  HardwareX       Date:  2020-10-08

3.  smAvo and smaTo: A fruity odyssey of smart sensor platforms in Southern Africa.

Authors:  André Broekman; Wynand JvdM Steyn; Johannes Lp Steyn; Malick Bill; Lise Korsten
Journal:  HardwareX       Date:  2020-11-04

4.  Fly-by-Pi: Open source closed-loop control for geotechnical centrifuge testing applications.

Authors:  André Broekman; Schalk Willem Jacobsz; Hendrik Louw; Elsabé Kearsley; Tiago Gaspar; Talia Simone Da Silva Burke
Journal:  HardwareX       Date:  2020-10-17

5.  PlasPI marine cameras: Open-source, affordable camera systems for time series marine studies.

Authors:  Autun Purser; Ulrich Hoge; Johannes Lemburg; Yasemin Bodur; Elena Schiller; Janine Ludszuweit; Jens Greinert; Simon Dreutter; Boris Dorschel; Frank Wenzhöfer
Journal:  HardwareX       Date:  2020-02-28
  5 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.