SlideShare a Scribd company logo
IOT for Smart Agriculture
Knowledge Centric Co., Ltd.
Internet of Things
The Internet of Things (IoT) is a system of
interrelated computing devices,
mechanical and digital machines, objects,
animals or people that are provided with
unique identifiers (UIDs) and the ability
to transfer data over a network without
requiring human-to-human or human-to-
computer interaction.
SOURCE: https://en.wikipedia.org/wiki/Internet_of_things
Microprocessor
WHAT IS MICROCONTROLLER?
• A micro-controller is basically a small-scale computer with
generalised (and programable) input and output
• The input and outputs can be manipulated by and can manipulate the
physical world.
• Programmers work in the virtual world.
• Machinery work in the physical world.
WHAT IS MICROCONTROLLER?
Massimo Banzi,Tinker.it & Arduino Co-Founder
``Physical Computing is about prototyping with electronics, turning
sensors, actuators and microcontrollers into materials for designers
and artists.’’
``It involves the design of interactive objects that can communicate
with humans using sensors and actuators controlled by a behaviour
implemented as software running inside a microcontroller.’’
Arduino

A Prototype Platform
Single-board microcontroller, intended
to make the application of interactive
objects or environments more accessible
Designed to make the process of using
electronics multidisciplinary projects
more accessible
Circuitry which executes instructions in
programmable Integrated Circuit
Arduino Can …
• Sense the environment by receiving input from variety of sensors.
• Affect it surroundings by controlling lights, motors, and other
actuators.
• Support Standalone Applications
• Integrate with Computer / other process
Arduino / Microcontrollers a.k.a. Physical Computing
• “Arduino is a tool for making computers that can sense and control
more of the physical world than your desktop computer.”
• A micro-controller is essentially a brain – or, think of a bunch of
programmable “elves…”
• It is the guts of something like Vernier, Pasco, or Fourier
Arduino

A Prototype Platform
Single-board microcontroller, intended
to make the application of interactive
objects or environments more accessible
Designed to make the process of using
electronics multidisciplinary projects
more accessible
Circuitry which executes instructions in
programmable Integrated Circuit
Arduino Workflows
CODE COMPILE FLASH EXECUTE
source_code.ino

+

libraries
source_code.hex source_code.bin
Install the Arduino Software (IDE)
• Download the Arduino Software (IDE)
• https://www.arduino.cc/en/Main/Software
• Proceed with board specific instruction (For ESP8266)
• At Preference, 

add “http://arduino.esp8266.com/stable/package_esp8266com_index.json” 

to Additional Boards Manager URLs:
• At Board manager,

Install “”
Install the Arduino Software (IDE)
Configure ESP8266
• Menu Tools -> Board: … -> Generic ESP8266 Module
• Config parameters
• Upload Speed: “115200”
• Flash Size : 4M (1M SPIFFS)
• Flash Mode: “DIO”
• Reset Mode: “nodemcu”

Arduino

Minimum Code
setup : It is called only when the
Arduino is powered on or reset. It is
used to initialize variables and pin
modes
loop : The loop functions runs
continuously till the device is
powered off. The main logic of the
code goes here. Similar to while (1)
for micro-controller programming.
void setup() {
}
void loop() {
}
01:
02:
03:
04:
05:
06:
07:
08:
09:
10:
11:
12:
Hello World!!! (blink.ino)
01:
02:
03:
04:
05:
06:
07:
08:
09:
10:
11:
12:
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
digitalWrite(LED_BUILTIN, HIGH);
delay(2000);
}
MENU -> File -> Examples -> ESP8266 -> Blink
OFFEETIM
VARIABLE, TYPE AND VALUE
VARIABLE
VALUE
TYPE
VARIABLE
VALUE
TYPE
TYPE_NAME VARIABLE_NAME = VALUE;
int counter = 0;
String label =“mySensor”;
PIN MODES
• A pin on arduino can be set as input or output by using pinMode
function.
• pinMode(13, OUTPUT); // sets pin 13 as output pin
• pinMode(13, INPUT); // sets pin 13 as input pin
PIN MODES
PIN5
PIN4
5V
GND
GND5V
PIN16
PIN14
SERIAL

Communication
setup : It is called only when the
Arduino is powered on or reset. It is
used to initialize variables and pin
modes
loop : The loop functions runs
continuously till the device is
powered off. The main logic of the
code goes here. Similar to while (1)
for micro-controller programming.
SERIAL COMMUNICATION
Hello World Again!!! (serial.ino)
01:
02:
03:
04:
05:
06:
07:
08:
09:
10:
11:
12:
void setup()
{
Serial.begin(9600);
Serial.println("Hello world!");
}
void loop()
{
}
Serial.ino
Serial Communication
Open the Serial Monitor and 

