SlideShare a Scribd company logo
2
Most read
4
Most read
9
Most read
Let's talk about
TinyML
Intelligence on Microcontrollers
Hello..
Solomon Muhunyo Githu
Researcher Waziup e.V.
Contributor, Edge Impulse Expert Network
June 2023.
Devices Users
Simply, IoT is connecting devices to the internet so their data
can be seen from anywhere in the world. These devices can also
be controlled from anywhere through the internet.
IoT architecture
Cloud
Process data and classify if a car or
elephant is detected
Car and elephant have been
detected
Car and elephant have been
detected
Latency Energy
saving
By running ML models on the embedded devices we can get
benefits such as:
Solving IoT challenges
Reduced
bandwidth
Data does not need to be
transferred to the cloud
Privacy
Little or no internet connection
may be required
Microcontrollers require less
power to perform
Data is not transferred or
stored on the cloud
Small devices Resource constrained devices
TinyML is a branch of machine learning and embedded systems
research that looks into the types of models that can be run on
small, low-power devices like microcontrollers
TinyML, What is it?
Low-power devices
Personal assistant like
Siri
Industrial predictive
maintenance
Wildlife tracking
Detecting crop
diseases
Healthcare
Ocean life
conservation
Applications of TinyML
The Future of ML is tiny and bright
Some cool TinyML MCUs
Arduino Nano 33 BLE Sense
Arduino Nicla Vision
Arduino Nicla Sense ME
Arduino Portenta H7 + Vision
Shield
Espressif ESP32
Espressif ESP-EYE
Himax WE-I Plus
Open MV Cam H7 Plus
SiLabs xG24 Dev Kit
Seeed Grove - Vision AI Module
Sony's Spresense
Syntiant Tiny ML Board
Raspberry Pi Pico
......
So tiny, how?
TF Lite for Microcontrollers is a modified version of the
TensorFlow Lite framework that is meant to run on
embedded devices with only a few tens of kilobytes of
memory.
It supports Android, IOS, Arduino etc..
Not only Python you can use C, C++ and JAVA
Pretrained models
TensorFlow is an open source framework developed by Google researchers to run machine
learning, deep learning and other statistical and predictive analytics workloads.
Credits: https://www.infoworld.com/article/3278008/what-is-tensorflow-the-machine-learning-library-explained.html
Credits: https://www.slideshare.net/janjongboom/adding-intelligence-to-your-lorawan-devices-the-things-conference-on-tour
Machine Learning tasks
Classification -
what's happening right
now?
Anomaly detection -
is this behavior out of
the ordinary?
01
02
Forecasting - what
will happen in the
future?
03
Right algorithm
Neural network - algorithm mimicking human
brain
K means clustering - tries to group similar kinds
of items in form of clusters
Regression - statistical technique that relates a
dependent variable to one or more independent
variables
Optimize model
Reduce size
Improve performance
TinyML project flow
Prepare data Train model
(80% data)
Validate model
(20% data)
Deploy model Inference at
the Edge (MCU)
.h5 or .pb Tensorflow model
Convert model
TensorFlow Lite converter
Tests fails
Tests pass
With AutoML tools, it can't get simpler
Take a free course on introduction to embedded Machine
Learning (link here)
Next steps
Scan me!
Thank You
Solomon Muhunyo Githu

More Related Content

PPTX
1. Introduction to deep learning.pptx
Omer Tariq
 
PPTX
OpenVINO introduction
Yury Gorbachev
 
PDF
TinyML: Machine Learning for Microcontrollers
Robert John
 
PPTX
Arduino in TinyML with Edge Impulse
Robocraze
 
PPTX
JETSON : AI at the EDGE
Skolkovo Robotics Center
 
PPTX
Deep learning with tensorflow
Charmi Chokshi
 
PPTX
Artificial Intelligence in Small Embedded System
GlobalLogic Ukraine
 
PPTX
GPU and Deep learning best practices
Lior Sidi
 
1. Introduction to deep learning.pptx
Omer Tariq
 
