Arduino Plant Monitoring Box
by mileslewis5280 in Circuits > Arduino
409 Views, 1 Favorites, 0 Comments
Arduino Plant Monitoring Box

This project uses two inputs and two outputs to monitor the soil moisture and the light level of a houseplant. Simple sensors and actuators make for a fun and easy project to quantify plant conditions and grow Arduino coding skills!
Supplies
Photoresistor
5g servo
Soil moisture sensor (Sparkfun)
3 LEDs
Breadboard
Arduino
Jumper wires (male and female)
cardboard ( for enclosure)
hot glue
Schematic

This is the schematic I used but it can be cleaned up. temp sensor is supposed to be a moisture sensor. I used a 10k resistor for the photoresistor and a 250ohm resistor for the LEDs. note you might need to change resistor size if using an Arduino nano because they output in 3.3v, not 5v.
Code
here is the code that I used: https://github.com/mileslew/Plant-monitoring-box/...
Creat Box and Install Hardware



Construct a box out of cardboard or other recycled materials. I'm not going to get too involved on specifics on how to build the box because it varies based on plant size. Mine is approximately 3" x 5" x 5". next cut holes big enough for the LEDs Servo and the power in I left the top of my box unglued for now so I can make adjustments later. Once sure of placement and connections, glue components to the side making sure it doesn't obstruct the plant.
Final Assembly


glue a small peice of cardboard to the front of the servo horn and draw the indicators on the box. add top of box and then the plant. Add the moisture sensor to the plant and Wualah! the servo should be moving and the lights should light up based on light levels.
Testing/Tuning

At this point, everything should be working and your plant is ready to be monitored!! it might need a little tuning based on how much moisture your plant needs and the light source you are using.