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.
Le Elektor Audio DSP FX Processor combine un microcontrôleur ESP32 et un DSP Audio ADAU1701 d'Analog Devices. Outre un noyau DSP programmable par l'utilisateur, l'ADAU1701 intègre des convertisseurs analogique-numérique et numérique-analogique de haute qualité et dispose d'un port I²S. Cela le rend approprié comme interface audio de haute qualité pour l'ESP32.
Les programmes pour l'ESP32 peuvent être créés avec Arduino, Platform IO, CMake ou en utilisant Espressif IDF d'une autre manière. Les programmes pour les DSP audio ADAU7101 sont créés avec l'outil de programmation visuelle gratuit SigmaStudio en glissant et déposant des blocs d'algorithmes prédéfinis sur un canevas.
Applications
Sink audio Bluetooth/Wi-Fi (par ex. haut-parleur) et source
Pédale d'effet guitare (stomp box)
Synthétiseur musical
Générateur de sons/fonctions
Filtre cross-over programmable pour haut-parleurs
Processeur d'effets audio avancé (réverbération, chorus, pitch shifting, etc.)
Appareil audio connecté à Internet
Plate-forme d'expérimentation DSP
MIDI sans fil
Convertisseur MIDI vers CV
et bien d'autres...
Spécifications
Processeur audio numérique ADAU1701 28/56 bits, 50 MIPS prenant en charge des taux d'échantillonnage allant jusqu'à 192 kHz
Microcontrôleur double cœur ESP32 32 bits avec Wi-Fi 802.11b/g/n et Bluetooth 4.2 BR/EDR et BLE
2 entrées audio 24 bits (2 V RMS, 20 kΩ)
4 sorties audio 24 bits (0,9 V RMS, 600 Ω)
4x potentiomètres de contrôle
Entrée et sortie MIDI
Port d'extension I²C
Fonctionnement multimode
Alimentation : USB 5 V CC ou 7,5-12 V CC (prise cylindrique, broche centrale GND)
Consommation de courant (moyenne) : 200 mA
Inclus
1x Carte Audio DSP FX Processor (assemblée)
1x ESP32-PICO-KIT
2x Cavaliers
2x Connecteurs à 18 broches (female)
4x Potentiomètres de 10 Ko
Téléchargements
Documentation
GitHub
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.
Robot à équilibrage sur deux roues compatible Arduino et alimenté par ESP32
L'Elektor Mini-Wheelie est une plateforme robotique expérimentale autonome et auto-équilibrée. Basé sur un microcontrôleur ESP32-S3, le robot auto-équilibré est entièrement programmable à l'aide de l'environnement Arduino et de bibliothèques open source. Ses capacités sans fil lui permettent d'être contrôlé à distance via Wi-Fi, Bluetooth ou ESP-NOW ou de communiquer avec un utilisateur ou même un autre robot.
Un transducteur à ultrasons est disponible pour détecter les obstacles. Son écran couleur peut être utilisé pour afficher de jolies expressions faciales ou, pour les utilisateurs les plus terre-à-terre, des messages de débogage énigmatiques.
Le robot est livré en kit complet avec des pièces à assembler soi-même. Tout est inclus, même un tournevis.
Remarque : Le Mini-Wheelie est une plateforme de développement pédagogique destinée à l'apprentissage, à l'expérimentation et au développement de la robotique. Il n'est pas considéré comme un jouet pour enfants, et ses caractéristiques, sa documentation et le public auquel il s'adresse reflètent cet objectif. Le produit est destiné aux étudiants, aux éducateurs et aux développeurs qui souhaitent explorer la robotique, la programmation et l'intégration de matériel dans un cadre éducatif.
Spécifications
Microcontrôleur ESP32-S3 avec Wi-Fi et Bluetooth
MPU6050 unité de mesure inertielle (IMU) à 6 axes
Deux moteurs électriques 12 V à commande indépendante avec tachymètre
Transducteur à ultrasons
Écran couleur TFT 2,9 pouces (320 x 240)
Emplacement pour carte MicroSD
Moniteur de puissance de la batterie
Batterie Li-Po rechargeable 3S (11,1 V/2200 mAh)
Chargeur de batterie inclus
Logiciel Open Source basé sur Arduino
Dimensions (L x L x H) : 23 x 8 x 13 cm
Inclus
1x Carte mère ESP32-S3 + module MPU6050
1x Carte LCD (2,9 pouces)
1x Capteur à ultrasons
1x Batterie (2200 mAh)
1x Chargeur de batterie
1x Kit de pneus moteur
1x Tableau de caisse
1x Tableau acrylique
1x Tournevis
1x Bande de protection
1x Câble flexible B (8 cm)
1x Câble flexible A (12 cm)
1x Câble flexible C
4x Colonnes A en cuivre (25 mm)
4x Colonnes B en cuivre (55 mm)
4x Colonnes C en cuivre (5 mm)
2x Colonnes en plastique et nylon
8x Vis A (10 mm)
24 Vis B (M3x5)
8x Noix
24x Rondelles métalliques
2x Attaches zippées
1x Carte MicroSD (32 Go)
Téléchargements
Documentation
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.
Ce cours complet de programmation de microcontrôleurs STM32 comprend un manuel, un kit de composants, des projets pratiques et une formation en ligne approfondie. Il est idéal pour apprendre étape par étape la programmation de systèmes embarqués en MicroPython grâce à une approche pratique.
Une introduction pratique aux systèmes embarqués avec le STM32
Ce cours s'adresse aux débutants dans le domaine des systèmes embarqués qui recherchent une méthode structurée et basée sur des exemples pour se lancer. Un kit de composants est inclus ; il contient notamment des LED, des résistances, des interrupteurs, des capteurs, des actionneurs, des afficheurs, une plaque d'essai (breadboard) et des fils de connexion. Ces éléments sont utilisés tout au long du cours pour illustrer des exemples d'applications.
Aucune expérience préalable de MicroPython ou du développement de systèmes embarqués n'est requise. Chaque section propose des exemples pratiques et des mini-projets conçus pour consolider les concepts clés et encourager une exploration plus approfondie. À l'issue de la formation, vous serez capable non seulement de reproduire les exemples présentés, mais aussi de les enrichir grâce à vos propres idées et applications.
Que allez-vous apprendre ?
Programmation de microcontrôleurs en MicroPython sur STM32 via l'IDE Thonny
Utilisation des entrées/sorties numériques, lecture de boutons et encodeurs, commande de LED et relais
Lecture des entrées analogiques, tensions et capteurs analogiques
Génération de signaux analogiques et PWM
Utilisation des communications série comme UART, I²C et SPI pour piloter des afficheurs et lire des capteurs numériques et cartes SD
Gestion du temps
Utilisation des interruptions
Entrées capteurs en temps réel et contrôle via boutons, LED et afficheurs
Commande d’actionneurs comme relais et servomoteurs
À qui s’adresse ce cours ?
Étudiants et autodidactes explorant les systèmes embarqués
Makers et passionnés d’IoT souhaitant améliorer leurs compétences en hardware
Formateurs et enseignants à la recherche de matériel pédagogique prêt à l’emploi
Contenu de la boîte
Accès au cours complet sur la plateforme Elektor Academy Pro
Carte microcontrôleur STM32 NUCLEO-F411RE
Livre : MicroPython for STM32
Fichiers de projet téléchargeables pour chaque module
Boîte de composants :
2× LED, rouge, 5 mm
LED, verte, 5 mm
3× résistance, 470 Ω, 0,25 W
LDR
Potentiomètre, 10 kΩ, linéaire
Bouton-poussoir
Module encodeur rotatif
Module relais
Capteur DHT22 (température & humidité)
Afficheur 7 segments 4 digits compatible TM1637
MPU-6050 IMU avec connecteurs
Afficheur OLED I²C compatible SSD1306
Adaptateur carte micro SD avec connecteur
Buzzer
Micro servo SG90
Écran TFT SPI 240×320 compatible ILI9341
20× fils jumper
Breadboard
Ce cours complet de programmation de microcontrôleurs basé sur le Raspberry Pi Pico comprend un manuel, un kit de composants, des projets pratiques ainsi qu’un cours en ligne complet avec simulations. Il est idéal pour apprendre pas à pas la programmation des systèmes embarqués avec MicroPython grâce à une approche pratique.
Une introduction pratique aux systèmes embarqués avec le Raspberry Pi Pico
Ce cours s’adresse aux débutants en systèmes embarqués recherchant une approche structurée et basée sur des exemples.
Un kit de composants comprenant des LED et des résistances, des interrupteurs, des capteurs et actionneurs, des afficheurs, une breadboard et des fils est inclus. Ceux-ci sont utilisés dans le cours pour illustrer des applications concrètes.
Aucune expérience préalable avec Arduino ou le développement embarqué n’est requise. Chaque section propose des exemples pratiques et des mini-projets conçus pour renforcer les concepts clés et encourager l’exploration. À la fin du cours, vous serez capable non seulement de reproduire les exemples, mais aussi de développer vos propres idées et applications.
Que allez-vous apprendre ?
Programmation de microcontrôleurs en MicroPython sur le Raspberry Pi Pico via l'IDE Thonny
Utilisation des entrées/sorties numériques, lecture de boutons et encodeurs, commande de LED et relais
Lecture des entrées analogiques, tensions et capteurs analogiques
Génération de signaux analogiques et PWM
Utilisation des communications série comme UART, I²C et SPI pour piloter des afficheurs et lire des capteurs numériques et cartes SD
Gestion du temps
Utilisation des interruptions
Entrées capteurs en temps réel et contrôle via boutons, LED et afficheurs
Commande d’actionneurs comme relais et servomoteurs
À qui s’adresse ce cours ?
Étudiants et autodidactes explorant les systèmes embarqués
Makers et passionnés d’IoT souhaitant améliorer leurs compétences en hardware
Formateurs et enseignants à la recherche de matériel pédagogique prêt à l’emploi
Contenu de la boîte
Accès au cours complet sur la plateforme Elektor Academy Pro
Carte microcontrôleur Raspberry Pi Pico + câble USB
Livre : Programming Microcontrollers in MicroPython
Fichiers de projet téléchargeables pour chaque module
Boîte de composants :
2× LED, rouge, 5 mm
LED, verte, 5 mm
3× résistance, 470 Ω, 0,25 W
LDR
Potentiomètre, 10 kΩ, linéaire
Bouton-poussoir
Module encodeur rotatif
Module relais
Capteur DHT22 (température & humidité)
Afficheur 7 segments 4 digits compatible TM1637
MPU-6050 IMU avec connecteurs
Afficheur OLED I²C compatible SSD1306
Adaptateur carte micro SD avec connecteur
Buzzer
Micro servo SG90
Écran TFT SPI 240×320 compatible ILI9341
20× fils jumper
Breadboard
Tous les cours de programmation (et différences de contenu)
Cours
Arduino
Raspberry Pi Pico with Arduino C/C++
ESP32 with Arduino C/C++
Raspberry Pi Pico with MicroPython
ESP32 with MicroPython
Cours en ligne
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
Carte
Uno R3
Raspberry Pi Pico
ESP32
Raspberry Pi Pico
ESP32
Livre
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
Boîte de composants (40 pièces)
Boîte de composants (40 pièces)
Boîte de composants (40 pièces)
Boîte de composants (40 pièces)
Boîte de composants (40 pièces)
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.