OpenVINO introduction
Yury Gorbachev
 
TinyML: Machine Learning for Microcontrollers
Robert John
 
Arduino in TinyML with Edge Impulse
Robocraze
 
JETSON : AI at the EDGE
Skolkovo Robotics Center
 
Deep learning with tensorflow
Charmi Chokshi
 
Artificial Intelligence in Small Embedded System
GlobalLogic Ukraine
 
GPU and Deep learning best practices
Lior Sidi
 

What's hot (20)

PPTX
Arduino and IoT (Internet of Things)
Shahed Mehbub
 
PPT
Mobile agent
Anjan Mondal
 
DOCX
Seminar report on Artificial Intelligence in defence application
Mohammad Athik
 
PPTX
Internet of things
Brockanurag
 
PDF
Machine Learning and Internet of Things
Sofian Hadiwijaya
 
PPTX
iot industry automation
mansi sharma
 
PPTX
Internet of Things (IoT) Based Smart Security & Home Automation System.
sayed78
 
PPT
arduino
jhcid
 
PDF
TinyML on Arduino - workshop
Jan Jongboom
 
PPTX
Seminar presentation on 5G
Abhijith Sambasivan
 
PPTX
Internet of Things (IOT)
Kunal Adhikari
 
PPTX
Introduction to embedded systems
Apurva Zope
 
PDF
Introduction to IoT Architectures and Protocols
Abdullah Alfadhly
 
PPT
Wireless charging of mobile PPT.
Krishna Teja
 
PPT
5G Presentation
Ericsson
 
PPTX
Internet of Things (IoT) - Introduction ppt
sutrishnakar1995
 
PPTX
Embedded system
Vinod Srivastava
 
PPTX
INTERNET OF THING PRESENTATION ON PUBLIC SPEAKING
AYESHA JAVED
 
PDF
“FOMO: Real-Time Object Detection on Microcontrollers,” a Presentation from E...
Edge AI and Vision Alliance
 
PPTX
Future Trends of Embedded Systems - Technical Paper Presentation
Kaushik Gupta
 
Arduino and IoT (Internet of Things)
Shahed Mehbub
 
Mobile agent
Anjan Mondal
 
Seminar report on Artificial Intelligence in defence application
Mohammad Athik
 
Internet of things
Brockanurag
 
Machine Learning and Internet of Things
Sofian Hadiwijaya
 
iot industry automation
mansi sharma
 
Internet of Things (IoT) Based Smart Security & Home Automation System.
sayed78
 
arduino
jhcid
 
TinyML on Arduino - workshop
Jan Jongboom
 
Seminar presentation on 5G
Abhijith Sambasivan
 
Internet of Things (IOT)
Kunal Adhikari
 
Introduction to embedded systems
Apurva Zope
 
Introduction to IoT Architectures and Protocols
Abdullah Alfadhly
 
Wireless charging of mobile PPT.
Krishna Teja
 
5G Presentation
Ericsson
 
Internet of Things (IoT) - Introduction ppt
sutrishnakar1995
 
Embedded system
Vinod Srivastava
 
INTERNET OF THING PRESENTATION ON PUBLIC SPEAKING
AYESHA JAVED
 
“FOMO: Real-Time Object Detection on Microcontrollers,” a Presentation from E...
Edge AI and Vision Alliance
 
Future Trends of Embedded Systems - Technical Paper Presentation
Kaushik Gupta
 
Ad

Similar to Introduction to TinyML - Solomon Muhunyo Githu (20)

PPTX
introductiontotinyml-solomonmuhunyogithu-230608174720-8f1bc8e4.pptx
naveedtariq21
 
PDF
EEP596-TinyML-Spring24-Slides detail description
hakim788710
 
PDF
Implementation of Tiny Machine Learning Models on Arduino 33 – BLE for Gestur...
Springer
 
PDF
ECML PKDD 2021 ML meets IoT Tutorial Part I: ML for IoT Devices
Bharath Sudharsan
 
PPTX
TinyML & EDGE AI explained easily for kids
Rashi Agarwal
 
