Build a Plant Watering System
Let's start by adding the components that you will need for this project to the workplane.
Next, find the rest of the components, the DC Motor, the Temperature Sensor and the Soil Moisture Sensor, and add them to the workplane.
Now, wire the DC Motor to the Arduino UNO R3.
Next, wire the Temperature Sensor to the Arduino UNO R3.
Continue by wiring the Soil Moisture Sensor to the Arduino UNO R3.
As an example, if you want to print the string "Soil Moisture: " without a newline, use:
The Temperature Sensor sends analog
Code Implementation
Table 3.2: System input values and output states
If we wanted to set up the Smart Watering System in a more arid area where the water evaporates faster and the atmosphere is drier, what changes should we make? Describe a possible solution a
In this lesson’s project, the sensors and actuator did not require a breadboard to connect to the Arduino, in contrast with other projects. Describe the reasons why below.
Check with a tick the output of the following blocks.
Evaluate the following conditions of the code blocks as either True or False, by taking into consideration the values of the analog pins given:
Extend the Smart Watering System to inform the user when the plant is being watered by printing the message “Watering Plant Now!” only when moisture is under 150 and temperature is over 30.
Extend the Smart Watering System so the DC Motor stays on for longer if the soil moisture levels are extremely low (under 50). Use wait blocks to make the DC Motor operate for longer.