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.
Diese Ausgabe steht allen GOLD- und GREEN-Mitgliedern auf der ElektorMagazine-Website zum Download bereit!
Sind Sie noch kein Mitglied? Hier klicken!
electronica Fast Forward Start- & Scale-Up Awards Die Vorbereitungen laufen auf Hochtouren!
Bluetooth Low Energy mit dem ESP32-C3 und ESP32 Es muss nicht immer WLAN sein!
Bluetooth-LE-Sniffer Mit dem Makerdiary nRF52840 MDK USB-Dongle
Magischer RGB-LED-Würfel Hardware-Design rund um einen RP2040
Automatischer Ein-/Ausschalter für Lötpastenkompressor
Elektor - live und in Farbe Livestreams, Webinare und Kurse für Ingenieure und Maker
Fahrrad elektrifizieren E-Bike-Nachrüstkit in der Praxis
Aller Anfang ... Muss nicht schwer sein: Multiplikation von Spannungen
Aus dem Leben gegriffen Nebenbeschäftigungen
Teensy 4.0 – warum ist das Board so schnell? Oder: Geschwindigkeit ist keine Hexerei!
Simulation von Audio-Leistungsverstärkern mit TINA Der „Try-Before-You-Build“-Ansatz
LoRaWAN-Knoten im IoT Ein Beispiel-Kapitel: Die LoRaWAN-Module Dragino LHT65, LDS01 und LDS02
Projekt 2.0 Korrekturen, Updates und Leserbriefe
5G für mich allein Vollständige Kontrolle über 5G-Implementierungen in privaten Mobilfunknetzen
Infografik 7-8/2022
Wie lernt mein Gerät zu funken? Applikationen mit WiFi-Schnittstellen ausrüsten
Rheinturmuhr – Wecker de luxe
Audio-Spektrum-Analysator mit Dekatrons Eine neue Art, alte Röhren zu verwenden
Senden von Daten an Telegram Ein ESP32 und ein paar Bauteile besorgt den Job32 and a Few Parts
Fliege-Bandsperre für Audio-Messungen Besseres Messen durch Notch-Filterung
CO2-Messgerät auseinandergenommen Ist das Gerät für Ihre Projekte hackbar?
Spielereien mit PUTs Analoge Entwürfe mit dem programmierbaren Unijunction-Transistor
Ein runder Touchscreen für den Raspberry Pi HyperPixel 2.1 Round von Pimoroni
Fernwirken und die Erkennung von Verbindungsverlusten mit Hilfe von nRF24L01+ Modulen
Digitaler UKW-Empfänger Mit Arduino Nano und TEA5767
OLED-Display - aus SPI mach I²C
Zutritt für Unbefugte verboten! Ein Hobby geht nicht in die Rente!
Ein Jahrzehnt der Ethik in der Elektronik Tessel Renzenbrink sinniert über die digitale Gesellschaft
Hexadoku Sudoku für Elektroniker
With Examples for Raspberry Pi Pico and ESP32
Creating and programming small electronic systems is now easier than ever before. With inexpensive development boards and modern software tools, anyone curious about embedded design can quickly move from an idea to a working piece of hardware. At the heart of this change is MicroPython—a clear, interactive, and beginner-friendly way to program microcontrollers while still remaining closely connected to the underlying electronics.
This book introduces embedded programming through MicroPython on popular platforms such as the Raspberry Pi Pico and the ESP32. You will discover how to use microcontrollers for reading inputs, processing data, and controlling outputs in a predictable, real-time loop. With just a few lines of code, you can blink LEDs, read sensors, drive motors, and communicate with the outside world. The interactive REPL programming interface encourages experimentation and fast learning, making concepts tangible from the very first chapter.
While different boards offer different capabilities, they all share the same core principles. Timers, GPIO, analog I/O, PWM, interrupts, and communication interfaces form the foundation of every embedded system.
By focusing on these universal building blocks, this book helps you build skills that transfer across platforms and scale naturally toward more advanced development. Whether you are a beginner or an experienced programmer entering embedded systems, you will find that working with MicroPython is both practical and genuinely 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.
Dieses Buch ist eine Einführung in das hochaktuelle Gebiet der Robotik. Dabei stehen praktische Anwendungsbeispiele im Vordergrund. Neben den technischen und mechanischen Grundlagen werden die elektronischen Komponenten und Module erläutert. Eine zentrale Rolle spielt dabei der Mikrocontroller.
Für Robotik-Anwendungen haben sich zwei Controller-Boards etabliert: der Arduino und der Raspberry Pi. Dem trägt dieses Buch Rechnung und beschreibt praktische Nachbauprojekte mit diesen beiden populären Boards.
Getreu der Philosophie des „Learning by Doing“ können sich auch ambitionierte, nichtprofessionelle Anwender mit dem Lernmaterial des Buches einen Überblick über den neuesten Stand der Robotertechnik und KI verschaffen. Für praktische Anwendungen können sowohl komplette Bausätze als auch einzelne Komponenten verwendet werden. Dabei wurde stets darauf geachtet, dass die Hardware möglichst universell einsetzbar ist.
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
PbMonitor v1.0A Battery-Monitoring System for UPS and Energy Storage Applications
Solar Charge Controller with MPPT (1)Basic Principles of a Solar Controller for Stand-Alone Systems
B-Field Integration Magnetometer With Home-Made Sensors
Precise or Accurate?Your Instruments Need to Be Both!
AD7124 A Precision ADC in PracticeFeatures for Sensor Signal Conditioning
PID Control ToolOptimize Your Parameters Easily
embedded world 2025
Starting Out in Electronics……Continues with Tone Control
Academy Pro BoxBook + Online Course + Hardware
Milliohmmeter AdapterUses the Precision of Your Multimeter
The Next Leap in SemiconductorsOnward Toward 1.4 nm
Through-Hole Technology ConnectorsThe Best of Two Worlds: THR
Frequency CounterPortable and Auto-Calibrating Via GPS
Analog MetersPeculiar Parts, the Series
Stand-Alone Crystal TesterHow Accurate Is Your Clock Source?
Low-Cost I²C TesterConnect I²C Devices Directly to Your PC
From Life’s ExperienceWho Doesn’t Honor the Small Things?
2025: An AI OdysseyThe Transformative Impact on Software Development
Err-lectronicsCorrections, Updates, and Readers’ Letters
Raspberry Pi Standalone MIDI Synthesizer (2)Enhancing Our Setup with Intelligence
Nortonized Wien Bridge OscillatorSmall Changes Yield Significant Improvements
Putting a $0.10 Controller to the TestThe CH32V003 RISC-V Microcontroller and MounRiver Studio in Practice
An FPGA-Based Audio Player with Equalizer (2)Adding Volume Control, Advanced Mixing, and a Web Interface
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.
The Elektor LoRa NodeVersatile, long-range, 868-MHz remote control with state feedback and STM32 Inside
InteractiveCorrections & Updates || Questions & Answers
Analogue Electronics DesignCase Study #1 — Section 2: Preamplifier optimized for MEMS microphone
My IoT Button: A Button for the WebPart 1: IoT architecture
BASIC for the ESP32 and ESP8266Programming with Annex WiFi RDS
ESP32 Doorbell via Telegram“The UPS Man Always Rings Once”
Small Circuits RevivalCapita Selecta from the Elektor Project Suggestions Box
My First LoRaWANWith Blue Pill, LoRa Breakout Board and The Things Network
Elektor Connexions 2003EL
“A Strong Supporter of Open Internet”Interview with Wienke Giezeman, Initiator of The Things Network
The Meadow F7 BoardA great board for .NET developers
Practical ESP32 Multitasking (2)Task priorities
Sigfox and the IoT (3)First steps on the network
Raspberry Pi Bash Command Cheat Sheet
Europe's Most Successful Start-up Accelerator?HighTechXL, Eindhoven, The Netherlands
Review: The Enviro+ RPi-HATMeasure air quality with a Raspberry Pi and the Enviro+ HAT
Steeped in Electronicsordering components from Ukraine and Russia
Review: Andonstar AD407Better than its predecessor?
Lab, Sweet LabA glimpse of The Holy Place — no unauthorized entry.
Optical Probe for OscilloscopesMeasure brightness fluctuations of lighting systems
The 'TABULA' Project - An UpdateTangibles with user feedback
How-To Calculate the Prospective Short-Circuit Current or PSCCand choose the proper circuit breaker
TMS1000 Series Microcontrollers
Peculiar Parts, the series
Starting Out in Electronics (2)
Easier than imagined!
Developer's ZoneTips & Tricks, Best Practices and Other Useful Information
Locating Wayward Wires
Track and trace concealed and defective cables with ease and certainty
Review: Joy-IT DMSO2D72 Portable 3-in-1 Oscilloscope
Homebrew PC for the Electronics LabTips on Component Choice and Construction
The Elektor ‘Intelekt’ Chess Computer (1981)Tiny Chess 86 ported to the Intel 8088
Beyond ElectronicsPCB Art - Pushing the Limits of Industrial Manufacturing
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.
adaptateur de mesure USBTest du courant et des signaux des ports USB
sortie boucle de courant 4-20 mA pour Arduino UnoUne interface de boucle de courant fiable et insensible aux interférences électromagnétiques
commande automatique pour aspirateurGardez votre établi propre
générateur DDS avec ATtiny
testeur d'ampli-op V2Nouveau circuit imprimé – désormais compatible avec les CMS
amplificateur audio à tube 550 mWson chaleureux des tubes à vide
surveillance des fusiblesavec une LED clignotante
préamplificateur RIAA HQExploitez tout le potentiel sonore de vos disques vinyles !
Outil de réglage pour platines vinylesGénérateur de lumière stroboscopique 100–120 Hz basé sur Arduino
Elektor Classics : ampli vidéo
gradateur à télécommande infrarougeContrôlez votre éclairage avec confort et précision
comment utiliser switch…case avec des chaînes de caractères en C++/EDI Arduino
détecteur d’aimantsAvec un simple capteur à effet Hall
bouton de mise sous tension intelligent pour Raspberry PiUne solution pour Raspberry Pi jusqu’au modèle 4
astuces clés pour makersDes conseils pros pour vos projets
projets pratiques avec le timer 555Commande de moteur CC et jeux de rapidité
moniteur de charge CA simpleÉconomisez de l'énergie grâce à un appareil simple
batteries externes en parallèleTrois jours d’autonomie
VFO jusqu’à 15 MHzRéalisation avec un Raspberry Pi Pico
accordeur de violon avec ATtiny202
Elektor Classics : ampli vidéo pour TV N&B
capacimètre20 pF à 600 nF
horloge quasi analogique Mk IIDeux anneaux LED pour les heures et les minutes
concevez sans limites(grâce à l’écosystème complet d’Arduino)
dé à lampes néon
Elektor Classics : indicateur d'accord RTTY
solutions matérielles inspirantes pour vos projets ESP
Elektor Classics : alimentation 3 A
LED RGB avec circuit de commande intégréLumière de précision : les ICLED établissent de nouvelles normes
expérience : un Thérémine analogico-numérique ?Combiner des capteurs numériques modernes avec l’intemporel générateur analogique XR2206
carte émetteur-récepteur audio ESP32 (1)Démo : lecture de fichiers WAV depuis une carte SD
infographies : Circuits et conception de circuits 2025
petit mixeur audioUne conception polyvalente et modulable
minuteur intelligent pour éclairage d’escalierÉconomisez encore plus sur votre facture d’énergie !
modernisez vos voletsContrôlez les systèmes Velux avec un ESP32 et MQTT
chauffe-pieds à transistorsConfort économe en énergie
le quadricoptère M5Stamp Fly est-il le prochain drone Tello ? (Revue)
optimiser la portée Wi-Fi de l’ESP32-C3 SuperMiniUne modification d’antenne simple et efficace
station de soudage à air chaud ZD-8968Un outil de travail économique ou uniquement de l'air chaud ?
testeur de radar de reculDétecter les pannes du système d’aide au stationnement d’un véhicule
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.
Diese Ausgabe steht allen GOLD- und GREEN-Mitgliedern auf der ElektorMagazine-Website zum Download bereit!
Sie sind noch kein Mitglied? Hier klicken!
USB-MessadapterStrom und Signalqualität von USB-Anschlüssen testen
4...20 mA Stromausgang für Arduino UnoEine zuverlässige, EMI-unempfindliche Stromschleifenschnittstelle
Automatische StaubsaugersteuerungHalten Sie den Arbeitsbereich Ihrer Werkzeuge sauber
DDS-Generator mit ATtiny
Opamp-Tester V2Neue Platine – nun auch für SMDs geeignet
550-mW-„Lamp“-AudioverstärkerDer warme Klang von Röhren – ganz einfach
SicherungswächterSicherung mit Blink-LED überwachen
Hochwertiger RIAA-VorverstärkerHolen Sie das Beste aus Ihren Vinyl-Schallplatten heraus!
Drahzahlkalibrator für PlattenspielerEin Arduino-basierter Stroboskopgenerator mit 100–120 Hz
Infrarot-fernbedienbarer DimmerSteuern Sie Ihre Halogen- oder LED-Stehleuchte mühelos und mit Stil
Wie man switch…case mit Strings in C++/Arduino IDE verwendet
Magnetfindermit einfachem Hall-Effekt-Sensor
Intelligenter Einschaltknopf für Raspberry PiEine Lösung für Raspberry Pi bis zum Modell 4
Essenzielle Maker-TippsProfessionelle Einblicke für den Maker-Alltag
Praktische Projekte mit dem 555-TimerGleichstrommotorsteuerung und Reaktionszeitschallungen
Einfacher AC-Last-Ein-MonitorEnergie sparen mit einem einfachen Gerät
Powerbanks parallel schaltenEine durchgehende Stromversorgung für drei Tage
VFO bis 15 MHzMit Raspberry Pi Pico
Geigen-Stimmgerät mit ATtiny202
Elektor Classics: Video-Eingangsverstärker für S/W-Fernseher
Kapazitätsmesser20 pF bis 600 nF
Quasi-analoges Uhrwerk MkIIZwei LED-Ringe für Stunden und Minuten
Sie können alles tun, was Sie wollen(mit dem Arduino-Ökosystem an Ihrer Seite)
Neon-Würfel mit Glimmlampen
Elektor Classics: Video-Verstärker
Inspirierende Hardware-Designs für Ihre ESPs
Elektor Classics: RTTY-Abgleichanzeige
RGB-LEDs mit integrierter SteuerschaltungLicht mit Präzision: ICLEDs setzen Maßstäbe
Experiment: Auf dem Weg zu einem Mixed-Signal-Theremin?Moderne Time-of-Flight-Sensoren im Zusammenspiel mit dem zeitlosen XR2206-Analoggenerator
ESP32-Audio-Transceiver-Board (Teil 1)SD-Karten-WAV-Player-Demo
Infografiken: Schaltungen & Schaltungsdesign 2025
Kleiner Audio-MixerEinfaches und vielseitiges skalierbares Design
Intelligenter Treppenlicht-TimerEffiziente Lichtsteuerung zur Reduzierung des Energieverbrauchs
Machen Sie Ihre Rollläden smartVelux-Hardware steuern mit ESP32 und MQTT
Solid-State-FußwärmerEnergieeffizienter Komfort
Ist der M5Stamp Fly Quadcopter der nächste Tello?
Erhöhung der WLAN-Reichweite des ESP32-C3 SuperMiniEine einfache und wirkungsvolle Antennenmodifikation
ZD-8968 Heißluft-LötstationEin preisgünstiges Arbeitstier oder nur heiße Luft?
Parksensor-TesterDefekte beim PDC-System am Auto finden
Preiswerter Audio-Messplatz Mit PC-Software und USB-Audio-Interface
Netzspannungs-Frequenzmessgerät Technische Daten - 3D-Modell
Kleines Induktivitätsmessgerät Eine kostengünstige Lösung für Ihr Heimlabor
Reiten auf der Schallwelle Ein Blick auf das Makerfabs Acoustic Levitation Kit
Aller Anfang... muss nicht schwer sein: Dioden als Gleichrichter
E-FFWD: Der Blick wieder nach vorne gerichtet!
Erste Schritte mit dem Oszilloskop Finden Sie den Weg durch den Knopf-und-Tasten-Dschungel
Raspberry Pi Pico als Software Defined Radio Für das MSF-Zeitsignal
Feuchtigkeitssensoren für Gießanlagen Automatische Bewässerung
Umbruch in der Mess- und Prüftechnik Innovationen kleinerer Interaktionen
Infografik 7-8/2022
Inspiration: Was wirklich wichtig ist Interview mit dem Unternehmer Walter Arkesteijn von InnoFaith Beauty Sciences
EMV-Störungen durch Speicherdrosseln minimieren
Grafische Benutzeroberflächen mit Python: Tic Tac Toe - Das Spiel
Reed-Relais Bemerkenswerte Bauteile
Einfaches analoges ESR-Messgerät mit Drehspulinstrument-Genauigkeit
CO2-Ampel mit Sigfox-Interface Vom WLAN unabhängig!
Frauen in der Technik „Es geht nur so lange um Leistung, bis diese Leistung Titten hat.“
Low-Budget Tablet-Oszilloskop ADS1013D Gutes Preis-/Leistungsverhältnis?
Aufgeschraubt und reingeschaut: Funk-Smart-Plugs Smarte Funksteckdosen mit ESP8266 & Co.
Hautwiderstand und Hautkapazität Kleine Experimente mit der menschlichen Hülle
Aus dem Leben gegriffen Der Prophet gilt nichts im Vaterland
Messgerät Pokit – die eierlegende Wollmilchsau? Klein und mit vielen Messmöglichkeiten
Hexadoku Sudoku für Elektroniker