Praktische Anwendungen und Projekte mit Arduino, ESP32 und RP2040
Tauchen Sie ein in die faszinierende Welt der Regelungstechnik mit Arduino und ESP32! Dieses Buch bietet Ihnen einen praxisnahen Einstieg in die klassischen und modernen Methoden der Regelung, darunter PID-Regler, Fuzzy-Logik und Sliding-Mode-Regler.
Im ersten Teil lernen Sie die Grundlagen der beliebten Arduino-Controller, wie den Arduino Uno und den ESP32, sowie die Integration von Sensoren für Temperatur- und pH-Messung (NTC, PT100, PT1000, pH-Sensor). Sie erfahren, wie diese Sensoren in verschiedenen Projekten eingesetzt werden und wie Sie Daten auf einem Nextion TFT-Display visualisieren.
Weiter geht es mit der Einführung in Stellglieder wie MOSFET-Schalter, H-Brücken und Solid-State-Relais, die zur Steuerung von Motoren und Aktoren verwendet werden. Sie lernen, Regelstrecken zu analysieren und zu modellieren, einschließlich PT1- und PT2-Regelungen.
Der Schwerpunkt des Buches liegt auf der Implementierung von Fuzzy- und PID-Reglern zur Regelung von Temperatur und DC-Motoren. Dabei werden sowohl der Arduino Uno als auch der ESP32 eingesetzt. Zudem wird der Sliding-Mode-Regler vorgestellt.
Im vorletzten Kapitel erkunden Sie die Grundlagen neuronaler Netze und lernen, wie maschinelles Lernen auf einem Arduino eingesetzt werden kann. Im letzten Kapitel gibt es noch ein praktisches Beispiel für einen Fuzzy-Regler zur Stromeinspeisung ins Hausnetz.
Dieses Buch ist die perfekte Wahl für Ingenieure, Studierende und Elektroniker, die ihre Projekte mit innovativen Regelungstechniken erweitern möchten.
With Examples for Arduino UNO, Raspberry Pi Pico and ESP32
Programming small electronic systems has never been more accessible. Tasks that once demanded expensive tools, specialized hardware, and deep electrical engineering expertise can now be tackled with low-cost development boards and approachable software. At the centre of this shift is the Arduino environment, which provides a unified and familiar way to program a wide range of microcontroller platforms—from classic AVR boards like the Arduino UNO to modern ARM-based boards such as the Raspberry Pi Pico, and powerful Wi-Fi-enabled devices like the ESP32.
This book introduces embedded programming through the core idea that defines all microcontrollers: reading inputs, processing information, and controlling outputs in a predictable loop. The Arduino environment abstracts much of the hardware complexity, allowing you to focus on behaviour rather than implementation details. With just a few lines of code, you can blink LEDs, read sensors, control motors, and communicate with other devices.
While the Arduino UNO, Raspberry Pi Pico, and ESP32 boards differ greatly in performance and features, they share the same fundamental building blocks: digital and analog I/O, timers, serial communication, PWM, interrupts, and power management. Learning these concepts within the Arduino framework builds skills that transfer easily across platforms and scale toward more advanced applications.
By exploring multiple boards while maintaining a consistent programming approach, this book helps you progress from simple experiments to confidently produce well-structured designs—showing that embedded development can be both practical and enjoyable.
For Raspberry Pi, ESP32 and nRF52 with Python, Arduino and Zephyr
Bluetooth Low Energy (BLE) radio chips are ubiquitous from Raspberry Pi to light bulbs. BLE is an elaborate technology with a comprehensive specification, but the basics are quite accessible.
A progressive and systematic approach will lead you far in mastering this wireless communication technique, which is essential for working in low power scenarios.
In this book, you’ll learn how to:
Discover BLE devices in the neighborhood by listening to their advertisements.
Create your own BLE devices advertising data.
Connect to BLE devices such as heart rate monitors and proximity reporters.
Create secure connections to BLE devices with encryption and authentication.
Understand BLE service and profile specifications and implement them.
Reverse engineer a BLE device with a proprietary implementation and control it with your own software.
Make your BLE devices use as little power as possible.
This book shows you the ropes of BLE programming with Python and the Bleak library on a Raspberry Pi or PC, with C++ and NimBLE-Arduino on Espressif’s ESP32 development boards, and with C on one of the development boards supported by the Zephyr real-time operating system, such as Nordic Semiconductor's nRF52 boards.
Starting with a very little amount of theory, you’ll develop code right from the beginning. After you’ve completed this book, you’ll know enough to create your own BLE applications.
Learn, Build, and Understand Electronics – with Elektor
Projects, Expert Knowledge, Archive Access, and Exclusive Discounts – All in One Membership
Would you like to learn electronics, develop your own circuits, and gain a better understanding of modern technologies? Elektor Magazine has been one of the leading sources of information for electronics engineers, developers, start-ups, and companies for 65 years. With an Elektor Green Membership, you get:
✅ The international electronics magazine Elektor (in digital format)
✅ Access to the Elektor archive with 65 years of electronics know-how
✅ DIY projects, tested circuits, in-depth reviews and tutorials
✅ Exclusive member discounts at Elektor.com
Why Elektor?
For 65 years, Elektor has stood for in-depth electronics knowledge, practical projects, and innovative technologies.
From microcontrollers and embedded systems to Raspberry Pi, Arduino, and ESP32, as well as IoT, AI, measurement technology, audio, RF, and robotics, Elektor covers the key platforms and application areas of modern electronics.
Whether you are a beginner, maker, or professional – Elektor helps you take your skills to the next level.
Who Is This Membership for?
Beginners – Start your journey into electronics with clear fundamentals and first projects
Makers – Discover new projects, ideas, and inspiration for your own developments
Professionals & Engineers – Stay up to date with modern technologies and deepen your expertise
Your Benefits at a Glance
Magazine (Digital) – Receive every issue digitally, delivered straight to your inbox
65 Years of Electronics Knowledge – Access the extensive Elektor archive anytime (since 1974)
Hands-on Projects – Turn your ideas into reality with guides, circuits, and tutorials
Exclusive Discounts – Save on every purchase at Elektor.com
Unlock All Elektor Benefits Today!
Free Membership
Green Membership
❌ 8x Elektor Magazine (Digital Edition) as PDF
✅ 8x Elektor Magazine (Digital Edition) as PDF
❌ 12 Months of Access to the Full Elektor Archive
✅ 12 Months of Access to the Full Elektor Archive
❌ Access to Over 5,000 Gerber Files
✅ Access to Over 5,000 Gerber Files
❌ 10% Member Discount at Elektor.com
✅ 10% Member Discount at Elektor.com
✅ Read Elektor weekly every Friday
✅ Read Elektor weekly every Friday
ℹ️ Do you prefer reading Elektor Magazine in print? Find out everything about the Elektor Gold Membership (Print) here.
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.
Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
PIO programmeren op de Raspberry Pi PicoNegen instructies, veel mogelijkheden
AI buiten de browser brengenAI-CLI's gebruiken voor het coderen, compileren en valideren van embedded projecten
De Scrutiny DebuggerDebuggen, visualiseren en testen van code in Embedded C/C++
Sigfox breakout board (1)Een zelfgebouwde radio BoB
Low-Noise voeding (2)Constructie, montage en praktische implementatie
Eenvoudige signaalgenerator met de RP2040Analoge en digitale signalen voor ongeveer €10
De toekomst van slimme huizen verkennen met Matter en Edge AIBieden de nieuwste updates van Matter en de opkomst van Edge AI technici eindelijk de tools om de intelligente, slimme huizen te bouwen die gebruikers zijn beloofd?
Differentiële druksensorenVoorspellend onderhoud in HVAC-systemen
Security by designTechnische basisprincipes beperken storingen
Embedded security is niet langer optioneel
CRA en PQC herzien prioriteiten voor embedded securityWaarom zelfs kleine IoT- en industriële bedrijven een upgradeplan nodig hebben
embedded world 2026Een interview met Benedikt Weyerer, Executive Director embedded world
Praktijkervaring met I3CGebruik van hardware van ST en Microchip
Het BLEnky-projectSnelle prototyping voor Bluetooth Low Energy toepassingen
Pulsbreedtemodulatievan een eenvoudige aan/uit-thermostaat naar een rimpelloos DC-signaal
AudiotronicaOorstrelende elektronica voor zelfbouw
Uit het leven gegrepenRead the f...ing manual!
ESP32 audio transceiver board (Deel 4)Afstemmen van de kloksignalen en een bekabelde versie
2026: An AI OdysseyDe kater van Vibe-Coding in 2025
Symmetrische DC-belastingStatische of dynamische en symmetrische gelijkstroombelasting
Gezichten tellen met MaixCAMEen eenvoudige methode om de omvang van het publiek vast te leggen
This book details the use of the ARM Cortex-M family of processors and the Arduino Uno in practical CAN bus based projects. Inside, it gives a detailed introduction to the architecture of the Cortex-M family whilst providing examples of popular hardware and software development kits. Using these kits helps to simplify the embedded design cycle considerably and makes it easier to develop, debug, and test a CAN bus based project. The architecture of the highly popular ARM Cortex-M processor STM32F407VGT6 is described at a high level by considering its various modules. In addition, the use of the mikroC Pro for ARM and Arduino Uno CAN bus library of functions are described in detail.
This book is written for students, for practising engineers, for hobbyists, and for everyone else who may need to learn more about the CAN bus and its applications. The book assumes that the reader has some knowledge of basic electronics. Knowledge of the C programming language will be useful in later chapters of the book, and familiarity with at least one microcontroller will be an advantage, especially if the reader intends to develop microcontroller based projects using CAN bus.
The book should be useful source of reference to anyone interested in finding an answer to one or more of the following questions:
What bus systems are available for the automotive industry?
What are the principles of the CAN bus?
What types of frames (or data packets) are available in a CAN bus system?
How can errors be detected in a CAN bus system and how reliable is a CAN bus system?
What types of CAN bus controllers are there?
What are the advantages of the ARM Cortex-M microcontrollers?
How can one create a CAN bus project using an ARM microcontroller?
How can one create a CAN bus project using an Arduino microcontroller?
How can one monitor data on the CAN bus?
Construisez votre contrôleur RISC-VDébuter sur le noyau logiciel RISC-V NEORV32 pour FPGA à faible coût
Tracer des graphiques avec ArduinoC?est facile avec le traceur sériel d'Arduino
Carte CLUE d'AdafruitUne solution intelligente pour les projets IoT
Carte tampon pour le Raspberry Pi 400Protection des entrées/sorties
Cartes Raspberry Pi RP2040 à gogo
Approche DIY de la sécurité et de l'espionnage électroniqueChauffez ou refroidissez la SRAM
Identification des composantsTrucs et astuces, bonnes pratiques et autres informations utiles
Interrupteur sans contact DIY
Démarrer en électronique? (12)Adaptation d?impédance et transformateurs
Quoi de neuf dans le développement de l'embarqué ?Rust et mises à jour des déploiements IoT
Infographie
Les bénéfices de la 5G pour l?industrie et l?automobile
Relais à bobine mobile
Visite à domicileChacun son tour
Voyage dans les réseaux neuronaux (4e partie)Les neurones embarqués
Lévitation magnétique : encore plus simpleTroisième version : la plus compacte
Programmation d'automates avec le Raspberry Pi et le projet OpenPLCVisualisation des programmes PLC avec AdvancedHMI
Sur le vifEmballé, c?est pesé
Sous votre radarDes microcontrôleurs que vous devriez connaître
Surveillance et débogage sans filUne solution pour Arduino, ESP32 et Cie
Station de mesure de température et d'humidité, au format de pocheUtilisation de modules prêts à l'emploi
Réparation des batteries au lithiumÉconomisez de l'argent et augmentez la puissance !
Création d?interfaces graphiques en PythonGénérateur de mèmes
Trois questions fondamentalesPourquoi, avec quoi, avec qui ?
Hexadoku
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.
This bundle contains the AI Fusion Lab Kit – which includes over 450 components – and the book Physical AI with Raspberry Pi, offering a comprehensive, hands-on introduction to AI, electronics, and Python programming.
Build practical projects that combine computer vision, voice interaction, sensors, motors, and large language models. The included book guides you step by step from Raspberry Pi setup and hardware control to advanced applications using OpenCV, MediaPipe, YOLO, OpenAI services, and local Ollama models.
SunFounder AI Fusion Lab Kit for Raspberry Pi (450+ parts)
The AI Fusion Lab Kit transforms a Raspberry Pi into a complete platform for learning artificial intelligence, electronics, and Python programming. It supports Raspberry Pi 5, 4B, 3B+, 3B, and Zero 2 W, as well as popular AI models and services including ChatGPT, Gemini, Grok, DeepSeek, Qwen, Doubao, and Ollama.
With its camera, Pan-Tilt HAT, 10-axis sensor module, microphone, speaker, and electronic components, the kit enables users to build interactive AI projects that combine voice, vision, movement, and sensor data. It is suitable for beginners, students, makers, and anyone who wants to explore practical AI applications.
Build Multimodal AI Projects
Combine large language models with speech recognition, text-to-speech, camera vision, sensors, and breadboard circuits. Create projects that can listen, speak, see, react, and interact with their environment while learning how modern AI systems work.
Explore AI Vision and Object Tracking
Use YOLO, OpenCV, and MediaPipe to detect and track objects, colors, faces, and human movement. The motorized Pan-Tilt HAT allows the camera to follow targets automatically, demonstrating how computer vision and motion control work together.
Voice AI with the Fusion HAT+
The Fusion HAT+ simplifies hardware control through a unified Python library and supports safe Raspberry Pi shutdown. Its integrated microphone and speaker make it easy to develop voice-controlled assistants and other conversational AI applications.
Compatible with Raspberry Pi 5, 4B, 3B+, 3B, and Zero 2 W
Supports multiple cloud-based and local AI models
Includes camera, Pan-Tilt HAT, 10DOF module, microphone, and speaker
Projects covering voice AI, computer vision, sensors, and electronics
Video lessons, documentation, and sample code
Book: Physical AI with Raspberry Pi
Using the Raspberry Pi and the AI Fusion Lab Kit, this book takes you step by step from the fundamentals of hardware interfacing to the development of intelligent systems capable of seeing, listening, speaking, and making decisions. Whether you are a student, educator, maker, or professional engineer, you will gain valuable experience through projects designed to build both knowledge and confidence.
Beginning with system setup, GPIO programming, sensors, displays, motors, and automation techniques, the book gradually introduces more advanced topics, including speech recognition, text-to-speech synthesis, conversational AI, object recognition, and machine learning. Along the way, you will learn how to create voice-controlled devices, intelligent assistants, camera tracking systems, environmental monitoring solutions, and AI-powered embedded applications.
Explore modern technologies such as OpenAI services, Ollama local large language models, OpenCV, MediaPipe, and YOLO object detection while gaining practical experience with real-world applications used in robotics, industrial automation, smart devices, and autonomous systems. You’ll discover how intelligent software can interact with sensors, cameras, motors, and displays to create systems that respond naturally to the world around them.
Rather than simply following code examples, you will be encouraged to experiment, customize, and expand every project. The techniques and skills developed throughout this book provide a solid foundation for future innovation, rapid prototyping, research, and product development. If you are ready to move beyond traditional electronics and explore the future of intelligent embedded systems, this book will guide you every step of the way.
This bundle contains:
SunFounder AI Fusion Lab Kit for Raspberry Pi (normal price: €100)
Book: Physical AI with Raspberry Pi (normal price: €45)
Not included
Raspberry Pi
59 Experiments with Arduino IDE and Python
The main aim of this book is to teach the Arduino IDE and MicroPython programming languages in ESP32 based projects, using the highly popular ESP32 DevKitC development board. Many simple, basic, and intermediate level projects are provided in the book using the Arduino IDE with ESP32 DevKitC. All projects have been tested and work. Block diagrams, circuit diagrams, and complete program listings of all projects are given with explanations. In addition, several projects are provided for programming the ESP32 DevKitC using MicroPython. The projects provided in this book are designed to teach the following features of the ESP32 processor:
GPIOs
Touch sensors
External interrupts
Timer interrupts
I²C and I²S
SPI
PWM
ADC
DAC
UART
Hall sensor
Temperature sensor
Infrared controller
Reading and writing to SD card
Reading and writing to flash memory
RTC timer
Chip ID
Security and encryption
Wi-Fi and network programming
Bluetooth BLE programming
Communication mobile devices
Low power design
ESP-IDF programming
The projects have been organized with increasing levels of difficulty. Readers are encouraged to tackle the projects in the order given. A specially prepared hardware kit (SKU 18305) is available from Elektor. With the help of this hardware, it should be easy and fun to build the projects in this book.
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
The ESP-BLASTA Mini ESP32 Rocket Drone That Flies 100 km/h+
Wireless Workshop (1)Radio Modules Unlocked: 433 MHz CC1101 Sub-GHz Transceiver
AM TransmitterWith Square/Sine Wave Generator on Raspberry Pi Pico
STM32Cube Innovation ChallengeCompete with Your Best STM32C5 Design
CoffeeCallerHow a Long Hallway Led to a Custom Mesh-Networked PCB
AudiotronicsTotal Harmonic Distortion
Elektor at 65Projects from Septembers and Octobers Past
Bluetooth Channel Sounding for Asset TrackingCentimeter-Level Precision Ranging for Next-Generation IoT
2026: An AI OdysseyQuantum Computing Is Not the Next GPU
Protecting the Cloud Demands Security at the Edge
First Experiences with the HackRF ProPractical Tests with the New SDR Hardware
Modem Upgrade from GPRS/2G to LTE/4GUsing a Wireless Alarm Control Panel as an Example
Loop Antenna with RF BricksPart 1: A DIY Shortwave Antenna with Adjustable Directivity
Internet Radio to AM ConverterUsing an ESP32-S3 as Transmitter
Err-lectronics
mioty — An OverviewFraunhofer’s Approach to LPWAN
Workbench WisdomPractical Tips from Experts
Walter, the Compact IoT ModulePart 2: Accessing Weather and Data Services
All-in-One AI Learning and Development Platform for Edge Intelligence
This NVIDIA Jetson-based AI Starter Kit is a versatile platform for learning, development, and hands-on experimentation in Edge AI.
Designed for use with the NVIDIA Jetson Orin Nano, the kit combines an 11.6-inch IPS display, an 8-megapixel pan-tilt camera, and an AI voice interaction system.
It includes 30 functional modules and 38 carefully designed Python courses that progress from beginner to advanced level. The course content covers Python fundamentals, sensor technology, AI vision, and image recognition.
With step-by-step practical exercises ranging from basic programming to real-world computer vision applications, this kit provides an ideal platform for students, makers, developers, and anyone looking to explore artificial intelligence and edge computing.
Please note: The NVIDIA Jetson Orin Nano is not included.
Features
Designed for the NVIDIA Jetson Orin Nano
AI voice interaction module
8 MP camera with pan-tilt control
Supports object and face tracking
No soldering or complex wiring required
Built-in 11.6-inch IPS display
30 functional modules
38 step-by-step Python lessons
I²C, UART, and GPIO expansion interfaces
Portable carrying case included
Specifications
Main Processor
Jetson Orin Nano
Number of Sensors
30
Sensor Board Design
Integrated sensor board, no soldering or complex wiring required
Screen
11.6-inch IPS Screen
Screen Resolution
1366 x 768
Camera
IMX219 8MP
Expansion Interfaces
2x I²C, 1x UART, 1x IO D13, 1xIO D12
Programming Environment
Based on Python
Number of Tutorials
38 creative tutorials
Target Audience
Students, teachers, hardware enthusiasts
Application Scenarios
Ideal for learning AI programming, Jetson Orin Nano basics
Dimensions
300 x 200 x 100 mm
Module List
Module
Quantity
Temperature & Humidity Sensor
1 pcs
Button
4 pcs
Ultrasonic Ranging Sensor
1 pcs
Light Sensor
1 pcs
Linear Potentiometer
1 pcs
Buzzer
1 pcs
LCD
1 pcs
Infrared Remote
1 pcs
Relay
1 pcs
NFC
1 pcs
PIR Motion Sensor
1 pcs
Joystick
1 pcs
4-Digital Display
1 pcs
LED
1 pcs
Microphone
1 pcs
Speaker
1 pair
Vibration Motor
1 pcs
Touch Sensor
1 pcs
8x8 RGB Matrix
1 pcs
Atmospheric pressure sensor
1 pcs
Tilt Switch
1 pcs
Stepper Motor
1 pcs
Accelerometer & Gyro
1 pcs
Gas Sensor (MQ2)
1 pcs
Hall Sensor
1 pcs
Rotary Encoder
1 pcs
U-shaped photoelectric switch
1 pcs
NTC
1 pcs
Servo
2 pcs
Monocular camera
1 pcs
Included
1x Elecrow AI Starter Kit for Jetson Orin Nano
1x IR Remote Control
1x NFC Card
1x 128 GB SD Card
1x 40-pin GPIO Cable
2x 22-pin FPC Cable
2x 24-pin FPC Cable
1x Jetson DP & USB Adapter Board
Not included
NVIDIA Jetson Orin Nano
Downloads
Manual
Wiki
OpenClaw Install and Config Guide