Upload the Program
DELAY
• Delays are essential in
embedded systems, unlike
high-performance systems
where we want the program
to execute as fast as possible
• Delays are used to
synchronize events, or read
inputs with a specific
sampling freqency (more on
Bus/Wait I/O)
• Arduino example:
delay(int milliseconds)
//creates a delay in ms
delayMicroseconds(int microseconds)
//creates a delay in µs
delay(1000); //one second delay
delayMicroseconds(10); //10 µs delay
LET’s Play
CONDITION STATEMENT
if(condition_expression){
// do stuff if the condition is true
} else {
// do stuff if the condition is true
}
LET’s Play
WHILE LOOP
while(condition_expression){
statement;
}
LET’s Play
Function Declartion
if(condition_expression){
// do stuff if the condition is true
} else {
// do stuff if the condition is true
}
LET’s Play
OFFEETIM
INPUT vs. OUTPUT
Inputs is a signal / information going
into the board.

Examples: Buttons Switches, Light
Sensors, Flex Sensors, Humidity
Sensors, Temperature Sensors…
Output is any signal exiting the board.

Examples: LEDs, DC motor, servo
motor, a piezo buzzer, relay, an RGB
LED
Input and Output
A Sensor is a converter that measures
a physical quantity and converts it into
a signal which can be read by an
observer or by an (today mostly
electronic) instrument.

An Actuator is a type of motor for
moving or controlling a mechanism or
system. It is operated by a source of
energy, typically electric current,
hydraulic fluid pressure, or pneumatic
pressure, and converts that energy
into motion. An actuator is the
mechanism by which a control system
acts upon an environment.
Sensor Calibration
• Resolution: The smallest change it can detect
in the quantity that it is measuring. The
followig formula may be used (where S is the
measurment span, e.g., 0-100deg.C):

• Accuracy: How close the measured value is
the the actual/real value, eg., ±0.1 %
• Calibration: A comparison between measurements. One of known magnitude
or correctness made or set with one device and another measurement made in
as similar a way as possible with a second device. The device with the known
or assigned correctness is called the standard. The second device is the unit
under test, test instrument, or any of several other names for the device being
calibrated.
Digital Sensor
Digital sensors are more straight forward than
Analog
No matter what the sensor there are only two
settings: On and Off
Signal is always either HIGH (On) or LOW (Off)
Voltage signal for HIGH will be a little less than 3.3V
on your ESP
Voltage signal for LOW will be 0V on most systems
void loop()
{
int buttonState = digitalRead(5);
if(buttonState == LOW)
{ // do something
}
else
{ // do something else
}
}
Relay Control
KC-TH-280
Digital interface I2C (up to 3.4MHz)
Supply voltage 1.71 to 3.6V
Current consumption 3.6 μA @ 1 Hz humidity, pressure and temperature
Operating range -40...+85 °C, 0...100 % rel. humidity, 300...1100 hPa
Response time1 1 s
Accuracy tolerance1 ±3 % relative humidity
Hysteresis 1 ±1% relative humidity
RMS Noise2 0.2 Pa, equiv. to 1.7 cm
Offset temperature coefficient2 ±1.5 Pa/K, equiv. to ±12.6 cm at 1 °C temperature change
1 parameters for humidity sensor
2 parameters for pressure sensor
Red wire -- Power Supply
Black wire -- GND
Green wire – SCL
Blue wire --- SDA
GND
VDD
SCL
SDA KC-TH-280MCU
DIGITAL HUMIDITY, PRESSURE

AND TEMPERATURE SENSOR
https://github.com/adafruit/Adafruit_BME280_Library
I2C Scanner
OFFEETIM

More Related Content

What's hot

Iot based smart agriculture
Iot based smart agricultureIot based smart agriculture
Iot based smart agriculture
Binayakreddy
 
Sensor based smart agriculture system
Sensor based smart agriculture systemSensor based smart agriculture system
Sensor based smart agriculture system
AbhijeetKumar346
 
IoT for Smart Agriculture and Villages
IoT for Smart Agriculture and Villages IoT for Smart Agriculture and Villages
IoT for Smart Agriculture and Villages
Vinay Solanki
 
Internet of Things & Its application in Smart Agriculture
Internet of Things & Its application in Smart AgricultureInternet of Things & Its application in Smart Agriculture
Internet of Things & Its application in Smart Agriculture
Mohammad Zakriya
 
IOT in Agriculture slide.pptx
IOT in Agriculture slide.pptxIOT in Agriculture slide.pptx
IOT in Agriculture slide.pptx
DHANPDGHALE
 
