Beruflich Dokumente
Kultur Dokumente
GROUP MEMBERS:
PROJECT CO-ORDINATOR
Arduino UNO 1
Miscellaneous
Adaptor 1 A, 6 V 1
Connecting Jumpers
Breadboard 1
1. Sensors
The soil moisture sensor is used to measure the volumetric water content of soil.
It is used to monitor soil moisture content to control irrigation in greenhouses. A
moisture sensor is used to sense the level of moisture content present in
irrigation field. It has a level detection module in which we can set a reference
value.
(b) Temperature and Humidity Sensor
2. Relay Module
The relay module is an electrically operated switch that allows you to turn ON or
OFF a circuit using voltage and/or current much higher than a Microcontroller
could handle. There is no connection between the low voltage circuit operated by
the Microcontroller and the high power circuit. The relay protects each circuit
from the other. Each channel in the module has three connections named NC,
COM, and NO. Depending on the input signal trigger mode, the jumper cap can be
placed at high level effective mode which ‘closes’ the normally open (NO) switch
at high level input and at low level effective mode which operates the same but at
low level input.
3. Peristaltic Pump
The results of the moisture, temperature and threshold level can be calculated
through the sensors used in the project. Analysis of soil parameters can be done
and the needed nutrients can be calculated for the soil. The need of water supply
of the soil can be calculated and hence appropriate irrigation is done through
smart techniques.
System configuration:
This module is used to configure all hardware devices. Soil moisture sensor,
Temperature and Humidity sensor, Pump all are connected to major component
arduino with Bluetooth connectivity.
Once the values of temperature and moisture are generated on serial monitor.
The threshold can also be notified on serial monitor itself. And if result of
Moisture, Temperature and Humidity goes below the threshold value the pump
will automatically turn ON and if the level of Moisture, Temperature and
Humidity increase upto threshold level of field then pump will automatically turn
OFF.
Schematic
The transition from low to high, for each sensor pair is detected by the
microcontroller and accordingly the count would be increased or
decreased.
Circuit Components
Here is the list of components and their corresponding values used in this
circuit.
A 10KΩ POT is connected at the inverting input. This POT can be adjust in
order to change the sensitivity of the IR Sensor. A 16 x 2 LCD Display is
used to display the count values. The data line of the LCD are connected to
PORT1 Pins of the Microcontroller.
The Control Pins i.e. RS, RW and E are tied to P3.6, GND and P3.7 pins. A
10KΩ POT is connected to contrast adjust pin i.e. Pin 3 of LCD.
OPERATION
Let us now see hoe this Bidirectional Visitor Counter using 8051
Microcontroller actually works.
When the system is powered ON, the microcontroller initially initializes the
stack pointer and all other variables. It then scans the input pins (P2.0 and
P2.1).
In the meantime, when there is no object in front of the IR Sensors, the light
from the IR LED would not fall on the Photo Diode of the first sensor pair
and hence, the Photo Diode doesn’t conduct.
As a result, the output of the IR sensors is LOW. In other words, ports P2.0
and P2.1 are at logic LOW level. If there is a person in front of the IR
Sensors, IR light from the IR LED reflects from the person and falls on the
Photo Diode.
As a result, the Photo Diode starts conducting and the output of the sensor
becomes HIGH. In other words, the ports P2.0 and P2.1 are at logic HIGH
level.
Now when a transition takes place, i.e. a logic HIGH level is received, first at
port P2.0 and then at P2.1, the microcontroller sees this as an interruption
to sense the passage or entry of a person or an object in front of the IR LED
and the Photo Diode.
As per the program, the count value is increased and this value is displayed
on the 16 x 2 LCD Display.
If the microcontroller senses logic HIGH, first on the P2.1 and then on P2.0,
it assumes that the person is leaving the room and as per the program, the
microcontroller decreases the count as displays the same on the LCD.
The program ensures that the count is increased or decreased only when
both the sensors detect the person.