IoT slides
IoT slides
●
Introduction
●
Micro Processors
●
Micro Controllers
●
Transducers
●
IoT
●
IoT Components
●
ESP 32
●
BlockCoding
●
Using the Serial Monitor
1
Introduction
●
Network
●
A computer network is a set of computers sharing resources
located on or provided by network nodes.
●
Networks may be private, public, business, academic and
government networks.
●
The Internet
●
The Internet is a global interconnection of network system
facilitating worldwide communication and access to data
resources and services.
●
The ‘Things’
●
These refer to physical objects.
2
The Internet of Things
●
“The Internet of Things (IoT) describes the
network of physical objects—“things”—that are
embedded with sensors, software, and other
technologies for the purpose of connecting and
exchanging data with other devices and systems
over the Internet”
●
These ‘Things’
●
Estimated to be 10 billion at present.
●
Expected to be around 22 billion by 2025.
Source: https://www.oracle.com/internet-of-things/what-is-iot/ 3
Connected Devices
●
The miniaturization and cost reduction of electronic components is
allowing their integration in a number of everyday objects such as
cars, refrigerators, ovens, air-conditioning units, and light-bulbs.
●
We now have ‘smart everything’.
●
We have smart fridges, smart-greenhouses, smart vehicles.
4
IoT Components
●
Micro processors/Micro controllers
●
Transducers
●
Sensors
●
Actuators
●
Shields
●
Connectivity
5
Micro Controllers & Micro Processors
6
Micro Processors v/s MicroControllers
7
Source: https://www.circuitcrush.com/arduino-vs-raspberry-pi/
Transducers
●
Electronic devices that convert energy from one form to
another, with either form being electrical energy.
●
Sensors (Detects/Measures the change in a physical quantity and
converts it into a signal)
●
Actuators (Uses a signal to cause a change in the physical
environment)
8
Sensors & Actuators
●
Sensors exist for Temperature, Humidity, Atmospheric
Pressure, Wind Speed, Light Intensity, Sound Level,
Presence of Gases, Position (GPS), Vibration
Level,Proximity, Water Level.
●
A few Actuators: LED, Speaker/Buzzer, Stepper motors,
Servos
9
Shields
●
Shields allow you to add functionalities to your
micro-processor/controller
10
Connectivity
●
IoT Devices/Sensors need to communicate with each other or
their Base Station/Master.
●
The Trinity:
●
Power Consumption
●
Range
●
Bandwidth
11
Electricity
●
Electricity is an energy. This energy can be used to power
electrical items such as toasters, kettles, cookers, televisions and
computer tablets. Electrical energy is caused by charged particles
(electrons in metals / ions in fluids) moving about to make a
current.
●
12
Voltage, Resistance and Current
●
●
Voltage/Potential Difference/ EMF (V)
●
The energy which pushes the charges particles
●
Resistor (Ω)
●
It resists the flow of electrons
●
Transforms some of the energy of the electrons in the form of heat and lets the
electrons flow with less energy
●
Current (A)
●
The rate of flow of electrons
●
13
Ohm’s Law
Ohm's Law is V = IR, where V =
voltage, I = current, and R =
resistance. Ohm's Law allows you to
determine characteristics of a circuit,
such as how much current is flowing
through it, if you know the voltage of
the battery in the circuit and how
much resistance is in the circuit.
14
The Breadboard
15
ESP32
16
ESP32 PinOUT
17
Making my first circuit (Blink on PIN 0)
18
The Serial Monitor
●
The serial monitor in the GUI of Pictoblox allows you to send and
receive data to your board.
●
Serial
●
Baud
●
Read
●
Write
19
Activity: Develop a block to add 2 numbers
●
Develop a block which allows input of 2 numbers from the serial
monitor, performs their addition on the ESP32 and displays the
results in the serial monitor
20
Solution
21
Ultra-Sonic Sensor HC-SR04
22
DHT 11 – Digital Temperaure & Humidity Sensor
23
Activity
●
Bring modifications to the Blocks so that the Humidity is also
displayed in the Serial Monitor.
●
Note: The Circuit does not need to be modified.
24
Modified Circuit
25
Servo
●
The SG90 servo motor is a popular choice for its
versatility, reliability, and affordability. It can be
used in a variety of applications, such as
robotics, automation, and control systems.
●
The VCC pin provides power to the servo,
●
The Control pin (IN21) controls the servo's rotation.
●
The GND pin connects the servo motor to the
ground.
●
Note: The Control Pin should be plugged to a PWM
Pin on the board. It must be connected to a
digital output pin on a microcontroller or
microprocessor to make the servo turn.
26
Automatic Door
Using an HC-SR04, a servo and an ESP32, design an Automatic
Door which opens when a person is less than 25 cm from it.
27
Automatic Door
28
The Circuit for Automatic Door.
29
LCD 1602
https://randomnerdtutorials.com/esp32-esp8266-
i2c-lcd-arduino-ide/
30