IoT Application in Agriculture
IoT Application in AgricultureIoT Application in Agriculture
IoT Application in Agriculture
UTKARSH DWIVEDI
 
SMART FARMING USING IOT
SMART FARMING USING IOTSMART FARMING USING IOT
SMART FARMING USING IOT
IAEME Publication
 
Iot-based smart agriculture by ancys
Iot-based smart agriculture by ancysIot-based smart agriculture by ancys
Iot-based smart agriculture by ancys
ANCYS3
 
IOT and Cloud in Agriculture
IOT and Cloud in AgricultureIOT and Cloud in Agriculture
IOT and Cloud in Agriculture
Sathish Kumar
 
Internet of Things(IoT) & Applications
Internet of Things(IoT) & ApplicationsInternet of Things(IoT) & Applications
Internet of Things(IoT) & Applications
Gunjan Panara
 
iot based agriculture
 iot based agriculture iot based agriculture
iot based agriculture
Tanish Khilani
 
Smart irrigation system
Smart irrigation systemSmart irrigation system
Smart irrigation system
Ayesha Sajjad
 
Indian agriculture: Mechanization to Digitization
Indian agriculture: Mechanization to DigitizationIndian agriculture: Mechanization to Digitization
Indian agriculture: Mechanization to Digitization
ICRISAT
 
Agriculture Intelligence
Agriculture IntelligenceAgriculture Intelligence
Agriculture Intelligence
Ruchit G Garg
 
Iot based smart irrigation system
Iot based smart irrigation systemIot based smart irrigation system
Iot based smart irrigation system
Krishna Vala
 
IOT based irrigation system
IOT based irrigation systemIOT based irrigation system
IOT based irrigation system
Shanjedul Hassan
 
IOT in Smart Farming
IOT in Smart FarmingIOT in Smart Farming
IOT in Smart Farming
ChandanaMayaS
 
IoT (Internet of Things)- Based Smart Farming
IoT (Internet of Things)- Based Smart FarmingIoT (Internet of Things)- Based Smart Farming
IoT (Internet of Things)- Based Smart Farming
Chakravarthy Thejesh
 
The digital agriculture revolution
The digital agriculture revolutionThe digital agriculture revolution
The digital agriculture revolution
Belatrix Software
 
Smart farming using IOT
Smart farming using IOTSmart farming using IOT
Smart farming using IOT
VyshnaviGollapalli
 

What's hot (20)

Iot based smart agriculture
Iot based smart agricultureIot based smart agriculture
Iot based smart agriculture
 
Sensor based smart agriculture system
Sensor based smart agriculture systemSensor based smart agriculture system
Sensor based smart agriculture system
 
IoT for Smart Agriculture and Villages
IoT for Smart Agriculture and Villages IoT for Smart Agriculture and Villages
IoT for Smart Agriculture and Villages
 
Internet of Things & Its application in Smart Agriculture
Internet of Things & Its application in Smart AgricultureInternet of Things & Its application in Smart Agriculture
Internet of Things & Its application in Smart Agriculture
 
IOT in Agriculture slide.pptx
IOT in Agriculture slide.pptxIOT in Agriculture slide.pptx
IOT in Agriculture slide.pptx
 
IoT Application in Agriculture
IoT Application in AgricultureIoT Application in Agriculture
IoT Application in Agriculture
 
SMART FARMING USING IOT
SMART FARMING USING IOTSMART FARMING USING IOT
SMART FARMING USING IOT
 
Iot-based smart agriculture by ancys
Iot-based smart agriculture by ancysIot-based smart agriculture by ancys
Iot-based smart agriculture by ancys
 
IOT and Cloud in Agriculture
IOT and Cloud in AgricultureIOT and Cloud in Agriculture
IOT and Cloud in Agriculture
 
Internet of Things(IoT) & Applications
Internet of Things(IoT) & ApplicationsInternet of Things(IoT) & Applications
Internet of Things(IoT) & Applications
 
iot based agriculture
 iot based agriculture iot based agriculture
iot based agriculture
 
Smart irrigation system
Smart irrigation systemSmart irrigation system
Smart irrigation system
 
Indian agriculture: Mechanization to Digitization
Indian agriculture: Mechanization to DigitizationIndian agriculture: Mechanization to Digitization
Indian agriculture: Mechanization to Digitization
 
Agriculture Intelligence
Agriculture IntelligenceAgriculture Intelligence
Agriculture Intelligence
 
Iot based smart irrigation system
Iot based smart irrigation systemIot based smart irrigation system
Iot based smart irrigation system
 
IOT based irrigation system
IOT based irrigation systemIOT based irrigation system
IOT based irrigation system
 
IOT in Smart Farming
IOT in Smart FarmingIOT in Smart Farming
IOT in Smart Farming
 
IoT (Internet of Things)- Based Smart Farming
IoT (Internet of Things)- Based Smart FarmingIoT (Internet of Things)- Based Smart Farming
IoT (Internet of Things)- Based Smart Farming
 
The digital agriculture revolution
The digital agriculture revolutionThe digital agriculture revolution
The digital agriculture revolution
 
Smart farming using IOT
Smart farming using IOTSmart farming using IOT
Smart farming using IOT
 

Similar to Iot for smart agriculture

Tinkercad Workshop PPT, Dept. of ECE.pptx
Tinkercad Workshop PPT, Dept. of ECE.pptxTinkercad Workshop PPT, Dept. of ECE.pptx
Tinkercad Workshop PPT, Dept. of ECE.pptx
JayashreeSelvam5
 
arduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdfarduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdf
ssusere5db05
 
Arduino course
Arduino courseArduino course
Arduino course
Ahmed Shelbaya
 
IOT beginnners
IOT beginnnersIOT beginnners
IOT beginnners
udhayakumarc1
 
IOT beginnners
IOT beginnnersIOT beginnners
IOT beginnners
udhayakumarc1
 
Introduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and ProgrammingIntroduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and Programming
Emmanuel Obot
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
sdcharle
 
ARDUINO Presentation1.pptx
ARDUINO Presentation1.pptxARDUINO Presentation1.pptx
ARDUINO Presentation1.pptx
SourabhSalunkhe10
 
Arduino slides
Arduino slidesArduino slides
Arduino slides
sdcharle
 
Arduino Workshop Slides
Arduino Workshop SlidesArduino Workshop Slides
Arduino Workshop Slides
mkarlin14
 
Week2 fundamental of IoT
Week2 fundamental of IoTWeek2 fundamental of IoT
Week2 fundamental of IoT
somphongt
 
The arduino and iot
The arduino and iotThe arduino and iot
The arduino and iot
Shreya Pohekar
 
Microcontrollers (Rex St. John)
Microcontrollers (Rex St. John)Microcontrollers (Rex St. John)
Microcontrollers (Rex St. John)
Future Insights
 
Embedded system introduction - Arduino Course
Embedded system introduction - Arduino CourseEmbedded system introduction - Arduino Course
Embedded system introduction - Arduino Course
Elaf A.Saeed
 
Introduction of Arduino Uno
Introduction of Arduino UnoIntroduction of Arduino Uno
Introduction of Arduino Uno
Md. Nahidul Islam
 
Arduino Programming Familiarization
Arduino Programming FamiliarizationArduino Programming Familiarization
Arduino Programming Familiarization
Amit Kumer Podder
 
Arduino and c programming
Arduino and c programmingArduino and c programming
Arduino and c programming
Punit Goswami
 
arduino4.ppt
arduino4.pptarduino4.ppt
arduino4.ppt
AhmedFouad252659
 
EMBEDDED_SYSTEM_INTRODUCTION.pdf
EMBEDDED_SYSTEM_INTRODUCTION.pdfEMBEDDED_SYSTEM_INTRODUCTION.pdf
EMBEDDED_SYSTEM_INTRODUCTION.pdf
NadiSarj2
 
Iot Workshop NITT 2015
Iot Workshop NITT 2015Iot Workshop NITT 2015
Iot Workshop NITT 2015
Srivignessh Pss
 

Similar to Iot for smart agriculture (20)

Tinkercad Workshop PPT, Dept. of ECE.pptx
Tinkercad Workshop PPT, Dept. of ECE.pptxTinkercad Workshop PPT, Dept. of ECE.pptx
Tinkercad Workshop PPT, Dept. of ECE.pptx
 
arduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdfarduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdf
 
Arduino course
Arduino courseArduino course
Arduino course
 
IOT beginnners
IOT beginnnersIOT beginnners
IOT beginnners
 
IOT beginnners
IOT beginnnersIOT beginnners
IOT beginnners
 
Introduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and ProgrammingIntroduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and Programming
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
 
ARDUINO Presentation1.pptx
ARDUINO Presentation1.pptxARDUINO Presentation1.pptx
ARDUINO Presentation1.pptx
 
Arduino slides
Arduino slidesArduino slides
Arduino slides
 
Arduino Workshop Slides
Arduino Workshop SlidesArduino Workshop Slides
Arduino Workshop Slides
 
Week2 fundamental of IoT
Week2 fundamental of IoTWeek2 fundamental of IoT
Week2 fundamental of IoT
 
The arduino and iot
The arduino and iotThe arduino and iot
The arduino and iot
 
Microcontrollers (Rex St. John)
Microcontrollers (Rex St. John)Microcontrollers (Rex St. John)
Microcontrollers (Rex St. John)
 
Embedded system introduction - Arduino Course
Embedded system introduction - Arduino CourseEmbedded system introduction - Arduino Course
Embedded system introduction - Arduino Course
 
Introduction of Arduino Uno
Introduction of Arduino UnoIntroduction of Arduino Uno
Introduction of Arduino Uno
 
Arduino Programming Familiarization
Arduino Programming FamiliarizationArduino Programming Familiarization
Arduino Programming Familiarization
 
Arduino and c programming
Arduino and c programmingArduino and c programming
Arduino and c programming
 
arduino4.ppt
arduino4.pptarduino4.ppt
arduino4.ppt
 
EMBEDDED_SYSTEM_INTRODUCTION.pdf
EMBEDDED_SYSTEM_INTRODUCTION.pdfEMBEDDED_SYSTEM_INTRODUCTION.pdf
EMBEDDED_SYSTEM_INTRODUCTION.pdf
 
Iot Workshop NITT 2015
Iot Workshop NITT 2015Iot Workshop NITT 2015
Iot Workshop NITT 2015
 

More from Atit Patumvan

An Overview of eZee Burrp! (Philus Limited)
An Overview of eZee Burrp! (Philus Limited)An Overview of eZee Burrp! (Philus Limited)
An Overview of eZee Burrp! (Philus Limited)
Atit Patumvan
 
แบบฝึกหัดวิชา Theory of Computation ชุดที่ 1 เซ็ต
แบบฝึกหัดวิชา Theory of Computation ชุดที่ 1 เซ็ตแบบฝึกหัดวิชา Theory of Computation ชุดที่ 1 เซ็ต
แบบฝึกหัดวิชา Theory of Computation ชุดที่ 1 เซ็ต
Atit Patumvan
 
Chapter 1 mathmatics tools
Chapter 1 mathmatics toolsChapter 1 mathmatics tools
Chapter 1 mathmatics tools
Atit Patumvan
 
Chapter 1 mathmatics tools
Chapter 1 mathmatics toolsChapter 1 mathmatics tools
Chapter 1 mathmatics toolsAtit Patumvan
 
รายงานการประเมินคุณภาพภายใน ปีงบประมาณ 2556
รายงานการประเมินคุณภาพภายใน ปีงบประมาณ 2556รายงานการประเมินคุณภาพภายใน ปีงบประมาณ 2556
รายงานการประเมินคุณภาพภายใน ปีงบประมาณ 2556
Atit Patumvan
 
Chapter 0 introduction to theory of computation
Chapter 0 introduction to theory of computationChapter 0 introduction to theory of computation
Chapter 0 introduction to theory of computation
Atit Patumvan
 
Chapter 01 mathmatics tools (slide)
Chapter 01 mathmatics tools (slide)Chapter 01 mathmatics tools (slide)
Chapter 01 mathmatics tools (slide)
Atit Patumvan
 
การบริหารเชิงคุณภาพ ชุดที่ 8
การบริหารเชิงคุณภาพ ชุดที่ 8การบริหารเชิงคุณภาพ ชุดที่ 8
การบริหารเชิงคุณภาพ ชุดที่ 8
Atit Patumvan
 
การบริหารเชิงคุณภาพ ชุดที่ 7
การบริหารเชิงคุณภาพ ชุดที่ 7การบริหารเชิงคุณภาพ ชุดที่ 7
การบริหารเชิงคุณภาพ ชุดที่ 7
Atit Patumvan
 
การบริหารเชิงคุณภาพ ชุดที่ 6
การบริหารเชิงคุณภาพ ชุดที่ 6การบริหารเชิงคุณภาพ ชุดที่ 6
การบริหารเชิงคุณภาพ ชุดที่ 6
Atit Patumvan
 
Computer Programming Chapter 5 : Methods
Computer Programming Chapter 5 : MethodsComputer Programming Chapter 5 : Methods
Computer Programming Chapter 5 : MethodsAtit Patumvan
 
Computer Programming Chapter 4 : Loops
Computer Programming Chapter 4 : Loops Computer Programming Chapter 4 : Loops
Computer Programming Chapter 4 : Loops Atit Patumvan
 
Introduction to Java EE (J2EE)
Introduction to Java EE (J2EE)Introduction to Java EE (J2EE)
Introduction to Java EE (J2EE)Atit Patumvan
 
