AI Projects for the Raspberry Pi with the AI HAT+
Edge AI is transforming everyday devices by putting intelligence where it matters most: directly inside the hardware. With on-device inference, a camera can recognize a visitor instantly, a phone can translate speech without streaming audio to the cloud, and a wearable can detect anomalies in real time—fast, private, and reliable even when the network disappears.
This book is your practical guide to building exactly those kinds of systems with the Raspberry Pi AI HAT+ and the Hailo-8L accelerator. You’ll start with clear foundations: core AI and machine-learning concepts, how neural networks work, and what truly distinguishes Edge AI from cloud AI—plus an honest look at ethical considerations and future impacts.
Then it’s straight to hands-on physical computing. Step by step, you’ll set up Raspberry Pi OS, power and cooling, and develop in Python using the Thonny IDE. You’ll learn GPIO basics with lights and servos, mount the AI HAT+ hardware, install and verify the Hailo software stack, and connect the right camera—official modules or USB webcams, even multiple cameras.
From your first pipeline to real projects, you’ll run person detection, pose estimation, segmentation, and depth estimation, then level up with YOLO object detection: smart alerts, guest counters, and custom extensions. You’ll even connect vision to motion by combining gesture recognition with servo-driven mechanisms, including a robotic arm.
With troubleshooting tips, hardware essentials, and a practical Python refresher, this book turns Edge AI from buzzword into buildable reality.
Build your own AI microcontroller applications from scratch
The MAX78000FTHR from Maxim Integrated is a small development board based on the MAX78000 MCU. The main usage of this board is in artificial intelligence applications (AI) which generally require large amounts of processing power and memory. It marries an Arm Cortex-M4 processor with a floating-point unit (FPU), convolutional neural network (CNN) accelerator, and RISC-V core into a single device. It is designed for ultra-low power consumption, making it ideal for many portable AI-based applications.
This book is project-based and aims to teach the basic features of the MAX78000FTHR. It demonstrates how it can be used in various classical and AI-based projects. Each project is described in detail and complete program listings are provided. Readers should be able to use the projects as they are, or modify them to suit their applications. This book covers the following features of the MAX78000FTHR microcontroller development board:
Onboard LEDs and buttons
External LEDs and buttons
Using analog-to-digital converters
I²C projects
SPI projects
UART projects
External interrupts and timer interrupts
Using the onboard microphone
Using the onboard camera
Convolutional Neural Network
This book discusses the basic components of any alarm system.
All alarm systems have two basic functions. First, they monitor their environment looking for a change such as a door or window opening or someone moving about in the room. Second, they alert the legal owner or user to this change. The system described in this book uses a scanning type software to detect intruders. It behaves like a guard dog, pacing up and down the fence line on the lookout for either an intruder or a familiar person. If you have an alarm key, you can disarm the system and enter.
With the scanning method, the software is easy to write and explain. It can scan eight alarm zones plus two special fire zones in about one second.
You don’t have to be an electrical engineer to install an alarm system, just a decent carpenter, painter, and plasterer! Because this alarm system runs on 12 volts, you don’t have to be a licensed electrician either to install it. The alarm system presented here uses Python software on the Raspberry Pi combined with some elementary electronic circuits. The code described in the book, as well as CAD files and a bill of materials for the alarm panel, are available for free downloading. The book provides the reader with examples of typical configurations coming straight from the author‘s experience. After reviewing the hardware components typically used in common alarm systems, the author shows how to plan one yourself.
To implement a modular alarm, no matter if it is for a single house or for a business or restaurant, the book shows how to skillfully combine a Raspberry Pi with small auxiliary electronic circuits. These are not installation instructions but food for thought that will enable readers to find a solution to their needs.
Learning Embedded Systems with STM32 Nucleo Boards
Programming compact electronic systems is now easier to get started with than ever before. Affordable development boards, powerful software tools, and readily available documentation make it possible to turn an idea into a working prototype in very little time. MicroPython plays an important role in this development by offering a readable, interactive way to control microcontrollers while still providing direct access to their hardware features.
This book explores embedded programming with MicroPython using an STM32-based Nucleo board. It shows how a microcontroller continuously interacts with its environment by reading inputs, processing information, and controlling outputs. Step by step, you will learn to flash LEDs, measure analog signals, work with sensors, control actuators, and exchange data with other devices. The built-in REPL makes it easy to test instructions immediately, inspect results, and learn through experimentation.
Although microcontroller boards differ in size, speed, memory, and peripherals, the fundamental concepts remain largely the same. Digital input and output, analog conversion, timers, PWM, interrupts, and serial communication are the essential building blocks of embedded applications.
By concentrating on these transferable principles, the book provides a foundation that remains useful when moving to other boards, processors, or development environments.
It is intended both for newcomers and for programmers who want to expand into embedded systems. MicroPython offers a practical route into this field, combining quick results with a clear understanding of how software and hardware work together.
Technology is constantly changing. New microcontrollers become available every year. The one thing that has stayed the same is the C programming language used to program these microcontrollers. If you would like to learn this standard language to program microcontrollers, then this book is for you!
Arduino is the hardware platform used to teach the C programming language as Arduino boards are available worldwide and contain the popular AVR microcontrollers from Atmel.
Atmel Studio is used as the development environment for writing C programs for AVR microcontrollers. It is a full-featured integrated development environment (IDE) that uses the GCC C software tools for AVR microcontrollers and is free to download.
At a glance:
Start learning to program from the very first chapter
No programming experience is necessary
Learn by doing – type and run the example programs
A fun way to learn the C programming language
Ideal for electronic hobbyists, students and engineers wanting to learn the C programming language in an embedded environment on AVR microcontrollers
Use the free full-featured Atmel Studio IDE software for Windows
Write C programs for 8-bit AVR microcontrollers as found on the Arduino Uno and MEGA boards
Example code runs on Arduino Uno and Arduino MEGA 2560 boards and can be adapted to run on other AVR microcontrollers or boards
Use the AVR Dragon programmer/debugger in conjunction with Atmel Studio to debug C programs
Learn to Build Intelligent Embedded Systems
Build smarter embedded systems with Arduino UNO Q. This book gives you the tools, knowledge, and confidence to turn ideas into intelligent, working solutions using the Arduino UNO Q platform. Discover how to build intelligent embedded systems with the Arduino UNO Q and AI.
Unlock the full potential of the Arduino UNO Q, a next-generation platform that combines the real-time power of the STM32U585 microcontroller with the flexibility of a Qualcomm Dragonwing QRB2210 microprocessor.
Learn how to rapidly prototype real-world applications using the Arduino IDE for low-level embedded control and Python in Arduino App Lab for high-level development.
Build confidence through hands-on projects that guide you step by step from basic board features to complete working systems.
Explore ready-to-use, AI based Arduino App Lab examples and see how they can jump-start your development and reduce time to deployment.
Step into the world of Edge AI with a clear, practical introduction to Edge Impulse Studio—no prior AI experience required.
Follow a complete, real-world workflow to create a Keyword Spotting AI application, covering data collection, model training, optimization, and on-device inference using the Edge Impulse Studio.
Bridge the gap between embedded systems and machine learning and learn how to bring intelligence directly onto your hardware.
Perfect for embedded engineers, educators, students, and makers looking to stay ahead in AI-enabled product development.
Learn to Build Intelligent Embedded Systems
Build smarter embedded systems with Arduino UNO Q. This book gives you the tools, knowledge, and confidence to turn ideas into intelligent, working solutions using the Arduino UNO Q platform. Discover how to build intelligent embedded systems with the Arduino UNO Q and AI.
Unlock the full potential of the Arduino UNO Q, a next-generation platform that combines the real-time power of the STM32U585 microcontroller with the flexibility of a Qualcomm Dragonwing QRB2210 microprocessor.
Learn how to rapidly prototype real-world applications using the Arduino IDE for low-level embedded control and Python in Arduino App Lab for high-level development.
Build confidence through hands-on projects that guide you step by step from basic board features to complete working systems.
Explore ready-to-use, AI based Arduino App Lab examples and see how they can jump-start your development and reduce time to deployment.
Step into the world of Edge AI with a clear, practical introduction to Edge Impulse Studio—no prior AI experience required.
Follow a complete, real-world workflow to create a Keyword Spotting AI application, covering data collection, model training, optimization, and on-device inference using the Edge Impulse Studio.
Bridge the gap between embedded systems and machine learning and learn how to bring intelligence directly onto your hardware.
Perfect for embedded engineers, educators, students, and makers looking to stay ahead in AI-enabled product development.
Recently, the development of a tiny chip called the ESP8266 has made it possible to interface any type of microcontroller to a Wi-Fi AP. The ESP8266 is a low-cost tiny Wi-Fi chip having fully built-in TCP/IP stack and a 32-bit microcontroller unit. This chip, produced by Shanghai based Chinese manufacturer Espressif System, is IEEE 802.11 b/g/n Wi-Fi compatible with on-chip program and data memory, and general purpose input-output ports. Several manufacturers have incorporated the ESP8266 chip in their hardware products (e.g. ESP-xx, NodeMCU etc) and offer these products as a means of connecting a microcontroller system such as the Android, PIC microcontroller or others to a Wi-Fi. The ESP8266 is a low-power chip and costs only a few Dollars.
ESP8266 and MicroPython – Coding Cool Stuff is an introduction to the ESP8266 chip and describes the features of this chip and shows how various firmware and programming languages such as the MicroPython can be uploaded to the chip. The main aim of the book is to teach the readers how to use the MicroPython programming language on ESP8266 based hardware, especially on the NodeMCU.
Several interesting and useful projects are given in the e-book (pdf) to show how to use the MicroPython in NodeMCU type ESP8266 hardware:
Project “What shall I wear today?”: You will be developing a weather information system using a NodeMCU development board together with a Text-to-Speech processor module.
Project “The Temperature and Humidity on the Cloud”: You will be developing a system that will get the ambient temperature and humidity using a sensor and then store this data on the cloud so that it can be accessed from anywhere.
Project “Remote Web Based Control”: You will be developing a system that will remotely control two LEDs connected to a NodeMCU development board using an HTTP Web Server application.
Program, build, and master 60+ projects with the Wireless RP2040
The Raspberry Pi Pico and Pico W are based on the fast, efficient, and low-cost dual-core ARM Cortex M0+ RP2040 microcontroller chip running at up to 133 MHz and sporting 264 KB of SRAM and 2 MB of Flash memory. Besides spacious memory, the Pico and Pico W offer many GPIO pins, and popular peripheral interface modules like ADC, SPI, I²C, UART, PWM, timing modules, a hardware debug interface, and an internal temperature sensor.
The Raspberry Pi Pico W additionally includes an on-board Infineon CYW43439 Bluetooth and Wi-Fi chipset. At the time of writing this book, the Bluetooth firmware was not yet available. Wi-Fi is however fully supported at 2.4 GHz using the 802.11b/g/n protocols.
This book is an introduction to using the Raspberry Pi Pico W in conjunction with the MicroPython programming language. The Thonny development environment (IDE) is used in all of the 60+ working and tested projects covering the following topics:
Installing the MicroPython on Raspberry Pi Pico using a Raspberry Pi or a PC
Timer interrupts and external interrupts
Analogue-to-digital converter (ADC) projects
Using the internal temperature sensor and external sensor chips
Using the internal temperature sensor and external temperature sensor chips
Datalogging projects
PWM, UART, I²C, and SPI projects
Using Bluetooth, WiFi, and apps to communicate with smartphones
Digital-to-analogue converter (DAC) projects
All projects are tried & tested. They can be implemented on both the Raspberry Pi Pico and Raspberry Pi Pico W, although the Wi-Fi-based subjects will run on the Pico W only. Basic programming and electronics experience are required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full MicroPython program listings are given for all projects.
Practical Multitasking Fundamentals
Programming embedded systems is difficult because of resource constraints and limited debugging facilities. Why develop your own Real-Time Operating System (RTOS) as well as your application when the proven FreeRTOS software is freely available? Why not start with a validated foundation?
Every software developer knows that you must divide a difficult problem into smaller ones to conquer it. Using separate preemptive tasks and FreeRTOS communication mechanisms, a clean separation of functions is achieved within the entire application. This results in safe and maintainable designs.
Practicing engineers and students alike can use this book and the ESP32 Arduino environment to wade into FreeRTOS concepts at a comfortable pace. The well-organized text enables you to master each concept before starting the next chapter. Practical breadboard experiments and schematics are included to bring the lessons home. Experience is the best teacher.
Each chapter includes exercises to test your knowledge. The coverage of the FreeRTOS Application Programming Interface (API) is complete for the ESP32 Arduino environment. You can apply what you learn to other FreeRTOS environments, including Espressif’s ESP-IDF. The source code is available from GitHub. All of these resources put you in the driver’s seat when it is time to develop your next uber-cool ESP32 project.
What you will learn:
How preemptive scheduling works within FreeRTOS
The Arduino startup “loopTask”
Message queues
FreeRTOS timers and the IDLE task
The semaphore, mutex, and their differences
The mailbox and its application
Real-time task priorities and its effect
Interrupt interaction and use with FreeRTOS
Queue sets
Notifying tasks with events
Event groups
Critical sections
Task local storage
The gatekeeper task
Le Joy-Pi Note 2 est une plateforme tout-en-un, portable, dédiée à l'apprentissage et à l'expérimentation en électronique ; elle est entièrement compatible avec les Raspberry Pi 4 et 5. Alliant un écran IPS de 11,6 pouces, un clavier sans fil détachable et un boîtier compact et robuste, elle offre un environnement flexible pour le développement électronique, la programmation et l'enseignement.
Grâce à plus de 45 cours et projets pratiques, le Joy-Pi Note 2 facilite l'apprentissage et l'expérimentation autour de Python, de Scratch, de la robotique et des applications liées à l'Internet des objets (IoT). Sa plateforme pédagogique intégrée propose des instructions étape par étape, ce qui la rend idéale pour les débutants, les étudiants, les enseignants et les passionnés d'électronique expérimentés.
Le système intègre plus de 22 capteurs et modules, notamment des capteurs de température, de luminosité, de mouvement et de distance, ainsi que des affichages LED et des interfaces pour moteurs. Des options de connectivité supplémentaires, incluant des ports USB-C et des interfaces d'extension GPIO, permettent aux utilisateurs de développer et de tester leurs propres projets.
Grâce à sa compatibilité avec le Raspberry Pi 5, le Joy-Pi Note 2 bénéficie également d'une puissance de traitement et de performances graphiques accrues, s'imposant comme une plateforme polyvalente pour l'enseignement de l'électronique, le prototypage et l'expérimentation avancée.
Caractéristiques
Kit complet d'expérimentation électronique
Plateforme tout-en-un d'apprentissage et d'expérimentation
Compatible avec Raspberry Pi 4 et 5
Plateforme d'apprentissage interactive préinstallée
Clavier sans fil détachable
Compartiment de rangement intégré pour batterie externe et accessoires
Spécifications
Écran
Écran LCD 11,6"
Caméra
2 MP
Plateforme d'apprentissage
Plus de 45 cours et projets
Écrans
Afficheur 7 segments, écran 16x2, écran TFT 1,8", écran OLED 0,96", matrice RVB 8x8
Alimentation
5 V/5 A, USB-C
Écrans
Afficheur 7 segments, module LCD 16x2, matrice RVB 8x8
Capteurs
Capteur de température et d'humidité DHT, capteur d'inclinaison, capteur de mouvement, capteur sonore, capteur tactile, module RFID, capteur de luminosité, capteur à ultrasons
Moteurs
Interface pour servomoteur, interface pour moteur pas à pas, moteur vibrant
Système de contrôle
Joystick, matrice de boutons 4x4, commutateur de connexion (Raspberry Pi/PC), réglage de sensibilité (capteur de mouvement, capteur sonore), réglage de luminosité (module LCD 16x2)
Divers
Relais, ventilateur, extension GPIO, indicateur LED GPIO, plaque d'essai (breadboard), interface d'extension (E/S, ADC, I²C, UART), interface pour capteur infrarouge, buzzer, contrôleur d'affichage
Accessoires
Puce RFID, carte RFID, bloc d'alimentation, servomoteur, moteur pas à pas, récepteur infrarouge, télécommande infrarouge, moteur CC avec ventilateur, tournevis, carte microSD (32 Go), lecteur de carte SD, accessoires électroniques, souris sans fil, clavier sans fil
Dimensions
291 x 190 x 46 mm
Poids
1,3 kg
Inclus
Joy-Pi Note 2 ordinateur portable
Raspberry Pi 5 (8 Go de RAM)
Accessoires
Bloc d'alimentation USB-C
Guide de démarrage rapide
Téléchargements
Joy-Pi website
Fiche technique
Cette offre groupée contient tout ce dont vous avez besoin pour démarrer immédiatement avec la carte de développement XIAO ESP32-C3. Découvrez les bases de l’ESP32-C3 et réalisez des projets pratiques avec le Wi-Fi, le Bluetooth, des capteurs, des écrans, le PWM, le Deep Sleep et bien plus encore.
Livre : Build Smart Projects with the XIAO ESP32-C3 Board
La carte XIAO ESP32-C3 associe le format ultracompact de la série XIAO aux nombreuses fonctionnalités de la puce ESP32-C3, notamment le Wi-Fi intégré et le Bluetooth 5.0. Ce livre est un guide complet et pratique qui vous permettra d’exploiter pleinement cette carte de développement à la fois puissante et abordable.
L’auteur accompagne le lecteur des notions fondamentales jusqu’à des projets avancés. Après le clignotement et la variation de luminosité des LED, le livre aborde l’ADC et le PWM pour une connexion précise des capteurs et des effets lumineux commandés par PWM, avant de passer à des applications pratiques et concrètes, notamment :
Une station météo Wi-Fi avec écran OLED et données météorologiques en ligne en temps réel
Un assistant de stationnement à ultrasons avec retour sonore
Une sonde de surveillance pour réfrigérateur avec capteurs climatiques et mode Deep Sleep pour plusieurs années d’autonomie sur batterie
Un jeu Pong rétro commandé sans contact à l’aide d’un capteur
Une application festive basée sur un microphone qui réagit aux applaudissements
Et bien plus encore : commande d’éclairage, mesure du temps de réaction, analyse de la fréquence du secteur, mesure de l’humidité du sol, éclairage LED d’ambiance et afficheurs 7 segments
Seeed Studio XIAO ESP32C3
Le Seeed Studio XIAO ESP32C3 est équipé d’une puce ESP32-C3 hautement intégrée, basée sur un processeur RISC-V 32 bits doté d’un pipeline à quatre étages et fonctionnant jusqu’à 160 MHz.
La carte intègre un SoC ESP32-C3 hautement intégré. La puce dispose d’un sous-système Wi-Fi 2,4 GHz complet prenant en charge le mode Station, le mode SoftAP, le mode SoftAP & Station ainsi que le mode promiscuous pour diverses applications Wi-Fi. Elle fonctionne également avec une très faible consommation d’énergie et prend en charge Bluetooth 5 ainsi que Bluetooth Mesh. Avec 400 KB de SRAM et 4 MB de mémoire Flash, la puce offre suffisamment d’espace pour la programmation et de nombreuses possibilités pour les applications de contrôle IoT.
Applications
Internet des objets (IoT)
Objets connectés portables
Surveillance de la santé
Éducation
Réseaux basse consommation
Prototypage rapide
Spécifications
Processor
ESP32-C3 SoC
RISC-V single-core 32-bit chip processor with a four-stage pipeline that operates at up to 160 MHz
Wireless
Complete 2.4GHz Wi-Fi subsystem
Bluetooth Low Energy 5.0/ Bluetooth Mesh
On-chip Memory
400 KB SRAM & 4 MB Flash
Interface
1x UART, 1x I²C, 1x SPI, 11x GPIO (PWM), 4x ADC
1x Reset button, 1x Boot button
Power (Typ.)
Max 3.3 V Output Current: 500 mA Test Condition: BAT Pin Input @ 3.8 V Source Capability: 3 A
Charging current: 380 mA(Fast) / 40 mA(Trickle)
Input voltage (VIN): 5 VInput voltage (BAT): 3.7 V
Deep Sleep Power Consumption
Deep Sleep Mode: 44 μA
Wi-Fi Enabled Power Consumption
Active Mode: 75 mA
Modem-sleep Mode: 25 mA
Light-sleep Mode: 4 mA
BLE Enabled Power Consumption
Modem-sleep Mode: 27 mA
Light-sleep Mode: 10 mA
Dimensions
21 x 17.8 mm
Inclus
1x Seeed Studio XIAO ESP32C3
1x Sntenne
2x Connecteurs à 7 broches
Téléchargements
Wiki
Datasheet
Cette offre groupée contient :
Buch: Build Smart Projects with the XIAO ESP32-C3 Board (d'une valeur de : 35 €)
Board: Seeed Studio XIAO ESP32C3 (d'une valeur de : 10 €)