SlideShare uma empresa Scribd logo
1 de 20
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Semelhante a Week2 fundamental of IoT

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
 

Semelhante a Week2 fundamental of IoT (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
 

Último

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 

Último (20)

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 

Week2 fundamental of IoT

  • 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