Introduction

Home automation is a popular subject these days and with excellent cause. Our smart devices may be connected to the Internet and controlled remotely using an app or voice software. This implies that you won’t have to manually control them anymore when you want to adjust the thermostat, draw the curtains, or water your plants!

Advantages of IoT enabled Plant Watering System

One of the main benefits of using a smart irrigation system is that it can help conserve water. By watering plants at regular intervals, we can prevent them from becoming dehydrated and save valuable resources in the process. A well-watered plant is a healthy plant, and an IoT-enabled watering system can help ensure that your plants are getting the right amount of water at all times. This is especially important for outdoor plants that might not get regular attention.

Perhaps the nicest part about utilizing an IoT-enabled irrigation system is that you can control it from anywhere if you have a connection to the internet. This means we may reap the benefits of this plant watering timer without having to water the plants manually before leaving for work on certain days, allowing us to focus on other tasks!

Circuit

So I used Altium Designer to draw the circuit and design the PCB. It is a powerful tool that can be used to design and create your own PCBs for your project as well as complex and multiplayer PCBs for industrial use. I will leave the link to the free trial version in the description.

Also, if you are planning to buy it, there is an awesome 30% discount by purchasing it using the link below! So do make use of it!The board has two voltage inputs: one for the Arduino and other components, and another for driving the electronic devices connected to the relay, which will be controlled by an Android App.

Here, I’ll be connecting a 12 V DC adapter to power the Pumps.

A 7805 regulator is used to regulate the input voltage. The 7805 is a 5V regulator that converts an input voltage of 7-32V to a consistent 5V DC supply by using a 7-32V adjustable voltage conversion.

After the circuit was created and tested, I drew up a PCB layout for our watering system so I can simply mount your Arduino Nano 33 IOT and SSR, connect everything without having wires or cables hanging around. The board is compact and lightweight, and it may be run on a 9V battery or a 9-12 V power adapter.

Getting PCB Done

I ordered PCB from PCBWay. PCBWay is a PCB manufacturer specializing in PCB prototyping, low-volume production, and neat and tidy PCB assembly.

To order your PCB from PCBWay, go to the PCBWay website and fill in the basic board details in the instant order form. From there you will be directed to a form where you can provide more elaborate board details. Update your board information in the PCB specification screen. On the next screen, you should be able to upload your Gerber file and submit it for review. Once the review is completed, all that is left is to add to the cart, make payment, and wait for your PCBs to arrive.

Once you get all the components and the PCB, it’s time for you to solder them together. Solder all the components onto the board and make sure to check the polarity of the components. After soldering the PCB looks like this.

I personally find soldering on this kind of PCBs a fun task, because of these pads soldering becomes very easy. The solder takes up the conical shape and gets soldered from all the sides evenly. After soldering the PCB looks like this.

Step 2 – Download, Install, and Setup Arduino IDE

This tiny board may be readily programmed using the most user-friendly Open Source Platform – Arduino. This will be discussed in further detail. So, to start with, download and install the Arduino IDE from Here

Code

Let’s Take a look at the code 

#include <SPI.h>
#include <WiFiNINA.h>
#include <WiFiUdp.h>

int status...
Read more »