SlideShare une entreprise Scribd logo
1  sur  20
Télécharger pour lire hors ligne
CE4301
Fundamen
tal of ioT
DR.SUNPHONG THANOK
1
PREPARE BY SUNPHONG THANOK
Objective
❑ Basic of ioT
❑ Introduction to ESP32 for ioT
❑ Input and Output
❑ Multitasking
2
PREPARE BY SUNPHONG THANOK
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.
3
PREPARE BY SUNPHONG THANOK
Embedded System
Definition:
“An embedded system is a computer system designed for specific control
functions within a larger system, often with real-time computing constraints.”
4
Memory CPU
Hardwired Unit
Sensor
Actuator
Embedded System
PREPARE BY SUNPHONG THANOK
Embedded System
Embedded systems represent target platforms that are usually specific to a single task. This
specificity means the system design can be highly optimized because the range of tasks the
device must perform is well bounded. In other words, you wouldn’t use your PC to run your coffee
machine (you might, but that’s beside the point). Unlike your desktop processor, the 4-bit
microcontroller that runs your coffee machine costs less than $1 in large quantities. It does
exactly what it’s supposed to do to — make your coffee. It doesn’t play Zelda, nor does it exchange
data with an Internet service provider (ISP), although that might change soon. Because the
functionality of the device is so narrowly defined, you must find the optimal processing element
(CPU) for the design. Given the several hundred choices available and the many variations within
those choices, choosing the right CPU can be a daunting task.
5
PREPARE BY SUNPHONG THANOK
Embedded & IoT
PREPARE BY SUNPHONG THANOK 6
Hardware
Network
Software
IoT
Embedded
Memory CPU
Hardwired Unit
Sensor
Actuator
Embedded System
Network
Module
IoT Device
ioT Market in Worldwide
❑The following Table shows IDC's overall revenue forecasts for the ioT market, segmented by
major industry, including the value of telecommunication and mobile phones
❑The market size includes all external spending by OEMs and subcontractors on technology and
services suppliers, integrating the following product and services categories
❑ioT market should reach €1.5 trillion in revenue by 2015
7
PREPARE BY SUNPHONG THANOK
8
PREPARE BY SUNPHONG THANOK
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.
The definition of the Internet of things has evolved due to the convergence of multiple
technologies, real-time analytics, machine learning, commodity sensors, and embedded systems.
Traditional fields of embedded systems, wireless sensor networks, control systems, automation
(including home and building automation), and others all contribute to enabling the Internet of
things. In the consumer market, IoT technology is most synonymous with products pertaining to
the concept of the "smart home", including devices and appliances (such as lighting fixtures,
thermostats, home security systems and cameras, and other home appliances) that support one
or more common ecosystems, and can be controlled via devices associated with that ecosystem,
such as smartphones and smart speakers.
9
PREPARE BY SUNPHONG THANOK
ioT Application
Smart Farm
10
PREPARE BY SUNPHONG THANOK
ioT Application
ABS in Motor bike
11
PREPARE BY SUNPHONG THANOK
ioT Application
Tire pressure monitoring
12
PREPARE BY SUNPHONG THANOK
Introduction to ESP32
Key Features
• 240 MHz dual core Tensilica LX6 microcontroller with 600
DMIPS
• Integrated 520 KB SRAM
• Integrated 802.11 b/g/n HT40 Wi-Fi transceiver,
baseband, stack and LwIP
• Integrated dual mode Bluetooth (classic and BLE)
• 16 MB flash, memory-mapped to the CPU code space
• 2.3V to 3.6V operating voltage
• -40°C to +125°C operating temperature
• On-board PCB antenna / IPEX connector for external
antenna
Security Related
• WEP, WPA/WPA2 PSK/Enterprise
• Hardware-accelerated encryption: AES/SHA2/Elliptical
• Curve Cryptography/RSA-4096
Performance
• Max data rate of 150 Mbps@11n HT40, 72 Mbps@11n
HT20, 54
• Maximum transmit power of 19.5 dBm@11b, 16.5
dBm@11g, 15.5 dBm@11n
• Minimum receiver sensitivity of -97 dBm
• 5 μA power consumption in Deep-sleep
13
PREPARE BY SUNPHONG THANOK
14
PREPARE BY SUNPHONG THANOK
ESP8266 & ESP32
15
PREPARE BY SUNPHONG THANOK
ESP32 Block Diagram
Advanced Peripheral Interfaces
• 12-bit SAR ADC up to 18 channels
• 2 × 8-bit D/A converters / 10 × touch sensors /
Temperature sensor
• 4 × SPI / 2 × I2S / 2 × I2C / 3×UART
• 1 host (SD/eMMC/SDIO) / 1 slave (SDIO/SPI)
• Ethernet MAC interface with dedicated DMA and IEEE
1588 support
• CAN 2.0
• IR (TX/RX)
• Motor PWM
• LED PWM up to 16 channels
• Hall sensor
• Ultra low power analog pre-amplifier
16
PREPARE BY SUNPHONG THANOK
Input & Output
NodeMCU Digital Inputs and Digital Outputs (Arduino IDE)
Ref: https://randomnerdtutorials.com/esp8266-nodemcu-digital-inputs-outputs-
arduino/
17
PREPARE BY SUNPHONG THANOK
Multitask
Multitasking is the ability to perform more than one task or activity at the same time
18
PREPARE BY SUNPHONG THANOK
TaskScheduler
Cooperative multitasking for Arduino, ESPx, STM32 and other
microcontrollers.
Supports: periodic task execution (with dynamic execution
period in milliseconds or microseconds – frequency of
execution), number of iterations (limited or infinite number of
iterations), execution of tasks in predefined sequence,
dynamic change of task execution parameters (frequency,
number of iterations, callback methods), power saving via
entering IDLE sleep mode when tasks are not scheduled to
run, event-driven task invocation via Status Request object,
task IDs and Control Points for error handling and watchdog
timer, Local Task Storage pointer (allowing use of same
callback code for multiple tasks), layered task prioritization,
std::functions (esp8266, esp32 only), overall task timeout,
static and dynamic callback method binding.
19
PREPARE BY SUNPHONG THANOK
Library TaskScheduler
20
PREPARE BY SUNPHONG THANOK

