Deep Learning on Microcontrollers

Deep Learning on Microcontrollers
Author: Atul Krishna Gupta,Dr. Siva Prasad Nandyala
Publsiher: BPB Publications
Total Pages: 346
Release: 2023-04-15
Genre: Computers
ISBN: 9789355518057

Download Deep Learning on Microcontrollers Book in PDF, Epub and Kindle

A step-by-step guide that will teach you how to deploy TinyML on microcontrollers KEY FEATURES ● Deploy machine learning models on edge devices with ease. ● Leverage pre-built AI models and deploy them without writing any code. ● Create smart and efficient IoT solutions with TinyML. DESCRIPTION TinyML, or Tiny Machine Learning, is used to enable machine learning on resource-constrained devices, such as microcontrollers and embedded systems. If you want to leverage these low-cost, low-power but strangely powerful devices, then this book is for you. This book aims to increase accessibility to TinyML applications, particularly for professionals who lack the resources or expertise to develop and deploy them on microcontroller-based boards. The book starts by giving a brief introduction to Artificial Intelligence, including classical methods for solving complex problems. It also familiarizes you with the different ML model development and deployment tools, libraries, and frameworks suitable for embedded devices and microcontrollers. The book will then help you build an Air gesture digit recognition system using the Arduino Nano RP2040 board and an AI project for recognizing keywords using the Syntiant TinyML board. Lastly, the book summarizes the concepts covered and provides a brief introduction to topics such as zero-shot learning, one-shot learning, federated learning, and MLOps. By the end of the book, you will be able to develop and deploy end-to-end Tiny ML solutions with ease. WHAT YOU WILL LEARN ● Learn how to build a Keyword recognition system using the Syntiant TinyML board. ● Learn how to build an air gesture digit recognition system using the Arduino Nano RP2040. ● Learn how to test and deploy models on Edge Impulse and Arduino IDE. ● Get tips to enhance system-level performance. ● Explore different real-world use cases of TinyML across various industries. WHO THIS BOOK IS FOR The book is for IoT developers, System engineers, Software engineers, Hardware engineers, and professionals who are interested in integrating AI into their work. This book is a valuable resource for Engineering undergraduates who are interested in learning about microcontrollers and IoT devices but may not know where to begin. TABLE OF CONTENTS 1. Introduction to AI 2. Traditional ML Lifecycle 3. TinyML Hardware and Software Platforms 4. End-to-End TinyML Deployment Phases 5. Real World Use Cases 6. Practical Experiments with TinyML 7. Advance Implementation with TinyML Board 8. Continuous Improvement 9. Conclusion

TinyML

TinyML
Author: Pete Warden,Daniel Situnayake
Publsiher: O'Reilly Media
Total Pages: 504
Release: 2019-12-16
Genre: Computers
ISBN: 9781492052012

Download TinyML Book in PDF, Epub and Kindle

Deep learning networks are getting smaller. Much smaller. The Google Assistant team can detect words with a model just 14 kilobytes in size—small enough to run on a microcontroller. With this practical book you’ll enter the field of TinyML, where deep learning and embedded systems combine to make astounding things possible with tiny devices. Pete Warden and Daniel Situnayake explain how you can train models small enough to fit into any environment. Ideal for software and hardware developers who want to build embedded systems using machine learning, this guide walks you through creating a series of TinyML projects, step-by-step. No machine learning or microcontroller experience is necessary. Build a speech recognizer, a camera that detects people, and a magic wand that responds to gestures Work with Arduino and ultra-low-power microcontrollers Learn the essentials of ML and how to train your own models Train models to understand audio, image, and accelerometer data Explore TensorFlow Lite for Microcontrollers, Google’s toolkit for TinyML Debug applications and provide safeguards for privacy and security Optimize latency, energy usage, and model and binary size

TinyML Cookbook

TinyML Cookbook
Author: Gian Marco Iodice
Publsiher: Packt Publishing Ltd
Total Pages: 665
Release: 2023-11-29
Genre: Computers
ISBN: 9781837633968

Download TinyML Cookbook Book in PDF, Epub and Kindle

