To avoid this complexity, I created a prototype and got PCB printing service from PCBWay. If you are going to use an Arduino model, the circuit can be a bit complicated. L298N Motor Driver Module (It needs extra wiring).L293D Motor Driver IC Chip (It needs a breadboard and needs complex wiring).L293D Motor Driver Shield (It makes it difficult to connect extra sensors).If we used a model like an Arduino UNO in the project, we would have to create a circuit using the following motor drivers together: However, if I was going to use an Arduino microcontroller, I would also need a motor driver or maybe even a relay. As long as the connections are made correctly, the shared source code will run smoothly. Then the list of components and hardware that we will mainly need is as follows:Īs I mentioned before, you can use any model of Arduino microcontroller (such as UNO, Nano, Mega). This is executed as a loop by the microcontroller. When the soil moisture sensor probe reaches the specified threshold, the system returns to the beginning and the water flow is stopped. The motor driver runs the water pump motor and water flow is through the pipes connected to the water pump motor. However, in some projects a relay can be used to trigger the motor. The microcontroller processes the read data according to the specified commands (like threshold value) and communicates with a motor driver to start the water pump motor. So what hardware or components do we need to do this automatically?Ī soil moisture sensor probe should measure the soil moisture, the data read by the probe is sent to a microcontroller via the soil moisture sensor. If the plant soil is sufficiently watered, we should stop watering. The plant needs water as the soil dries, and we need to somehow get the water together with the plant soil. First, let's look at the working principle to understand the requirements of the automatic plant watering system.
0 Comments
Leave a Reply. |