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.
Dieses Buch beschäftigt sich mit DC-Elektromotoren und deren Einsatz in Arduino und Raspberry Pi Zero W-Projekten. Das Buch enthält zahlreiche Motorsteuerungsprojekte, wobei jedes Projekt denselben Aufbau besitzt:
Projekttitel
Beschreibung des Projekts
Blockschaltbild
Schaltplan
Zusammenbau
Vollständiges Programmlisting
Umfassende Erläuterung des Programms
Die Projekte im Buch umfassen die Standard-DC-Motoren, Schrittmotoren, Servomotoren und mobile Roboter. Das Buch richtet sich an Elektronik-Bastler, die Projekte mit dem Arduino Uno oder dem Raspberry Pi Zero W entwickeln und dabei Motoren einsetzen möchten.
Ein besonders reizvolles Projekt dieses Buches ist die Fernsteuerung eines mobilen Roboters von einem Mobiltelefon aus mit dem Arduino Uno sowie dem Raspberry Pi Zero W. Dieses Projekt wird sowohl über Wi-Fi als auch über Bluetooth mit dem Handy gesteuert. Die Leser sollten in der Lage sein, einen Roboter vorwärts, rückwärts, links oder rechts zu bewegen, indem sie einfache Befehle vom Mobiltelefon aus senden.
Die vollständigen Programmlistings aller Projekte sowie die detaillierten Programmbeschreibungen finden Sie im Buch. Der Leser kann die Projekte Schritt für Schritt nachbauen oder sie an die eigenen Bedürfnisse anpassen.
A Small Basic Approach
There are many different PC programming languages available on the market. Some have beautiful names; some have easy to use development tools. Others have incredible power. They all have one thing in common: they assume that you have, or want to have, a knack for technology and difficult to read commands.
In this book we take a practical approach to programming. We assume that you simply want to write a PC program, and write it quickly. Not in a professional environment, not in order to start a new career, but for plain and simple fun... or just to get a task done.
Therefore we use Small Basic. You will have an application up and running in a matter of minutes. You will understand exactly how it works and be able to write text programs, graphical user interfaces, and advanced drivers. It is so simple; you don't even need to be an adult!
The Raspberry Pi is a $35 credit-card sized computer with many applications, such as in desktop computing, audio and video playback, and as a controller in many industrial, commercial and domestic applications.
This book is about the Raspberry Pi computer and its use in control applications. The book explains in simple terms, with examples, how to configure the RPi, how to install and use the Linux operating system, how to write programs using the Python programming language and how to develop hardware based projects.
The book starts with an introduction to the Raspberry Pi computer and covers the topics of purchasing all the necessary equipment and installing/using the Linux operating system in command mode. Use of the user-friendly graphical desktop operating environment is explained using example applications. The RPi network interface is explained in simple steps and demonstrates how the computer can be accessed remotely from a desktop or a laptop computer.
The remaining parts of the book cover the Python programming language, hardware development tools, hardware interface details, and RPi based hardware projects. All the 23 projects given in the book have been tested and are working.
The following headings are given for each project:
Project title
Project description
Project block diagram
Project circuit diagram
Project program description using the Program Description Language (PDL)
Complete program listing
Description of the program
The book is ideal for self-study, and is intended for electronic/electrical engineering students, practising engineers, research students, and hobbyists.
Open-Source-Code mit Arduino IDE und PlatformIO
Autonomes Fahren: GPS, Accelerometer, Gyroskop
PS3-Controller
Mikrocontroller wie der Arduino und Einplatinenrechner wie der Raspberry Pi haben sich zu beliebten Komponenten entwickelt. Dritter im Bunde ist der ESP32 der Firma Espressif. Mikrocontroller dieser Baureihe zeichnen sich durch eine Vielzahl implementierter Funktionen aus, die bei einem Arduino konventioneller Prägung mit einem Atmel-AVR-Mikrocontroller erst mit weiterer Hardware möglich sind. Prominentes Beispiel sind hier die WiFi- und Bluetooth-Funktionalitäten. Gegenüber einem Raspberry Pi zeichnen sie sich durch einen deutlich geringeren Preis aus.
Allgemeine Informationen für die Realisierung eines Roboterauto-Projekts mit dem ESP32 sind leicht zu finden. Dabei handelt es sich aber oft nur um Ausführungen zu einem Teilaspekt, ohne inhaltliche oder funktionale Abstimmung. So ist nicht nur die Beschaffung der benötigten Informationen mühselig und zeitaufwändig, sie kann auch außerordentlich fehlerträchtig sein.
Ansatzpunkt dieses Buches ist, diese Lücke zu schließen. Es geht auf verschiedene Möglichkeiten eines Chassis ein, vermittelt nötige Kenntnisse und führt schrittweise von einer einfachen Motorsteuerung zu einem komplexen sensor- und sprachgesteuerten Roboterauto. Hacks rund um GPS und eine PlayStation 3 runden die Sache ab.
Inhalt
Bei der Reihenfolge der Kapitel wurde versucht – beginnend bei der Darstellung von grundlegenden Informationen – über die Lösung einfacher Aufgaben zu etwas anspruchsvolleren Techniken zu führen.
Der Mikrocontroller ESP32
Die Software erstellen
Die Stromversorgung
Rund um die Hardware
Das Chassis
Der Gleichstrommotor
Kabellose Steuerung über WiFi
Mit Sensoren Hindernisse erkennen
Eine eigene Roboterauto-App
Servo und Lichtsensor
GPS
Accelerometer / Gyroskop
PS3-Controller
Roboterauto-App
Hinweis zur Software
Die Dateien haben das Suffix (.cpp). Grund ist die Entwicklung mit PlatformIO. Mit Copy & Paste sollten sie auch in der Arduino-IDE verwendet werden können.
Practical Applications and Project with Arduino, ESP32, and RP2040
Immerse yourself in the fascinating world of control engineering with Arduino and ESP32! This book offers you a practical introduction to classic and modern control methods, including PID controllers, fuzzy logic, and sliding-mode controllers.
In the first part, you will learn the basics of the popular Arduino controllers, such as the Arduino Uno and the ESP32, as well as the integration of sensors for temperature and pH measurement (NTC, PT100, PT1000, and pH sensor).
You will learn how to use these sensors in various projects and how to visualize data on a Nextion TFT display. The course continues with an introduction to actuators such as MOSFET switches, H-bridges, and solid-state relays, which are used to control motors and actuators. You will learn to analyze and model controlled systems, including PT1 and PT2 control.
The book focuses on the implementation of fuzzy and PID controllers for controlling temperature and DC motors. Both the Arduino Uno and the ESP32 are used. The sliding-mode controller is also introduced.
In the second-to-last chapter, you will explore the basics of neural networks and learn how machine learning can be used on an Arduino. In the last chapter, there is a practical example of a fuzzy controller for feeding electricity into the household grid.
This book is the perfect choice for engineers, students, and electronics engineers who want to expand their projects with innovative control techniques.
Using the RFID Starter Kit
An Arduino board has now become ‘the’ basic component in the maker community. No longer is an introduction to the world of microcontrollers the preserve of the expert. When it comes to expanding the capabilities of the basic Arduino board however, the developer is still largely on his own. If you really want to build some innovative projects it’s often necessary to get down to component level. This can present many beginners with major problems. That is exactly where this book begins.
This book explains how a wide variety of practical projects can be built using items supplied in a single kit together with the Arduino board. This kit, called the 'RFID Starter Kit for Arduino' (SKU 17240) is not just limited to RFID applications but contains more than 30 components, devices and modules covering all areas of modern electronics.
In addition to more simple components such as LEDs and resistors there are also complex and sophisticated modules that employ the latest technology such as:
A humidity sensor
A multicolor LED
A large LED matrix with 64 points of light
A 4-character 7-segment LED display
An infra red remote-controller unit
A complete LC-display module
A servo
A stepper motor and controller module
A complete RFID reader module and security tag
On top of that you will get to build precise digital thermometers, hygrometers, exposure meters and various alarm systems. There are also practical devices and applications such as a fully automatic rain sensor, a sound-controlled remote control system, a multifunctional weather station and so much more.
All of the projects described can be built using the components supplied in the Elektor kit.
Verstehen und effektiv einsetzen
Was in der Elektronik geschieht, ist mit bloßem Auge unsichtbar. Das Instrument, mit dem sich elektrische Signale präzise visualisieren lassen und die Effekte der Elektronik für uns sichtbar werden, ist das Oszilloskop.
Leider wagt man sich beim Einstieg in die Elektronik oft ohne Oszilloskop vor. Man tappt dann im Dunkeln, sowohl praktisch als auch gedanklich. Die erste Beobachtung eines elektrischen Signals auf einem Bildschirm ist eine Offenbarung. Niemand möchte dieses Erlebnis danach noch einmal missen. Es gibt kein Zurück mehr.
Wer in der Elektronik mit Freude und Verständnis vorankommen möchte, braucht unbedingt ein Oszilloskop. Dann stellt sich zunächst die Frage: Wie wählt man das richtige Oszilloskop aus? Und kaum ist diese Frage beantwortet, tauchen bereits die nächsten auf, die sich letztlich auf eine zentrale Frage reduzieren lassen: Wie nutzt man das Oszilloskop so, dass die Anzeige die Realität der Signale korrekt widerspiegelt?
Rémy Mallard ist ein leidenschaftlicher Vermittler komplexer technischer Themen mit dem Talent, diese verständlich und fesselnd zu präsentieren. In diesem Buch beantwortet er wichtige Fragen zur Verwendung eines Oszilloskops und bietet zahlreiche Anleitungen, um die elektrischen Signale elektronischer Systeme zu erforschen und zu verstehen. Dank seines verständlichen Stils und seiner praktischen Einblicke ist dieses Buch ein wertvolles Werkzeug für alle, die ihr Elektronikwissen vertiefen möchten.
EAGLE – the “Easily Applicable Graphical Layout Editor“ is a professional-grade CAD (computer aided design) software package for the design and drafting of electronic schematics as well as the design and fabrication of printed circuit boards (PCBs).
This Advanced User Guide provides the experienced EAGLE user with insight into using some of the more advanced features of EAGLE software. It is not a guide to teach the reader the basic concepts of EAGLE, nor does it discuss the ‘how to’ of the EAGLE interface and the simpler operations and commands of the software. That is the purpose of the author’s previous title EAGLE V6 Getting Started Guide also published by Elektor.
This eBook is intended as an enduring document covering the more advanced modules, commands, and functions which make up EAGLE. It is hoped that this eBook will provide a quick, succinct reference to assist with more complex applications and uses of EAGLE – an ‘EAGLE User’s Companion’, if you like.
Complementing the EAGLE Advanced User Guide, the EAGLE User Language manual is included in this eBook in unabridged form, reproduced with permission of CadSoft GmbH.
At the time of writing, the material in this eBook covers version 7 of the EAGLE software suite.
From basics to flows for sensors, automation, motors, MQTT, and cloud services
This book is a learning guide and a reference. Use it to learn Node-RED, Raspberry Pi Pico W, and MicroPython, and add these state-of-the-art tools to your technology toolkit. It will introduce you to virtual machines, Docker, and MySQL in support of IoT projects based on Node-RED and the Raspberry Pi Pico W.
This book combines several elements into a platform that powers the development of modern Internet of Things applications. These elements are a flow-based server, a WiFi-enabled microcontroller, a high-level programming language, and a deployment technology. Combining these elements gives you the tools you need to create automation systems at any scale. From home automation to industrial automation, this book will help you get started.
Node-RED is an open-source flow-based development tool that makes it easy to wire together devices, APIs, and online services. Drag and drop nodes to create a flowchart that turns on your lights at sunset or sends you an email when a sensor detects movement. Raspberry Pi Pico W is a version of the Raspberry Pi Pico with added 802.11n Wi-Fi capability. It is an ideal device for physical computing tasks and an excellent match to the Node-RED.
Quick book facts
Project-based learning approach.
Assumes no prior knowledge of flow-based programming tools.
Learn to use essential infrastructure tools in your projects, such as virtual machines, Docker, MySQL and useful web APIs such as Google Sheets and OpenWeatherMap.
Dozens of mini-projects supported by photographs, wiring schematics, and source code. Get these from the book GitHub repository.
Step-by-step instructions on everything.
All experiments are based on the Raspberry Pi Pico W. A Wi-Fi network is required for all projects.
Hardware (including the Raspberry Pi Pico W) is available as a kit.
Downloads
GitHub
Open-Source-Code mit Arduino IDE und PlatformIO
Autonomes Fahren: GPS, Accelerometer, Gyroskop
PS3-Controller
Mikrocontroller wie der Arduino und Einplatinenrechner wie der Raspberry Pi haben sich zu beliebten Komponenten entwickelt. Dritter im Bunde ist der ESP32 der Firma Espressif. Mikrocontroller dieser Baureihe zeichnen sich durch eine Vielzahl implementierter Funktionen aus, die bei einem Arduino konventioneller Prägung mit einem Atmel-AVR-Mikrocontroller erst mit weiterer Hardware möglich sind. Prominentes Beispiel sind hier die WiFi- und Bluetooth-Funktionalitäten. Gegenüber einem Raspberry Pi zeichnen sie sich durch einen deutlich geringeren Preis aus.
Allgemeine Informationen für die Realisierung eines Roboterauto-Projekts mit dem ESP32 sind leicht zu finden. Dabei handelt es sich aber oft nur um Ausführungen zu einem Teilaspekt, ohne inhaltliche oder funktionale Abstimmung. So ist nicht nur die Beschaffung der benötigten Informationen mühselig und zeitaufwändig, sie kann auch außerordentlich fehlerträchtig sein.
Ansatzpunkt dieses Buches ist, diese Lücke zu schließen. Es geht auf verschiedene Möglichkeiten eines Chassis ein, vermittelt nötige Kenntnisse und führt schrittweise von einer einfachen Motorsteuerung zu einem komplexen sensor- und sprachgesteuerten Roboterauto. Hacks rund um GPS und eine PlayStation 3 runden die Sache ab.
Inhalt
Bei der Reihenfolge der Kapitel wurde versucht – beginnend bei der Darstellung von grundlegenden Informationen – über die Lösung einfacher Aufgaben zu etwas anspruchsvolleren Techniken zu führen.
Der Mikrocontroller ESP32
Die Software erstellen
Die Stromversorgung
Rund um die Hardware
Das Chassis
Der Gleichstrommotor
Kabellose Steuerung über WiFi
Mit Sensoren Hindernisse erkennen
Eine eigene Roboterauto-App
Servo und Lichtsensor
GPS
Accelerometer / Gyroskop
PS3-Controller
Roboterauto-App
Hinweis zur Software
Die Dateien haben das Suffix (.cpp). Grund ist die Entwicklung mit PlatformIO. Mit Copy & Paste sollten sie auch in der Arduino-IDE verwendet werden können.