DIY Raspberry Pi Greenhouse

Posted by admin 17/05/2017 0 Comment(s) Methods of Aquaponics,

‘yieldbuddy’ is a remote monitoring and automation tool for your indoor or outdoor grow. It uses the dependablity of the Arduino and the robustness of the Raspberry Pi to allow for remote control and monitoring.



  • Control your equipment remotely

  • Logs all sensor data to an SQL database

  • Graphs the data (zoomable, printable, shows values)

  • Manual / Automatic modes (Go into manual mode to take control of your equipment. Use automatic mode to let the equipment be automatically controlled to keep a set-point or follow a timer.)

  • Light / Watering Timers Light: On / Off Time Watering: Set the pump to start at a certain time, the period between waterings, the duration of each watering, and the total number of times per day to water. The page then displays each on / off time as calculated by the values you entered. This makes it easy to space the watering cycles evenly throughout the day.

  • Set ‘High’ / ‘Low’ Values for each sensor… If the sensors value goes above or below the high and low values then receive a email to tell you something is out of range!

  • The Alarms Page shows you a list of alarms (for example; pH1 High or TDS2 Low), a timestamp of when the alarm went off, an ’email was sent’ indicator and the abillity to acknowledge the alarm. You can acknowledge the alarm and delete it when you’re ready (so it won’t try to email you about the alarm again until you’ve ‘cleared’ the alarm).

  • View webcam


How it Works:

The Arduino sends multiple serial messages a second containing information like sensor values, relay on/off states, manual/auto modes, etc.

The web interface(hosted by the Raspberry Pi running Apache2 and PHP5), allows you to login to the page and from there you can see graphs of all your sensors, their current values, whether or not your equipment is on/off (relay states), your web camera, etc.

The Raspberry Pi runs a python script to receive the messages from the Arduino, interpret them, and log all the necessary into an SQL database.  The SQL Server can be run on a remote server or the Raspberry Pi itself, altough its recommended to log your data to a remote server to keep the Raspberry Pi running smoothly.