Read the introduction and prepare your kit.
The plant watering kit monitors the soil moisture of a potted plant and waters it when a threshold is met. It will also monitor the water level of a reservoir and sound a buzzer if it gets too low.
If you haven't already assembled your kit, you can find assembly instructions here. After your kit is assembled, we'll need to upload the plant watering sketch to the Arduino. This lesson will lead you through calibrating the water sensors for the plant watering sketch.
Arduino plugged in.
Please plug in your Arduino if you haven't already.
Connect the water level sensor to pin A2 on your Arduino.
Connect the soil moisture sensor to pin A0 on your Arduino.
Measured dry soil.
Measured wet soil.
Now that we have the thresholds, we can upload the code to the Arduino. Write down the thresholds before going to the programmer.
Soil Moisture Sensor Threshold
Water Sensor Threshold
Write down the thresholds then go to the Arduino Programmer and click on the options tab to enter the thresholds. After you have entered the thresholds, select your board and port, then click Upload.
You have completed the lesson.
You may scroll up to review the lesson.