Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Tyler Lugger
Published

Herb(ert): A Desk Plant with Automated Irrigation

I have a history of over/under watering plants. Herb(ert) combines sensor data with edge IoT logic to automate watering and stay healthy!

IntermediateFull instructions provided3 hours2,393
Herb(ert): A Desk Plant with Automated Irrigation

Things used in this project

Hardware components

Raspberry Pi 3 Model B+
Raspberry Pi 3 Model B+
×1
DHT22 Temperature Sensor
DHT22 Temperature Sensor
×1
SparkFun Soil Moisture Sensor (with Screw Terminals)
SparkFun Soil Moisture Sensor (with Screw Terminals)
×1
General Purpose Transistor NPN
General Purpose Transistor NPN
×1
Resistor 1k ohm
Resistor 1k ohm
×1
Adafruit MCP3008 ADC
×1
Female/Female Jumper Wires
Female/Female Jumper Wires
×1
Brushless Water Pump
×1
Marina tubing
×1

Software apps and online services

nio Platform
niolabs nio Platform
nio Blocks
niolabs nio Blocks
nio System Designer
niolabs nio System Designer

Story

Read more

Schematics

Edge Wiring Schematic

Using jumper wires, connect the hardware as shown. The MCP3008 is not necessary. Similar logic can be achieved by reading the signal from the Soil Moisture Sensor directly through the GPIO. This creates a boolean True when moist, and False when dry

Code

Herbert Edge Project

Signup for the free tier of the nio Platform at https://account.n.io/signup. Install the nio binary onto your Raspberry Pi and get this project using the nio CLI with the command `nio new my-plant -t https://github.com/tlugger/herbert_edge.git`

Herbert Dashboard

Download the edge repository. Configure your nio Platform pubkeeper configuration settings in `config.js`. Run the development server with `npm start`

Credits

Tyler Lugger

Tyler Lugger

4 projects β€’ 9 followers
Engineer that loves when software does stuff for me.

Comments