Contenu connexe

Tendances

IOT Based Home Automation using Raspberry Pi-3
IOT Based Home Automation using Raspberry Pi-3IOT Based Home Automation using Raspberry Pi-3
IOT Based Home Automation using Raspberry Pi-3Mohammad Qasim Malik
 
Track 5 session 1 - st dev con 2016 - need for security for iot
Track 5   session 1 - st dev con 2016 - need for security for iotTrack 5   session 1 - st dev con 2016 - need for security for iot
Track 5 session 1 - st dev con 2016 - need for security for iotST_World
 
Coursera 7DFDB74V7TJD
Coursera 7DFDB74V7TJDCoursera 7DFDB74V7TJD
Coursera 7DFDB74V7TJDmohamed ahmed
 
Arduino and IoT (Internet of Things)
Arduino and IoT (Internet of Things)Arduino and IoT (Internet of Things)
Arduino and IoT (Internet of Things)Shahed Mehbub
 
Track 3 session 5 - st dev con 2016 - microsoft - from sensors to business ...
Track 3   session 5 - st dev con 2016 - microsoft - from sensors to business ...Track 3   session 5 - st dev con 2016 - microsoft - from sensors to business ...
Track 3 session 5 - st dev con 2016 - microsoft - from sensors to business ...ST_World
 
Introduction to IOT security
Introduction to IOT securityIntroduction to IOT security
Introduction to IOT securityPriyab Satoshi
 
Home Automation System using iot
Home Automation System using iotHome Automation System using iot
Home Automation System using iotKowshik Deb
 
Home automation using internet of things
Home automation using internet of thingsHome automation using internet of things
Home automation using internet of thingsAbhishek Bhadoria
 
Smart home and internet of things transformation of the existing concept of a...
Smart home and internet of things transformation of the existing concept of a...Smart home and internet of things transformation of the existing concept of a...
Smart home and internet of things transformation of the existing concept of a...iRidiumMobile365
 
MATLAB Electronics Projects Research Topics
MATLAB Electronics Projects Research  TopicsMATLAB Electronics Projects Research  Topics
MATLAB Electronics Projects Research TopicsMatlab Simulation
 
Null mumbai-iot-workshop
Null mumbai-iot-workshopNull mumbai-iot-workshop
Null mumbai-iot-workshopNitesh Malviya
 
Internet of Things: Challenges and Issues
Internet of Things: Challenges and IssuesInternet of Things: Challenges and Issues
Internet of Things: Challenges and Issuesrjain51
 
Mark Horowitz - Stanford Engineering - Securing the Internet of Things
Mark Horowitz - Stanford Engineering - Securing the Internet of ThingsMark Horowitz - Stanford Engineering - Securing the Internet of Things
Mark Horowitz - Stanford Engineering - Securing the Internet of ThingsStanford School of Engineering
 
Security for iot and cloud aug 25b 2017
Security for iot and cloud aug 25b 2017Security for iot and cloud aug 25b 2017
Security for iot and cloud aug 25b 2017Ulf Mattsson
 
Will Internet of Things (IoT) be secure enough?
Will Internet of Things (IoT) be secure enough? Will Internet of Things (IoT) be secure enough?
Will Internet of Things (IoT) be secure enough? Ravindra Dastikop
 
Securing IoT Applications
Securing IoT Applications Securing IoT Applications
Securing IoT Applications WSO2
 

Tendances (20)

IOT Based Home Automation using Raspberry Pi-3
IOT Based Home Automation using Raspberry Pi-3IOT Based Home Automation using Raspberry Pi-3
IOT Based Home Automation using Raspberry Pi-3
 
Track 5 session 1 - st dev con 2016 - need for security for iot
Track 5   session 1 - st dev con 2016 - need for security for iotTrack 5   session 1 - st dev con 2016 - need for security for iot
Track 5 session 1 - st dev con 2016 - need for security for iot
 
Coursera 7DFDB74V7TJD
Coursera 7DFDB74V7TJDCoursera 7DFDB74V7TJD
Coursera 7DFDB74V7TJD
 
Arduino and IoT (Internet of Things)
Arduino and IoT (Internet of Things)Arduino and IoT (Internet of Things)
Arduino and IoT (Internet of Things)
 
Track 3 session 5 - st dev con 2016 - microsoft - from sensors to business ...
Track 3   session 5 - st dev con 2016 - microsoft - from sensors to business ...Track 3   session 5 - st dev con 2016 - microsoft - from sensors to business ...
Track 3 session 5 - st dev con 2016 - microsoft - from sensors to business ...
 
Introduction to IOT security
Introduction to IOT securityIntroduction to IOT security
Introduction to IOT security
 
Home Automation System using iot
Home Automation System using iotHome Automation System using iot
Home Automation System using iot
 
IOT PPT
IOT PPTIOT PPT
IOT PPT
 
Home automation using internet of things
Home automation using internet of thingsHome automation using internet of things
Home automation using internet of things
 
Smart home and internet of things transformation of the existing concept of a...
Smart home and internet of things transformation of the existing concept of a...Smart home and internet of things transformation of the existing concept of a...
Smart home and internet of things transformation of the existing concept of a...
 
Iot based home automation
Iot based home automationIot based home automation
Iot based home automation
 
MATLAB Electronics Projects Research Topics
MATLAB Electronics Projects Research  TopicsMATLAB Electronics Projects Research  Topics
MATLAB Electronics Projects Research Topics
 
