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
The Andonstar AD409 Max-ES boosts a high-quality metal lens and a unique UV filter design. Crafted from top-tier industrial-grade materials, it delivers unmatched precision and durability, ensuring a reliable product experience. The UV filter positioned in front of the metal lens blocks soldering heat, smoke, and dust, safeguarding the lens and making it perfect for soldering and maintenance professionals.
The AD409 Max-ES features an oversized Max station (46 x 37 x 47.5 cm) and an advanced tool set, expanding the soldering station area by 370%. This upgrade meets the demands of professional soldering tasks and provides ample workspace for larger projects.
The easy-to-use tool holder keeps tools within reach, ensuring they are always accessible. Additionally, the soldering helping hands with rotatable clamps simplify soldering and repair tasks, enhancing efficiency and convenience.
The endoscope offers an all-around 360° view. This allows for clear observation of components from all sides and inside pipes, eliminating blind spots and ensuring thorough inspections.
Features
High-quality Metal Lens and Unique UV Filter Design
New Max station
Easy-to-use Tool Holder and Soldering Helping Hands
Microscope with Endoscope All-around View 360°
Professional HDMI Digital Microscope supports Multiple Output Methods
8 Levels adjustable LEDs
Convenient Wireless Remote Control
Specifications
Screen size
10.1 inch (1280x800)
Image sensor
4 MP
Video output
UHD 2880x2160 (24fps)FHD 1920x1080 (60fps/30fps)HD 1280x720 (120fps)
Video format
MP4
Magnification
Up to 300 times (27 inch HDMI monitor)
Photo resolution
Max. 24 MP (5600x4200)
Photo format
JPG
Focus range
Min. 5 cm
Frame Rate
Max. 120fps
Video interface
HDMI
Storage
microSD card (up to 64 GB)
PC support
Windows, PC software with measurement
Mobile phone, tablet terminal support
Support WiFi connection and measurement
Power source
5 V DC
Light source
2 LEDs with the stand
Endoscope
Yes
Stand size
46 x 37 x 47.5 cm (18.1 x 14.6 x 18.7")
Included
1x Andonstar AD409 Max-ES Digital Microscope
1x Endoscope
1x Stand with 2 LEDs
1x UV filter (already assembled in the lens)
1x Soldering mat
1x Beam
1x Column
1x Tool holder
1x Soldering Helping Hands
1x Power adapter
1x Power cable
1x HDMI cable
1x USB cable
1x IR remote
1x Manual
Downloads
Manual
Software
Pull Down Lever For Highest Score!
This Elektor Circuit Classic from 1984 shows a playful application of CMOS 400x series logic ICs in combination with LEDs, a highly popular combination at the time. The project imitates a spinning-digit type slot machine.
The Game
To play the game, first agree on the number of rounds. Player 1 actuates the switch lever as long as desired and releases it. The LEDs then show the score which is the sum of the 50-20-10-5 digits lit up. If the Play Again! LED lights, Player 1 has another, “free” round. If not, it’s Player 2’s turn. The players keep tab of their scores, and the highest score wins.
Features
LEDs Indicate Score
Multi-Player and Play Again!
Elektor Heritage Circuit Symbols
Tried & Tested by Elektor Labs
Educational & Geeky Project
Through-Hole Parts Only
Included
Printed Circuit Board
All Components
Wooden Stand
Bill of Materials
Resistors (5%, 250 mW)
R1,R2,R3,R4 = 100kΩ
R5,R6,R7,R8,R9,R10 = 1kΩ
Capacitors
C1 = 4.7nF, 10%, 50V, 5mm
C2 = 4.7μF, 10%, 63V, axial
C3,C4 = 100nF, 10 %, 50V, ceramic X7R, 5mm
Semiconductors
LED1-LED6 = red, 5mm (T1 3/4)
IC1 = 74HC4024
IC2 = 74HC132
Miscellaneous
S1 = switch, toggle, 21mm lever, SPDT, momentary
S2 = switch, tactile, 24V, 50mA, 6x6mm
S3 = switch, slide, SPDT
IC1,IC2 = IC socket, DIP14
BT1 = PCB-mount CR2032 battery retainer clip
Desktop Stand
PCB 230098-1
Not included: BT1 = CR2032 coin cell battery
Enhance your Raspberry Pi 5 with the Pironman 5, built with sturdy aluminum, superior cooling, NVMe M.2 SSD support, OLED display, RGB lighting, standard HDMI ports x2, and a secure power switch. It is perfect for NAS, Home Assistant, Media and Game Centers. The Pironman 5 is not just a case; it’s an upgrade that transforms your Raspberry Pi 5 into a powerful, efficient, and stylish device.
The Pironman 5 includes the Pi 5 NVMe PIP (PCIe Peripheral Board), a PCIe adapter board specifically designed for NVMe solid-state drives. This board supports four sizes of NVMe SSDs: 2230, 2242, 2260, and 2280, all of which can be installed in an M.2 M key slot. The connection is certified for Gen 2.0 speeds (5 GT/sec), but can be forced to Gen 3.0 (10 GT/sec) for faster performance.
Expandable NVMe M.2 SSD Slot
Boost your Raspberry Pi 5's performance with the Pironman 5's NVMe M.2 SSD slot, supporting multiple sizes (2230, 2242, 2260, 2280) for increased storage and faster system response.
Advanced Cooling System
Keep your Raspberry Pi 5 cool and stylish with the Pironman 5's tower cooler and dual RGB fans, featuring dust filters for durable, low-maintenance operation.
OLED Display for Instant Insights
The Pironman 5 includes a 0.96" OLED display, providing immediate updates on CPU and RAM usage, temperature, IP address, and more.
Enhanced Functionality and Safety
The Pironman 5 secures your Raspberry Pi 5 with features like safe shutdown, customizable RGB LEDs, HDMI ports, an IR receiver, and an external GPIO extender, enhancing functionality and connectivity.
Features
Raspberry Pi 5 mini PC
0.96" OLED Display showing Raspberry Pi’s CPU usage, temperature, disk usage, IP address, RAM usage etc.
Tower cooler can cool a 100% CPU load Pi to 39°C at 25°C room temperature
2 RGB Fans, with GPIO control
1 PWM Fan on the Tower Cooler is controlled by the Raspberry Pi system.
Supports four (PCIe Gen 2.0 / PCIe Gen 3.0) NVMe M.2 SSD sizes: 2230, 2242, 2260, and 2280.
4 WS2812 Addressable RGB LED light up the whole case with cool light effect
IR Receiver for multi-media center like Kodi or Volumio
Retro metal power button for safe shut down
External GPIO extender with pin name label, for easy access
Equipped with a spring-loaded socket for easy card removal
Aluminum main body with clear Acrylic side panel
Features two standard HDMI ports
Downloads
Documentation
Over 40 Fully Tested ESP32 Projects Using Arduino IDE and the LVGL Graphics Library
This bundle includes the ESP32 Cheap Yellow Display (CYD) – a compact development board combining a standard ESP32 microcontroller with a 320x240 pixel TFT color display. The board also features multiple connectors for GPIO, serial communication (TX/RX), power, and ground. The built-in display is a major advantage, allowing users to create complex, graphics-based projects without the need for external LCDs or displays.
The accompanying book introduces the CYD board's hardware and on-board connectors in detail. It provides a range of beginner to intermediate-level projects developed using the popular Arduino IDE 2.0. Both basic graphics functions and the powerful LVGL graphics library are covered, with practical projects illustrating each approach.
All included projects have been fully tested and are ready to use. The book provides block diagrams, circuit schematics, complete code listings, and step-by-step explanations. With the LVGL library, readers can create modern, full-color graphical interfaces using widgets such as buttons, labels, sliders, calendars, keyboards, charts, tables, menus, animations, and more.
ESP32 Cheap Yellow Display Board
This development board (also known as "Cheap Yellow Display") is powered by the ESP-WROOM-32, a dual-core MCU with integrated Wi-Fi and Bluetooth capabilities. It operates at a main frequency of up to 240 MHz, with 520 KB SRAM, 448 KBROM, and a 4 MB Flash memory. The board features a 2.8-inch display with a resolution of 240x320 and resistive touch.
Furthermore, the board includes a backlight control circuit, touch control circuit, speaker drive circuit, photosensitive circuit, and RGB-LED control circuit. It also provides a TF card slot, serial interface, DHT11 temperature and humidity sensor interface, and additional IO ports.
The module supports development in Arduino IDE, ESP-IDE, MicroPython, and Mixly.
Applications
Image transmission for Smart Home device
Wireless monitoring
Smart agriculture
QR wireless recognition
Wireless positioning system signal
And other IoT applications
Specifications
Microcontroller
ESP-WROOM-32 (Dual-core MCU with integrated Wi-Fi and Bluetooth)
Frequency
Up to 240 MHz (computing power is up to 600 DMIPS)
SRAM
520 KB
ROM
448 KB
Flash
4 MB
Operating voltage
5 V
Power consumption
approx. 115 mA
Display
2.8-inch color TFT screen (240 x 320)
Touch
Resistive Touch
Driver chip
ILI9341
Dimensions
50 x 86 mm
Weight
50 g
Downloads
GitHub
This bundle contains:
The ESP32 Cheap Yellow Display Book (normal price: €35)
ESP32 Cheap Yellow Display Board (normal price: €25)
1x ESP32 Dev Board with 2.8" Display and acrylic Shell
1x Touch pen
1x Connector cable
1x USB cable
Program and Build Raspberry Pi 5 Based Ham Station Utilities with the RTL-SDR
The RTL-SDR devices (V3 and V4) have gained popularity among radio amateurs because of their very low cost and rich features. A basic system may consist of a USB based RTL-SDR device (dongle) with a suitable antenna, a Raspberry Pi 5 computer, a USB based external audio input-output adapter, and software installed on the Raspberry Pi 5 computer. With such a modest setup, it is possible to receive signals from around 24 MHz to over 1.7 GHz.
This book is aimed at amateur radio enthusiasts and electronic engineering students, as well as at anyone interested in learning to use the Raspberry Pi 5 to build electronic projects. The book is suitable for both beginners through experienced readers. Some knowledge of the Python programming language is required to understand and eventually modify the projects given in the book. A block diagram, a circuit diagram, and a complete Python program listing is given for each project, alongside a comprehensive description.
The following popular RTL-SDR programs are discussed in detail, aided by step-by-step installation guides for practical use on a Raspberry Pi 5:
SimpleFM
GQRX
SDR++
CubicSDR
RTL-SDR Server
Dump1090
FLDIGI
Quick
RTL_433
aldo
xcwcp
GPredict
TWCLOCK
CQRLOG
klog
Morse2Ascii
PyQSO
Welle.io
Ham Clock
CHIRP
xastir
qsstv
flrig
XyGrib
FreeDV
Qtel (EchoLink)
XDX (DX-Cluster)
WSJT-X
The application of the Python programming language on the latest Raspberry Pi 5 platform precludes the use of the programs in the book from working on older versions of Raspberry Pi computers.
The Elektor Audio DSP FX Processor combines an ESP32 microcontroller and an ADAU1701 Audio DSP from Analog Devices. Besides a user-programmable DSP core, the ADAU1701 has high-quality analog-to-digital and digital-to-analog converters built-in and features an I²S port. This makes it suitable as a high-quality audio interface for the ESP32.
Programs for the ESP32 can be created with Arduino, Platform IO, CMake or by using the Espressif IDF in another way. Programs for the ADAU7101 audio DSPs are created with the free visual programming tool SigmaStudio by dragging and dropping pre-defined algorithm blocks on a canvas.
Applications
Bluetooth/Wi-Fi audio sink (e.g. loudspeaker) & source
Guitar effect pedal (stomp box)
Music synthesizer
Sound/function generator
Programmable cross-over filter for loudspeakers
Advanced audio effects processor (reverb, chorus, pitch shifting, etc.)
Internet-connected audio device
DSP experimentation platform
Wireless MIDI
MIDI to CV converter
and many more...
Specifications
ADAU1701 28-/56-bit, 50-MIPS digital audio processor supporting sampling rates of up to 192 kHz
ESP32 32-bit dual-core microcontroller with Wi-Fi 802.11b/g/n and Bluetooth 4.2 BR/EDR and BLE
2x 24-bit audio inputs (2 V RMS, 20 kΩ)
4x 24-bit audio outputs (0.9 V RMS, 600 Ω)
4x Control potentiometer
MIDI in- and output
I²C expansion port
Multi-mode operation
Power supply: 5 V DC USB or 7.5-12 V DC (barrel jack, center pin is GND)
Current consumption (average): 200 mA
Included
1x ESP32 Audio DSP FX Processor board (assembled)
1x ESP32-PICO-KIT
2x Jumpers
2x 18-pin headers (female)
4x 10 KB potentiometers
Downloads
Documentation
GitHub
Specifications
Dual ARM Cortex-M0+ @ 133 MHz
264 kB on-chip SRAM in six independent banks
Support for up to 16 MB of off-chip Flash memory via dedicated QSPI bus
DMA controller
Fully-connected AHB crossbar
Interpolator and integer divider peripherals
On-chip programmable LDO to generate core voltage
2x on-chip PLLs to generate USB and core clocks
30x GPIO pins, 4 of which can be used as analogue inputs
Peripherals
2x UARTs
2x SPI controllers
2x I²C controllers
16x PWM channels
USB 1.1 controller and PHY, with host and device support
8x PIO state machines
What you'll get
10x bare RP2040 chips
Kick off with the MAX1000 and VHDPlus
Ready to Master FPGA Programming? In this guide, we’re diving into the world of Field Programmable Gate Arrays (FPGAs) – a configurable integrated circuit that can be programmed after manufacturing. Imagine bringing your ideas to life, from simple projects to complete microcontroller systems!
Meet the MAX1000: a compact and budget-friendly FPGA development board packed with features like memory, user LEDs, push-buttons, and flexible I/O ports. It’s the ideal starting point for anyone wanting to learn about FPGAs and Hardware Description Languages (HDLs).
In this book, you’ll get hands-on with the VHDPlus programming language – a simpler version of VHDL. We’ll work on practical projects using the MAX1000, helping you gain the skills and confidence to unleash your creativity.
Get ready for an exciting journey! You’ll explore a variety of projects that highlight the true power of FPGAs. Let’s turn your ideas into reality and embark on your FPGA adventure – your journey starts now!
Exciting Projects You’ll Find in This Book
Arduino-Driven BCD to 7-Segment Display Decoder
Use an Arduino Uno R4 to supply BCD data to the decoder, counting from 0 to 9 with a one-second delay
Multiplexed 4-Digit Event Counter
Create an event counter that displays the total count on a 4-digit display, incrementing with each button press
PWM Waveform with Fixed Duty Cycle
Generate a PWM waveform at 1 kHz with a fixed duty cycle of 50%
Ultrasonic Distance Measurement
Measure distances using an ultrasonic sensor, displaying the results on a 4-digit 7-segment LED
Electronic Lock
Build a simple electronic lock using combinational logic gates with push buttons and an LED output
Temperature Sensor
Monitor ambient temperature with a TMP36 sensor and display the readings on a 7-segment LED
Downloads
Software
Mehr als 50 Grundlagenprojekte mit MicroPython und dem RP2040-Mikrocontroller
Der Raspberry Pi Pico ist eine leistungsstarke Mikrocontroller-Platine, die speziell für das Physical Computing – also hardwarenahe Anwendungen – entwickelt wurde. Der Raspberry Pi Pico kann so programmiert werden, dass er eine einzelne Aufgabe sehr effizient ausführt und ermöglicht so schnelle Steuerungs- und Überwachungsanwendungen in Echtzeit. Der 'Pico', wie wir ihn nennen, basiert auf dem schnellen, effizienten und kostengünstigen Dual-Core ARM Cortex-M0+ RP2040 Mikrocontroller-Chip, der mit bis zu 133 MHz läuft und über 264 KB SRAM und 2 MB Flash-Speicher verfügt. Neben dem großen Speicher hat der Pico noch weitere attraktive Eigenschaften, darunter eine große Anzahl von GPIO-Pins sowie gängige Schnittstellen wie ADC, SPI, I²C, UART und PWM. Als Krönung bietet der Chip schnelle und genaue Timer, eine Hardware-Debug-Schnittstelle und einen internen Temperatursensor.
Zur Programmierung lassen sich leicht die gängigen Hochsprachen wie MicroPython oder C/C++ verwenden. Dieses Buch ist eine Einführung in die Verwendung des Pico mit der Programmiersprache MicroPython. In allen Projekten wird die Thonny-Entwicklungsumgebung (IDE) eingesetzt. Über 50 Projekte decken folgende Themen ab:
Installation von MicroPython auf dem Raspberry Pi Pico
Timer-Interrupts und externe Interrupts
Projekte mit Analog-Digital-Wandler (ADC)
Verwendung des internen sowie externer Temperatursensoren
Datenlogger
Projekte zur PWM, UART, I²C-Bus und SPI-Bus
Wi-Fi und Bluetooth für die Kommunikation mit Smartphones
Projekte mit dem Digital-Analog-Wandler (DAC)
Alle in diesem Buch vorgestellten Projekte wurden vollständig getestet und sind funktionsfähig. Es werden keine Programmier- oder Elektronikkenntnisse vorausgesetzt, um sie nachzuvollziehen. Für alle beschriebenen Projekte gibt es kurze Beschreibungen, Blockdiagramme, detaillierte Schaltpläne und vollständige MicroPython-Programmlistings. Die Listings sind auch auf der zum Buch gehörenden Elektor-Webseite zu finden.
The Arduino Uno is an open-source microcontroller development system encompassing hardware, an Integrated Development Environment (IDE), and a vast number of libraries. It is supported by an enormous community of programmers, electronic engineers, enthusiasts, and academics. The libraries in particular really smooth Arduino programming and reduce programming time. What’s more, the libraries greatly facilitate testing your programs since most come fully tested and working.
The Raspberry Pi 4 can be used in many applications such as audio and video media devices. It also works in industrial controllers, robotics, games, and in many domestic and commercial applications. The Raspberry Pi 4 also offers Wi-Fi and Bluetooth capability which makes it great for remote and Internet-based control and monitoring applications.
This book is about using both the Raspberry Pi 4 and the Arduino Uno in PID-based automatic control applications. The book starts with basic theory of the control systems and feedback control. Working and tested projects are given for controlling real-life systems using PID controllers. The open-loop step time response, tuning the PID parameters, and the closed-loop time response of the developed systems are discussed together with the block diagrams, circuit diagrams, PID controller algorithms, and the full program listings for both the Raspberry Pi and the Arduino Uno.
The projects given in the book aim to teach the theory and applications of PID controllers and can be modified easily as desired for other applications. The projects given for the Raspberry Pi 4 should work with all other models of Raspberry Pi family.
The book covers the following topics:
Open-loop and closed-loop control systems
Analog and digital sensors
Transfer functions and continuous-time systems
First-order and second-order system time responses
Discrete-time digital systems
Continuous-time PID controllers
Discrete-time PID controllers
ON-OFF temperature control with Raspberry Pi and Arduino Uno
PID-based temperature control with Raspberry Pi and Arduino Uno
PID-based DC motor control with Raspberry Pi and Arduino Uno
PID-based water level control with Raspberry Pi and Arduino Uno
PID-based LED-LDR brightness control with Raspberry Pi and Arduino Uno
The Basics, New Ideas & Applications
Build digital electronics from the ground up—and take it all the way to practical circuits you can use.
This book guides you through the core principles of digital technology with a strongly hands-on approach. You’ll begin with the essentials: signals, devices for working with them, and what "logic 0" and "logic 1" mean in real hardware. Simple demonstration setups made from easy-to-find parts (LEDs, diodes, resistors, switches) help you see how logic behaves, making the theory click before you move on.
From there, you’ll explore a wide range of logic elements and how they’re implemented, including classic logic families such as TTL and CMOS. The fundamentals section covers the building blocks of digital systems: flip-flops, Schmitt triggers, registers, counters and dividers, encoders/ decoders, multiplexers/demultiplexers, plus A/D and D/A conversion and timing circuits.
Next, the book invites you into "new ideas" in digital electronics—universal logic elements, unconventional approaches (including thyristor-based and fractional logic), and creative logic functions that can inspire original designs.
Finally, a large, well-organized collection of application circuits turns knowledge into projects: electronic switches and selectors, pulse generators, PWM regulators, frequency multipliers/dividers, phase shifters, and digital filters.
Study it deeply, and you’ll gain not only understanding—but the ability to design and debug digital circuits independently.