Limit search to available items
Book Cover
E-book
Author Iodice, Gian Marco, author

Title TinyML Cookbook : combine artificial intelligence and ultra-low-power embedded devices to make the world smarter / Gian Marco Iodice ; [foreword by Ronan Naughton, Senior Product Manager for Machine Learning, Arm]
Published Birmingham : Packt Publishing Ltd., 2022

Copies

Description 1 online resource
Contents Chapter 1: Getting Started With Tinyml -- Technical Requirements -- Introducing Tinyml -- What Is Tinyml? -- Why Ml On Microcontrollers? -- Why Run Ml Locally? -- The Opportunities And Challenges For Tinyml -- Deployment Environments For Tinyml -- Tinyml Foundation -- Summary Of Dl -- Deep Neural Networks -- Convolutional Neural Networks -- Quantization -- Learning The Difference Between Power And Energy -- Voltage Versus Current -- Power Versus Energy -- Programming Microcontrollers -- Memory Architecture -- Peripherals -- Presenting Arduino Nano 33 Ble Sense And Raspberry Pi Pico -- Setting Up Arduino Web Editor, Tensorflow, And Edge Impulse -- Getting Ready With Arduino Web Editor -- Getting Ready With Tensorflow -- Getting Ready With Edge Impulse -- How To Do It... -- Running A Sketch On Arduino Nano And Raspberry Pi Pico -- Getting Ready -- How To Do It... -- Chapter 2: Prototyping With Microcontrollers -- Technical Requirements -- Code Debugging 101 -- Getting Ready -- How To Do It... -- There's More -- Implementing An Led Status Indicator On The Breadboard -- Getting Ready -- How To Do It... -- Controlling An External Led With The Gpio -- Getting Ready -- How To Do It... -- Turning An Led On And Off With A Push-Button -- Getting Ready -- How To Do It... -- Using Interrupts To Read The Push-Button State -- Getting Ready -- How To Do It... -- Powering Microcontrollers With Batteries -- Getting Started -- How To Do It... -- There's More -- Chapter 3: Building A Weather Station With Tensorflow Lite For Microcontrollers -- Technical Requirements -- Importing Weather Data From Worldweatheronline -- Getting Ready -- How To Do It... -- Preparing The Dataset -- Getting Ready -- How To Do It... -- Training The Ml Model With Tf -- Getting Ready -- How To Do It... -- Evaluating The Model's Effectiveness -- Getting Ready -- How To Do It... -- Quantizing The Model With The Tflite Converter -- Getting Ready -- How To Do It... -- Using The Built-In Temperature And Humidity Sensor On Arduino Nano -- Getting Ready -- How To Do It... -- Using The Dht22 Sensor With The Raspberry Pi Pico -- Getting Ready -- How To Do It... -- Preparing The Input Features For The Model Inference -- Getting Ready -- How To Do It... -- On-Device Inference With Tflu -- Getting Ready -- How To Do It... -- Chapter 4: Voice Controlling Leds With Edge Impulse -- Technical Requirements -- Acquiring Audio Data With A Smartphone -- Getting Ready -- How To Do It... -- Extracting Mfcc Features From Audio Samples -- Getting Ready -- How To Do It... -- There's More... -- Designing And Training A Nn Model -- Getting Ready -- How To Do It... -- Tuning Model Performance With Eon Tuner -- Getting Ready -- How To Do It... -- Live Classifications With A Smartphone -- Getting Ready -- How To Do It... -- Live Classifications With The Arduino Nano -- Getting Ready -- How To Do It... -- Continuous Inferencing On The Arduino Nano -- Getting ready
Summary Work through over 50 recipes to develop smart applications on Arduino Nano 33 BLE Sense and Raspberry Pi Pico using the power of machine learning Key Features Train and deploy ML models on Arduino Nano 33 BLE Sense and Raspberry Pi Pico Work with different ML frameworks such as TensorFlow Lite for Microcontrollers and Edge Impulse Explore cutting-edge technologies such as microTVM and Arm Ethos-U55 microNPU Book Description This book explores TinyML, a fast-growing field at the unique intersection of machine learning and embedded systems to make AI ubiquitous with extremely low-powered devices such as microcontrollers. The TinyML Cookbook starts with a practical introduction to this multidisciplinary field to get you up to speed with some of the fundamentals for deploying intelligent applications on Arduino Nano 33 BLE Sense and Raspberry Pi Pico. As you progress, you'll tackle various problems that you may encounter while prototyping microcontrollers, such as controlling the LED state with GPIO and a push-button, supplying power to microcontrollers with batteries, and more. Next, you'll cover recipes relating to temperature, humidity, and the three "V" sensors (Voice, Vision, and Vibration) to gain the necessary skills to implement end-to-end smart applications in different scenarios. Later, you'll learn best practices for building tiny models for memory-constrained microcontrollers. Finally, you'll explore two of the most recent technologies, microTVM and microNPU that will help you step up your TinyML game. By the end of this book, you'll be well-versed with best practices and machine learning frameworks to develop ML apps easily on microcontrollers and have a clear understanding of the key aspects to consider during the development phase. What you will learn Understand the relevant microcontroller programming fundamentals Work with real-world sensors such as the microphone, camera, and accelerometer Run on-device machine learning with TensorFlow Lite for Microcontrollers Implement an app that responds to human voice with Edge Impulse Leverage transfer learning to classify indoor rooms with Arduino Nano 33 BLE Sense Create a gesture-recognition app with Raspberry Pi Pico Design a CIFAR-10 model for memory-constrained microcontrollers Run an image classifier on a virtual Arm Ethos-U55 microNPU with microTVM Who this book is for This book is for machine learning developers/engineers interested in developing machine learning applications on microcontrollers through practical examples quickly. Basic familiarity with C/C++, the Python programming language, and the command-line interface (CLI) is required. However, no prior knowledge of microcontrollers is necessary
Notes Includes index
Description based on online resource; title from digital title page (viewed on March 01, 2023)
Subject Machine learning.
Microcontrollers -- Programming
COMPUTERS -- Microprocessors.
COMPUTERS -- Intelligence (AI) & Semantics.
COMPUTERS -- Machine Theory.
Machine learning
Microcontrollers -- Programming
Form Electronic book
Author Naughton, Ronan, writer of the foreword
ISBN 9781801812634
1801812632