Learn how to use the ESP32 Microcontroller and MicroPython programming in your future projects!
The project book, written by well-known Elektor author Dogan Ibrahim, holds many software- and hardware-based projects especially developed for the MakePython ESP32 Development Kit. The kit comes with several LEDs, sensors, and actuators. The kit will help you acquire the basic knowledge to create IoT projects.
The book’s fully evaluated projects feature all the supplied components. Each project includes a block diagram, a circuit diagram, a full program listing, and a complete program description.
Included in the kit
1x MakePython ESP32 development board with LCD
1x Ultrasonic ranging module
1x Temperature and humidity sensor
1x Buzzer module
1x DS18B20 module
1x Infrared module
1x Potentiometer
1x WS2812 module
1x Sound sensor
1x Vibration sensor
1x Photosensitive resistance module
1x Pulse sensor
1x Servo motor
1x USB cable
2x Button
2x Breadboard
45x Jumper wire
10x Resistor 330R
10x LED (Red)
10x LED (Green)
1x Project book (206 pages)
46 Projects in the Book
LED Projects
Blinking LED
Flashing SOS
Blinking LED – using a timer
Alternately flashing LEDs
Button control
Changing the LED flashing rate using pushbutton interrupts
Chasing-LEDs
Binary-counting LEDs
Christmas lights (random-flashing 8 LEDs)
Electronic dice
Lucky day of the week
Pulsewidth Modulation (PWM) Projects
Generate a 1000-Hz PWM waveform with 50% duty cycle
LED brightness control
Measuring the frequency and duty cycle of a PWM waveform
Melody maker
Simple electronic organ
Servo motor control
Servo motor DS18B20 thermometer
Analog To Digital Converter (ADC) Projects
Voltmeter
Plotting the analog input voltage
ESP32 internal temperature sensor
Ohmmeter
Photosensitive resistance module
Digital To Analog Converter (DAC) Projects
Generating fixed voltages
Generating a sawtooth-wave signal
Generating a triangular-wave signal
Arbitrary periodic waveform
Generating a sinewave signal
Generating accurate sinewave signal using timer interrupts
Using The OLED Display
Seconds counter
Event counter
DS18B20 OLED based digital thermometer
ON-OFF temperature controller
Measuring the temperature and humidity
Ultrasonic distance measurement
Height of a person (stadiometer)
Heart rate (pulse) measurement
Other Sensors Supplied with the Kit
Theft alarm
Sound-activated light
Infrared obstacle avoidance with buzzer
WS2812 RGB LED ring
Timestamping temperature and humidity readings
Network Programming
Wi-Fi scanner
Remote control from the Internet browser (using a smartphone or PC) – Web Server
Storing temperature and humidity data in the Cloud
Low-Power Operation
Using a timer to wake up the processor
Der Arduino Uno ist ein Open-Source-Mikrocontroller-Entwicklungssystem, das Hardware, eine integrierte Entwicklungsumgebung (IDE) und eine Vielzahl von Bibliotheken umfasst. Es wird von einer riesigen Gemeinschaft von Programmierern, Elektronikern, Enthusiasten und Akademikern unterstützt. Insbesondere die Bibliotheken erleichtern die Programmierarbeit und reduzieren die Entwicklungszeiten, da sie das Erstellen von Programmen erheblich erleichtern.
Der Raspberry Pi 4 kann in vielen Projekten wie Audio- und Videoanwendungen, aber auch in Industriesteuerungen, Robotik, Spielen usw. eingesetzt werden. Dazu bietet er auch WiFi- und Bluetooth-Fähigkeiten, wodurch er sich zudem hervorragend für internetbasierte Steuerungs- und Überwachungsanwendungen eignet.
In diesem Buch werden sowohl der Raspberry Pi 4 als auch der Arduino Uno in PID-basierten automatischen Steuerungsanwendungen eingesetzt. Nach einer grundlegenden Theorie der Regelsysteme werden funktionierende und getestete Projekte zur Steuerung realer Systeme mit PID-Reglern vorgestellt. Die Open-Loop-Eigenschaften, die Abstimmung der PID-Parameter und das Closed-Loop-Zeitverhalten der Systeme werden zusammen mit Blockdiagrammen, Schaltplänen und PID-Regelalgorithmen ausführlich diskutiert.
Vollständige Programme für den Raspberry Pi und den Arduino Uno runden die im Buch vorgestellten Projekte ab. Die Regelsysteme können problemlos auch auf andere Projekte angewendet werden und die für den Raspberry Pi 4 angegebenen Programme sollten auch mit anderen Modellen der Raspberry Pi-Familie reibungslos funktionieren.
Das Buch behandelt folgende Themen:
Steuer- und Regelsysteme
Analoge und digitale Sensoren
Übertragungsfunktionen und zeitkontinuierliche Systeme
Systemantwortfunktionen erster und zweiter Ordnung
Zeitdiskrete digitale Systeme
Zeitkontinuierliche PID-Regler
Zeitdiskrete PID-Regler
Zweipunkt-Temperaturregelung mit Raspberry Pi und Arduino Uno
PID-basierte Temperaturregelung mit Raspberry Pi und Arduino Uno
Motorsteuerung mit Raspberry Pi und Arduino Uno
Wasserstandsregelung mit Raspberry Pi und Arduino Uno
PID-basierte LED-Helligkeitsregelung mit Raspberry Pi und Arduino Uno
Het boek “Sensoren aan de Raspberry Pi” richt zich tot iedereen die zich wil verdiepen in een Raspberry Pi in combinatie met Windows 10 IoT Core. Dit besturingssysteem biedt samen met een RPi weliswaar veel rekenkracht, maar voor de communicatie met de buitenwereld zijn nog externe modules en sensoren nodig. Daartoe wordt in dit boek gebruik gemaakt van een sensor-kit met 35 modules die nog geen 60 euro kost.
Auteur Florian Schäffer begint zijn boek met de introductie van de Raspberry Pi en hij beschrijft welke hardware u nodig hebt om met de RPi te kunnen werken. Dan volgt een eerste kennismaking met Windows 10 IoT Core. Daarna wordt dieper ingegaan op het gebruik van Visual Studio 2015 en worden de eerste programmeervoorbeelden beschreven. Ook wordt uitgelegd hoe een MySQL-databank kan worden aangestuurd via een app en hoe de als webserver kan worden ingezet.
In het tweede deel worden de sensoren stuk voor stuk beschreven met hun eigenschappen en worden er veel toepassingsvoorbeelden gegeven. De source-codes van de programma’s zijn als download bij het boek beschikbaar. Tot slot wordt nog aandacht besteed aan het gebruik van druktoetsen en schakelaars, en het werken met digitale uitgangen en analoge ingangen.
Der Raspberry Pi wurde ursprünglich für die Forschung und Lehre entwickelt. Der kleine Bastler-PC hat jedoch bewiesen, dass er auch in der Industrie vielseitig einsetzbar ist. Aufgrund der zahlreichen Anwendungen des Raspberry Pi in privaten Hobbykellern und Hochschullabors ist er etlichen angehenden Ingenieuren bereits bekannt, daher ist es nicht verwunderlich, dass er schon in unterschiedlichsten industriellen Betrieben zum Einsatz kommt.
Im Gegensatz zu vielen anderen PCs, die in der Industrie verwendet werden, bringt der Raspberry Pi einige Vorteile mit sich. Er ist nicht nur kostengünstig, sondern auch einfach in der Anwendung. Dies zeigt sich besonders anhand der benutzerfreundlichen Standard-Software Raspbian, welche sich sehr einfach und ohne viel Zeitaufwand installieren lässt. Besonders einzigartig ist jedoch die große Support-Community, die über soziale Netzwerke für Hilfe bei der Anwendung und Problemlösungen bereitsteht. Mitbegründer des Raspberry Pi, Eben Upton, sieht Chancen für den Raspberry Pi, in der Industrie Fuß zu fassen und so die industrielle Steuerung erheblich zu erleichtern.
Dieses Buch bietet eine anschauliche Übersicht über die Möglichkeiten der industriellen Anwendung des Raspberry Pi. Von Sensoren, Blockchain-Technologie, Industrie-Controller über Automatisierung und KI, werden zahlreiche Anwendungsmöglichkeiten für den Raspberry Pi anschaulich erklärt. Außerdem werden unterschiedlichste Tools zur erweiterten Nutzung des Raspberry Pi sowie die verschiedenen Betriebssysteme vorgestellt. Die Möglichkeiten und Grenzen für den Raspberry Pi in der Industrie und konkrete Anwendungsbeispiele liefern ein realistisches Gesamtbild.
40+ Projects using Arduino, Raspberry Pi and ESP32
This book is about developing projects using the sensor-modules with Arduino Uno, Raspberry Pi and ESP32 microcontroller development systems. More than 40 different sensors types are used in various projects in the book. The book explains in simple terms and with tested and fully working example projects, how to use the sensors in your project. The projects provided in the book include the following:
Changing LED brightness
RGB LEDs
Creating rainbow colours
Magic wand
Silent door alarm
Dark sensor with relay
Secret key
Magic light cup
Decoding commercial IR handsets
Controlling TV channels with IT sensors
Target shooting detector
Shock time duration measurement
Ultrasonic reverse parking
Toggle lights by clapping hands
Playing melody
Measuring magnetic field strength
Joystick musical instrument
Line tracking
Displaying temperature
Temperature ON/OFF control
Mobile phone-based Wi-Fi projects
Mobile phone-based Bluetooth projects
Sending data to the Cloud
The projects have been organized with increasing levels of difficulty. Readers are encouraged to tackle the projects in the order given. A specially prepared sensor kit is available from Elektor. With the help of this hardware, it should be easy and fun to build the projects in this book.
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.
From Simple Ciphers to Secure Systems
Understanding how to apply cryptography on modern microcontrollers is essential for building secure, reliable, and trustworthy systems. This book explains cryptography in the context of embedded hardware, from classical ciphers that illustrate core principles to modern techniques such as AES for practical high-security applications.
By combining mathematical theory with real-world microcontroller implementations, readers learn not only how cryptography works, but also how to implement it effectively on systems with limited processing power and memory. The book is intended for students starting out in cryptography, hobbyists securing personal projects, and engineers looking for a structured guide to embedded security.
The book covers these key topics in applied cryptography:
Classical ciphers on Arduino Uno and Raspberry Pi Pico, with full programs: Spartan Scytale, Hebrew Atbash, Caesar, ROT13, Alberti Disk, Vigenère, Affine, Polybius, Playfair, Beaufort, Ottoman Codebook, and One-Time Pad.
Hacking classical ciphers using microcontrollers, with examples.
Pseudo-random (PRNG) and true random number generation (TRNG) on microcontrollers.
Symmetric-key cryptography with full programs: DES and AES-128/256.
Memory and speed constraints of cryptography on microcontrollers.
Asymmetric cryptography: public/private keys, digital signatures, key distribution and derivation (KDF), RSA, and SHA-256 implementations.
A complete secure communication program using RSA and AES-256.
A glossary of commonly used cryptography terms.
Lancé en mars 2012, plus les 30 millions d'exemples nanométriques du Raspberry Pi exposés. Il s’agit d’une contribution à la révolution des technologies de l’information et d’un grand stimulant pour le développement du monde de l’électronique. Le succès de la « tarte à la framboise » (traduction littérale de Raspberry Pie) est le résultat de l'industrie micro-électronique de transformation des produits.
Eben Upton, son créateur, âme à l'origine, les acheteurs étaient presque tous des makers , adultes en général. Cependant la plupart d'entre eux étaient également des ingénieurs professionnels. Rapidité, les gens sont responsables de leurs activités personnelles lors de l'utilisation du Raspberry Pi avec une plateforme informatique stable, et ils sont également adoptés pour leur métier.
La Fondation Raspberry Pi édite un magazine édité par la communauté Raspberry Pi : le MagPi (en anglais). Le magazine aborde les passions selon la nature du numérique nano-ordonné et global. Il contient des bancs d'essai de nouveaux produits, de nombreux tutoriels et un grand nombre de projets. Les membres de la communauté Raspberry Pi participent à leur expérience.
La maison d'édition Elektor s'associe à la Fondation Raspberry Pi pour la publication dans le magazine français MagPi. Il est conçu pour assembler 84 projets publics du MagPi en développant l'utilisation du Raspberry Pi et son inspiration.
Grâce à la taille fine et aux possibilités du Raspberry Pi, les créateurs du monde sont fiers des idées des plus folles.
Partez en voyage dans un monde où est faisable !
Le Raspberry Pi à toutes les sauces pour ?
s'inspirateur des projets réalisés par les membres de la communauté
dénicher des utilisations inouïes
découvrir des accessoires et technologies diverses
entrer dans une communauté intégrée et active de Raspberry Pi
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
Dieses Buch nimmt Sie mit auf eine spannende Tour durch die Entwicklung von Full-Stack-Webanwendungen mit Raspberry Pi. Sie lernen, wie Sie eine Anwendung von Grund auf erstellen.
Sie erwerben Erfahrung und Wissen über Technologien, darunter:
Das Linux-Betriebssystem und die Befehlszeile.
Die Programmiersprache Python.
Die GPIOs (General Purpose Input Output Pins) des Raspberry Pi.
Der Nginx-Webserver.
Flask Python-Mikroframework für Webanwendungen.
JQuery und CSS zum Erstellen von Benutzeroberflächen.
Umgang mit Zeitzonen.
Erstellen von Diagrammen mit Plotly und Google Charts.
Datenerfassung mit Google Sheet.
Entwickeln von Applets mit IFTTT.
Sichern Sie Ihre Anwendung mit SSL.
Empfangen Sie mit Twilio Textnachrichten auf Ihrem Telefon.
In diesem Buch erfahren Sie außerdem, wie Sie einen drahtlosen Arduino-Sensorknoten aus der Ferne einrichten und Daten von ihm sammeln. Ihre Raspberry Pi-Webanwendung kann Arduino-Knotendaten auf die gleiche Weise verarbeiten, wie sie Daten von ihrem integrierten Sensor verarbeitet.
Raspberry Pi Full Stack vermittelt Ihnen viele Fähigkeiten, die für die Erstellung von Web- und Internet-of-Things-Anwendungen unerlässlich sind.
Die Anwendung, die Sie in diesem Projekt erstellen, ist eine Plattform, die Sie erweitern können. Dies ist nur der Anfang dessen, was Sie mit einem Raspberry Pi und den Software- und Hardwarekomponenten tun können, die Sie lernen werden.
Dieses Buch wird vom Autor durch einen eigenen Diskussionsbereich unterstützt.
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.
programmation PIO sur le Raspberry Pi PicoNeuf instructions, de multiples possibilités
l'IA en ligne de commandeDéveloppement, compilation et validation de projets embarqués depuis le terminal
le Scrutiny DebuggerDéboguer, visualiser et tester du code C/C++ embarqué
carte breakout Sigfox (1)Développement d’une BoB radio
alimentation à faible bruit (2)Construction, assemblage et mise en œuvre pratique
générateur de signaux simple basé sur le RP2040Signaux analogiques et numériques
à la découverte du futur de la domotique avec Matter et l’IA EdgeLes dernières versions de Matter et l’essor de l’IA en périphérie de réseau (edge) donnent-ils enfin aux ingénieurs les outils nécessaires pour construire les maisons intelligentes et parfaitement intégrées promises aux utilisateurs ?
capteurs de pression différentielleLa maintenance prédictive appliquée aux systèmes CVC
la sécurité dès la conceptionPrincipes d’ingénierie pour limiter les défaillances
la sécurité des systèmes embarqués n’est plus une option
la CRA et la PQC redéfinissent les priorités de la sécurité embarquéePourquoi même les petites entreprises IoT et industrielles doivent prévoir une mise à niveau
embedded world 2026Entretien avec Benedikt Weyerer, directeur d’embedded world
prise en main du bus I3CUtilisation de matériel de ST et Microchip
le projet BLEnkyPrototypage rapide d’applications Bluetooth Low Energy
modulation de largeur d’impulsionDu thermostat tout ou rien à un signal analogique continu filtré
audiotroniqueDes circuits audio agréables à l’écoute, à réaliser soi-même
sur le vifLisez donc le manuel !
carte émetteur-récepteur audio ESP32 (4)Réglage des horloges et une option filaire
2026 : une odyssée de l’IAConséquences du vibe coding
charge CC symétriqueCharge CC symétrique, statique ou dynamique
comptage de visages avec MaixCAMUne méthode simple pour estimer la taille d’un public