Wio Terminal is a powerful Arduino development tool. Using Wio Terminal, you can easily design various ideas. Automatic flower watering device is also the most common study case for everyone. As a beginner, I also designed a flower watering device, and Hands-on design of the music program and appearance, experience the process of maker making and facilitate the process of learning Arduino.
Below I briefly describe the production process.
Here are all the hardware devices used, 1 Wio Terminal hardware, 1 relay, 1 soil moisture sensor, 1 pump (5V~12V), 1 associated Grove cable and 1 mounting backplane.
Install the Wio Terminal on the backplane, and the backplane has cut the relevant mounting holes with a laser cutting machine in advance.
Next, use self-tapping screws to install the relay in a suitable position. This position is found to be inappropriate later, and will be modified later.
The water pump is fixed to the backplane with 3mm screws, and the positive and negative poles are connected to a DuPont line.
The Grove port on the left side of the Wio Terminal device is connected to the relay. The Grove cable can be wound from the back of the back panel, and the Grove port on the right side is connected to the soil moisture sensor.
Next, pass the positive and negative power wires of the water pump through the back plate, connect the positive red wire to the WioTerminal's pin 2, and connect the accessory black wire to the WioTerminal's pin 6.
Use small pieces of wood to stick to the upper and lower sides of the water pump to fix the water pump, and finally apply hot melt glue to the water pump to fix it, so that all the equipment is installed on the backplane.
Next, we insert the backboard into the soil of the flowerpot, and the backboard can just stand in the flowerpot; insert the soil moisture sensor into the appropriate position of the flowerpot, the water pump is an 8mm water pipe connected to a 3mm connector, and the other The ground plug connected to the dropper at one end thus completes the installation of the flower watering device.
After the relay is installed, it is found that its position is blocking the power cable interface of the Wio Terminal device, so move it to the right and fix the relay with self-tapping screws.
After the flower watering device is installed, start designing the flower watering program. When the soil humidity is >600, it will prompt "Soil water shortage Start irrigation" and turn on the relay pump to pump water for 2 seconds. When the soil humidity is >510 and <580, it will prompt "Continue to supplement" irrigation" and turn on the relay pump to pump water for 1 second, otherwise it will prompt "Soil humidity is normal".
Comments