Null mumbai-iot-workshop
Null mumbai-iot-workshopNull mumbai-iot-workshop
Null mumbai-iot-workshop
 
Internet of Things: Challenges and Issues
Internet of Things: Challenges and IssuesInternet of Things: Challenges and Issues
Internet of Things: Challenges and Issues
 
A survey in privacy and security in Internet of Things IOT
A survey in privacy and security in Internet of Things IOTA survey in privacy and security in Internet of Things IOT
A survey in privacy and security in Internet of Things IOT
 
Mark Horowitz - Stanford Engineering - Securing the Internet of Things
Mark Horowitz - Stanford Engineering - Securing the Internet of ThingsMark Horowitz - Stanford Engineering - Securing the Internet of Things
Mark Horowitz - Stanford Engineering - Securing the Internet of Things
 
Security for iot and cloud aug 25b 2017
Security for iot and cloud aug 25b 2017Security for iot and cloud aug 25b 2017
Security for iot and cloud aug 25b 2017
 
IoT security (Internet of Things)
IoT security (Internet of Things)IoT security (Internet of Things)
IoT security (Internet of Things)
 
Will Internet of Things (IoT) be secure enough?
Will Internet of Things (IoT) be secure enough? Will Internet of Things (IoT) be secure enough?
Will Internet of Things (IoT) be secure enough?
 
Securing IoT Applications
Securing IoT Applications Securing IoT Applications
Securing IoT Applications
 

Similaire à Fundamentals of IoT and ESP32

IoT and embedded systems.pptx
IoT and embedded systems.pptxIoT and embedded systems.pptx
IoT and embedded systems.pptxDanishKhan894003
 
Internet of things
Internet of thingsInternet of things
Internet of thingsBrockanurag
 
Presentation on IoT by tushar
Presentation on IoT by tusharPresentation on IoT by tushar
Presentation on IoT by tushartushar4609
 
Introduction to EMBEDDED SYSTEM.pdf
Introduction to EMBEDDED SYSTEM.pdfIntroduction to EMBEDDED SYSTEM.pdf
Introduction to EMBEDDED SYSTEM.pdfAkashBhagat32
 
Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 vijaydeepakg
 
Embedded systems - UNIT-1 - Mtech
Embedded systems - UNIT-1 - MtechEmbedded systems - UNIT-1 - Mtech
Embedded systems - UNIT-1 - Mtechsangeetha rakhi
 
Practical Introduction to Internet of Things (IoT)
Practical Introduction to Internet of Things (IoT)Practical Introduction to Internet of Things (IoT)
Practical Introduction to Internet of Things (IoT)Suraj Kumar Jana
 
Iot for smart agriculture
Iot for smart agricultureIot for smart agriculture
Iot for smart agricultureAtit Patumvan
 
Design & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOTDesign & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOTIRJET Journal
 
Best HW for IoT project-1.pdf
Best HW for IoT project-1.pdfBest HW for IoT project-1.pdf
Best HW for IoT project-1.pdfKunal Pandhram
 
Microcontrollers (Rex St. John)
Microcontrollers (Rex St. John)Microcontrollers (Rex St. John)
Microcontrollers (Rex St. John)Future Insights
 

Similaire à Fundamentals of IoT and ESP32 (20)

IoT Intro and Demo
IoT Intro and DemoIoT Intro and Demo
IoT Intro and Demo
 
IoT and embedded systems.pptx
IoT and embedded systems.pptxIoT and embedded systems.pptx
IoT and embedded systems.pptx
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
Presentation on IoT by tushar
Presentation on IoT by tusharPresentation on IoT by tushar
Presentation on IoT by tushar
 
Vinod ppt on es31 08 15
Vinod ppt on es31 08 15Vinod ppt on es31 08 15
Vinod ppt on es31 08 15
 
