Account
Computer Science & Technology

TinyML

Machine Learning with TensorFlow Lite on Arduino and Ultra-Low-Power Microcontrollers

TinyML by Warden and Situnayake: build and deploy machine learning models on Arduino and ultra-low-power microcontrollers. Instant PDF download.

  • 504pages
  • 21chapters
  • 2019publication year
  • Firstedition

This book is for you if you are

  • a software developer who wants on-device inference without a cloud round trip
  • an embedded engineer who needs models that fit inside kilobytes and milliwatts
  • a hardware hobbyist ready to move past blinking LEDs into voice, vision, and gesture sensing

Why this book

TinyML is the hands-on guide to running machine learning on microcontrollers and other ultra-low-power devices, written by Pete Warden and Daniel Situnayake and published by O'Reilly Media. It takes a discipline that normally lives on GPUs and cloud servers and shrinks it to boards that run on milliwatts and kilobytes. What you get is a working method for embedding wake-word detection, person detection, and gesture recognition directly into hardware.

The book earns its place because it is built around complete, deployable projects rather than theory alone. Every example walks through building an application, training a model, and deploying it to a microcontroller, so you follow the full loop instead of a fragment of it.

  • Twenty-one chapters that progress from the "Hello World" of TinyML through wake-word detection, person detection, and a gesture-driven magic wand
  • A dedicated chapter on TensorFlow Lite for Microcontrollers, plus one on porting models from TensorFlow
  • Optimization coverage for latency, energy usage, and model and binary size
  • A full debugging chapter and a closing chapter on privacy, security, and deployment

Most pages that surface for this title offer a sample chapter or a short review, not the complete book. This first edition, published in 2019, gives you every chapter, including the optimization and debugging material that decides whether a model actually survives on constrained hardware. It assumes programming experience but no machine learning background, and it explains each concept as it comes up.

Software developers, embedded engineers, and hardware hobbyists who want inference running on-device rather than in the cloud get the most from it. Get your copy today.

What you'll learn

  • Build and train a model for the classic TinyML "Hello World" example
  • Deploy trained models to microcontrollers with TensorFlow Lite
  • Train a wake-word detector and a person-detection model from scratch
  • Optimize latency, energy consumption, and binary size for constrained hardware
  • Debug models that misbehave once they leave the desktop
  • Port existing TensorFlow models into TensorFlow Lite
  • Assess the privacy and security implications of shipping models on-device

Not the right book for: readers who want deep learning theory or GPU-scale model training

Questions about this book

What is TinyML actually used for?

It covers on-device inference on microcontrollers: wake-word detection, person detection, and gesture recognition, each built as a full application with a trained model behind it. The techniques apply to any sensor-driven product that cannot afford a network connection.

Do you need machine learning experience to read this book?

No. The early chapters bring you up to speed on machine learning concepts and the deep learning workflow before any model is trained. Programming experience is expected; a research background is not.

Which hardware do the examples target?

The projects are written for Arduino and other ultra-low-power microcontrollers, with TensorFlow Lite used as the inference runtime. Each deployment chapter walks through the toolchain and the constraints of the target board.

How does the book handle model size and power limits?

Three separate chapters address latency, energy usage, and model and binary size, so you can trade accuracy against the memory and battery budget of a specific device. A debugging chapter covers what to do when a model behaves differently on hardware.

Does it cover privacy and security for deployed models?

Yes. The closing chapters examine privacy, security, and deployment considerations for models running on hardware you do not control. A final chapter points to further resources for going deeper.

Can I get it in another format?

Yes. You get the PDF right away. Need EPUB, Kindle, Word or any other format? Email support@ebooksonline.si with your order number and we send it.

Does it work on Kindle?

Yes. Email support@ebooksonline.si with your order number and we send you a Kindle-ready file.

How many times can I download it?

As many times as you like. Sign in to your account and download it again at any time.

What if the file does not work?

Contact us with your order number and we will fix it or refund you.

Contents

  1. 11. Introductionp. 1
  2. 22. Getting Startedp. 5
  3. 33. Getting Up to Speed on Machine Learningp. 11
  4. 44. The “Hello World” of TinyML: Building and Training a Modelp. 29
  5. 55. The “Hello World” of TinyML: Building an Applicationp. 67
  6. 66. The “Hello World” of TinyML: Deploying to Microcontrollersp. 95
  7. 77. Wake-Word Detection: Building an Applicationp. 127
  8. 88. Wake-Word Detection: Training a Modelp. 181
  9. 99. Person Detection: Building an Applicationp. 221
  10. 1010. Person Detection: Training a Modelp. 259
  11. 1111. Magic Wand: Building an Applicationp. 279
  12. 1212. Magic Wand: Training a Modelp. 329
  13. 1313. TensorFlow Lite for Microcontrollersp. 355
  14. 1414. Designing Your Own TinyML Applicationsp. 393
  15. 1515. Optimizing Latencyp. 401
  16. 1616. Optimizing Energy Usagep. 415
  17. 1717. Optimizing Model and Binary Sizep. 423
  18. 1818. Debuggingp. 437
  19. 1919. Porting Models from TensorFlow to TensorFlow Litep. 447
  20. 2020. Privacy, Security, and Deploymentp. 453
  21. 2121. Learning Morep. 461

Details

Author
Pete Warden and Daniel Situnayake
Publisher
O’Reilly Media, Inc.
Edition
First edition, 2019
ISBN
9781492052043
Pages
504
Language
English
Formats
PDF (EPUB, Kindle or any other format on request)
File size
24.6 MB
Licence
Personal use, keep forever

Pete Warden and Daniel Situnayake

Pete Warden and Daniel Situnayake are the authors of TinyML, published by O'Reilly Media in 2019.

Buy with confidence

If your file does not open or download, we fix it or refund you. Read the refund policy.

More in Computer Science & Technology

See all

Operating System Concepts

Abraham Silberschatz, Peter Baer Galvin, Greg Gagne

PDF · 1278 pages

$19.99 Regular price $118.75 −83%

You save $98.76

Add to cart
Cover of 10-Minute Focus by Daniel Walter

Get a free ebook

Join the list and get 10-Minute Focus free, plus a short note when new books arrive.

Your cart

No products in the cart.

Subjects

More

Look inside

Sample