Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
For Eyes and Ears
Video Output with Microcontrollers (1)Composite Video
electronica 2022News from the world’s leading electronics trade show
ESP32 CameraSo Simple, It Doesn’t Even Have to Use Wi-Fi
ATX Power Supply for Raspberry Pi
32 Ω Headphone AmplifierSimple But High-Quality 3-Chip Solution
SDR Radio-Controlled clocksFive Time Signals, Six Displays
Starting Out in ElectronicsSpecial Diodes
From Life's ExperienceMusings on the Quality of Things
Reverse-Engineering a Bluetooth Low Energy LED BadgeHow to Control a BLE Device with a Python Script
MakePython ESP32 Development KitEverything in a Box
THD Measurement with an Oscilloscope and FFTEasily Calculate the Distortion Factor
All-Seeing MachinesThe Technology Behind Today’s Industrial Vision Systems
Infographics
The Evolution of Voice and Audio Control for Electronic Devices
WEEF 2022 in Review
FFWD electronica 2022 in ReviewInnovators Did Not Fail to Impress
The TubeAn Unusual Tube Amplifier
Biomaterial in Electronics: Ready or Not
Opera Cake Antenna Switch for HackRF OneConnect Up To Eight Antennas To Your SDR
Engineering with Arduino and MoreAn Interview with Author Ashwin Pajankar
LiDAR Precision GaugeMeasure up to 12 Meters
Audio Signals and the ESP32The ESP-ADF Environment in Practice
Elektor Fortissimo-100 Power Amplifier Kit
Using Light for Sound EffectsLDR-Based Voltage-Controlled 24 dB/oct Synthesizer Filter
Elektor High-Power AF AmplifierThe Loudest of Them All!
HomeLab ToursA Volumetric Display Made in Canada
Err-lectronicsCorrections, Updates and Readers’ Letters
Hexadoku
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.
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.
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.
De Elektor Audio DSP FX Processor combineert een ESP32-microcontroller en een ADAU1701 Audio DSP van Analog Devices. Naast een door de gebruiker programmeerbare DSP-kern heeft de ADAU1701 hoogwaardige analoog-naar-digitaal en digitaal-naar-analoog converters ingebouwd en is hij voorzien van een I²S-poort. Dit maakt hem geschikt als hoogwaardige audio-interface voor de ESP32.
Programma's voor de ESP32 kunnen worden gemaakt met Arduino, Platform IO, CMake of door de Espressif IDF op een andere manier te gebruiken. Programma's voor de ADAU7101 audio DSP's worden gemaakt met de gratis visuele programmeertool SigmaStudio door voorgedefinieerde algoritmablokken op een canvas te slepen.
Toepassingen
Bluetooth/Wi-Fi audio sink (bijv. luidspreker) & bron
Gitaareffectpedaal (stompbox)
Muzieksynthesizer
Geluids-/functiegenerator
Programmeerbaar cross-overfilter voor luidsprekers
Geavanceerde audio-effectprocessor (reverb, chorus, pitch shifting, enz.)
Audioapparaat met internetverbinding
DSP-experimentplatform
Draadloze MIDI
MIDI naar CV-converter
en nog veel meer...
Specificaties
ADAU1701 28-/56-bit, 50-MIPS digitale audioprocessor die bemonsteringsfrequenties tot 192 kHz ondersteunt
ESP32 32-bit dual-core microcontroller met Wi-Fi 802.11b/g/n en Bluetooth 4.2 BR/EDR en BLE
2x 24-bit audio-ingangen (2 V RMS, 20 kΩ)
4x 24-bit audio-uitgangen (0,9 V RMS, 600 Ω)
4x Regelpotentiometer
MIDI in- en uitgang
I²C-uitbreidingspoort
Multi-mode werking
Voeding: 5 V DC USB of 7,5-12 V DC (cilinderaansluiting, middelste pin is GND)
Stroomverbruik (gemiddeld): 200 mA
Inbegrepen
1x ESP32 Audio DSP FX Processor board (gemonteerd)
1x ESP32-PICO-KIT
2x Truien
2x 18-pins headers (female)
4x 10 KB potentiometers
Downloads
Documentation
GitHub
Arduino-compatibele, ESP32-aangedreven tweewielige balansrobot
De Elektor Mini-Wheelie is een experimenteel autonoom zelfbalancerend robotplatform. De zelfbalancerende robot is gebaseerd op een ESP32-S3-microcontroller en is volledig programmeerbaar met behulp van de Arduino-omgeving en open-sourcebibliotheken. Dankzij de draadloze mogelijkheden kan hij op afstand worden bediend via Wi-Fi, Bluetooth of ESP-NOW, of kan hij communiceren met een gebruiker of zelfs een andere robot.
Er is een ultrasone transducer beschikbaar voor het detecteren van obstakels. Het kleurendisplay kan worden gebruikt voor het weergeven van schattige gezichtsuitdrukkingen of, voor de meer nuchtere gebruikers, voor cryptische debug-berichten.
De robot wordt geleverd als een compleet bouwpakket met onderdelen die u zelf in elkaar moet zetten. Alles zit erbij, zelfs een schroevendraaier.
Let op: De Mini-Wheelie is een educatief ontwikkelingsplatform bedoeld voor leren, experimenteren en robotica-ontwikkeling. Het is niet geclassificeerd als speelgoed voor kinderen en de functies, documentatie en beoogde doelgroep weerspiegelen dit doel. Het product is gericht op studenten, docenten en ontwikkelaars die robotica, programmeren en hardware-integratie willen verkennen in een educatieve omgeving.
Specificaties
ESP32-S3-microcontroller met Wi-Fi en Bluetooth
MPU6050 6-assige Inertial Measurement Unit (IMU)
Twee onafhankelijk geregelde 12 V elektromotoren met toerenteller
Ultrasone transducer
2,9" TFT-kleurendisplay (320 x 240)
MicroSD-kaartsleuf
Batterijstroommonitor
3S oplaadbare Li-Po-batterij (11,1 V/2200 mAh)
Batterijlader meegeleverd
Op Arduino gebaseerde open source-software
Afmetingen (B x L x H): 23 x 8 x 13 cm
Inbegrepen
1x ESP32-S3 Mainboard + MPU6050 module
1x LCD-board (2,9 inch)
1x Ultrasone-sensor
1x Batterijpakket (2200 mAh)
1x Batterijlader
1x Motorbandenset
1x Kastboard
1x Acrylplaat
1x Schroevendraaier
1x Beschermstrip
1x Flexkabel B (8 cm)
1x Flexkabel A (12 cm)
1x Flexkabel C
4x Koperen kolom A (25 mm)
4x Koperen kolom B (55 mm)
4x Koperen kolom C (5 mm)
2x Kunststof nylon zuil
8x Schroeven A (10 mm)
24x Schroeven B (M3x5)
8x Moeren
24x Metalen ringen
2x Ritssluiting
1x MicroSD-kaart (32 GB)
Downloads
Documentation
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.
In ESP32 programmeren voor beginners bekijken we de ESP32 en zijn voorganger, de ESP8266. Deze kleine, maar zeer krachtige Chinese chips bestaan uit een processor, geheugen, input- en outputaansluitingen en hebben draadloze netwerktoegang via WiFi.
Met dit boek tonen we hoe de programmeeromgeving Arduino werkt en hoe die kan gebruikt worden met ESP-hardware. Aan de hand van voorbeelden en projecten verduidelijken we hoe de ESP-hardware kan worden toegepast.
In vogelvlucht:
We beschrijven de opbouw van ESP-experimenten.
We tonen hoe displays worden aangesloten.
Eeprom_24c16 demonstreert hoe een externe geheugenchip wordt gebruikt om getallen en tekst op te slaan en weer uit te lezen.
Project Klok is de eenvoudige implementatie van een digitale klok.
We geven een handleiding voor het gebruik van temperatuur- en luchtvochtigheidsensoren.
Webclient laat zien hoe de ESP32 gegevens van het internet kan halen.
Met Webserver kunnen we op afstand met een pc of smartphone gegevens halen uit een ESP32, sensoren uitlezen en toestellen aan- en uitschakelen.
Een NTP-klok haalt tijdinformatie van Tijdserver. Die geeft zowel de tijd als het aantal seconden sinds 1 januari 1900. Het boek beschrijft hoe hieruit de tijd kan worden berekend.
In het laatste hoofdstuk gebruiken we het internet om nauwkeurige weerinformatie en voorspellingen op te vragen.
Projects with Thonny-IDE, uPyCraft-IDE, and ESP32
The 'Python' programming language has enjoyed an enormous upswing in recent years. Not least, various single-board systems such as the Raspberry Pi have contributed to its popularity. But Python has also found widespread use in other fields, such as artificial intelligence (AI) or machine learning (ML). It is obvious, therefore, to use Python or the 'MicroPython' variant for use in SoCs (Systems on Chip) as well.
Powerful controllers such as the ESP32 from Espressif Systems offer excellent performance as well as Wi-Fi and Bluetooth functionality at an affordable price. With these features, the Maker scene has been taken by storm. Compared to other controllers, the ESP32 has a significantly larger flash and SRAM memory, as well as a much higher CPU speed. Due to these characteristics, the chip is not only suitable for classic C applications, but also for programming with MicroPython.
This book introduces the application of modern one-chip systems. In addition to the technical background, the focus is on MicroPython itself. After the introduction to the language, the programming skills learned are immediately put into practice. The individual projects are suitable for use in the laboratory as well as for everyday applications. So, in addition to the actual learning effect, the focus is also on the joy of building complete and useful devices. By using laboratory breadboards, circuits of all kinds can be realized with little effort, turning the testing and debugging of the 100% homebrew projects into an instructive pleasure.
The various applications, such as weather stations, digital voltmeters, ultrasound range finders, RFID card readers or function generators, make the projects presented ideally suited for practical courses or subject and study work in the natural sciences, or in science and technology classes.
Deze complete cursus programmeren voor STM32-microcontrollers omvat een leerboek, een onderdelenpakket, praktijkgerichte projecten en een uitgebreide online cursus. Het is de ideale manier om stap voor stap te leren programmeren voor embedded systemen met MicroPython, via een praktische en hands-on aanpak.
Een praktische introductie tot embedded systemen met de STM32
Deze cursus is bedoeld voor iedereen die nog geen ervaring heeft met embedded systemen en op zoek is naar een gestructureerde, op voorbeelden gebaseerde manier om aan de slag te gaan. Er wordt een onderdelenpakket meegeleverd met onder meer leds, weerstanden, schakelaars, sensoren, actuatoren, displays, een breadboard en bedrading. Deze onderdelen worden in de cursus gebruikt om praktijkvoorbeelden te demonstreren.
Er is geen voorkennis van MicroPython of embedded development vereist. Elk onderdeel bevat praktische voorbeelden en miniprojecten die zijn ontworpen om de belangrijkste concepten te verankeren en uit te nodigen tot verdere verdieping. Aan het einde van de cursus ben je niet alleen in staat om de voorbeelden na te maken, maar kun je er ook op voortbouwen met je eigen ideeën en toepassingen.
Wat leert u?
Microcontrollerprogrammering in MicroPython op de STM32 met behulp van de Thonny IDE
Werken met digitale I/O, knoppen en encoders uitlezen, LED’s en relais aansturen
Analoge ingangen, spanningen en sensoren uitlezen
Genereren van analoge uitgangssignalen en PWM
Gebruik van seriële communicatie zoals UART, I²C en SPI om displays aan te sturen en digitale sensoren en SD-kaarten uit te lezen
Tijdbeheer
Werken met interrupts
Realtime sensorinput en besturing via knoppen, LED’s en displays
Aansturen van actuatoren zoals relais en servomotoren
Voor wie is dit?
Studenten en zelflerenden die embedded systems willen ontdekken
Makers en IoT-enthousiastelingen die hun hardwarevaardigheden willen verbeteren
Docenten en trainers die kant-en-klaar lesmateriaal zoeken
Wat zit er in de doos?
Toegang tot de volledige cursus op het Elektor Academy Pro leerplatform
STM32 NUCLEO-F411RE microcontrollerboard
Boek: MicroPython for STM3
Downloadbare projectbestanden voor elke module
Componentenkit:
2× LED, rood, 5 mm
LED, groen, 5 mm
3× weerstand, 470 Ω, 0,25 W
LDR
Potentiometer, 10 kΩ, lineair
Drukknop
Rotary encoder module
Relaismodule
DHT22 temperatuur- en vochtigheidssensor
TM1637-compatibel 4-digit 7-segment display
MPU-6050 IMU met headers
SSD1306-compatibel I²C OLED display
Micro SD-kaartadapter met header
Buzzer
SG90 micro servo
ILI9341-compatibel SPI 240×320 TFT display
20× jumper wires
Breadboard
Deze complete microcontroller-programmeercursus op basis van de Raspberry Pi Pico bevat een leerboek, een componentenkit, praktische projecten en een uitgebreide online cursus met simulaties. Ideaal om embedded systems stap voor stap te leren programmeren in MicroPython via een praktische hands-on aanpak.
Een praktische introductie tot embedded systems met de Raspberry Pi Pico
Deze cursus is ontworpen voor beginners in embedded systems die op zoek zijn naar een gestructureerde en voorbeeldgerichte start.
Een kit met LED’s en weerstanden, schakelaars, sensoren en actuatoren, displays, een breadboard en draden is inbegrepen. Deze worden in de cursus gebruikt om voorbeeldtoepassingen te demonstreren.
Er is geen voorkennis van Arduino of embedded ontwikkeling vereist. Elke sectie bevat praktische voorbeelden en mini-projecten om belangrijke concepten te versterken en verdere verkenning te stimuleren. Aan het einde van de cursus kunt u niet alleen de voorbeelden reproduceren, maar ook uitbreiden met uw eigen ideeën en toepassingen.
Wat leert u?
Microcontrollerprogrammering in MicroPython met de Raspberry Pi Pico met behulp van de Thonny IDE
Werken met digitale I/O, knoppen en encoders uitlezen, LED’s en relais aansturen
Analoge ingangen, spanningen en sensoren uitlezen
Genereren van analoge uitgangssignalen en PWM
Gebruik van seriële communicatie zoals UART, I²C en SPI om displays aan te sturen en digitale sensoren en SD-kaarten uit te lezen
Tijdbeheer
Werken met interrupts
Realtime sensorinput en besturing via knoppen, LED’s en displays
Aansturen van actuatoren zoals relais en servomotoren
Voor wie is dit?
Studenten en zelflerenden die embedded systems willen ontdekken
Makers en IoT-enthousiastelingen die hun hardwarevaardigheden willen verbeteren
Docenten en trainers die kant-en-klaar lesmateriaal zoeken
Wat zit er in de doos?
Toegang tot de volledige cursus op het Elektor Academy Pro leerplatform
Raspberry Pi Pico microcontrollerboard + USB-kabel
Boek: Programming Microcontrollers in MicroPython
Downloadbare projectbestanden voor elke module
Componentenkit:
2× LED, rood, 5 mm
LED, groen, 5 mm
3× weerstand, 470 Ω, 0,25 W
LDR
Potentiometer, 10 kΩ, lineair
Drukknop
Rotary encoder module
Relaismodule
DHT22 temperatuur- en vochtigheidssensor
TM1637-compatibel 4-digit 7-segment display
MPU-6050 IMU met headers
SSD1306-compatibel I²C OLED display
Micro SD-kaartadapter met header
Buzzer
SG90 micro servo
ILI9341-compatibel SPI 240×320 TFT display
20× jumper wires
Breadboard
Alle programmeercursussen (en verschillen in inhoud)
Cursus
Arduino
Raspberry Pi Pico with Arduino C/C++
ESP32 with Arduino C/C++
Raspberry Pi Pico with MicroPython
ESP32 with MicroPython
Online cursus
Access to Arduino Course
Access to Pico with Arduino C/C++ Course
Access to ESP32 with Arduino C/C++ Course
Access to Pico with MicroPython Course
Access to ESP32 with MicroPython Course
Board
Uno R3
Raspberry Pi Pico
ESP32
Raspberry Pi Pico
ESP32
Boek
Programming Microcontrollers in C/C++ Using Arduino
Programming Microcontrollers in C/C++ Using Arduino
Programming Microcontrollers in C/C++ Using Arduino
Programming Microcontrollers in MicroPython
Programming Microcontrollers in MicroPython
Kit
40-delige componenten-kit
40-delige componenten-kit
40-delige componenten-kit
40-delige componenten-kit
40-delige componenten-kit
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.