Espressif Introduction
Espressif IntroductionEspressif Introduction
Espressif Introduction
 
Introduction to EMBEDDED SYSTEM.pdf
Introduction to EMBEDDED SYSTEM.pdfIntroduction to EMBEDDED SYSTEM.pdf
Introduction to EMBEDDED SYSTEM.pdf
 
Iot Workshop NITT 2015
Iot Workshop NITT 2015Iot Workshop NITT 2015
Iot Workshop NITT 2015
 
Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 Sudhir tms 320 f 2812
Sudhir tms 320 f 2812
 
Ppt embedded
Ppt embeddedPpt embedded
Ppt embedded
 
Embedded systems - UNIT-1 - Mtech
Embedded systems - UNIT-1 - MtechEmbedded systems - UNIT-1 - Mtech
Embedded systems - UNIT-1 - Mtech
 
Practical Introduction to Internet of Things (IoT)
Practical Introduction to Internet of Things (IoT)Practical Introduction to Internet of Things (IoT)
Practical Introduction to Internet of Things (IoT)
 
EIOT Unit 1n.pdf
EIOT Unit 1n.pdfEIOT Unit 1n.pdf
EIOT Unit 1n.pdf
 
Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 
Iot for smart agriculture
Iot for smart agricultureIot for smart agriculture
Iot for smart agriculture
 
Design & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOTDesign & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOT
 
Best HW for IoT project-1.pdf
Best HW for IoT project-1.pdfBest HW for IoT project-1.pdf
Best HW for IoT project-1.pdf
 
Microcontrollers (Rex St. John)
Microcontrollers (Rex St. John)Microcontrollers (Rex St. John)
Microcontrollers (Rex St. John)
 
Report
ReportReport
Report
 
IoT and Its Application
IoT and Its ApplicationIoT and Its Application
IoT and Its Application
 

Dernier

Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 

Dernier (20)

Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 

