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
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.
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.
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.
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
Praxisnahe Projekte, Profi-Tricks und eigene Anwendungen
Dieses Buch führt Sie Schritt für Schritt in die faszinierende Welt der State Machines ein und zeigt, wie Sie Hardware direkt und effizient ansteuern können – jenseits klassischer CPU-gesteuerter Ansätze.
In diesem Buch lernen Sie:
LEDs und NeoPixel kreativ steuern: Blinken, Dimmen, Farbwechsel und komplexe Animationen
Taster und Encoder zuverlässig auslesen und in Echtzeit in Ihre Projekte integrieren
Analoge Eingänge (ADC) nutzen und Signale digital steuern
Servos präzise ansteuern und Bewegungsabläufe automatisieren
SPI mit PIO umsetzen, um Displays, Sensoren und Module anzusteuern
Menüsysteme und Submenüs auf SPI-Displays realisieren, inklusive Navigation über mehrere Taster
PWM, Signalgenerierung und Frequenzsteuerung für akustische oder visuelle Effekte
Debugging-Strategien und Tipps, um Ihre PIO-Programme effizient zu entwickeln
Alle Beispiele sind praxisnah, sofort umsetzbar und zuverlässig. Mit klaren Anleitungen, Hintergrundwissen und fertigen Codebeispielen lernen Sie, die PIO-Fähigkeiten des Pico maximal zu nutzen – egal ob für Maker-Projekte, Prototypen oder professionelle Anwendungen.
Erleben Sie, wie Sie komplexe Hardwaresteuerung elegant mit dem Pico realisieren können – schneller, flexibler und leistungsfähiger als je zuvor.
Program, build, and master over 50 projects with MicroPython and the RP2040 microprocessor The Raspberry Pi Pico is a high-performance microcontroller module designed especially for physical computing. Microcontrollers differ from single-board computers, like the Raspberry Pi 4, in not having an operating system. The Raspberry Pi Pico can be programmed to run a single task very efficiently within real-time control and monitoring applications requiring speed. The ‘Pico’ as we call it, is based on the fast, efficient, and low-cost dual-core ARM Cortex-M0+ RP2040 microcontroller chip running at up to 133 MHz and sporting 264 KB of SRAM, and 2 MB of Flash memory. Besides its large memory, the Pico has even more attractive features including a vast number of GPIO pins, and popular interface modules like ADC, SPI, I²C, UART, and PWM. To cap it all, the chip offers fast and accurate timing modules, a hardware debug interface, and an internal temperature sensor. The Raspberry Pi Pico is easily programmed using popular high-level languages such as MicroPython and or C/C++. This book is an introduction to using the Raspberry Pi Pico microcontroller in conjunction with the MicroPython programming language. The Thonny development environment (IDE) is used in all the projects described. There are over 50 working and tested projects in the book, covering the following topics: Installing the MicroPython on Raspberry Pi Pico using a Raspberry Pi or a PC Timer interrupts and external interrupts Analogue-to-digital converter (ADC) projects Using the internal temperature sensor and external temperature sensor chips Datalogging projects PWM, UART, I²C, and SPI projects Using Wi-Fi and apps to communicate with smartphones Using Bluetooth and apps to communicate with smartphones Digital-to-analogue converter (DAC) projects All projects given in the book have been fully tested and are working. Only basic programming and electronics experience is required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full MicroPython program listings are given for all projects described. Readers can find the program listings on the Elektor web page created to support the book.
Projects with Arduino Uno & Raspberry Pi with Examples for the MCP2515 CAN Bus Interface Module
This book details the use of the Arduino Uno and the Raspberry Pi 4 in practical CAN bus based projects. Using either the Arduino Uno or the Raspberry Pi with off-the-shelf CAN bus interface modules considerably ease developing, debugging, and testing CAN bus based projects.
This book is written for students, practicing engineers, enthusiasts, and for everyone else wanting 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 and Python programming languages and programming the Arduino Uno using its IDE and Raspberry Pi will be useful, especially if the reader intends to develop microcontroller-based projects using the CAN bus.
The book should be a useful source of reference material for anyone interested in finding answers to questions such as:
What bus systems are available for the automotive industry?
What are the principles of the CAN bus?
How can I create a physical 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 dependable is a CAN bus system?
What types of CAN bus controllers exist?
How do I use the MCP2515 CAN bus controller?
How do I create 2-node Arduino Uno-based CAN bus projects?
How do I create 3-node Arduino Uno-based CAN bus projects?
How do I set the acceptance masks and acceptance filters?
How do I analyze data on the CAN bus?
How do I create 2-node Raspberry Pi-based CAN bus projects?
How do I create 3-node Raspberry Pi-based CAN bus projects?
Build Smart Applications with Raspberry Pi, Arduino, and ESP32
Discover how easy and exciting mobile app development can be with MIT App Inventor. This hands-on guide takes you from basic concepts to building real-world mobile applications using a simple visual programming approach—no prior coding experience required. You will create IoT and AI-powered apps for Android devices and explore how App Inventor can also be used with iPhones and iPads.
Connect your applications to platforms such as Arduino UNO R4 WiFi, ESP32, Raspberry Pi Pico (2)W and Raspberry Pi 5, enabling you to build smart, connected systems.
Inside the book, you will learn how to:
Build interactive apps using buttons, images, sound, and multimedia
Create text-to-speech and speech-recognition applications
Develop camera-based and location-aware (GPS) apps
Design useful tools such as calculators and educational apps
Work with smartphone sensors like accelerometers and light sensors
Build AI-powered applications, including voice assistants and image-generation features
Send and receive messages, and create communication-based apps
Connect mobile apps to hardware using Wi-Fi and Bluetooth
Control real devices such as LEDs, motors, and sensors
Designed for beginners, students, and hobbyists, this book focuses on learning by doing. By the end, you will have the skills and confidence to create your own innovative applications that interact with both the digital and physical worlds.
Start building and turning your ideas into reality.
Praktischer Einstieg mit Arduino, GnuRadio und FPGA
Das Thema „Software Defined Radio“ ist facettenreich: Neben der Schaltungstechnik ist auch eine Einarbeitung in die Programmierung von Hardware und PC wichtig. Ein schrittweises Vorgehen erleichtert Ihnen den Einstieg. Mit dem im Buch vorgestellten modularen „RF Bricks“-Konzept werden Sie zum Architekten Ihrer Signalkette. Auf einem Chassis angeordnet gewährleisten die Module einen soliden und gut abgeschirmten Aufbau, den Sie einfach verändern und mit eigenen Ideen anreichern können.
Der skalierbare Aufbau bildet Ihr Blockschaltbild auch mechanisch ab – die so gewonnene Übersicht kann in der Aus- und Weiterbildung nützlich sein. Ein Arduino in Ihrem Chassis kommuniziert nach einigen Anpassungen mit üblichen SDR-Programmen, z. B. SDRCPP, GQRX und CubicSDR auf einer Linux-Plattform. Damit können Sie Ihren Empfänger direkt per Mausklick abstimmen.
Wenn Sie Blockschaltbilder mögen, ist GnuRadio ein natürlicher Partner der „RF Bricks“. Mit einem selbst programmierten Python-Block gelingt Ihnen in GnuRadio die Fernsteuerung Ihres Empfängers. Im GnuRadio-Universum können Sie Ihre GUI stufenweise ausbauen, behalten dabei aber immer volle Kontrolle über die inneren Abläufe des Programms.
Mit einem FPGA können zeitaufwändige Operationen auch direkt in die Hardware verlagert werden. Sie bauen stufenweise einen Doppelsuperhet auf und entwickeln die Filterkoeffizienten für FIR-Filter mit Scilab. Das in VHDL realisierte Weaver-Schema rundet diesen Empfänger ab, der mit hoher Empfindlichkeit und Dynamik aufwarten kann.
Mit dem gewonnen Überblick und Ihrer neuen Hardware können Sie die einzelnen Aspekte des Themenkomplexes SDR beliebig weiter vertiefen.
Downloads
Software
Le téléchargement intégral de ce numéro est disponible pour nos membres GOLD et GREEN sur le site Elektor Magazine !
Pas encore membre ? Cliquez ici.
l'ESP-BLASTUn mini drone-fusée ESP32 qui vole à plus de 100 km/h
atelier sans fil (1)Modules radio déverrouillés : émetteur-récepteur sub-GHz CC1101 433 MHz
émetteur AMAvec le générateur d'ondes carrées/sinusoïdales sur Raspberry Pi Pico
STM32Cube Innovation ChallengeParticipez avec votre meilleur projet STM32C5
CoffeeCallerComment une pause café a inspiré un PCB sur mesure
audiotroniquesDistorsion harmonique totale
Elektor à 65 ansProjets de septembre et octobre au fil des ans
Bluetooth Channel Sounding pour le suivi des équipementsMesure de distance avec une précision centimétrique pour l’IoT de nouvelle génération
2026 : une Odyssée de l'IAL'informatique quantique n'est pas le prochain GPU
protéger le cloud exige de sécuriser la périphérie
premières expériences avec le HackRF ProTests pratiques avec le nouveau matériel SDR
mise à niveau du modem de GPRS/2G vers LTE/4GExemple d'un panneau de contrôle d'alarme sans fil
antenne en bouclePartie 1 : Une antenne ondes courtes à directivité réglable, à réaliser soi-même
convertisseur de radio Internet en AMUn ESP32-S3 comme émetteur
projet 2.0
mioty : aperçu généralL'approche de Fraunhofer pour les LPWAN
sagesse d'atelierConseils pratiques d'experts
Walter, le module IoT compactPartie 2 : Accéder aux services météorologiques et aux services de données