PPTX
Combining Machine Learning with Physical Computing - June 2023
Hal Speed
 
PDF
2023 Hardware series ,TinyML Kenya workshop - Solomon Muhunyo Githu
Solomon Githu
 
PDF
Edge AI: Bringing Intelligence to Embedded Devices
Speck&Tech
 
PPTX
Teaching Machine Learning with Physical Computing - July 2023
Hal Speed
 
PDF
TensorFlow Lite for mobile & IoT
Mia Chang
 
PDF
Webinar: Machine Learning para Microcontroladores
Embarcados
 
PPTX
Combining Machine Learning with Physical Computing - June 2022
Hal Speed
 
PDF
A multi-microcontroller-based hardware for deploying Tiny machine learning mo...
IJECEIAES
 
PDF
On-device training of artificial intelligence models on microcontrollers
IAESIJAI
 
PPTX
Machine-Learning-on-board-Robots-Implementing-AI-Directly-on-Hardware.pptx
jayeshsoni49
 
PDF
Introduction to AIoT & TinyML - with Arduino
Andri Yadi
 
PDF
Microcontrollers for Artificial Intelligence and Machine Learning
IRJET Journal
 
PDF
Train++: An Incremental ML Model Training Algorithm to Create Self Learning I...
Bharath Sudharsan
 
PDF
Tensorflow 2.0 and Coral Edge TPU
Andrés Leonardo Martinez Ortiz
 
introductiontotinyml-solomonmuhunyogithu-230608174720-8f1bc8e4.pptx
naveedtariq21
 
EEP596-TinyML-Spring24-Slides detail description
hakim788710
 
Implementation of Tiny Machine Learning Models on Arduino 33 – BLE for Gestur...
Springer
 
ECML PKDD 2021 ML meets IoT Tutorial Part I: ML for IoT Devices
Bharath Sudharsan
 
TinyML & EDGE AI explained easily for kids
Rashi Agarwal
 
Combining Machine Learning with Physical Computing - June 2023
Hal Speed
 
2023 Hardware series ,TinyML Kenya workshop - Solomon Muhunyo Githu
Solomon Githu
 
Edge AI: Bringing Intelligence to Embedded Devices
Speck&Tech
 
Teaching Machine Learning with Physical Computing - July 2023
Hal Speed
 
TensorFlow Lite for mobile & IoT
Mia Chang
 
Webinar: Machine Learning para Microcontroladores
Embarcados
 
Combining Machine Learning with Physical Computing - June 2022
Hal Speed
 
A multi-microcontroller-based hardware for deploying Tiny machine learning mo...
IJECEIAES
 
On-device training of artificial intelligence models on microcontrollers
IAESIJAI
 
Machine-Learning-on-board-Robots-Implementing-AI-Directly-on-Hardware.pptx
jayeshsoni49
 
Introduction to AIoT & TinyML - with Arduino
Andri Yadi
 
Microcontrollers for Artificial Intelligence and Machine Learning
IRJET Journal
 
Train++: An Incremental ML Model Training Algorithm to Create Self Learning I...
Bharath Sudharsan
 
Tensorflow 2.0 and Coral Edge TPU
Andrés Leonardo Martinez Ortiz
 
Ad

Recently uploaded (20)

PPT
Understanding the Key Components and Parts of a Drone System.ppt
Siva Reddy
 
PDF
Packaging Tips for Stainless Steel Tubes and Pipes
heavymetalsandtubes
 
PPTX
MULTI LEVEL DATA TRACKING USING COOJA.pptx
dollysharma12ab
 
PDF
All chapters of Strength of materials.ppt
girmabiniyam1234
 
PDF
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
PDF
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
PDF
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
PPTX
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
PPTX
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
PPTX
MSME 4.0 Template idea hackathon pdf to understand
alaudeenaarish
 
PPTX
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
PPTX
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
PDF
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
PPTX
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
PDF
LEAP-1B presedntation xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hatem173148
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PPTX
Inventory management chapter in automation and robotics.
atisht0104
 
