# Hardware Kits *Hands-on Embedded ML Labs for Real Devices* [![Build](https://img.shields.io/github/actions/workflow/status/harvard-edge/cs249r_book/kits-validate-dev.yml?branch=dev&label=Build&logo=githubactions)](https://github.com/harvard-edge/cs249r_book/actions/workflows/kits-validate-dev.yml) [![Website](https://img.shields.io/badge/Read-mlsysbook.ai/kits-blue)](https://mlsysbook.ai/kits) [![PDF](https://img.shields.io/badge/Download-PDF-red)](https://mlsysbook.ai/kits/assets/downloads/Hardware-Kits.pdf) **[Read Online](https://mlsysbook.ai/kits)** | **[PDF](https://mlsysbook.ai/kits/assets/downloads/Hardware-Kits.pdf)** --- > [!NOTE] > **๐Ÿ“Œ Early release (2026)** > > Hardware Kits shipped with the **2026** MLSysBook refresh. Labs, build recipes, board notes, and PDF exports are **actively iterated** as hardware and SDKs evolve. > > **Feedback** โ€” [GitHub issues](https://github.com/harvard-edge/cs249r_book/issues) or pull requests. ## What This Is The Hardware Kits teach you how to deploy ML models to real embedded devices. You will face actual hardware constraints: limited memory, power budgets, and latency requirements that do not exist in cloud environments. This is where AI systems meet the physical world. --- ## ๐ŸŽ“ What You Will Learn
Concept What You Do
๐Ÿ–ผ๏ธ Image Classification Deploy CNN models to classify images in real-time on microcontrollers
๐ŸŽฏ Object Detection Run YOLO-style detection on camera-equipped boards
๐Ÿ—ฃ๏ธ Keyword Spotting Build always-on wake word detection with audio DSP
๐Ÿ‘‹ Motion Classification Use IMU sensors for gesture and activity recognition
๐Ÿ—œ๏ธ Model Optimization Quantize and compress models to fit in KB of RAM
๐Ÿ”‹ Power Management Balance accuracy vs battery life for edge deployment
### ๐Ÿ› ๏ธ Hardware Platforms
Platform Description Best For
Arduino Nicla Vision Compact AI camera board with STM32H7 Vision projects, ultra-low power
Seeed XIAO ESP32S3 Tiny ESP32-S3 with camera support WiFi-connected vision
Grove Vision AI V2 No-code AI vision module Rapid prototyping
Raspberry Pi Full Linux SBC for edge AI Complex pipelines, prototyping
--- ## ๐Ÿš€ Quick Start ### For Learners 1. Pick a platform from the [labs](https://mlsysbook.ai/kits) 2. Follow the setup guide for your hardware 3. Complete the labs in order: Setup โ†’ Image Classification โ†’ Object Detection โ†’ Keyword Spotting ### For Contributors cd kits **Build HTML site** ln -sf config/_quarto-html.yml _quarto.yml quarto render **Build PDF** ln -sf config/_quarto-pdf.yml _quarto.yml quarto render --to titlepage-pdf **Preview with live reload** quarto preview --- ## ๐Ÿ”ฌ Labs Overview Each platform includes progressive labs:
Lab What You Build Skills
Setup Hardware setup and environment configuration Toolchain, flashing, debugging
Image Classification CNN-based image recognition Model deployment, inference
Object Detection Real-time object detection YOLO, bounding boxes
Keyword Spotting Audio wake word detection DSP, MFCC features
Motion Classification IMU-based gesture recognition Sensor fusion, time series
--- ## ๐Ÿ“‚ Directory Structure ```text kits/ โ”œโ”€โ”€ contents/ # Lab content โ”‚ โ”œโ”€โ”€ arduino/ # Arduino Nicla Vision labs โ”‚ โ”œโ”€โ”€ seeed/ # Seeed XIAO & Grove Vision labs โ”‚ โ”œโ”€โ”€ raspi/ # Raspberry Pi labs โ”‚ โ””โ”€โ”€ shared/ # Shared resources (DSP, features) โ”œโ”€โ”€ assets/ # Images, styles, scripts โ”œโ”€โ”€ config/ # Quarto configurations โ”‚ โ”œโ”€โ”€ _quarto-html.yml # Website config โ”‚ โ””โ”€โ”€ _quarto-pdf.yml # PDF config โ”œโ”€โ”€ tex/ # LaTeX includes for PDF โ”œโ”€โ”€ filters/ # Lua filters โ””โ”€โ”€ index.qmd # Landing page ``` --- ## ๐Ÿ“š Documentation
Who Resources
Learners Online Labs ใƒป PDF
Contributors See build instructions above
--- ## ๐Ÿค Contributing We welcome contributions to the hardware labs! To contribute: 1. Fork and clone the repository 2. Add or improve lab content in `contents/` 3. Test your changes with quarto preview 4. Submit a PR with a clear description --- ## ๐Ÿ”— Related
Component Description
Main README Project overview and ecosystem
Textbook ML Systems concepts and theory
TinyTorch Build ML frameworks from scratch
Website Read labs online
--- ## Contributors Thanks to these wonderful people who helped improve the hardware kits! **Legend:** ๐Ÿชฒ Bug Hunter ยท โšก Code Warrior ยท ๐Ÿ“š Documentation Hero ยท ๐ŸŽจ Design Artist ยท ๐Ÿง  Idea Generator ยท ๐Ÿ”Ž Code Reviewer ยท ๐Ÿงช Test Engineer ยท ๐Ÿ› ๏ธ Tool Builder
Vijay Janapa Reddi
Vijay Janapa Reddi

๐Ÿชฒ ๐Ÿง‘โ€๐Ÿ’ป ๐ŸŽจ โœ๏ธ ๐Ÿงช ๐Ÿ› ๏ธ
Marcelo Rovai
Marcelo Rovai

โœ๏ธ ๐Ÿง‘โ€๐Ÿ’ป ๐ŸŽจ tutorial
Farhan Asghar
Farhan Asghar

๐Ÿชฒ ๐Ÿง‘โ€๐Ÿ’ป
Salman Chishti
Salman Chishti

๐Ÿง‘โ€๐Ÿ’ป
Pratham Chaudhary
Pratham Chaudhary

๐Ÿง‘โ€๐Ÿ’ป
Rocky
Rocky

๐Ÿชฒ
**Recognize a contributor:** Comment on any issue or PR: ```text @all-contributors please add @username for tool, test, video, or doc ``` --- ## License Content is licensed under **Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International** (CC BY-NC-SA 4.0). See [LICENSE.md](../LICENSE.md) for details.