4.iot Based Smart Agriculture Monitoring System
4.iot Based Smart Agriculture Monitoring System
4.iot Based Smart Agriculture Monitoring System
1
ABSTRACT
Smart farming, precision agriculture and Agriculture 4.0 all involve the
integration ofadvanced technologies into existing farming architecture. The goal
is to increase productionefficiency and product quality, as well as reducing
overall costs. To this end, the inclusion ofSmart technologies into Irish
agriculture has been inevitable with increased pressure beingplaced on farming
practices to remain profitable, as well as adhere to environmentalregulation.The
global Smart Agriculture Solution Market is said to have stood at around US
$10.2 Billionin 2016, and is projected to reach a valuation of US $38.1 Billion
by the end of 2024. Thegrowing adoption of advanced technology in farming,
from agricultural drones, precisionseeding systems, auto-steering, automatic
feeding systems and fruit-picking robots (amongstothers), have all incentivised
traditional agri-companies to invest in smart agriculturetechnology. The
deployment of advanced agri-tech has the potential to allow for an
increasedfocus on non-profitable tasks, such as farm maintenance and
environmental practices. Thereduction of heavy labour and tedious tasks can
also lead to improvements in the health andwork/life balance of farming staff .
2
CHAPTER-1
INTRODUCTION
3
CHAPTER-1
1.1 INTRODUCTION
5
way.Because the market is still developing, there is still ample opportunity for
businesses willing to join in.
7
CHAPTER-2
BLOCK DIAGRAM
8
CHAPTER-2
BLOCK DIAGRAM
9
CHAPTER-3
EMBEDDED SYSTEM
10
CHAPTER-3
3.1EMBEDDED SYSTEM
11
3.2 MICROPROCESSOR Vs MICROCONTROLLER
For transfer of data from external memory to the CPU, microprocessor needs
many operational codes. But in Microcontroller, one or two codes are
enough.
12
CHAPTER-4
MICRO CONTROLLER
13
CHAPTER-4
VCC
GND
Ground
Port B (PB7:0)XTAL1/XTAL2/TOSC1/TOSC2
14
characteristics with both high sink and source capability. As inputs, Port B
pins that are externally pulled low will source current if the pull-up
resistors are activated. The Port B pins are tri-stated when a reset condition
becomes active, even if the clock is not running. Depending on the clock
selection fuse settings, PB6 can be used as input to the inverting Oscillator
amplifier and input to the internal clock operating circuit. Depending on
the clock selection fuse settings, PB7 can be used as output from the
inverting Oscillator amplifier. If the Internal Calibrated RC Oscillator is
used as chip clock source, PB7.6 is used as TOSC2.1 input for the
Asynchronous Timer/Counter2 if the AS2 bit in ASSR isset.
Port C(PC5:0)
PC6/RESET
Port D(PD7:0)
15
characteristics with both high sink and source capability. As inputs, Port
Dpins that are externally pulled low will source current if the pull-up
resistors are activated. The Port D pins are tri-stated when a reset condition
becomes active, even if the clock is notrunning.
AVCC
AVCC is the supply voltage pin for the A/D Converter, PC3:0, and
ADC7:6. It should be externally connected to VCC, even if the ADC is not
used. If the ADC is used, it should be connected to VCC through a low-
pass filter. Note that PC6.4 use digital supply voltage, VCC.
AREF
16
CHAPTER-5
HARDWARE REQUIREMENT
17
CHAPTER-5
5.HARDWARE REQUIREMENT
A block diagram containing the parts of a typical power supply and the
voltage at various points in the unit is shown in fig 19.1. The ac voltage, typically
120 V rms, is connected to a transformer, which steps that ac voltage down to the
level for the desired dc output. A diode rectifier then provides a full-wave rectified
voltage that is initially filtered by a simple capacitor filter to produce a dc voltage.
This resulting dc voltage usually has some ripple or ac voltage variation. A
regulator circuit can use this dc input to provide a dc voltage that not only has
much less ripple voltage but also remains the same dc value even if the input dc
voltage varies somewhat, or the load connected to the output dc voltage changes.
This voltage regulation is usually obtained using one of a number of popular
voltage regulator IC units.
18
5.2 IC VOLTAGE REGULATORS:
IN OUT
UNREGULATE 7805
D DC
VOLTAGE
GND
19
The series 78 regulators provide fixed regulated voltages from 5 to 24 V.
Figure 19.26 shows how one such IC, a 7812, is connected to provide voltage
regulation with output from this unit of +12V dc. An unregulated input voltage
Vi is filtered by capacitor C1 and connected to the IC’s IN terminal. The IC’s
OUT terminal provides a regulated + 12V which is filtered by capacitor C2
(mostly for any high-frequency noise). The third IC terminal is connected to
ground (GND). While the input voltage may vary over some permissible
voltage range, and the output load may vary over some acceptable range, the
output voltage remains constant within specified voltage variation limits. These
limitations are spelled out in the manufacturer’s specification sheets. A table of
positive voltage regulated ICs is provided in table
20
5.4 LCD DISPLAY
The most commonly used Character based LCDs are based on Hitachi's
HD44780 controller or other which are compatible with HD44580. In this
project document, we will discuss about character based LCDs, their interfacing
with various microcontrollers, various interfaces (8-bit/4-bit), programming,
special stuff and tricks you can do with these simple looking LCDs which can
give a new look to your application.
21
Usually these days single controller LCD modules are used more in the
market. So in the project document we will discuss more about the single
controller LCD, the operation and everything else is same for the double
controller too.
ESP8267 wi-fi module which have TCP/IP Protocol stack and integrated on
the chip. Such that it could provide any microcontroller to connect with Wi-Fi
network. The ESP8267 is capable of both loading all Wi-Fi networking
functions from another type of application processor and hosting an application.
Every ESP8267 module comes pre-programmed with an (AT) command set
firmware, meaning, we can simply attach it with our Arduino device and get
Wi-Fi-ability as a WIFI shield offers to it. The ESP8267 module is an growing,
community and costeffective.
High degree on chip integration allow for minimum external circuitry, which
includes the front end module, which is designed for occupying minimum PCB
area. The ESP8267 support applications and Bluetooth interface, also contain
self-calibrated RF which allow it to workable under possible operating
conditions.
o Module Wi-FiDirect
o Stack of TCP/IPprotocol
22
o Integrated Switch(LNA), matching network powerAmplifier
o leakage I<10uA
o 1MB flashmemory
The Soil Moisture sensor is used to sense moisture content in the soil.
It checks the volume of water content or moisture present in the soil. The
estimates the volume of water content in the soil. It detects the water content
in the soil and gets and sends the analog signals which is shown digitally. It
5.7 DHT22
23
the Serial Terminal.
Components Required:
1. Arduino Uno
2. DHT22 Module
3. Data Cable
4. Jumper wires
DHT11 and DHT22 sensors are very basic and slow but are greatfor
hobbyists who want to do some basic data logging. The DHT sensorsare made
of two parts, a capacitive humidity sensor, and a thermistor.There is also a very
basic chip inside that does some analog to digitalconversion and spits out a
digital signal with the temperature andhumidity. The digital signal is fairly easy
to read using anymicrocontroller.
5.8 DC MOTOR
DC motors are a key component for many agricultural applications,
often offering a most efficient form of motion, particularly when solar and
battery power is utilised. Some of our own drives are relied on under
challenging conditions - for example, they have been in use on Mars for years
(although not for agricultural purposes, yet). But DC motors also function in
tough agricultural conditions flawlessly and efficiently. Motors, gearheads,
24
sensors, batteries and controllers all constitute the basic building blocks for
complex applications. Our own mobile apps include cloud connectivity and
give our customers access to a range of functions, including retrieval of
current driving data and positions, customisation of parameters and fleet
management. All components are verified by our specialists and then perfectly
matched to each other. This allows us to offer users a system solution from a
single source.
5.9LM35
GENERAL DESCRIPTION
25
5.9.1FEATURES
26
5.9.3 APPLICATIONS
The LM35 can be applied easily in the same way as other integrated-
circuit temperature sensors. It can be glued or cemented to a surface and its
temperature will be within about 0.01°C of the surface temperature.
This presumes that the ambient air temperature is almost the same as the
surface temperature; if the air temperature were much higher or lower than the
surface temperature, the actual temperature of the LM35 die would be at an
intermediate temperature between the surface temperature and the air
temperature. This is expecially true for the TO-92 plastic package, where the
copper leads are the principal thermal path to carry heat into the device, so its
temperature might be closer to the air temperature than to the surface
temperature.
27
CHAPTER-6
PROGRAMMING
28
CHAPTER-6
6.PROGRAMMING
6.2 Power
The Arduino Uno board can be powered via the USB connection or with
an external power supply. The power source is selected automatically.
6.3 Memory
29
The ATmega328 has 32 KB (with 0.5 KB occupied by the bootloader). It also
has 2 KB of SRAM and 1 KB of EEPROM
30
Type Integrated development environment
Website arduino.cc
Arduino programs are written in C or C++ The Arduino IDE comes with
a software library called "Wiring" from the original Wiring project, which
makes many common input/output.
Setup (): a function run once at the start of a program that can initialize
settings.
Loop (): a function called repeatedly until the board powers off
31
CHAPTER-7
CONCLUSION
32
CHAPTER-7
CONCLUSION
33
CHAPTER-8
REFERENCES
34
CHAPTER-8
REFERENCES
[1] Tragos, E. Z., Angelakis, V., Fragkiadakis, A., Gundlegard, D., Nechifor,
C. S., Oikonomou, G &Gavras, A. (2014, March). Enabling reliable and
secure IoT-based smart city applications. In 2014 IEEE International
Conference on Pervasive Computing and Communication Workshops
(PERCOM WORKSHOPS) (pp. 111-116). IEEE.
[2] Shah, J., & Mishra, B. (2016, January). IoT enabled environmental
monitoring system for smart cities. In 2016 International Conference on
Internet of Things and Applications (IOTA) (pp. 383-388). IEEE.
[3] Pasha, S. (2016). ThingSpeak based sensing and monitoring system for
IoT with Matlab Analysis. International Journal of New Technology and
Research, 2(6).
[4] Khan, R., Khan, S. U., Zaheer, R., & Khan, S. (2012, December). Future
internet: the internet of things architecture, possible applications and key
challenges. In 2012 10th international conference on frontiers of information
technology (pp. 257-260). IEEE.
[5] https://components101.com/development-boards/nodemcu-esp8266-
pinout-features- and-datasheet
[6] Kumar, N. S., Vuayalakshmi, B., Prarthana, R. J., & Shankar, A. (2016,
November). IOT based smart garbage alert system using Arduino UNO. In
2016 IEEE Region 10 Conference (TENCON) (pp. 1028-1034). IEEE.
[7] Kumar, S., &Jasuja, A. (2017, May). Air quality monitoring system based
on IoT using Raspberry Pi. In 2017 International Conference on Computing,
Communication and Automation (ICCCA) (pp. 1341-1346). IEEE.
[8] Talari, S., Shafie-Khah, M., Siano, P., Loia, V., Tommasetti, A., &
Catalao, J. (2017).
A review of smart cities based on the internet of ˜ things concept. Energies,
10(4), 421.
25
[9] Ma, Y., Yang, S., Huang, Z., Hou, Y., Cui, L., & Yang, D. (2014,
December). Hierarchical air quality monitoring system design. In 2014
International Symposium on Integrated Circuits (ISIC) (pp. 284-287). IEEE.
[10] Ahlgren, B., Hidell, M., & Ngai, E. C. H. (2016). Internet of things for
smart cities: Interoperability and open data. IEEE Internet Computing,
20(6), 52-56.
[11] https://creativestudio1973.blogspot.com/2019/11/temperature-andhumidity-
sensor.html
[12] https://www.instructables.com/Measuring-Humidity-Using-Sensor-
DHT22
[13] https://www.naukri.com/learning/articles/iot-in-agriculture-howconnected-
devices-are-shaping-the-future-of-farming/
35
[14] https://www.xenonstack.com/use-cases/iot-smart-farming
[15] https://creativestudio1973.blogspot.com/2021/05/nokia-5110-lcddisplay-
interface-with.html
[16] https://creativestudio1973.blogspot.com/2020/06/introduction-toesp-
01.html
36