Praktische Anwendungen und Projekte mit Arduino, ESP32 und RP2040
Tauchen Sie ein in die faszinierende Welt der Regelungstechnik mit Arduino und ESP32! Dieses Buch bietet Ihnen einen praxisnahen Einstieg in die klassischen und modernen Methoden der Regelung, darunter PID-Regler, Fuzzy-Logik und Sliding-Mode-Regler.
Im ersten Teil lernen Sie die Grundlagen der beliebten Arduino-Controller, wie den Arduino Uno und den ESP32, sowie die Integration von Sensoren für Temperatur- und pH-Messung (NTC, PT100, PT1000, pH-Sensor). Sie erfahren, wie diese Sensoren in verschiedenen Projekten eingesetzt werden und wie Sie Daten auf einem Nextion TFT-Display visualisieren.
Weiter geht es mit der Einführung in Stellglieder wie MOSFET-Schalter, H-Brücken und Solid-State-Relais, die zur Steuerung von Motoren und Aktoren verwendet werden. Sie lernen, Regelstrecken zu analysieren und zu modellieren, einschließlich PT1- und PT2-Regelungen.
Der Schwerpunkt des Buches liegt auf der Implementierung von Fuzzy- und PID-Reglern zur Regelung von Temperatur und DC-Motoren. Dabei werden sowohl der Arduino Uno als auch der ESP32 eingesetzt. Zudem wird der Sliding-Mode-Regler vorgestellt.
Im vorletzten Kapitel erkunden Sie die Grundlagen neuronaler Netze und lernen, wie maschinelles Lernen auf einem Arduino eingesetzt werden kann. Im letzten Kapitel gibt es noch ein praktisches Beispiel für einen Fuzzy-Regler zur Stromeinspeisung ins Hausnetz.
Dieses Buch ist die perfekte Wahl für Ingenieure, Studierende und Elektroniker, die ihre Projekte mit innovativen Regelungstechniken erweitern möchten.
Practical Multitasking Fundamentals
Programming embedded systems is difficult because of resource constraints and limited debugging facilities. Why develop your own Real-Time Operating System (RTOS) as well as your application when the proven FreeRTOS software is freely available? Why not start with a validated foundation?
Every software developer knows that you must divide a difficult problem into smaller ones to conquer it. Using separate preemptive tasks and FreeRTOS communication mechanisms, a clean separation of functions is achieved within the entire application. This results in safe and maintainable designs.
Practicing engineers and students alike can use this book and the ESP32 Arduino environment to wade into FreeRTOS concepts at a comfortable pace. The well-organized text enables you to master each concept before starting the next chapter. Practical breadboard experiments and schematics are included to bring the lessons home. Experience is the best teacher.
Each chapter includes exercises to test your knowledge. The coverage of the FreeRTOS Application Programming Interface (API) is complete for the ESP32 Arduino environment. You can apply what you learn to other FreeRTOS environments, including Espressif’s ESP-IDF. The source code is available from GitHub. All of these resources put you in the driver’s seat when it is time to develop your next uber-cool ESP32 project.
What you will learn:
How preemptive scheduling works within FreeRTOS
The Arduino startup “loopTask”
Message queues
FreeRTOS timers and the IDLE task
The semaphore, mutex, and their differences
The mailbox and its application
Real-time task priorities and its effect
Interrupt interaction and use with FreeRTOS
Queue sets
Notifying tasks with events
Event groups
Critical sections
Task local storage
The gatekeeper task
Practical Multitasking Fundamentals
Programming embedded systems is difficult because of resource constraints and limited debugging facilities. Why develop your own Real-Time Operating System (RTOS) as well as your application when the proven FreeRTOS software is freely available? Why not start with a validated foundation?
Every software developer knows that you must divide a difficult problem into smaller ones to conquer it. Using separate preemptive tasks and FreeRTOS communication mechanisms, a clean separation of functions is achieved within the entire application. This results in safe and maintainable designs.
Practicing engineers and students alike can use this book and the ESP32 Arduino environment to wade into FreeRTOS concepts at a comfortable pace. The well-organized text enables you to master each concept before starting the next chapter. Practical breadboard experiments and schematics are included to bring the lessons home. Experience is the best teacher.
Each chapter includes exercises to test your knowledge. The coverage of the FreeRTOS Application Programming Interface (API) is complete for the ESP32 Arduino environment. You can apply what you learn to other FreeRTOS environments, including Espressif’s ESP-IDF. The source code is available from GitHub. All of these resources put you in the driver’s seat when it is time to develop your next uber-cool ESP32 project.
What you will learn:
How preemptive scheduling works within FreeRTOS
The Arduino startup “loopTask”
Message queues
FreeRTOS timers and the IDLE task
The semaphore, mutex, and their differences
The mailbox and its application
Real-time task priorities and its effect
Interrupt interaction and use with FreeRTOS
Queue sets
Notifying tasks with events
Event groups
Critical sections
Task local storage
The gatekeeper task
Physical Computing met het Arduino-platform
Dit leerboek over het Arduino-platform is uniek en brengt u stap voor stap van beginner tot gevorderde Arduino-gebruiker. Er wordt duidelijk in uitgelegd waarom en waardoor toepassingen werken, ondersteund door gedetailleerde afbeeldingen in kleur. Er is slechts een geringe elektronische basiskennis vereist, omdat de benodigde hardware uitgebreid wordt besproken. Het laatste gedeelte van dit boek bevat een degelijke theoretische verdieping, zodat u een krachtig naslagwerk achter de hand houdt.
Er bestond in het Nederlands nog geen lesboek over dit platform. De didactische opbouw is zodanig dat de vereiste abstracte kennis wordt uitgelegd aan de hand van toepasbare en actuele praktijkvoorbeelden. De meeste toepassingen zijn gericht op ‘physical computing’, dat is de interactie tussen sensoren, actoren, elektronica en software. Hierdoor is het boek ook geschikt voor technisch beroepsonderwijs, o.a. voor de richting mechatronica.
De opbouw van het boek is als volgt:
Algemene introductie microcontrollers.
Informatie over het Arduino-platform.
Oefeningen met uitleg aan de hand van 21 voorbeelden.
Praktijkvoorbeelden met uitleg aan de hand van 5 voorbeelden.
Theoretische verdieping van de software en hardware.
Praktische elektronicaschema´s.
Alle software-voorbeelden in het boek zijn als download beschikbaar.
The Arduino Pro Mini is a microcontroller board based on the ATmega328P.
It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, an on-board resonator, a reset button, and holes for mounting pin headers. A six pin header can be connected to an FTDI cable or SparkFun breakout board to provide USB power and communication to the board.
The Arduino Pro Mini is intended for semi-permanent installation in objects or exhibitions. The board comes without pre-mounted headers, allowing the use of various types of connectors or direct soldering of wires. The pin layout is compatible with the Arduino Mini.
The Arduino Pro Mini was designed and is manufactured by SparkFun Electronics.
Specifications
Microcontroller
ATmega328P
Board Power Supply
5-12 V
Circuit Operating Voltage
5 V
Digital I/O Pins
14
PWM Pins
6
UART
1
SPI
1
I²C
1
Analog Input Pins
6
External Interrupts
2
DC Current per I/O Pin
40 mA
Flash Memory
32 KB of which 2 KB used by bootloader
SRAM
2 KB
EEPROM
1 KB
Clock Speed
16 MHz
Dimensions
18 x 33.3 mm (0.7 x 1.3")
Downloads
Eagle files
Schematics
Projects Using Arduino IDE and the LVGL Graphics Library
The ESP32 is probably one of the most popular microcontrollers used by many people, including students, hobbyists, and professional engineers. Its low cost, coupled with rich features makes it a popular device to use in many projects. Recently, a board called the ESP32 Cheap Yellow Display (CYD for short) is available from its manufacturers. The board includes a standard ESP32 microcontroller together with a 320x240 pixel TFT display. Additionally, the board provides several connectors for interfaces such as GPIO, serial port (TX/RX), power and Ground. The inclusion of a TFT display is a real advantage as it enables users to design complex graphics-based projects without resorting to an external LCD or graphics displays.
The book describes the basic hardware of the ESP32 CYD board and provides details of its on-board connectors. Many basic, simple, and intermediate-level projects are given in the book based on the ESP32 CYD, using the highly popular Arduino IDE 2.0 integrated development environment. The use of both the basic graphics functions and the use of the popular LVGL graphics library are discussed in the book and projects are given that use both types of approaches.
All the projects given in the book have been tested and are working. The block diagram, circuit diagram, and the complete program listings and program descriptions of all the projects are given with explanations. Readers can use the LVGL graphics library to design highly popular eye-catching full-color graphics projects using widgets such as buttons, labels, calendars, keypads, keyboards, message boxes, spinboxes, sliders, charts, tables, menus, bars, switches, drop-down lists, animations, and many more widgets.
Build Your Own Vintage Radio Broadcaster
The Elektor AM Transmitter Kit allows streaming audio to vintage AM radio receivers. Based on a Raspberry Pi Pico microcontroller module, the AM Transmitter can transmit on 32 frequencies in the AM band, from 500 kHz up to 1.6 MHz in 32 steps of approx. 35 kHz.
The frequency is selected with a potentiometer and shown on a 0.96" OLED display. A pushbutton allows toggles the transmitting mode between On and Off. The range of the transmitter depends on the antenna. The onboard antenna provides a range of a few centimeters, requiring the AM Transmitter to be placed close to or inside the radio. An external loop antenna (not included) can be connected to increase the range.
The Elektor AM Transmitter Kit comes as a kit of parts that you must solder to the board yourself.
Features
The board is compatible with a Hammond 1593N enclosure (not included).A 5 VDC power supply with micro-USB connector (e.g., an old phone charger) is needed to power the kit (not included). Current consumption is 100 mA.
The Arduino software (requiring Earle Philhower’s RP2040 Boards Package) for the Elektor AM Transmitter Kit plus more information is available at the Elektor Labs page of this project.
Component List
Resistors
R1, R4 = 100 Ω
R2, R3, R8 = 10 kΩ
R5, R6, R9, R10, R11 = 1 kΩ
R7 = optional (not included)
P1 = potentiometer 100 kΩ, linear
Capacitors
C1 = 22 µF 16V
C2, C4 = 10 nF
C3 = 150 pF
Miscellaneous
K1 = 4×1 pin socket
K2, K3 = 3.5 mm socket
Raspberry Pi Pico
pushbutton, angle mount
0.96" monochrome I²C OLED display
PCB 150292-1
Book: Logic Analyzers in Practice
Step-by-step instructions guide you through the analysis of modern protocols such as I²C, SPI, UART, RS-232, NeoPixel, WS28xx, HD44780 and 1-Wire. With the help of numerous experimental circuits based on the Raspberry Pi Pico, Arduino Uno and the Bus Pirate, you will learn the practical application of popular USB logic analyzers.
All the experimental circuits presented in this book have been fully tested and are fully functional. The necessary program listings are included – no special programming or electronics knowledge is required for these circuits. The programming languages used are MicroPython and C along with the development environments Thonny and Arduino IDE.
This book uses several models of flexible and widely available USB logic analyzers and shows the strengths and weaknesses of each price range.
You will learn about the criteria that matter for your work and be able to find the right device for you.
Whether Arduino, Raspberry Pi or Raspberry Pi Pico, the example circuits shown allow you to get started quickly with protocol analysis and can also serve as a basis for your own experiments.
After reading this book, you will be familiar with all the important terms and contexts, conduct your own experiments, analyze protocols independently, culminating in a comprehensive knowledge set of digital signals and protocols.
USB Logic Analyzer (8-ch, 24 MHz)
This USB Logic Analyzer is an 8-channel logic analyzer with each input dual purposed for analog data recording. It is perfect for debugging and analyzing signals like I²C, UART, SPI, CAN and 1-Wire. It operates by sampling a digital input connected to a device under test (DUT) at a high sample rate. The connection to the PC is via USB.
Specifications
Channels
8 digital channels
Maximum sampling rate
24 MHz
Maximum input voltage
0 V ~ 5 V
Operating temperature
0°C ~ 70°C
Input impedance
1 MΩ || 10 pF
Supported protocols
I²C, SPI, UART, CAN, 1-Wire, etc.
PC connection
USB
Dimensions
55 x 28 x 14 mm
Downloads
Software
This bundle contains:
Book 'Logic Analyzers in Practice' (normal price: €35)
USB Logic Analyzer (8-ch, 24 MHz) (normal price: €20)
USB Cable
Jumper Wire Ribbon Cable
In ESP32 programmeren voor beginners bekijken we de ESP32 en zijn voorganger, de ESP8266. Deze kleine, maar zeer krachtige Chinese chips bestaan uit een processor, geheugen, input- en outputaansluitingen en hebben draadloze netwerktoegang via WiFi.
Met dit boek tonen we hoe de programmeeromgeving Arduino werkt en hoe die kan gebruikt worden met ESP-hardware. Aan de hand van voorbeelden en projecten verduidelijken we hoe de ESP-hardware kan worden toegepast.
In vogelvlucht:
We beschrijven de opbouw van ESP-experimenten.
We tonen hoe displays worden aangesloten.
Eeprom_24c16 demonstreert hoe een externe geheugenchip wordt gebruikt om getallen en tekst op te slaan en weer uit te lezen.
Project Klok is de eenvoudige implementatie van een digitale klok.
We geven een handleiding voor het gebruik van temperatuur- en luchtvochtigheidsensoren.
Webclient laat zien hoe de ESP32 gegevens van het internet kan halen.
Met Webserver kunnen we op afstand met een pc of smartphone gegevens halen uit een ESP32, sensoren uitlezen en toestellen aan- en uitschakelen.
Een NTP-klok haalt tijdinformatie van Tijdserver. Die geeft zowel de tijd als het aantal seconden sinds 1 januari 1900. Het boek beschrijft hoe hieruit de tijd kan worden berekend.
In het laatste hoofdstuk gebruiken we het internet om nauwkeurige weerinformatie en voorspellingen op te vragen.
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.
All-in-One AI Learning and Development Platform for Edge Intelligence
This NVIDIA Jetson-based AI Starter Kit is a versatile platform for learning, development, and hands-on experimentation in Edge AI.
Designed for use with the NVIDIA Jetson Orin Nano, the kit combines an 11.6-inch IPS display, an 8-megapixel pan-tilt camera, and an AI voice interaction system.
It includes 30 functional modules and 38 carefully designed Python courses that progress from beginner to advanced level. The course content covers Python fundamentals, sensor technology, AI vision, and image recognition.
With step-by-step practical exercises ranging from basic programming to real-world computer vision applications, this kit provides an ideal platform for students, makers, developers, and anyone looking to explore artificial intelligence and edge computing.
Please note: The NVIDIA Jetson Orin Nano is not included.
Features
Designed for the NVIDIA Jetson Orin Nano
AI voice interaction module
8 MP camera with pan-tilt control
Supports object and face tracking
No soldering or complex wiring required
Built-in 11.6-inch IPS display
30 functional modules
38 step-by-step Python lessons
I²C, UART, and GPIO expansion interfaces
Portable carrying case included
Specifications
Main Processor
Jetson Orin Nano
Number of Sensors
30
Sensor Board Design
Integrated sensor board, no soldering or complex wiring required
Screen
11.6-inch IPS Screen
Screen Resolution
1366 x 768
Camera
IMX219 8MP
Expansion Interfaces
2x I²C, 1x UART, 1x IO D13, 1xIO D12
Programming Environment
Based on Python
Number of Tutorials
38 creative tutorials
Target Audience
Students, teachers, hardware enthusiasts
Application Scenarios
Ideal for learning AI programming, Jetson Orin Nano basics
Dimensions
300 x 200 x 100 mm
Module List
Module
Quantity
Temperature & Humidity Sensor
1 pcs
Button
4 pcs
Ultrasonic Ranging Sensor
1 pcs
Light Sensor
1 pcs
Linear Potentiometer
1 pcs
Buzzer
1 pcs
LCD
1 pcs
Infrared Remote
1 pcs
Relay
1 pcs
NFC
1 pcs
PIR Motion Sensor
1 pcs
Joystick
1 pcs
4-Digital Display
1 pcs
LED
1 pcs
Microphone
1 pcs
Speaker
1 pair
Vibration Motor
1 pcs
Touch Sensor
1 pcs
8x8 RGB Matrix
1 pcs
Atmospheric pressure sensor
1 pcs
Tilt Switch
1 pcs
Stepper Motor
1 pcs
Accelerometer & Gyro
1 pcs
Gas Sensor (MQ2)
1 pcs
Hall Sensor
1 pcs
Rotary Encoder
1 pcs
U-shaped photoelectric switch
1 pcs
NTC
1 pcs
Servo
2 pcs
Monocular camera
1 pcs
Included
1x Elecrow AI Starter Kit for Jetson Orin Nano
1x IR Remote Control
1x NFC Card
1x 128 GB SD Card
1x 40-pin GPIO Cable
2x 22-pin FPC Cable
2x 24-pin FPC Cable
1x Jetson DP & USB Adapter Board
Not included
NVIDIA Jetson Orin Nano
Downloads
Manual
Wiki
OpenClaw Install and Config Guide