Arduino Plant Monitoring Box

by mileslewis5280 in Circuits > Arduino

327 Views, 1 Favorites, 0 Comments

Arduino Plant Monitoring Box

IMG_5491.jpg

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

Screen Shot 2021-05-15 at 5.22.26 PM.png

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

Creat Box and Install Hardware

IMG_5480.jpg
IMG_5481.jpg
IMG_5482.jpg

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

IMG_5483.jpg
64280425372__6FC2D40E-4373-4AF3-97C3-48DCF64BBE34.jpg

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

Plant monitoring project

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.