Over 70 recipes to help you develop smart applications on Arduino Nano 33 BLE Sense, Raspberry Pi Pico, and SparkFun RedBoard Artemis Nano using the power of machine learning Purchase of the print or Kindle book includes a free eBook in PDF format. Key Features Over 20+ new recipes, including recognizing music genres and detecting objects in a scene Create practical examples using TensorFlow Lite for Microcontrollers, Edge Impulse, and more Explore cutting-edge technologies, such as on-device training for updating models without data leaving the device Book DescriptionDiscover the incredible world of tiny Machine Learning (tinyML) and create smart projects using real-world data sensors with the Arduino Nano 33 BLE Sense, Raspberry Pi Pico, and SparkFun RedBoard Artemis Nano. TinyML Cookbook, Second Edition, will show you how to build unique end-to-end ML applications using temperature, humidity, vision, audio, and accelerometer sensors in different scenarios. These projects will equip you with the knowledge and skills to bring intelligence to microcontrollers. You'll train custom models from weather prediction to real-time speech recognition using TensorFlow and Edge Impulse.Expert tips will help you squeeze ML models into tight memory budgets and accelerate performance using CMSIS-DSP. This improved edition includes new recipes featuring an LSTM neural network to recognize music genres and the Faster-Objects-More-Objects (FOMO) algorithm for detecting objects in a scene. Furthermore, you’ll work on scikit-learn model deployment on microcontrollers, implement on-device training, and deploy a model using microTVM, including on a microNPU. This beginner-friendly and comprehensive book will help you stay up to date with the latest developments in the tinyML community and give you the knowledge to build unique projects with microcontrollers!What you will learn Understand the microcontroller programming fundamentals Work with real-world sensors, such as the microphone, camera, and accelerometer Implement an app that responds to human voice or recognizes music genres Leverage transfer learning with FOMO and Keras Learn best practices on how to use the CMSIS-DSP library Create a gesture-recognition app to build a remote control Design a CIFAR-10 model for memory-constrained microcontrollers Train a neural network on microcontrollers Who this book is for This book is ideal for machine learning engineers or data scientists looking to build embedded/edge ML applications and IoT developers who want to add machine learning capabilities to their devices. If you’re an engineer, student, or hobbyist interested in exploring tinyML, then this book is your perfect companion. Basic familiarity with C/C++ and Python programming is a prerequisite; however, no prior knowledge of microcontrollers is necessary to get started with this book.

Practical Deep Learning for Cloud Mobile and Edge

Practical Deep Learning for Cloud  Mobile  and Edge
Author: Anirudh Koul,Siddha Ganju,Meher Kasam
Publsiher: "O'Reilly Media, Inc."
Total Pages: 585
Release: 2019-10-14
Genre: Computers
ISBN: 9781492034810

Download Practical Deep Learning for Cloud Mobile and Edge Book in PDF, Epub and Kindle

Whether you’re a software engineer aspiring to enter the world of deep learning, a veteran data scientist, or a hobbyist with a simple dream of making the next viral AI app, you might have wondered where to begin. This step-by-step guide teaches you how to build practical deep learning applications for the cloud, mobile, browsers, and edge devices using a hands-on approach. Relying on years of industry experience transforming deep learning research into award-winning applications, Anirudh Koul, Siddha Ganju, and Meher Kasam guide you through the process of converting an idea into something that people in the real world can use. Train, tune, and deploy computer vision models with Keras, TensorFlow, Core ML, and TensorFlow Lite Develop AI for a range of devices including Raspberry Pi, Jetson Nano, and Google Coral Explore fun projects, from Silicon Valley’s Not Hotdog app to 40+ industry case studies Simulate an autonomous car in a video game environment and build a miniature version with reinforcement learning Use transfer learning to train models in minutes Discover 50+ practical tips for maximizing model accuracy and speed, debugging, and scaling to millions of users

TinyML Cookbook

TinyML Cookbook
Author: Gian Marco Iodice
Publsiher: Packt Publishing Ltd
Total Pages: 344
Release: 2022-04-01
Genre: Computers
ISBN: 9781801812634

Download TinyML Cookbook Book in PDF, Epub and Kindle

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 DescriptionThis 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.

Hands on TinyML

Hands on TinyML
Author: Rohan Banerjee
Publsiher: BPB Publications
Total Pages: 309
Release: 2023-06-09
Genre: Computers
ISBN: 9789355518446

Download Hands on TinyML Book in PDF, Epub and Kindle

