Diese Ausgabe steht allen GOLD- und GREEN-Mitgliedern auf der ElektorMagazine-Website zum Download bereit!
Sie sind noch kein Mitglied? Hier klicken!
Der ESP-BLASTEine Mini-Raketendrohne mit ESP32, die über 100 km/h erreicht
Wireless Workshop (1)Freigeschaltetes Funkmodul: 433-MHz-CC1101-Sub-GHz-Transceiver
AM-Sendermit Rechteck-/Sinuswellengenerator auf Raspberry Pi Pico
STM32Cube Innovations ChallengeTreten Sie mit Ihrem besten STM32C5-Design an
CoffeeCallerWie ein langer Flur zu einer maßgefertigten Mesh-Netzwerk-Platine führte
AudiotronicsKlirrfaktor
Elektor ist 65Projekte aus früheren September/Oktober-Ausgaben
Geräteortung durch Bluetooth Channel SoundingZentimetergenaue Entfernungsmessung im IoT der nächsten Generation
2026: Eine KI-OdysseeQuantencomputing ist nicht die nächste GPU
Cloud-Schutz durch Edge-Sicherheit
Erste Erfahrungen mit dem HackRF ProPraktische Tests mit der neuen SDR-Hardware
Herausforderung ElektromobilitätEffiziente Lötlösungen für moderne Fahrzeugtechnik
Modem-Update von GPRS/2G auf LTE/4Gam Beispiel einer Funk-Alarmzentrale
Loop-Antenne mit RF BricksTeil 1: Kurzwellen-Antenne mit einstellbarer Richtwirkung im Selbstbau
Internetradio-zu-AM-KonverterVerwendung eines ESP32-S3 als Sender
Projekt 2.0
mioty – ein ÜberblickLPWAN à la Fraunhofer
Werkbank-WeisheitPraktische Tipps von Experten
Walter, das kompakte IoT-ModulTeil 2: Zugriff auf Wetter- und Datendienste
Projects Using Arduino IDE and the LVGL Graphics Library
The ESP32 is probably one of the most popular microcontrollers used by many people, including students, hobbyists, and professional engineers. Its low cost, coupled with rich features makes it a popular device to use in many projects. Recently, a board called the ESP32 Cheap Yellow Display (CYD for short) is available from its manufacturers. The board includes a standard ESP32 microcontroller together with a 320x240 pixel TFT display. Additionally, the board provides several connectors for interfaces such as GPIO, serial port (TX/RX), power and Ground. The inclusion of a TFT display is a real advantage as it enables users to design complex graphics-based projects without resorting to an external LCD or graphics displays.
The book describes the basic hardware of the ESP32 CYD board and provides details of its on-board connectors. Many basic, simple, and intermediate-level projects are given in the book based on the ESP32 CYD, using the highly popular Arduino IDE 2.0 integrated development environment. The use of both the basic graphics functions and the use of the popular LVGL graphics library are discussed in the book and projects are given that use both types of approaches.
All the projects given in the book have been tested and are working. The block diagram, circuit diagram, and the complete program listings and program descriptions of all the projects are given with explanations. Readers can use the LVGL graphics library to design highly popular eye-catching full-color graphics projects using widgets such as buttons, labels, calendars, keypads, keyboards, message boxes, spinboxes, sliders, charts, tables, menus, bars, switches, drop-down lists, animations, and many more widgets.
This complete STM32 microcontroller programming course features a textbook, a component kit, hands-on projects, and a comprehensive online course. It is ideal for step-by-step learning of embedded systems programming in MicroPython using a practical, hands-on approach.
A Practical Introduction to Embedded Systems with the STM32
This course is designed for people who are new to embedded systems and looking for a structured, example-driven way to get started. A kit of parts comprising LEDs and resistors, switches, sensors and actuators, displays, a breadboard and wires, and more is included. These are used in the course to illustrate example applications.
No prior experience with MicroPython or embedded development is required. Each section features hands-on examples and mini projects designed to reinforce key concepts and inspire deeper exploration. By the end of the course, you’ll be able not only to reproduce the examples but also to build on them with your own ideas and applications.
What Will You Learn?
Microcontroller programming in MicroPython on the STM32 using the Thonny IDE
Working with Digital I/O, read buttons and encoders, control LEDs and relays
Read analog inputs, voltages, and analog sensors
Generating analog output signals and PWM
Use serial communication like UART, I²C and SPI to control displays and read digital sensors and SD cards
Managing time
Working with interrupts
Real-time sensor input and control via buttons, LEDs, and displays
Control actuators like relays and servo motors
Who Is It For?
Students and self-learners exploring embedded systems
Makers and IoT enthusiasts looking to improve their hardware skills
Educators and trainers seeking ready-to-teach material
What's Inside the Box?
Access to the full course on the Elektor Academy Pro Learning Platform
STM32 NUCLEO-F411RE microcontroller board
Book: MicroPython for STM32
Downloadable project files for every module
Component Box:
2× LED, red, 5 mm
LED, green, 5 mm
3× Resistor, 470 Ω, 0.25 W
LDR
Potentiometer, 10 kΩ, linear
Pushbutton
Rotary encoder module
Relay module
DHT22 Humidity & Temperature Sensor
TM1637-compatible 4-digit 7-segment display
MPU-6050 IMU with headers
SSD1306-compatible I²C OLED display
Micro SD card adapter with header
Buzzer
SG90 Micro Servo
ILI9341-compatible SPI 240×320 TFT display
20× Jumper wires
Breadboard
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.
A Project-Based Introduction to Microcontrollers and Drone Control
A Practical Introduction to Embedded Systems with the ESP32
This book is intended for readers who are new to embedded systems and looking for a structured, example-driven way to begin. If you’ve explored general-purpose electronics or Arduino-based resources but found them too broad or lacking in practical application, this guide offers a more focused alternative.
With a small, affordable set of components – such as LEDs, sensors, an OLED screen and a motion sensor – you’ll build and work with the same hardware setup throughout the book. This allows you to focus on learning and experimenting without constant reconfiguration.
Topics include:
Understanding and programming the ESP32 microcontroller
Using the Arduino IDE to write and deploy code
Exploring cyber-physical systems, culminating in basic drone control
No prior experience with Arduino or embedded development is required. Each section includes hands-on examples and mini-projects designed to reinforce core concepts and encourage deeper exploration. By the end, you’ll be equipped not only to reproduce the book’s examples, but also to extend them toward your own ideas and applications.
Whether your interest is in learning embedded programming, building interactive systems, or exploring educational drone control, this book provides a clear and practical path to getting started.
Die chinesische Firma Espressif Systems hat den neuen Mikrocontroller ESP32 entwickelt, das Nachfolgemodell des ESP8266-WiFi-Chips. Zusätzlich zu allen ESP8266-Funktionen stellt der ESP32 nun Bluetooth-Funk, einen größeren SRAM-Datenspeicher, mehr GPIOs, mehr Schnittstellen, einen Touch-Sensor, einen Temperatursensor, höhere CPU-Geschwindigkeit, einen CAN-Bus, ADCs mit höherer Auflösung, DACs und Sicherheitsfunktionen bereit. Der ESP32 ist Arduino-kompatibel.
Dieses Buch ist eine Einführung in den ESP32-Prozessor und beschreibt die wichtigsten Hardware- und Software-Features dieses Chips. Das Hauptziel des Buches ist es, dem Leser zu vermitteln, wie man ESP32-Hard- und Software in praktischen Projekten einsetzt, vor allem durch Verwendung des hochmodernen ESP32-Entwicklungsboards.
Im Buch sind viele einfache, grundlegende und weitere Projekte mittlerer Schwierigkeit auf Basis des Entwicklungsboards ESP32 DevKitC samt der beliebten Arduino-IDE und der Programmiersprache MicroPython enthalten. Die Projekte sind nach aufsteigender Komplexität organisiert.
A Project-Based Introduction to Microcontrollers and Drone Control
A Practical Introduction to Embedded Systems with the ESP32
This book is intended for readers who are new to embedded systems and looking for a structured, example-driven way to begin. If you’ve explored general-purpose electronics or Arduino-based resources but found them too broad or lacking in practical application, this guide offers a more focused alternative.
With a small, affordable set of components – such as LEDs, sensors, an OLED screen and a motion sensor – you’ll build and work with the same hardware setup throughout the book. This allows you to focus on learning and experimenting without constant reconfiguration.
Topics include:
Understanding and programming the ESP32 microcontroller
Using the Arduino IDE to write and deploy code
Exploring cyber-physical systems, culminating in basic drone control
No prior experience with Arduino or embedded development is required. Each section includes hands-on examples and mini-projects designed to reinforce core concepts and encourage deeper exploration. By the end, you’ll be equipped not only to reproduce the book’s examples, but also to extend them toward your own ideas and applications.
Whether your interest is in learning embedded programming, building interactive systems, or exploring educational drone control, this book provides a clear and practical path to getting started.
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
Accelerating IoT Innovation
A Color E-Ink Wi-Fi Picture Frame
ESP-Launchpad TutorialFrom Zero to Flashing in Minutes
ESP32 and ChatGPTOn the Way to a Self-Programming System…
Walkie-Talkie with ESP-NOWNot Quite Wi-Fi, Not Quite Bluetooth!
From Idea to Circuit with the ESP32-S3A Guide to Prototyping with Espressif Chips
AIoT Chip InnovationAn Interview With Espressif CEO Teo Swee-Ann
Simulate ESP32 with WokwiYour Project’s Virtual Twin
Trying Out the ESP32-S3-BOX-3A Comprehensive AIoT Development Platform
Electronics Workspace EssentialsInsights and Tips From Espressif Engineers
The ESP RainMaker StoryHow We Built “Your” IoT Cloud
Assembling the Elektor Cloc 2.0 KitAn Elektor Product Unboxed by Espressif
Unleashing the ESP32-P4The Next Era of Microcontrollers
Rust + EmbeddedA Development Power Duo
Who Are the Rust-Dacious Embedded Developers?How Espressif is Cultivating Embedded Rust for the ESP32
Espressif’s Series of SoCs
Building a PLC with Espressif SolutionsWith the Capabilities and Functionality of the ISOBUS Protocol
The ESP32-S3 VGA BoardBitluni’s Exciting Journey Into Product Design
Acoustic Fingerprinting on ESP32Song Recognition With Open-Source Project Olaf
Circular Christmas Tree 2023A High-Tech Way to Celebrate the Holiday Season
A Simpler and More Convenient LifeAn Amateur Project Based on the Espressif ESP8266 Module
How to Build IoT Apps without Software ExpertiseWith Blynk IoT Platform and Espressif Hardware
Building a Smart User Interface on ESP32
Quick & Easy IoT Development with M5Stack
Prototyping an ESP32-Based Energy Meter
A Value-Added Distributor for IoT and More
In-Depth Insights: Interview With Arduino on the Nano ESP32Alessandro Ranellucci and Martino Facchin Discuss Espressif Collaboration
Your AIoT Solution ProviderInsights From Espressif
Streamlining MCU Development With ESP-IDF Privilege Separation
An Open-Source Speech Recognition Server……and the ESP BOX
The Thinking EyeFacial Recognition and More Using the ESP32-S3-EYE
ESP32-C2-Based Coin Cell SwitchDesign and Performance Evaluation
The Smart Home Leaps Forward with MatterUnlocking Smart Home IoT Potential
Tech the Future: Where Is Smart Home IoT Headed?
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
Diese Ausgabe steht allen GOLD- und GREEN-Mitgliedern auf der ElektorMagazine-Website zum Download bereit!
Sie sind noch kein Mitglied? Hier klicken!
Beschleunigung der IoT-Innovation
Ein WLAN-Bilderrahmen mit farbigem E-Ink-Display
Tutorial ESP-LaunchpadVon Null auf Flash in wenigen Minuten
ESP32 und ChatGPTAuf dem Weg zu einem selbst-programmierenden System
Walkie-Talkie mit ESP-NOWNicht ganz WLAN, nicht ganz Bluetooth, aber...
Von der Idee zur Schaltung mit dem ESP32-S3Ein Leitfaden für die Prototypentwicklung mit Espressif-Chips
AIoT-Chip-InnovationEin Interview mit Espressif-CEO Teo Swee-Ann
ESP32 mit Wokwi simulierenDer virtuelle Zwilling Ihres Projekts
Ausprobiert: die ESP32-S3-BOX-3Eine umfassende AIoT-Entwicklungsplattform
Mein Elektronik-ArbeitsplatzEinblicke und Tipps von Espressif-Ingenieuren
Die ESP-RainMaker-StoryWie wir „Ihre“ IoT-Cloud entwickelten
Zusammenbau des Elektor-Kits Cloc 2.0Ein Elektor-Produkt, ausprobiert von Espressif
Ausgepackt: der ESP32-P4Die nächste Ära der Mikrocontroller
Rust + EmbeddedEin Power-Duo für die Entwicklung
Wer sind die Rust-begeisterten Embedded-Entwickler?Wie Espressif Embedded Rust für den ESP32 kultiviert
Zeitleiste der SoC-Reihe von Espressif
Aufbau einer SPS mit Espressif-LösungenMit den Fähigkeiten und Funktionen des ISOBUS-Protokolls
Das ESP32-S3-VGA-BoardBitlunis aufregende Reise in die Produktentwicklung
Akustischer Fingerabdruck mit ESP32Songerkennung mit dem Open-Source-Projekt Olaf
Zirkularer Weihnachtsbaum 2023Weihnachtszeit, eine High-Tech-Annäherung
Für ein einfacheres und komfortableres LebenEin Amateurprojekt basierend auf dem ESP8266-Modul von Espressif
Wie man IoT-Apps ohne Software-Expertise erstelltMit der Blynk IoT-Plattform und Espressif-Hardware
Erstellung einer intelligenten Benutzeroberfläche auf ESP32
Schnelle und einfache IoT-Entwicklung mit M5Stack
Prototyping eines Energiezählers mit ESP32
Ein Distributor für IoT und mehr – mit Mehrwert
Tiefe Einblicke: Ein Interview mit Arduino über den Nano ESP32Alessandro Ranellucci und Martino Facchin diskutieren über die Zusammenarbeit mit Expressif
IoT-Chip-InnovationenEinblicke von und in Espressif
Rationelle MCU-Programmierung dank ESP Privilege Separation
Ein Open-Source-Spracherkennungsserver...und die ESP-BOX
Das mitdenkende AugeGesichtserkennung und mehr mit ESP32-S3-EYE
Knopfzellen-Sender mit ESP32-C2Entwurf und Leistungsbewertung
Matter – ein Meilenstein für das Smart HomeSo schalten Sie das IoT-Potenzial von Smart Home frei
Tech the Future: Wohin steuert Smart Home IoT?
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.
Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
De ESP-BLASTEen mini ESP32 raketdrone die ruim 100 km/u vliegt
STM32Cube Innovation-ChallengeDoe mee met je beste STM32C5-ontwerp
Wireless workshop (1)Radiomodules uitgelegd: 433 MHz CC1101 sub-GHz-transceiver
AM-zenderMet sinus- en blokgolfgenerator op Raspberry Pi Pico
AudiotronicaDe vervormingsfactor
CoffeeCallerOmroepsysteem met mesh-netwerk en Zephyr gebaseerde software
Elektor wordt 65Projecten uit voorgaande september- en oktobermaanden
Bluetooth Channel Sounding voor het volgen van objectenAfstandsmeting met centimeterprecisie voor het IoT van de volgende generatie
2026: Een AI-odysseeKwantumcomputing is geen volgende GPU
Om de cloud te beveiligen, is edge-beveiliging nodig
Eerste ervaringen met de HackRF ProPraktische tests met de nieuwe SDR-hardware
Modemupgrade van GPRS/2G naar LTE/4GEen draadloos alarmsysteem als voorbeeld
Lusvormige antenne met RF-bouwstenenDeel 1: Een zelfbouw kortegolfantenne met instelbare richtingsgevoeligheid
Internetradio naar AM-converterMet een ESP32-S3 als zender
Err-lectronics
Mioty, een overzichtFraunhofer's aanpak van LPWAN
WerkbankwijsheidPraktische tips van experts
Walter, de compacte IoT-moduleDeel 2: Toegang tot weer- en datadiensten
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.