Plant Watering Detector
This project will detect the amount of moisture in the soil of a plant and show you its state by using an LED matrix. If the plant's soil has moisture in it will display a smiley face, if it doesn't it will display a frowny face and if it's somewhere in the middle it will show a medium face. This project is perfect for someone learning to work with new components such as switches, soil moisture sensors and LED matrices.
Supplies
- Arduino UNO
- LED matrix
- Capacitive Soil moisture sensor
- Switch
- Potted plant
- Female/Male jumper wire
- Electrical tape
- Wires
- Double-sided tape
Connect the Soil Moisture Sensor
- Using a female/male jumper connect the soil moisture sensor to the Arduino
- The GND pin on the sensor should go to a ground pin on the Arduino
- The VCC pin should go to the 5V pin
- The AOUT pin should connect to A0
Connect the Switch
- To connect the switch wrap some wires around the circles in the pins. Use one red wire and black wire for this. If needed use solder or electrical tape to keep the wires in place
- Connect the red wire to the 3.3V pin on the Arduino
- Connect the back wire to a ground pin
Connect the LED Matrix
Place the LED matrix on a breadboard.
Use this diagram to connect the LED matrix to the Arduino Uno. Use any colour wire to connect them.
Enter the Code
Plug your Arduino UNO into your computer and upload this code using the Arduino application.
Downloads
Assemble It Onto a Plant Pot
Poke the moisture sensor into the soil, turn the code on with the switch and watch as the sensor reads and outputs the information. Make sure you have a source of power this can be a 9-volt battery or a computer.