Learn how to deploy complex machine learning models on single board computers, mobile phones, and microcontrollers KEY FEATURES ● Gain a comprehensive understanding of TinyML's core concepts. ● Learn how to design your own TinyML applications from the ground up. ● Explore cutting-edge models, hardware, and software platforms for developing TinyML. DESCRIPTION TinyML is an innovative technology that empowers small and resource-constrained edge devices with the capabilities of machine learning. If you're interested in deploying machine learning models directly on microcontrollers, single board computers, or mobile phones without relying on continuous cloud connectivity, this book is an ideal resource for you. The book begins with a refresher on Python, covering essential concepts and popular libraries like NumPy and Pandas. It then delves into the fundamentals of neural networks and explores the practical implementation of deep learning using TensorFlow and Keras. Furthermore, the book provides an in-depth overview of TensorFlow Lite, a specialized framework for optimizing and deploying models on edge devices. It also discusses various model optimization techniques that reduce the model size without compromising performance. As the book progresses, it offers a step-by-step guidance on creating deep learning models for object detection and face recognition specifically tailored for the Raspberry Pi. You will also be introduced to the intricacies of deploying TensorFlow Lite applications on real-world edge devices. Lastly, the book explores the exciting possibilities of using TensorFlow Lite on microcontroller units (MCUs), opening up new opportunities for deploying machine learning models on resource-constrained devices. Overall, this book serves as a valuable resource for anyone interested in harnessing the power of machine learning on edge devices. WHAT YOU WILL LEARN ● Explore different hardware and software platforms for designing TinyML. ● Create a deep learning model for object detection using the MobileNet architecture. ● Optimize large neural network models with the TensorFlow Model Optimization Toolkit. ● Explore the capabilities of TensorFlow Lite on microcontrollers. ● Build a face recognition system on a Raspberry Pi. ● Build a keyword detection system on an Arduino Nano. WHO THIS BOOK IS FOR This book is designed for undergraduate and postgraduate students in the fields of Computer Science, Artificial Intelligence, Electronics, and Electrical Engineering, including MSc and MCA programs. It is also a valuable reference for young professionals who have recently entered the industry and wish to enhance their skills. TABLE OF CONTENTS 1. Introduction to TinyML and its Applications 2. Crash Course on Python and TensorFlow Basics 3. Gearing with Deep Learning 4. Experiencing TensorFlow 5. Model Optimization Using TensorFlow 6. Deploying My First TinyML Application 7. Deep Dive into Application Deployment 8. TensorFlow Lite for Microcontrollers 9. Keyword Spotting on Microcontrollers 10. Conclusion and Further Reading Appendix

Applications in Electronics Pervading Industry Environment and Society

Applications in Electronics Pervading Industry  Environment and Society
Author: Sergio Saponara,Alessandro De Gloria
Publsiher: Springer Nature
Total Pages: 524
Release: 2020-03-20
Genre: Technology & Engineering
ISBN: 9783030372774

Download Applications in Electronics Pervading Industry Environment and Society Book in PDF, Epub and Kindle

This book provides a thorough overview of cutting-edge research on electronics applications relevant to industry, the environment, and society at large. It covers a broad spectrum of application domains, from automotive to space and from health to security, while devoting special attention to the use of embedded devices and sensors for imaging, communication and control. The book is based on the 2019 ApplePies Conference, held in Pisa, Italy in September 2019, which brought together researchers and stakeholders to consider the most significant current trends in the field of applied electronics and to debate visions for the future. Areas addressed by the conference included information communication technology; biotechnology and biomedical imaging; space; secure, clean and efficient energy; the environment; and smart, green and integrated transport. As electronics technology continues to develop apace, constantly meeting previously unthinkable targets, further attention needs to be directed toward the electronics applications and the development of systems that facilitate human activities. This book, written by industrial and academic professionals, represents a valuable contribution in this endeavor.

Artificial Intelligence

Artificial Intelligence
Author: Bert van Dam
Publsiher: Elektor Electronics
Total Pages: 255
Release: 2009
Genre: Computers
ISBN: 0905705777

Download Artificial Intelligence Book in PDF, Epub and Kindle

This book contains 23 special and exciting artificial intelligence machine-learning projects, for microcontroller and PC. Learn how to set up a neural network in a microcontroller, and how to make the network self-learning. Discover how you can breed robots, and how changing a fitness function results in a totally different behavior. Find out how a PC program exposes your weak spots in a game, and ruthlessly exploits them. Build a free-will robot, or have one clean your floor! Example projects from the book: Microcontroller that learns what your favourite colour is; Robot wandering about the house looking for someone to play with; Bred robot program that is incapable of crossing a black line; Microcontroller that learns how to play a game until You just can't win anymore; PC that programs a microcontroller all by itself. Complete with free software that you can download containing: All source code for the microcontroller; All sources of compiled PC programs (MS Windows); JAL programming language, with special editor and extension libraries; Robot breed program; Plus a support webpage with links, errata and FAQ. Several artificial intelligence techniques are discussed and used in projects such as expert system, neural network, subsumption, emerging behavior, genetic algorithm, cellular automata and roulette brains. Every project has clear instructions and pictures so you can start immediately. Suggestions and literature links allow you to go way beyond the scope of the book. Even after you have built all the projects contained within, this book will remain a valuable reference guide to keep next to your PC. This is a unique book for anyone with an interest in artificial intelligence and machine learning.