การบริหารเชิงคุณภาพ ชุดที่ 5
การบริหารเชิงคุณภาพ ชุดที่ 5การบริหารเชิงคุณภาพ ชุดที่ 5
การบริหารเชิงคุณภาพ ชุดที่ 5
Atit Patumvan
 
การบริหารเชิงคุณภาพ ชุดที่ 4
การบริหารเชิงคุณภาพ ชุดที่ 4การบริหารเชิงคุณภาพ ชุดที่ 4
การบริหารเชิงคุณภาพ ชุดที่ 4
Atit Patumvan
 
การบริหารเชิงคุณภาพ ชุดที่ 3
การบริหารเชิงคุณภาพ ชุดที่ 3การบริหารเชิงคุณภาพ ชุดที่ 3
การบริหารเชิงคุณภาพ ชุดที่ 3
Atit Patumvan
 
การบริหารเชิงคุณภาพ ชุดที่ 2
การบริหารเชิงคุณภาพ ชุดที่ 2การบริหารเชิงคุณภาพ ชุดที่ 2
การบริหารเชิงคุณภาพ ชุดที่ 2
Atit Patumvan
 
Computer Programming: Chapter 1
Computer Programming: Chapter 1Computer Programming: Chapter 1
Computer Programming: Chapter 1
Atit Patumvan
 
การบริหารเชิงคุณภาพ ชุดที่ 1
การบริหารเชิงคุณภาพ ชุดที่ 1การบริหารเชิงคุณภาพ ชุดที่ 1
การบริหารเชิงคุณภาพ ชุดที่ 1
Atit Patumvan
 

More from Atit Patumvan (20)

An Overview of eZee Burrp! (Philus Limited)
An Overview of eZee Burrp! (Philus Limited)An Overview of eZee Burrp! (Philus Limited)
An Overview of eZee Burrp! (Philus Limited)
 
แบบฝึกหัดวิชา Theory of Computation ชุดที่ 1 เซ็ต
แบบฝึกหัดวิชา Theory of Computation ชุดที่ 1 เซ็ตแบบฝึกหัดวิชา Theory of Computation ชุดที่ 1 เซ็ต
แบบฝึกหัดวิชา Theory of Computation ชุดที่ 1 เซ็ต
 
Chapter 1 mathmatics tools
Chapter 1 mathmatics toolsChapter 1 mathmatics tools
Chapter 1 mathmatics tools
 
Chapter 1 mathmatics tools
Chapter 1 mathmatics toolsChapter 1 mathmatics tools
Chapter 1 mathmatics tools
 
รายงานการประเมินคุณภาพภายใน ปีงบประมาณ 2556
รายงานการประเมินคุณภาพภายใน ปีงบประมาณ 2556รายงานการประเมินคุณภาพภายใน ปีงบประมาณ 2556
รายงานการประเมินคุณภาพภายใน ปีงบประมาณ 2556
 
Chapter 0 introduction to theory of computation
Chapter 0 introduction to theory of computationChapter 0 introduction to theory of computation
Chapter 0 introduction to theory of computation
 
Media literacy
Media literacyMedia literacy
Media literacy
 
Chapter 01 mathmatics tools (slide)
Chapter 01 mathmatics tools (slide)Chapter 01 mathmatics tools (slide)
Chapter 01 mathmatics tools (slide)
 
การบริหารเชิงคุณภาพ ชุดที่ 8
การบริหารเชิงคุณภาพ ชุดที่ 8การบริหารเชิงคุณภาพ ชุดที่ 8
การบริหารเชิงคุณภาพ ชุดที่ 8
 
การบริหารเชิงคุณภาพ ชุดที่ 7
การบริหารเชิงคุณภาพ ชุดที่ 7การบริหารเชิงคุณภาพ ชุดที่ 7
การบริหารเชิงคุณภาพ ชุดที่ 7
 
การบริหารเชิงคุณภาพ ชุดที่ 6
การบริหารเชิงคุณภาพ ชุดที่ 6การบริหารเชิงคุณภาพ ชุดที่ 6
การบริหารเชิงคุณภาพ ชุดที่ 6
 
Computer Programming Chapter 5 : Methods
Computer Programming Chapter 5 : MethodsComputer Programming Chapter 5 : Methods
Computer Programming Chapter 5 : Methods
 
Computer Programming Chapter 4 : Loops
Computer Programming Chapter 4 : Loops Computer Programming Chapter 4 : Loops
Computer Programming Chapter 4 : Loops
 
Introduction to Java EE (J2EE)
Introduction to Java EE (J2EE)Introduction to Java EE (J2EE)
Introduction to Java EE (J2EE)
 
การบริหารเชิงคุณภาพ ชุดที่ 5
การบริหารเชิงคุณภาพ ชุดที่ 5การบริหารเชิงคุณภาพ ชุดที่ 5
การบริหารเชิงคุณภาพ ชุดที่ 5
 