PDF
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
PPTX
22PCOAM21 Session 2 Understanding Data Source.pptx
Guru Nanak Technical Institutions
 
PPTX
Online Cab Booking and Management System.pptx
diptipaneri80
 
Understanding the Key Components and Parts of a Drone System.ppt
Siva Reddy
 
Packaging Tips for Stainless Steel Tubes and Pipes
heavymetalsandtubes
 
MULTI LEVEL DATA TRACKING USING COOJA.pptx
dollysharma12ab
 
All chapters of Strength of materials.ppt
girmabiniyam1234
 
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
MSME 4.0 Template idea hackathon pdf to understand
alaudeenaarish
 
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
LEAP-1B presedntation xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hatem173148
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
Inventory management chapter in automation and robotics.
atisht0104
 
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
22PCOAM21 Session 2 Understanding Data Source.pptx
Guru Nanak Technical Institutions
 
Online Cab Booking and Management System.pptx
diptipaneri80
 

Introduction to TinyML - Solomon Muhunyo Githu

  • 1. Let's talk about TinyML Intelligence on Microcontrollers Hello.. Solomon Muhunyo Githu Researcher Waziup e.V. Contributor, Edge Impulse Expert Network June 2023.
  • 2. Devices Users Simply, IoT is connecting devices to the internet so their data can be seen from anywhere in the world. These devices can also be controlled from anywhere through the internet. IoT architecture Cloud Process data and classify if a car or elephant is detected Car and elephant have been detected Car and elephant have been detected
  • 3. Latency Energy saving By running ML models on the embedded devices we can get benefits such as: Solving IoT challenges Reduced bandwidth Data does not need to be transferred to the cloud Privacy Little or no internet connection may be required Microcontrollers require less power to perform Data is not transferred or stored on the cloud
  • 4. Small devices Resource constrained devices TinyML is a branch of machine learning and embedded systems research that looks into the types of models that can be run on small, low-power devices like microcontrollers TinyML, What is it? Low-power devices
  • 5. Personal assistant like Siri Industrial predictive maintenance Wildlife tracking Detecting crop diseases Healthcare Ocean life conservation Applications of TinyML The Future of ML is tiny and bright
  • 6. Some cool TinyML MCUs Arduino Nano 33 BLE Sense Arduino Nicla Vision Arduino Nicla Sense ME Arduino Portenta H7 + Vision Shield Espressif ESP32 Espressif ESP-EYE Himax WE-I Plus Open MV Cam H7 Plus SiLabs xG24 Dev Kit Seeed Grove - Vision AI Module Sony's Spresense Syntiant Tiny ML Board Raspberry Pi Pico ......
  • 7. So tiny, how? TF Lite for Microcontrollers is a modified version of the TensorFlow Lite framework that is meant to run on embedded devices with only a few tens of kilobytes of memory. It supports Android, IOS, Arduino etc.. Not only Python you can use C, C++ and JAVA Pretrained models TensorFlow is an open source framework developed by Google researchers to run machine learning, deep learning and other statistical and predictive analytics workloads. Credits: https://www.infoworld.com/article/3278008/what-is-tensorflow-the-machine-learning-library-explained.html
  • 8. Credits: https://www.slideshare.net/janjongboom/adding-intelligence-to-your-lorawan-devices-the-things-conference-on-tour Machine Learning tasks Classification - what's happening right now? Anomaly detection - is this behavior out of the ordinary? 01 02 Forecasting - what will happen in the future? 03 Right algorithm Neural network - algorithm mimicking human brain K means clustering - tries to group similar kinds of items in form of clusters Regression - statistical technique that relates a dependent variable to one or more independent variables
  • 9. Optimize model Reduce size Improve performance TinyML project flow Prepare data Train model (80% data) Validate model (20% data) Deploy model Inference at the Edge (MCU) .h5 or .pb Tensorflow model Convert model TensorFlow Lite converter Tests fails Tests pass With AutoML tools, it can't get simpler
  • 10. Take a free course on introduction to embedded Machine Learning (link here) Next steps Scan me!