Contents
Projects
PicoVoiceVoice alienation and sound effects with the Raspberry Pi Pico
Navigation with Vibration Feedback
POV Display
Pulse Width Modulation (PWM) with the Raspberry Pi Pico
Wi-Fi with the Raspberry Pi Pico
'Hello World' from the Raspberry Pi Pico and RP2040A look at the Raspberry Pi Foundation’s first microcontroller
Simple On-Off Temperature Controller with Raspberry Pi HAT
Multitasking with the Raspberry PiShowcase: a traffic lights controller
The Raspberry Pi Ruler GadgetFun with a time-of-flight sensor
Raspberry Pi Buffer Board (Mk. 1)Never blow up the I/O again
FM radio with RDSA top HAT project for the Raspberry Pi
LoRa with the Raspberry Pi PicoFun with MicroPython!
Tutorials
Qt for the Raspberry Pi
Raspberry Pi Pico Programmingwith MicroPython and Thonny
Raspberry Pi Full StackRPi and RF24 at the heart of a sensor network
Raspberry Pi Bash Command Cheat Sheet
Community
Java on the Raspberry PiAn interview with Frank Delporte
Reviews
Introducing the New Raspberry Pi Pico W, H, and WH
Secure Boot Solution for Raspberry PiRetrofit security at a reasonable price
Review: SmartPi – Smart Meter Extension for Raspberry Pi
Review: The Enviro+ Raspberry Pi HATMeasuring environmental data with Raspberry Pi and the HAT Enviro+
Review: Meet the Raspberry Pi 4All new but still good?
Raspberry Pi Gets a Fast 3.5' Touch DisplayMore power at no extra charge
Book Launch: Raspberry Pi for Radio Amateurs
USB-Logikanalysatoren am PC mit Arduino, Raspberry Pi und Co
Schritt-für-Schritt-Anleitungen führen Sie in die Analyse moderner Protokolle von I²C, SPI, UART, RS-232, NeoPixel, WS28xx, HD44780 und 1-Wire ein. Anhand von zahlreichen Experimentierschaltungen mit dem Raspberry Pi Pico, Arduino Uno und dem Bus Pirate üben Sie die praxisnahe Anwendung gängiger USB-Logikanalysatoren ein.
Alle in diesem Buch vorgestellten Experimentierschaltungen wurden vollständig getestet und sind funktionsfähig. Die notwendigen Programmlistings sind enthalten, es sind keine besonderen Programmier- oder Elektronikkenntnisse für diese Schaltungen notwendig. Es werden die Programmiersprachen MicroPython und C mit den Entwicklungsumgebungen Thonny und Arduino IDE eingesetzt.
Dieses Buch verwendet mehrere Modelle flexibler und weit verbreiteter USB-Logikanalysatoren und zeigt die Stärken und Schwächen jeder Preisklasse. Sie werden kennenlernen, welche Kriterien für Ihre Arbeit wichtig sind und in der Lage sein, das für Sie passende Gerät zu finden.
Egal ob Arduino, Raspberry Pi oder Raspberry Pi Pico: Die abgebildeten Beispielschaltungen ermöglichen einen schnellen Start in die Protokollanalyse und können auch als Grundlage für eigene weitere Experimente dienen.
Sie werden alle wichtigen Begriffe und Zusammenhänge kennenlernen, eigene Experimente durchführen, selbstständig Protokolle analysieren und nach der Lektüre dieses Buches – im Bereich der digitalen Signale und Protokolle – ein umfassendes Wissen aufgebaut haben.
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.
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.
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
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
Mein eigener RISC-V-ControllerErste Schritte mit dem NEORV32 RISC-V Softcore für preiswerte FPGAs
Wie man den Seriellen Plotter der Arduino-IDE nutztEinfaches Plotten von Kurven mit Arduino
CLUE - ein Clou von Adafruit?Angriff auf den micro:bit
Puffer-Board für den Raspberry Pi 400Schützen Sie die I/Os!
FrühjahrskollektionInteressante Raspberry Pi RP2040 Boards
Ein DIY-Handbuch zu elektronischer Sicherheit und E-SpionageSRAM erhitzt oder tiefgefroren
Identifizierung von BauteilenTipps & Tricks, Best Practices und andere nützliche Informationen
Ein Touch-Schalter ohne TouchKonzeption und Umsetzung eines berührungslosen Lichtschalters
Aller Anfang...ist gar nicht schwer: Anpassen und Transformieren
Was gibt's Neues in der Embedded-Entwicklung?Rust und die Aktualisierung von IoT-Implementierungen
Infografiken Elektor Industry
Neue Wege für Industrie und Automobilbranche mit 5G
DrehspulrelaisBemerkenswerte Bauteile
Zutritt für Unbefugte verbotenAlles dreht sich um die Werkzeuge...
Die Neuronen in neuronalen Netzen verstehenTeil 4: Eingebettete Neuronen
Magnetische Levitation auf die sehr sehr einfache ArtDie dritte und kompakteste Version
SPS-Programmierung mit dem Raspberry Pi und dem OpenPLC-ProjektVisualisierung von SPS-Programmen mit AdvancedHMI
Aus dem Leben gegriffenEinpacken und weg damit
Unter dem RadarUnbekannte Mikrocontroller, über die Sie Bescheid wissen sollten
Drahtloses Monitoring und DebuggenSerielle Funk-Schnittstelle für Arduino, ESP32 und Co.
Tragbares Temperatur- und FeuchtemessgerätGebaut mit vorgefertigten Modulen
Lithium-Akkus reparierenGeld sparen + mehr Power!
GUIs mit PythonMeme-Generator
Die drei FragezeichenWarum? Was? Wer?
Hexadoku
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.
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.
LoRa with the Raspberry Pi PicoFun with MicroPython
What Is RISC-V?And Why the Industry Is So Excited About a New Processing Core!
Elektor @ 60Circuits of Summer Past
Versatile Power Supply for BreadboardsPositive and Negative Voltages Out of 5 V from USB
Raspberry Pi Pico EssentialsSample Chapter: Wi-Fi with the Raspberry Pi Pico
Magnetic Levitation the Easy Way
Hands On the Parallax Propeller 2Part 3: Smart Pins and Serial Data (UART)
Nucleo Boards Programming with the STM32CubeIDESample Chapter: FreeRTOS for the STM32 MCU
Developer's ZoneTips & Tricks, Best Practices and Other Useful Information
Miniware DT71 Digital Tweezers
Wearable Wi-Fi Gadget: ESPHome Does the Job Again
Starting out in ElectronicsEasier Than Imagined! This Concludes the Subject of “Capacitors”
Simple Sketches Using the Qwiic Ecosystem
Java on the Raspberry Pi (Part 2)Controlling GPIOs with a Spring REST Service
Raspberry Pi Compute Module 4A Raspberry Pi for Industry
Portable, Stand-Alone Air Quality Display for 2.5 µm ParticlesKeep(s) an Eye on Your Health
From Life’s ExperienceThe Future Was Better in the Past
MicroPython for the ESP32 and FriendsPart 1: Installation and Our First Programs
Charge-Coupled Devices in OscilloscopesPeculiar Parts, the series
ESD – The Invisible DestroyerComponents Trashed by a Bolt from the Blue
Solar Power for Mowing RobotsEcological, Inexpensive, Simple!
Europe’s Efforts to Tame Big Tech
HexadokuThe Original Elektorized Sudoku
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
Raspberry Pi Pico as Spectrum AnalyzerFFTs on a Low-Cost Hardware Basis
±40-V Linear Voltage RegulatorAn Alternative Power Supply for the Fortissimo-100 Power Amplifier… and Others!
MCU Wireless Communication Made FlexibleEEPROM Opens Networking Prospects for Wireless MCUs
€5,000 up for grabs!Join the STM32 Wireless Innovation Design Contest
2023: An AI OdysseyGetting Started with ChatGPT’s Code Interpreter
LoRa, a Swiss Army Knife (1)The LoRa Protocol and Its Advantages
Adjustable Current Sink with Integrated Clock GeneratorTest Power Supplies, Voltage Converters and Batteries
Two New Arduino UNO R4 Boards: Minima and WiFi
Logarithmic PotentiometersThey’re Exponential!
Motor Driver Breakout BoardA BoB for a 5 A DC Motor Driver with a 3×3 mm Size
From Life’s ExperienceHazardous Electronics
Is Cellular the Lowest-Power Option for IoT?LTE-M and NB-IoT Energy Requirements in LPWAN Deployments
Wireless Communication in IoT Systems – Using Arduino MKR ModulesThe Right Board for Wi-Fi, LoRa, and Many More Standards
AC Losses in Magnetic ComponentsAvoid Hot Inductors!
Measurement for Optimal Cloud Deployment
Matter Adoption: What does it take to deploy Matter devices?
YARD Stick OneA Sub-1 GHz Wireless Test Tool
Latching RelaysPeculiar Parts, the Series
PIC O’Clock – In Touch with TimeDesigning an SDR Time Signal Receiver
Due Diligence DirectiveBusiness as Usual Will Not Do
Starting Out in Electronics……Voltage Amplification
Infrasound Recorder with the Arduino Pro MiniA Sample Project from Elektor’s “Arduino & Co.” Book
Cloud-Based Energy MeterWith ESP32 Module and PZEM-004T Voltage/Current Sensor
A Bare-Metal Programming Guide (Part 2)Accurate Timing, the UART, and Debugging
Hexadoku