SlideShare a Scribd company logo
1 of 44
Download to read offline
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

More Related Content

What's hot

Exploring the Azure IoT Ecosystem
Exploring the Azure IoT EcosystemExploring the Azure IoT Ecosystem
Exploring the Azure IoT EcosystemBizTalk360
 
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é
 
Creator IoT Framework
Creator IoT FrameworkCreator IoT Framework
Creator IoT FrameworkPaul 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 2012Benjamin Cabé
 
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 MicrocontrollersMicroEJ
 
platform without vendor lock-in
platform without vendor lock-inplatform without vendor lock-in
platform without vendor lock-inKai Jokiniemi
 
DotNetToscana - Azure IoT Hub - Il Concentratore
DotNetToscana - Azure IoT Hub - Il ConcentratoreDotNetToscana - Azure IoT Hub - Il Concentratore
DotNetToscana - Azure IoT Hub - Il ConcentratoreRiccardo 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 MeetupBalena
 
IoT Saturday PN 2019 - Eurotech
IoT Saturday PN 2019 - EurotechIoT Saturday PN 2019 - Eurotech
IoT Saturday PN 2019 - EurotechLuca Dazi
 
Building Open Source IoT Cloud
Building Open Source IoT CloudBuilding Open Source IoT Cloud
Building Open Source IoT Clouddejanb
 
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 2014Eurotech
 

What's hot (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
 

Similar to 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 RescueEurotech
 
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 AzureVinoth 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 StoryLinaro
 
Internet of things (IoT) with Azure
Internet of things (IoT) with AzureInternet of things (IoT) with Azure
Internet of things (IoT) with AzureVinoth 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 DeploymentsEyes 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 systemMarco Dal Pino
 
EMQ Company Deck
EMQ Company DeckEMQ Company Deck
EMQ Company DeckEMQ
 
Encapsulating Complexity in IoT Solutions
Encapsulating Complexity in IoT SolutionsEncapsulating Complexity in IoT Solutions
Encapsulating Complexity in IoT SolutionsEurotech
 
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
 
Using open source for IoT
Using open source for IoTUsing open source for IoT
Using open source for IoTIan 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
 
Workshop AWS IoT @ SIDO
Workshop AWS IoT @ SIDOWorkshop AWS IoT @ SIDO
Workshop AWS IoT @ SIDOJulien 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 & HiveMQHiveMQ
 
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 PrimerRick 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.pdfssuser8b324e
 

Similar to 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
 

More from Emertxe Information Technologies Pvt Ltd

More from 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
 

Recently uploaded

Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 

Recently uploaded (20)

Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 

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