การบริหารเชิงคุณภาพ ชุดที่ 4
การบริหารเชิงคุณภาพ ชุดที่ 4การบริหารเชิงคุณภาพ ชุดที่ 4
การบริหารเชิงคุณภาพ ชุดที่ 4
 
การบริหารเชิงคุณภาพ ชุดที่ 3
การบริหารเชิงคุณภาพ ชุดที่ 3การบริหารเชิงคุณภาพ ชุดที่ 3
การบริหารเชิงคุณภาพ ชุดที่ 3
 
การบริหารเชิงคุณภาพ ชุดที่ 2
การบริหารเชิงคุณภาพ ชุดที่ 2การบริหารเชิงคุณภาพ ชุดที่ 2
การบริหารเชิงคุณภาพ ชุดที่ 2
 
Computer Programming: Chapter 1
Computer Programming: Chapter 1Computer Programming: Chapter 1
Computer Programming: Chapter 1
 
การบริหารเชิงคุณภาพ ชุดที่ 1
การบริหารเชิงคุณภาพ ชุดที่ 1การบริหารเชิงคุณภาพ ชุดที่ 1
การบริหารเชิงคุณภาพ ชุดที่ 1
 

Recently uploaded

FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 

Recently uploaded (20)

FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 

Iot for smart agriculture

  • 1. IOT for Smart Agriculture Knowledge Centric Co., Ltd.
  • 2.
  • 3. Internet of Things The Internet of Things (IoT) is a system of interrelated computing devices, mechanical and digital machines, objects, animals or people that are provided with unique identifiers (UIDs) and the ability to transfer data over a network without requiring human-to-human or human-to- computer interaction. SOURCE: https://en.wikipedia.org/wiki/Internet_of_things
  • 5. WHAT IS MICROCONTROLLER? • A micro-controller is basically a small-scale computer with generalised (and programable) input and output • The input and outputs can be manipulated by and can manipulate the physical world. • Programmers work in the virtual world. • Machinery work in the physical world.
  • 7. Massimo Banzi,Tinker.it & Arduino Co-Founder ``Physical Computing is about prototyping with electronics, turning sensors, actuators and microcontrollers into materials for designers and artists.’’ ``It involves the design of interactive objects that can communicate with humans using sensors and actuators controlled by a behaviour implemented as software running inside a microcontroller.’’
  • 8. Arduino
 A Prototype Platform Single-board microcontroller, intended to make the application of interactive objects or environments more accessible Designed to make the process of using electronics multidisciplinary projects more accessible Circuitry which executes instructions in programmable Integrated Circuit
  • 9. Arduino Can … • Sense the environment by receiving input from variety of sensors. • Affect it surroundings by controlling lights, motors, and other actuators. • Support Standalone Applications • Integrate with Computer / other process
  • 10. Arduino / Microcontrollers a.k.a. Physical Computing • “Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer.” • A micro-controller is essentially a brain – or, think of a bunch of programmable “elves…” • It is the guts of something like Vernier, Pasco, or Fourier
  • 11. Arduino
 A Prototype Platform Single-board microcontroller, intended to make the application of interactive objects or environments more accessible Designed to make the process of using electronics multidisciplinary projects more accessible Circuitry which executes instructions in programmable Integrated Circuit
  • 12. Arduino Workflows CODE COMPILE FLASH EXECUTE source_code.ino
 +
 libraries source_code.hex source_code.bin
  • 13. Install the Arduino Software (IDE) • Download the Arduino Software (IDE) • https://www.arduino.cc/en/Main/Software • Proceed with board specific instruction (For ESP8266) • At Preference, 
 add “http://arduino.esp8266.com/stable/package_esp8266com_index.json” 
 to Additional Boards Manager URLs: • At Board manager,
 Install “”
  • 14. Install the Arduino Software (IDE)
  • 15. Configure ESP8266 • Menu Tools -> Board: … -> Generic ESP8266 Module • Config parameters • Upload Speed: “115200” • Flash Size : 4M (1M SPIFFS) • Flash Mode: “DIO” • Reset Mode: “nodemcu”

  • 16. Arduino
 Minimum Code setup : It is called only when the Arduino is powered on or reset. It is used to initialize variables and pin modes loop : The loop functions runs continuously till the device is powered off. The main logic of the code goes here. Similar to while (1) for micro-controller programming. void setup() { } void loop() { } 01: 02: 03: 04: 05: 06: 07: 08: 09: 10: 11: 12:
  • 17. Hello World!!! (blink.ino) 01: 02: 03: 04: 05: 06: 07: 08: 09: 10: 11: 12: void setup() { pinMode(LED_BUILTIN, OUTPUT); } void loop() { digitalWrite(LED_BUILTIN, LOW); delay(1000); digitalWrite(LED_BUILTIN, HIGH); delay(2000); } MENU -> File -> Examples -> ESP8266 -> Blink
  • 19. VARIABLE, TYPE AND VALUE VARIABLE VALUE TYPE VARIABLE VALUE TYPE TYPE_NAME VARIABLE_NAME = VALUE; int counter = 0; String label =“mySensor”;
  • 20. PIN MODES • A pin on arduino can be set as input or output by using pinMode function. • pinMode(13, OUTPUT); // sets pin 13 as output pin • pinMode(13, INPUT); // sets pin 13 as input pin
  • 22. SERIAL
 Communication setup : It is called only when the Arduino is powered on or reset. It is used to initialize variables and pin modes loop : The loop functions runs continuously till the device is powered off. The main logic of the code goes here. Similar to while (1) for micro-controller programming.
  • 24. Hello World Again!!! (serial.ino) 01: 02: 03: 04: 05: 06: 07: 08: 09: 10: 11: 12: void setup() { Serial.begin(9600); Serial.println("Hello world!"); } void loop() { } Serial.ino
  • 25. Serial Communication Open the Serial Monitor and 
 Upload the Program
  • 26. DELAY • Delays are essential in embedded systems, unlike high-performance systems where we want the program to execute as fast as possible • Delays are used to synchronize events, or read inputs with a specific sampling freqency (more on Bus/Wait I/O) • Arduino example: delay(int milliseconds) //creates a delay in ms delayMicroseconds(int microseconds) //creates a delay in µs delay(1000); //one second delay delayMicroseconds(10); //10 µs delay
  • 28. CONDITION STATEMENT if(condition_expression){ // do stuff if the condition is true } else { // do stuff if the condition is true }
  • 32. Function Declartion if(condition_expression){ // do stuff if the condition is true } else { // do stuff if the condition is true }
  • 35. INPUT vs. OUTPUT Inputs is a signal / information going into the board. Examples: Buttons Switches, Light Sensors, Flex Sensors, Humidity Sensors, Temperature Sensors… Output is any signal exiting the board. Examples: LEDs, DC motor, servo motor, a piezo buzzer, relay, an RGB LED
  • 36. Input and Output A Sensor is a converter that measures a physical quantity and converts it into a signal which can be read by an observer or by an (today mostly electronic) instrument. An Actuator is a type of motor for moving or controlling a mechanism or system. It is operated by a source of energy, typically electric current, hydraulic fluid pressure, or pneumatic pressure, and converts that energy into motion. An actuator is the mechanism by which a control system acts upon an environment.
  • 37. Sensor Calibration • Resolution: The smallest change it can detect in the quantity that it is measuring. The followig formula may be used (where S is the measurment span, e.g., 0-100deg.C): • Accuracy: How close the measured value is the the actual/real value, eg., ±0.1 % • Calibration: A comparison between measurements. One of known magnitude or correctness made or set with one device and another measurement made in as similar a way as possible with a second device. The device with the known or assigned correctness is called the standard. The second device is the unit under test, test instrument, or any of several other names for the device being calibrated.
  • 38. Digital Sensor Digital sensors are more straight forward than Analog No matter what the sensor there are only two settings: On and Off Signal is always either HIGH (On) or LOW (Off) Voltage signal for HIGH will be a little less than 3.3V on your ESP Voltage signal for LOW will be 0V on most systems void loop() { int buttonState = digitalRead(5); if(buttonState == LOW) { // do something } else { // do something else } }
  • 40. KC-TH-280 Digital interface I2C (up to 3.4MHz) Supply voltage 1.71 to 3.6V Current consumption 3.6 μA @ 1 Hz humidity, pressure and temperature Operating range -40...+85 °C, 0...100 % rel. humidity, 300...1100 hPa Response time1 1 s Accuracy tolerance1 ±3 % relative humidity Hysteresis 1 ±1% relative humidity RMS Noise2 0.2 Pa, equiv. to 1.7 cm Offset temperature coefficient2 ±1.5 Pa/K, equiv. to ±12.6 cm at 1 °C temperature change 1 parameters for humidity sensor 2 parameters for pressure sensor Red wire -- Power Supply Black wire -- GND Green wire – SCL Blue wire --- SDA GND VDD SCL SDA KC-TH-280MCU DIGITAL HUMIDITY, PRESSURE
 AND TEMPERATURE SENSOR https://github.com/adafruit/Adafruit_BME280_Library
  • 42.
  • 43.