Fundamentals of IoT and ESP32

  • 1. CE4301 Fundamen tal of ioT DR.SUNPHONG THANOK 1 PREPARE BY SUNPHONG THANOK
  • 2. Objective ❑ Basic of ioT ❑ Introduction to ESP32 for ioT ❑ Input and Output ❑ Multitasking 2 PREPARE BY SUNPHONG THANOK
  • 3. 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. 3 PREPARE BY SUNPHONG THANOK
  • 4. Embedded System Definition: “An embedded system is a computer system designed for specific control functions within a larger system, often with real-time computing constraints.” 4 Memory CPU Hardwired Unit Sensor Actuator Embedded System PREPARE BY SUNPHONG THANOK
  • 5. Embedded System Embedded systems represent target platforms that are usually specific to a single task. This specificity means the system design can be highly optimized because the range of tasks the device must perform is well bounded. In other words, you wouldn’t use your PC to run your coffee machine (you might, but that’s beside the point). Unlike your desktop processor, the 4-bit microcontroller that runs your coffee machine costs less than $1 in large quantities. It does exactly what it’s supposed to do to — make your coffee. It doesn’t play Zelda, nor does it exchange data with an Internet service provider (ISP), although that might change soon. Because the functionality of the device is so narrowly defined, you must find the optimal processing element (CPU) for the design. Given the several hundred choices available and the many variations within those choices, choosing the right CPU can be a daunting task. 5 PREPARE BY SUNPHONG THANOK
  • 6. Embedded & IoT PREPARE BY SUNPHONG THANOK 6 Hardware Network Software IoT Embedded Memory CPU Hardwired Unit Sensor Actuator Embedded System Network Module IoT Device
  • 7. ioT Market in Worldwide ❑The following Table shows IDC's overall revenue forecasts for the ioT market, segmented by major industry, including the value of telecommunication and mobile phones ❑The market size includes all external spending by OEMs and subcontractors on technology and services suppliers, integrating the following product and services categories ❑ioT market should reach €1.5 trillion in revenue by 2015 7 PREPARE BY SUNPHONG THANOK
  • 9. 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. The definition of the Internet of things has evolved due to the convergence of multiple technologies, real-time analytics, machine learning, commodity sensors, and embedded systems. Traditional fields of embedded systems, wireless sensor networks, control systems, automation (including home and building automation), and others all contribute to enabling the Internet of things. In the consumer market, IoT technology is most synonymous with products pertaining to the concept of the "smart home", including devices and appliances (such as lighting fixtures, thermostats, home security systems and cameras, and other home appliances) that support one or more common ecosystems, and can be controlled via devices associated with that ecosystem, such as smartphones and smart speakers. 9 PREPARE BY SUNPHONG THANOK
  • 11. ioT Application ABS in Motor bike 11 PREPARE BY SUNPHONG THANOK
  • 12. ioT Application Tire pressure monitoring 12 PREPARE BY SUNPHONG THANOK
  • 13. Introduction to ESP32 Key Features • 240 MHz dual core Tensilica LX6 microcontroller with 600 DMIPS • Integrated 520 KB SRAM • Integrated 802.11 b/g/n HT40 Wi-Fi transceiver, baseband, stack and LwIP • Integrated dual mode Bluetooth (classic and BLE) • 16 MB flash, memory-mapped to the CPU code space • 2.3V to 3.6V operating voltage • -40°C to +125°C operating temperature • On-board PCB antenna / IPEX connector for external antenna Security Related • WEP, WPA/WPA2 PSK/Enterprise • Hardware-accelerated encryption: AES/SHA2/Elliptical • Curve Cryptography/RSA-4096 Performance • Max data rate of 150 Mbps@11n HT40, 72 Mbps@11n HT20, 54 • Maximum transmit power of 19.5 dBm@11b, 16.5 dBm@11g, 15.5 dBm@11n • Minimum receiver sensitivity of -97 dBm • 5 μA power consumption in Deep-sleep 13 PREPARE BY SUNPHONG THANOK
  • 15. ESP8266 & ESP32 15 PREPARE BY SUNPHONG THANOK
  • 16. ESP32 Block Diagram Advanced Peripheral Interfaces • 12-bit SAR ADC up to 18 channels • 2 × 8-bit D/A converters / 10 × touch sensors / Temperature sensor • 4 × SPI / 2 × I2S / 2 × I2C / 3×UART • 1 host (SD/eMMC/SDIO) / 1 slave (SDIO/SPI) • Ethernet MAC interface with dedicated DMA and IEEE 1588 support • CAN 2.0 • IR (TX/RX) • Motor PWM • LED PWM up to 16 channels • Hall sensor • Ultra low power analog pre-amplifier 16 PREPARE BY SUNPHONG THANOK
  • 17. Input & Output NodeMCU Digital Inputs and Digital Outputs (Arduino IDE) Ref: https://randomnerdtutorials.com/esp8266-nodemcu-digital-inputs-outputs- arduino/ 17 PREPARE BY SUNPHONG THANOK
  • 18. Multitask Multitasking is the ability to perform more than one task or activity at the same time 18 PREPARE BY SUNPHONG THANOK
  • 19. TaskScheduler Cooperative multitasking for Arduino, ESPx, STM32 and other microcontrollers. Supports: periodic task execution (with dynamic execution period in milliseconds or microseconds – frequency of execution), number of iterations (limited or infinite number of iterations), execution of tasks in predefined sequence, dynamic change of task execution parameters (frequency, number of iterations, callback methods), power saving via entering IDLE sleep mode when tasks are not scheduled to run, event-driven task invocation via Status Request object, task IDs and Control Points for error handling and watchdog timer, Local Task Storage pointer (allowing use of same callback code for multiple tasks), layered task prioritization, std::functions (esp8266, esp32 only), overall task timeout, static and dynamic callback method binding. 19 PREPARE BY SUNPHONG THANOK