Introduction To IoT

Download as pdf or txt
Download as pdf or txt
You are on page 1of 40

Introduction to IoT - Autumn 2024

Source: https://www.zibtek.com/blog/iot-architecture/ 2
Source: https://www.youtube.com/watch?v=v2kV6pgJxuo&t=6s
3
What do you think is meant by “Internet of Things”?

4
How is IoT useful?

5
https://www.youtube.com/watch?v=vSzSuGIPkiI
6
IoT Architecture

Source: https://www.zibtek.com/blog/iot-architecture/ 7
Industrial Internet of Things (IIoT)

8
https://www.youtube.com/watch?v=C9R_KPfHfFc 9
Industry 4.0

10
https://www.youtube.com/watch?v=RPC7yo99Nxs 11
https://www.youtube.com/watch?v=ykWI3nrZv_0
12
Wearable Health Monitoring Device

https://clipartpng.com/?927,black-hoodie-png-clipart
https://www.researchgate.net/figure/The-MAX30102-sensor-continuously-monitors-oxygen-levels-and-heart-rate_fig4_378506179
https://makerbazar.in/products/ad8232-ecg-heart-monitoring-sensor-module-kit-for-arduino
https://www.crowdsupply.com/upside-down-labs/bioamp-exg-pill
https://robu.in/product/weighing-load-cell-sensor-5kg-electronic-kitchen-scale-yzc-131-wires/?gad_source=1&gclid=Cj0KCQjw5ea1BhC6ARIsAEOG5pz6B6D7xGgJQYoSxtfjJqBy-g
NZDrIxxIeuuZHdSLCteOOGW3qeyQkaAv5WEALw_wcB 13
Credits: Ajay Raj, IIT B
14
Contents:
Session 1: Understanding IoT

● Overview of IoT
● Basic components of IoT systems
● Applications of IoT in industry

Session 2: Introduction to ESP32 and Arduino IDE

● Overview of ESP32 board features


● Arduino IDE and Sketch Structure
● Installing ESP32 board package in Arduino IDE

Hands-on Task: Getting Started with ESP32

● Blinking an LED using ESP32


● Understanding GPIO pins and basic programming in Arduino IDE

15
https://www.youtube.com/watch?v=PHXgD5T13P0
16
https://www.youtube.com/watch?v=u1CPhcRTi8k
17
https://www.youtube.com/shorts/qjFL7Io_AqU
18
https://www.youtube.com/watch?v=QNxI9O24Gww
19
Smart Factory: Machine Monitoring and Analytics for Total Productive Maintenance (TPM)

Plant Equipment
Operations condition
Monitoring monitoring

Quality Industry Tool wear


prediction/ monitoring
Monitoring 4.0

IIoT
Adaptive
Devices
control

Non-intrusive sensorization
ML based Process-control advisements
20

Monitor equipment performance


metrics
Helloooooo World!

21
22
https://exploreembedded.com/wiki/File:0_blinky.jpg
Introduction to ESP32

Source: https://medium.com/@shelladdicted/how-to-use-an-esp32-devkit-as-an-uart-adapter-e698594e0378 23
Introduction to ESP32

● Created by Espressif Systems


● Low-cost system on a chip (SoC) series
● Wi-Fi & dual-mode Bluetooth capabilities
● Dual-core Tensilica Xtensa LX6 microprocessor with a clock rate of up to
240 MHz
● Highly integrated with built-in antenna switches, RF balun, power amplifier,
low-noise receive amplifier, filters, and power management modules
● Engineered for mobile devices, wearable electronics and IoT

24
Various Developmental kits of ESP32

Basic ESP32 Nodemcu Dev kit Lora with LED Dev kit

Cam ESP32 Battery ESP32 Dev kit Micro-SD Dev kit


25
ESP32 Function Block Diagram

Source:
https://www.espressi
f.com/sites/default/fi
les/documentation/e
sp32_datasheet_en.p
df
ESP32 Function Block Diagram

27
ESP

ESP

ESP

28
● Cross-Platform: Available on Windows, macOS, and Linux.
● User-Friendly Interface: Designed for beginners with features like syntax highlighting,
auto-indentation, and a simple upload mechanism.
● Integrated Libraries: Supports a wide range of libraries for various functionalities, simplifying
complex tasks.
● Sketch Management: Allows users to create, edit, and manage sketches easily.
● Community Support: A large user community provides resources, templates, and shared projects.

Source: https://docs.arduino.cc/ 29
Source: https://docs.arduino.cc/ 30
Serial Plotter:

31
Source: https://docs.arduino.cc/
Source: https://docs.arduino.cc/ 32
Selecting a board & port

Source: https://docs.arduino.cc/ 33
Let’s try an example: navigate to File > Examples > 01.Basics > Blink.

Source: https://docs.arduino.cc/ 34
● Upload it to your board

● You can adjust the speed of blinking


by changing the delay number in
the parenthesis to 100, and upload
the Blink sketch again. Now the
LED should blink much faster.

Source: https://medium.com/@adihendro/esp32-built-in-led-blinking-4dd0b50264a 35
Breadboard:

36
Source: https://www.yamanelectronics.com/breadboard-basics-for-beginners/
Serial transmission to blink an LED
Hardware Required
● NodeMCU ESP-32S
● Breadboard
● LED
● 1 kΩ resistor
● Connecting wires

Steps
1. Connect the positive (longer) pin of the LED to the pin D5 on ESP32 and the other end to one end of the
resistor.
2. Connect the other end of the resistor to the Ground Pin on ESP32.
3. Watch the LED and the Serial Monitor.

37
Interfacing with LDR
Hardware Required
● NodeMCU ESP-32S
● Breadboard
● LDR
● Resistor of equivalent resistance

Steps
1. Connections
○ 3.3V pin of ESP32 => One end of LDR
○ Other end of LDR One end of Resistor
○ Other end of Resistor GND of ESP32
○ Common end of LDR and resistor VP pin of ESP32
2. Program and see that the data is streaming well on the serial monitor
3. Then open the serial plotter and have fun!

38
Task - Reading commands from Serial Monitor & controlling LED

39
Thank You

40

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy