SlideShare uma empresa Scribd logo
Developing a Complete Embedded IoT Solution Using
Mangoose OS
Mubeen Jukaku
Syed Adil
Emertxe, Bangalore
IoT Architecture
IoT - Definition
Source: Gartner
“The network of physical objects that contain
embedded technology to communicate and interact
with their internal states or the external
environment.”
IoT – Reference Architecture
Use Case
Lockers
●
Somethings to ponder on
– Is my bank locker safe?
– Is it possible that lockers are accessed without our knowledge?
●
Is it possible so how we come to know about it?
Smart Lockers
Smart Lockers
Device
Device
Device Device
Smart Lockers
Device
Device
Device Device
Access
Point
Smart Lockers
Device
Device
Device Device
Access
Point
Smart Lockers Device
Access
Point
Smart Lockers Device
Access
Point
Node
`
State : Open
State : Open
State :
Open
State
: ON
Bright
ness:
80%
Mode
: Auto
Smart Lockers - Actors
●
Customers :-
– Every time the locker is opened the user gets an SMS / E-Mail
●
Control Room :-
– Based on the access time the control room gets the SOS to take appropriate
access
●
Insurance Providers :-
– Upon subscribing to the required nodes the insurance providers get the
intimation of theft or closure of the locker facility
IoT Hardware / Software Selection
●
Security requirements
●
Ease of development
●
Data acquisition, processing and storage requirements
●
Connectivity requirements
●
Power requirements
●
Physical device design
●
Cost requirements
NodeMCU ESP32
NodeMCU ESP32 - Architecture
GPIOs
USB
Interface
LED
SWITCH
ESP32
●
Espressif Systems
●
32 Bit Core
●
520 Kbyte SRAM
●
Ultra Low Pwr SOC
BLE Wi-Fi
NodeMCU ESP32 - Peripherals
ESP32 Module
1
1
3
Power LED3
4
Serial-USB Converter Chip4
USB Interface
2
2
5
Reset Key5
6
Boot Key6
7
User LED7
8
GPIOs8
NodeMCU ESP32 – Development Support
Arduino
Espressif IoT Development Framework
NodeMCU Lua
Mongoose OS
MicroPython, etc.,
Introduction to Mongoose OS
Introduction to Mongoose OS (MOS)
●
An Open source OS for IoT
●
Started as embedded web server. Expanded to an IoT OS
●
Dual License, GPL or Commercial
●
Development in C / C++ / JS
●
Tool chain support on Windows, Linux, MacOS
MOS – Supported MCUs
●
STMicro : STM32 F4, L4, F7
●
TI : CC3200, CC3220
●
Espressif : ESP32, ESP8266
MOS – IoT Cloud Integration
●
Amazon AWS IoT
●
Microsoft Azure IoT
●
Google IoT Core
●
IBM Watson IoT
●
Private MQTT / Rest Backends
Device Logic (Application Code)
Mongoose OS Core
Timers, Events, etc.,
Mongoose OS Libraries
Network, Cloud Support, Drivers, RPC, OTA, etc.,
Native SDK
e.g, STM32 Cube, TI SDK, ESP-IDF, etc.,
STM32 L4, F4, F7 TI CC 3220, 3200 ESP32, ESP8266
Native OTA Support
Remote Management
TLS1.2, Mutual TLS
HTTP, MQTT, Websoket, CoAP
Wifi, Ethernet, BLE
Firmware code can use
Any functionality from
The native SDK
MOS – Architecture
AWS / Azure / Google etc.,
(Cloud Backend)
MOS – Development Setup
MOS – Development Setup
●
Download and Install MOS
●
Understanding MOS User Interface
●
Application (Blinky)
●
mos.yml
●
Building the firmware
●
Flashing the firmware
●
The output
MOS – Download
MOS – Application
mos clone https://github.com/mongoose-os-apps/demo-js app1
MOS – Application - Blinky
mos build
mos flash
AWS Overview
AWS
●
Amazon Web Services
●
Secure cloud services platform
●
Offers to
– Compute power
– Database storage
– Content delivery
and other functionality to help businesses scale and grow
AWS – Why?
AWS – Why?
AWS - Features
●
A Platform for Virtually Every Use Case
●
Deep Features and getting deeper by the day
●
Security Recognized as Stronger than On-premises
●
Deep Visibility into Compliance and Governance
AWS - Reason to Choose
●
Flexible, Scalable and Reliable
●
Good Pricing, and interesting free tiers!
●
Good presence, with atleast 25 geographic locations
●
Customization
●
Security
and many more ...
AWS – Major Services
Compute
Storage
&
Content
Delivery
Database
N
etworkin
g
Adminis
tration &
Security
Analytics
Internet
of AWS O
verviews
Appli
cation Ser
vices
Deploym
ent & Man
agement
MQTT Overview
MQTT – What​?
●
Machine-to-Machine(M2M) and IoT connectivity protocol
●
Lightweight messaging protocol which works with a
server-based publish subscribe mechanism
●
Runs on the top of TCP/IP protocol suite
●
Lighter than HTTP 1.1 and HTTP/2 protocols
●
Popular among IoT, M2M, Embedded Projects
MQTT – How?
Broker
(Gateway)
Thing1
(Station)
Thing2
(Station)
Thing3
(Station)
Publish
Subscribe
Publish
Subscribe
MQTT – Why?
●
One-to-many distribution
●
Ideal for constrained networks
●
Supports QoS (3 Levels)
●
For lower footprint and low power devices
●
Simple implementation with set of commands to
CONNECT, PUBLISH, SUBSCRIBE and DISCONNECT.
●
Supports “Will” on abnormal disconnection
Use Case Implementation
End to end IoT solution using Mongoose OS Device
Access
Point
Node
Router
Mongoose OS + AWS IoT Core: Steps
●
Create an AWS Account / User
●
Install AWS CLI and Setup credentials
●
Setup NODEMCU device for AWS using mos
●
Build an app using AWS IoT and AWS services
Application Architecture
Rules Engine
Invoke Rule
Trigger SNS
AWS SNS
Send Email
MQTT
IoT Device
Gateway
End to end IoT solution using Mongoose OS
R1R2
AD1_C0
GND
3.3V
VINGNDD13D12D14D27D26D25D33D32D35D34VNVPEN
D15D2D4RX2TX2D5D18D19D21RX0TX0D223V3GNDD23
ENEN
`
BOOT
PIR

Mais conteúdo relacionado

Mais procurados

Exploring the Azure IoT Ecosystem
Exploring the Azure IoT EcosystemExploring the Azure IoT Ecosystem
Exploring the Azure IoT Ecosystem
BizTalk360
 
Using Eclipse and Lua for the Internet of Things with Eclipse Koneki, Mihini ...
Using Eclipse and Lua for the Internet of Things with Eclipse Koneki, Mihini ...Using Eclipse and Lua for the Internet of Things with Eclipse Koneki, Mihini ...
Using Eclipse and Lua for the Internet of Things with Eclipse Koneki, Mihini ...
Benjamin Cabé
 
Skilling Entry Level Engineers in IoT - A Practical Approach
Skilling Entry Level Engineers in IoT - A Practical ApproachSkilling Entry Level Engineers in IoT - A Practical Approach
Skilling Entry Level Engineers in IoT - A Practical Approach
Emertxe Information Technologies Pvt Ltd
 
Creator IoT Framework
Creator IoT FrameworkCreator IoT Framework
Creator IoT Framework
Paul Evans
 
Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012
Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012
Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012
Benjamin Cabé
 
Iot
IotIot
IoT Agents (Introduction)
IoT Agents (Introduction)IoT Agents (Introduction)
IoT Agents (Introduction)
dmoranj
 
Eclipse Edje: A Java API for Microcontrollers
Eclipse Edje: A Java API for MicrocontrollersEclipse Edje: A Java API for Microcontrollers
Eclipse Edje: A Java API for Microcontrollers
MicroEJ
 
platform without vendor lock-in
platform without vendor lock-inplatform without vendor lock-in
platform without vendor lock-in
Kai Jokiniemi
 
What is an IoT Agent
What is an IoT AgentWhat is an IoT Agent
What is an IoT Agent
Fernando Lopez Aguilar
 
DotNetToscana - Azure IoT Hub - Il Concentratore
DotNetToscana - Azure IoT Hub - Il ConcentratoreDotNetToscana - Azure IoT Hub - Il Concentratore
DotNetToscana - Azure IoT Hub - Il Concentratore
Riccardo Cappello
 
Resin.io overview (2016 July)
Resin.io overview (2016 July)Resin.io overview (2016 July)
Resin.io overview (2016 July)
Balena
 
Develop, deploy and manage your IoT Fleet with Balena - IoT Portugal Meetup
Develop, deploy and manage your IoT Fleet with Balena - IoT Portugal MeetupDevelop, deploy and manage your IoT Fleet with Balena - IoT Portugal Meetup
Develop, deploy and manage your IoT Fleet with Balena - IoT Portugal Meetup
Balena
 
IoT Saturday PN 2019 - Eurotech
IoT Saturday PN 2019 - EurotechIoT Saturday PN 2019 - Eurotech
IoT Saturday PN 2019 - Eurotech
Luca Dazi
 
Building Open Source IoT Cloud
Building Open Source IoT CloudBuilding Open Source IoT Cloud
Building Open Source IoT Cloud
dejanb
 
An Introduction to Eclipse Kura - Eclipse Day Florence 2014
An Introduction to Eclipse Kura - Eclipse Day Florence 2014An Introduction to Eclipse Kura - Eclipse Day Florence 2014
An Introduction to Eclipse Kura - Eclipse Day Florence 2014
Eurotech
 
Io t part 2
Io t part 2Io t part 2
Io t part 2
Vishwas N
 
IoT on Azure
IoT on AzureIoT on Azure
IoT on Azure
Vinoth Rajagopalan
 

Mais procurados (18)

Exploring the Azure IoT Ecosystem
Exploring the Azure IoT EcosystemExploring the Azure IoT Ecosystem
Exploring the Azure IoT Ecosystem
 
Using Eclipse and Lua for the Internet of Things with Eclipse Koneki, Mihini ...
Using Eclipse and Lua for the Internet of Things with Eclipse Koneki, Mihini ...Using Eclipse and Lua for the Internet of Things with Eclipse Koneki, Mihini ...
Using Eclipse and Lua for the Internet of Things with Eclipse Koneki, Mihini ...
 
Skilling Entry Level Engineers in IoT - A Practical Approach
Skilling Entry Level Engineers in IoT - A Practical ApproachSkilling Entry Level Engineers in IoT - A Practical Approach
Skilling Entry Level Engineers in IoT - A Practical Approach
 
Creator IoT Framework
Creator IoT FrameworkCreator IoT Framework
Creator IoT Framework
 
Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012
Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012
Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012
 
Iot
IotIot
Iot
 
IoT Agents (Introduction)
IoT Agents (Introduction)IoT Agents (Introduction)
IoT Agents (Introduction)
 
Eclipse Edje: A Java API for Microcontrollers
Eclipse Edje: A Java API for MicrocontrollersEclipse Edje: A Java API for Microcontrollers
Eclipse Edje: A Java API for Microcontrollers
 
platform without vendor lock-in
platform without vendor lock-inplatform without vendor lock-in
platform without vendor lock-in
 
What is an IoT Agent
What is an IoT AgentWhat is an IoT Agent
What is an IoT Agent
 
DotNetToscana - Azure IoT Hub - Il Concentratore
DotNetToscana - Azure IoT Hub - Il ConcentratoreDotNetToscana - Azure IoT Hub - Il Concentratore
DotNetToscana - Azure IoT Hub - Il Concentratore
 
Resin.io overview (2016 July)
Resin.io overview (2016 July)Resin.io overview (2016 July)
Resin.io overview (2016 July)
 
Develop, deploy and manage your IoT Fleet with Balena - IoT Portugal Meetup
Develop, deploy and manage your IoT Fleet with Balena - IoT Portugal MeetupDevelop, deploy and manage your IoT Fleet with Balena - IoT Portugal Meetup
Develop, deploy and manage your IoT Fleet with Balena - IoT Portugal Meetup
 
IoT Saturday PN 2019 - Eurotech
IoT Saturday PN 2019 - EurotechIoT Saturday PN 2019 - Eurotech
IoT Saturday PN 2019 - Eurotech
 
Building Open Source IoT Cloud
Building Open Source IoT CloudBuilding Open Source IoT Cloud
Building Open Source IoT Cloud
 
An Introduction to Eclipse Kura - Eclipse Day Florence 2014
An Introduction to Eclipse Kura - Eclipse Day Florence 2014An Introduction to Eclipse Kura - Eclipse Day Florence 2014
An Introduction to Eclipse Kura - Eclipse Day Florence 2014
 
Io t part 2
Io t part 2Io t part 2
Io t part 2
 
IoT on Azure
IoT on AzureIoT on Azure
IoT on Azure
 

Semelhante a End to end IoT Solution using Mongoose OS.

Industrial IoT Mayhem? Java IoT Gateways to the Rescue
Industrial IoT Mayhem? Java IoT Gateways to the RescueIndustrial IoT Mayhem? Java IoT Gateways to the Rescue
Industrial IoT Mayhem? Java IoT Gateways to the Rescue
Eurotech
 
Designing Internet of things
Designing Internet of thingsDesigning Internet of things
Designing Internet of things
Mahdi Hosseini Moghaddam
 
Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure
Global Azure boot camp 2015 - Microsoft IoT Solutions with AzureGlobal Azure boot camp 2015 - Microsoft IoT Solutions with Azure
Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure
Vinoth Rajagopalan
 
From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...
From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...
From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...
Rick G. Garibay
 
Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?
Eurotech
 
BKK16-500K2 CTO talk - The End to End Story
BKK16-500K2 CTO talk - The End to End StoryBKK16-500K2 CTO talk - The End to End Story
BKK16-500K2 CTO talk - The End to End Story
Linaro
 
Internet of things (IoT) with Azure
Internet of things (IoT) with AzureInternet of things (IoT) with Azure
Internet of things (IoT) with Azure
Vinoth Rajagopalan
 
Pulga, a Tiny Open-Source MQTT Broker for Flexible and Secure IoT Deployments
Pulga, a Tiny Open-Source MQTT Broker for Flexible and Secure IoT DeploymentsPulga, a Tiny Open-Source MQTT Broker for Flexible and Secure IoT Deployments
Pulga, a Tiny Open-Source MQTT Broker for Flexible and Secure IoT Deployments
Eyes of Things
 
IoTSummit: Design and architect always disconnected iot system
IoTSummit: Design and architect always disconnected iot systemIoTSummit: Design and architect always disconnected iot system
IoTSummit: Design and architect always disconnected iot system
Marco Dal Pino
 
EMQ Company Deck
EMQ Company DeckEMQ Company Deck
EMQ Company Deck
EMQ
 
Encapsulating Complexity in IoT Solutions
Encapsulating Complexity in IoT SolutionsEncapsulating Complexity in IoT Solutions
Encapsulating Complexity in IoT Solutions
Eurotech
 
Developing Interoperable Components for an Open IoT Foundation
Developing Interoperable Components for an Open IoT Foundation Developing Interoperable Components for an Open IoT Foundation
Developing Interoperable Components for an Open IoT Foundation
Eurotech
 
IoTHub_Edge (1).pptx
IoTHub_Edge (1).pptxIoTHub_Edge (1).pptx
IoTHub_Edge (1).pptx
SudheerKumar499932
 
Using open source for IoT
Using open source for IoTUsing open source for IoT
Using open source for IoT
Ian Skerrett
 
Integrate IoT cloud analytics and over the-air (ota) updates with google and ...
Integrate IoT cloud analytics and over the-air (ota) updates with google and ...Integrate IoT cloud analytics and over the-air (ota) updates with google and ...
Integrate IoT cloud analytics and over the-air (ota) updates with google and ...
Mender.io
 
IoT4Devs (1)
IoT4Devs (1)IoT4Devs (1)
IoT4Devs (1)
Henri Cavalcante
 
Workshop AWS IoT @ SIDO
Workshop AWS IoT @ SIDOWorkshop AWS IoT @ SIDO
Workshop AWS IoT @ SIDO
Julien SIMON
 
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQMachine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
HiveMQ
 
From the Internet of Things to Intelligent Systems: A Developer's Primer
From the Internet of Things to Intelligent Systems: A Developer's PrimerFrom the Internet of Things to Intelligent Systems: A Developer's Primer
From the Internet of Things to Intelligent Systems: A Developer's Primer
Rick G. Garibay
 
TM4C-IoT-Gateway-with-Security-Protection_0.pdf
TM4C-IoT-Gateway-with-Security-Protection_0.pdfTM4C-IoT-Gateway-with-Security-Protection_0.pdf
TM4C-IoT-Gateway-with-Security-Protection_0.pdf
ssuser8b324e
 

Semelhante a End to end IoT Solution using Mongoose OS. (20)

Industrial IoT Mayhem? Java IoT Gateways to the Rescue
Industrial IoT Mayhem? Java IoT Gateways to the RescueIndustrial IoT Mayhem? Java IoT Gateways to the Rescue
Industrial IoT Mayhem? Java IoT Gateways to the Rescue
 
Designing Internet of things
Designing Internet of thingsDesigning Internet of things
Designing Internet of things
 
Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure
Global Azure boot camp 2015 - Microsoft IoT Solutions with AzureGlobal Azure boot camp 2015 - Microsoft IoT Solutions with Azure
Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure
 
From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...
From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...
From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...
 
Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?
 
BKK16-500K2 CTO talk - The End to End Story
BKK16-500K2 CTO talk - The End to End StoryBKK16-500K2 CTO talk - The End to End Story
BKK16-500K2 CTO talk - The End to End Story
 
Internet of things (IoT) with Azure
Internet of things (IoT) with AzureInternet of things (IoT) with Azure
Internet of things (IoT) with Azure
 
Pulga, a Tiny Open-Source MQTT Broker for Flexible and Secure IoT Deployments
Pulga, a Tiny Open-Source MQTT Broker for Flexible and Secure IoT DeploymentsPulga, a Tiny Open-Source MQTT Broker for Flexible and Secure IoT Deployments
Pulga, a Tiny Open-Source MQTT Broker for Flexible and Secure IoT Deployments
 
IoTSummit: Design and architect always disconnected iot system
IoTSummit: Design and architect always disconnected iot systemIoTSummit: Design and architect always disconnected iot system
IoTSummit: Design and architect always disconnected iot system
 
EMQ Company Deck
EMQ Company DeckEMQ Company Deck
EMQ Company Deck
 
Encapsulating Complexity in IoT Solutions
Encapsulating Complexity in IoT SolutionsEncapsulating Complexity in IoT Solutions
Encapsulating Complexity in IoT Solutions
 
Developing Interoperable Components for an Open IoT Foundation
Developing Interoperable Components for an Open IoT Foundation Developing Interoperable Components for an Open IoT Foundation
Developing Interoperable Components for an Open IoT Foundation
 
IoTHub_Edge (1).pptx
IoTHub_Edge (1).pptxIoTHub_Edge (1).pptx
IoTHub_Edge (1).pptx
 
Using open source for IoT
Using open source for IoTUsing open source for IoT
Using open source for IoT
 
Integrate IoT cloud analytics and over the-air (ota) updates with google and ...
Integrate IoT cloud analytics and over the-air (ota) updates with google and ...Integrate IoT cloud analytics and over the-air (ota) updates with google and ...
Integrate IoT cloud analytics and over the-air (ota) updates with google and ...
 
IoT4Devs (1)
IoT4Devs (1)IoT4Devs (1)
IoT4Devs (1)
 
Workshop AWS IoT @ SIDO
Workshop AWS IoT @ SIDOWorkshop AWS IoT @ SIDO
Workshop AWS IoT @ SIDO
 
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQMachine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
 
From the Internet of Things to Intelligent Systems: A Developer's Primer
From the Internet of Things to Intelligent Systems: A Developer's PrimerFrom the Internet of Things to Intelligent Systems: A Developer's Primer
From the Internet of Things to Intelligent Systems: A Developer's Primer
 
TM4C-IoT-Gateway-with-Security-Protection_0.pdf
TM4C-IoT-Gateway-with-Security-Protection_0.pdfTM4C-IoT-Gateway-with-Security-Protection_0.pdf
TM4C-IoT-Gateway-with-Security-Protection_0.pdf
 

Mais de Emertxe Information Technologies Pvt Ltd

Career Transition (1).pdf
Career Transition (1).pdfCareer Transition (1).pdf
Career Transition (1).pdf
Emertxe Information Technologies Pvt Ltd
 
10_isxdigit.pdf
10_isxdigit.pdf10_isxdigit.pdf
01_student_record.pdf
01_student_record.pdf01_student_record.pdf
02_swap.pdf
02_swap.pdf02_swap.pdf
01_sizeof.pdf
01_sizeof.pdf01_sizeof.pdf
07_product_matrix.pdf
07_product_matrix.pdf07_product_matrix.pdf
06_sort_names.pdf
06_sort_names.pdf06_sort_names.pdf
05_fragments.pdf
05_fragments.pdf05_fragments.pdf
04_magic_square.pdf
04_magic_square.pdf04_magic_square.pdf
03_endianess.pdf
03_endianess.pdf03_endianess.pdf
02_variance.pdf
02_variance.pdf02_variance.pdf
01_memory_manager.pdf
01_memory_manager.pdf01_memory_manager.pdf
09_nrps.pdf
09_nrps.pdf09_nrps.pdf
11_pangram.pdf
11_pangram.pdf11_pangram.pdf
10_combinations.pdf
10_combinations.pdf10_combinations.pdf
08_squeeze.pdf
08_squeeze.pdf08_squeeze.pdf
07_strtok.pdf
07_strtok.pdf07_strtok.pdf
06_reverserec.pdf
06_reverserec.pdf06_reverserec.pdf
05_reverseiter.pdf
05_reverseiter.pdf05_reverseiter.pdf

Mais de Emertxe Information Technologies Pvt Ltd (20)

premium post (1).pdf
premium post (1).pdfpremium post (1).pdf
premium post (1).pdf
 
Career Transition (1).pdf
Career Transition (1).pdfCareer Transition (1).pdf
Career Transition (1).pdf
 
10_isxdigit.pdf
10_isxdigit.pdf10_isxdigit.pdf
10_isxdigit.pdf
 
01_student_record.pdf
01_student_record.pdf01_student_record.pdf
01_student_record.pdf
 
02_swap.pdf
02_swap.pdf02_swap.pdf
02_swap.pdf
 
01_sizeof.pdf
01_sizeof.pdf01_sizeof.pdf
01_sizeof.pdf
 
07_product_matrix.pdf
07_product_matrix.pdf07_product_matrix.pdf
07_product_matrix.pdf
 
06_sort_names.pdf
06_sort_names.pdf06_sort_names.pdf
06_sort_names.pdf
 
05_fragments.pdf
05_fragments.pdf05_fragments.pdf
05_fragments.pdf
 
04_magic_square.pdf
04_magic_square.pdf04_magic_square.pdf
04_magic_square.pdf
 
03_endianess.pdf
03_endianess.pdf03_endianess.pdf
03_endianess.pdf
 
02_variance.pdf
02_variance.pdf02_variance.pdf
02_variance.pdf
 
01_memory_manager.pdf
01_memory_manager.pdf01_memory_manager.pdf
01_memory_manager.pdf
 
09_nrps.pdf
09_nrps.pdf09_nrps.pdf
09_nrps.pdf
 
11_pangram.pdf
11_pangram.pdf11_pangram.pdf
11_pangram.pdf
 
10_combinations.pdf
10_combinations.pdf10_combinations.pdf
10_combinations.pdf
 
08_squeeze.pdf
08_squeeze.pdf08_squeeze.pdf
08_squeeze.pdf
 
07_strtok.pdf
07_strtok.pdf07_strtok.pdf
07_strtok.pdf
 
06_reverserec.pdf
06_reverserec.pdf06_reverserec.pdf
06_reverserec.pdf
 
05_reverseiter.pdf
05_reverseiter.pdf05_reverseiter.pdf
05_reverseiter.pdf
 

Último

National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
Project Management Semester Long Project - Acuity
Project Management Semester Long Project - AcuityProject Management Semester Long Project - Acuity
Project Management Semester Long Project - Acuity
jpupo2018
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Webinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data WarehouseWebinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data Warehouse
Federico Razzoli
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 

Último (20)

National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
Project Management Semester Long Project - Acuity
Project Management Semester Long Project - AcuityProject Management Semester Long Project - Acuity
Project Management Semester Long Project - Acuity
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Webinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data WarehouseWebinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data Warehouse
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 

End to end IoT Solution using Mongoose OS.

  • 1. Developing a Complete Embedded IoT Solution Using Mangoose OS Mubeen Jukaku Syed Adil Emertxe, Bangalore
  • 3. IoT - Definition Source: Gartner “The network of physical objects that contain embedded technology to communicate and interact with their internal states or the external environment.”
  • 4. IoT – Reference Architecture
  • 6. Lockers ● Somethings to ponder on – Is my bank locker safe? – Is it possible that lockers are accessed without our knowledge? ● Is it possible so how we come to know about it?
  • 12. Smart Lockers Device Access Point Node ` State : Open State : Open State : Open State : ON Bright ness: 80% Mode : Auto
  • 13. Smart Lockers - Actors ● Customers :- – Every time the locker is opened the user gets an SMS / E-Mail ● Control Room :- – Based on the access time the control room gets the SOS to take appropriate access ● Insurance Providers :- – Upon subscribing to the required nodes the insurance providers get the intimation of theft or closure of the locker facility
  • 14. IoT Hardware / Software Selection ● Security requirements ● Ease of development ● Data acquisition, processing and storage requirements ● Connectivity requirements ● Power requirements ● Physical device design ● Cost requirements
  • 16. NodeMCU ESP32 - Architecture GPIOs USB Interface LED SWITCH ESP32 ● Espressif Systems ● 32 Bit Core ● 520 Kbyte SRAM ● Ultra Low Pwr SOC BLE Wi-Fi
  • 17. NodeMCU ESP32 - Peripherals ESP32 Module 1 1 3 Power LED3 4 Serial-USB Converter Chip4 USB Interface 2 2 5 Reset Key5 6 Boot Key6 7 User LED7 8 GPIOs8
  • 18. NodeMCU ESP32 – Development Support Arduino Espressif IoT Development Framework NodeMCU Lua Mongoose OS MicroPython, etc.,
  • 20. Introduction to Mongoose OS (MOS) ● An Open source OS for IoT ● Started as embedded web server. Expanded to an IoT OS ● Dual License, GPL or Commercial ● Development in C / C++ / JS ● Tool chain support on Windows, Linux, MacOS
  • 21. MOS – Supported MCUs ● STMicro : STM32 F4, L4, F7 ● TI : CC3200, CC3220 ● Espressif : ESP32, ESP8266
  • 22. MOS – IoT Cloud Integration ● Amazon AWS IoT ● Microsoft Azure IoT ● Google IoT Core ● IBM Watson IoT ● Private MQTT / Rest Backends
  • 23. Device Logic (Application Code) Mongoose OS Core Timers, Events, etc., Mongoose OS Libraries Network, Cloud Support, Drivers, RPC, OTA, etc., Native SDK e.g, STM32 Cube, TI SDK, ESP-IDF, etc., STM32 L4, F4, F7 TI CC 3220, 3200 ESP32, ESP8266 Native OTA Support Remote Management TLS1.2, Mutual TLS HTTP, MQTT, Websoket, CoAP Wifi, Ethernet, BLE Firmware code can use Any functionality from The native SDK MOS – Architecture AWS / Azure / Google etc., (Cloud Backend)
  • 25. MOS – Development Setup ● Download and Install MOS ● Understanding MOS User Interface ● Application (Blinky) ● mos.yml ● Building the firmware ● Flashing the firmware ● The output
  • 27. MOS – Application mos clone https://github.com/mongoose-os-apps/demo-js app1
  • 28. MOS – Application - Blinky mos build mos flash
  • 30. AWS ● Amazon Web Services ● Secure cloud services platform ● Offers to – Compute power – Database storage – Content delivery and other functionality to help businesses scale and grow
  • 33. AWS - Features ● A Platform for Virtually Every Use Case ● Deep Features and getting deeper by the day ● Security Recognized as Stronger than On-premises ● Deep Visibility into Compliance and Governance
  • 34. AWS - Reason to Choose ● Flexible, Scalable and Reliable ● Good Pricing, and interesting free tiers! ● Good presence, with atleast 25 geographic locations ● Customization ● Security and many more ...
  • 35. AWS – Major Services Compute Storage & Content Delivery Database N etworkin g Adminis tration & Security Analytics Internet of AWS O verviews Appli cation Ser vices Deploym ent & Man agement
  • 37. MQTT – What​? ● Machine-to-Machine(M2M) and IoT connectivity protocol ● Lightweight messaging protocol which works with a server-based publish subscribe mechanism ● Runs on the top of TCP/IP protocol suite ● Lighter than HTTP 1.1 and HTTP/2 protocols ● Popular among IoT, M2M, Embedded Projects
  • 39. MQTT – Why? ● One-to-many distribution ● Ideal for constrained networks ● Supports QoS (3 Levels) ● For lower footprint and low power devices ● Simple implementation with set of commands to CONNECT, PUBLISH, SUBSCRIBE and DISCONNECT. ● Supports “Will” on abnormal disconnection
  • 41. End to end IoT solution using Mongoose OS Device Access Point Node Router
  • 42. Mongoose OS + AWS IoT Core: Steps ● Create an AWS Account / User ● Install AWS CLI and Setup credentials ● Setup NODEMCU device for AWS using mos ● Build an app using AWS IoT and AWS services
  • 43. Application Architecture Rules Engine Invoke Rule Trigger SNS AWS SNS Send Email MQTT IoT Device Gateway
  • 44. End to end IoT solution using Mongoose OS R1R2 AD1_C0 GND 3.3V VINGNDD13D12D14D27D26D25D33D32D35D34VNVPEN D15D2D4RX2TX2D5D18D19D21RX0TX0D223V3GNDD23 ENEN ` BOOT PIR