IOT based water quality testing
in this project we monitor water quality parameter online using IOT. we used esp8266 for wifi module purpose. it will connect out sensors with internet. we used PH sensor with module . ph sensor is conncted with A0 analog input of arduino . TDS sensor is conncted with arduino uno r3 pin no A1 analog input. Turbisity sensor is conncted with arduino uno r3 pin A2. temperature sensor we used is Lm 35 sensor.LM 35 1st pi is VCC pin . second pin is output pin conncted with A3 of arduino. 3rd pinis groud pin.
INTRODUCTION & WORKING:
Farmers usually work on large portions of land to grow different types of crops. It is not always possible for one person to be able to keep track of the entire farmland all the time. Sometimes it may happen that a given patch of land receives more water leading to water-logging, or it might receive far less or no water at all leading to dry soil. In either of the cases, the crops can get damaged and farmer may suffer losses.
So in order to solve this problem, we propose an “IOT Irrigation Monitoring and Control Project”. This is a very useful project wherein, the user can monitor and control the supply of water from a remote location. This system makes use of a concept called IOT (Internet of Things). So for our project, we connect our system to the internet using a Wi-Fi module. We use an Arduino Uno board to send the control signals and to connect to our desired website.
On the website, two things are displayed:
a) Motor status b) Moisture level
The circuit keeps checking the moisture content of the soil by means of a moisture sensor, and updates the “Moisture level” on the website.
This system can also be useful for people having small gardens, while it may not be possible for a
Four pins used of wifi module. Serial pins connected with esp8266. Tx pin of arduino connected with rx pin of esp8266. Rx pin of arduino connected with Tx pin.
Two pins of esp8266 connected with 3.3 v aand gnd pin.
Moisture sensor connectd with arduino pin A0
person to be continuously present at his/her garden but one can use this project to keep a track of ‘soil-moisture’ and ensure proper water supply even from a distance.
Power (USB / Barrel Jack)
Every Arduino board needs a way to be connected to a power source. The Arduino UNO can be powered from a USB cable coming from your computer or a wall power supply (like this) that is terminated in a barrel jack. In the picture above the USB connection is labeled (1) and the barrel jack is labeled (2).
The USB connection is also how you will load code onto your Arduino board. More on how to program with Arduino can be found in our Installing and Programming Arduino tutorial.
Pins (5V, 3.3V, GND, Analog, Digital, PWM, AREF)
The pins on your Arduino are the places where you connect wires to construct a circuit (probably in conjuction with a breadboard and some wire. They usually have black plastic ‘headers’ that allow you to just plug a wire right into the board. The Arduino has several different kinds of pins, each of which is labeled on the board and used for different functions.
GND (3): Short for ‘Ground’. There are several GND pins on the Arduino, any of which can be used to ground your circuit.
5V (4) & 3.3V (5): As you might guess, the 5V pin supplies 5 volts of power, and the 3.3V pin supplies 3.3 volts of power. Most of the simple components used with the Arduino run happily off of 5 or 3.3 volts.
Analog (6): The area of pins under the ‘Analog In’ label (A0 through A5 on the UNO) are Analog In pins. These pins can read the signal from an analog sensor (like a temperature sensor) and convert it into a digital value that we can read.
Digital (7): Across from the analog pins are the digital pins (0 through 13 on the UNO). These pins can be used for both digital input (like telling if a button is pushed) and digital output (like powering an LED).
PWM (8): You may have noticed the tilde (~) next to some of the digital pins (3, 5, 6, 9, 10, and 11 on the UNO). These pins act as normal digital pins, but can also be used for something called Pulse-Width Modulation (PWM). We have a tutorial on PWM, but for now, think of these pins as being able to simulate analog output (like fading an LED in and out).
AREF (9): Stands for Analog Reference. Most of the time you can leave this pin alone. It is sometimes used to set an external reference voltage (between 0 and 5 Volts) as the upper limit for the analog input pins.
Just like the original Nintendo, the Arduino has a reset button (10). Pushing it will temporarily connect the reset pin to ground and restart any code that is loaded on the Arduino. This can be very useful if your code doesn’t repeat, but you want to test it multiple times. Unlike the original Nintendo however, blowing on the Arduino doesn’t usually fix any problems.
Power LED Indicator
Just beneath and to the right of the word “UNO” on your circuit board, there’s a tiny LED next to the word ‘ON’ (11). This LED should light up whenever you plug your Arduino into a power source. If this light doesn’t turn on, there’s a good chance something is wrong. Time to re-check your circuit!