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.
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
Dieser komplette Mikrocontroller-Programmierkurs auf Basis des Arduino Uno umfasst ein Lehrbuch, ein Komponenten-Kit, praxisnahe Projekte sowie einen umfassenden Online-Kurs mit Simulationen. Er eignet sich ideal für das schrittweise Erlernen der Embedded-Programmierung mit Arduino anhand eines praktischen, hands-on Ansatzes.
Eine praxisnahe Einführung in Embedded Systems mit dem Arduino Uno
Dieser Kurs richtet sich an Personen ohne Vorkenntnisse im Bereich Embedded Systems, die einen strukturierten und beispielbasierten Einstieg suchen.
Ein Kit bestehend aus LEDs und Widerständen, Schaltern, Sensoren und Aktoren, Displays, einem Breadboard und Kabeln sowie weiteren Komponenten ist enthalten. Diese werden im Kurs verwendet, um Beispielanwendungen zu veranschaulichen.
Vorkenntnisse mit Arduino oder Embedded-Entwicklung sind nicht erforderlich. Jeder Abschnitt enthält praktische Beispiele und Mini-Projekte, die wichtige Konzepte festigen und zur weiteren Vertiefung anregen. Am Ende des Kurses werden Sie nicht nur in der Lage sein, die Beispiele nachzuvollziehen, sondern auch eigene Ideen und Anwendungen umzusetzen.
Was werden Sie lernen?
Mikrocontroller-Programmierung mit Arduino unter Verwendung des Uno R3 Boards
Arbeiten mit digitalen Ein- und Ausgängen, Auslesen von Tastern und Encodern, Steuern von LEDs und Relais
Auslesen analoger Eingänge, Spannungen und analoger Sensoren
Erzeugung analoger Ausgangssignale und PWM
Verwendung serieller Kommunikation wie UART, I²C und SPI zur Steuerung von Displays und zum Auslesen digitaler Sensoren und SD-Karten
Zeitmanagement
Arbeiten mit Interrupts
Echtzeit-Sensordatenerfassung und Steuerung über Taster, LEDs und Displays
Steuerung von Aktoren wie Relais und Servomotoren
Für wen ist dieser Kurs geeignet?
Studierende und Selbstlerner im Bereich Embedded Systems
Makers und IoT-Enthusiasten, die ihre Hardware-Kenntnisse verbessern möchten
Lehrkräfte und Trainer, die sofort einsetzbares Unterrichtsmaterial suchen
Was ist im Lieferumfang enthalten?
Zugang zum vollständigen Kurs auf der Elektor Academy Pro-Lernplattform
Uno R3 Mikrocontroller-Board (+ USB-Kabel)
Buch: Programming Microcontrollers in C/C++ Using Arduino
Downloadbare Projektdateien für jedes Modul
Komponenten-Set:
2× LED, rot, 5 mm
LED, grün, 5 mm
3× Widerstand, 470 Ω, 0,25 W
LDR
Potentiometer, 10 kΩ, linear
Taster
Drehencoder-Modul
Relaismodul
DHT22 Feuchtigkeits- und Temperatursensor
TM1637-kompatibles 4-stelliges 7-Segment-Display
MPU-6050 IMU mit Stiftleisten
SSD1306-kompatibles I²C OLED-Display
Micro-SD-Kartenadapter mit Stiftleiste
Buzzer
SG90 Mikro-Servo
ILI9341-kompatibles SPI 240×320 TFT-Display
20× Jumperkabel
Breadboard
Alle Programmierkurse (und Unterschiede im Inhalt)
Kurs
Arduino
Raspberry Pi Pico with Arduino C/C++
ESP32 with Arduino C/C++
Raspberry Pi Pico with MicroPython
ESP32 with MicroPython
Online-Kurs
Access to Arduino Course
Access to Pico with Arduino C/C++ Course
Access to ESP32 with Arduino C/C++ Course
Access to Pico with MicroPython Course
Access to ESP32 with MicroPython Course
Board
Uno R3
Raspberry Pi Pico
ESP32
Raspberry Pi Pico
ESP32
Buch
Programming Microcontrollers in C/C++ Using Arduino
Programming Microcontrollers in C/C++ Using Arduino
Programming Microcontrollers in C/C++ Using Arduino
Programming Microcontrollers in MicroPython
Programming Microcontrollers in MicroPython
Kit
40-teiliges Komponenten-Set
40-teiliges Komponenten-Set
40-teiliges Komponenten-Set
40-teiliges Komponenten-Set
40-teiliges Komponenten-Set
This book is about DC electric motors and their use in Arduino and Raspberry Pi Zero W based projects. The book includes many tested and working projects where each project has the following sub-headings:
Title of the project
Description of the project
Block diagram
Circuit diagram
Project assembly
Complete program listing of the project
Full description of the program
The projects in the book cover the standard DC motors, stepper motors, servo motors, and mobile robots. The book is aimed at students, hobbyists, and anyone else interested in developing microcontroller based projects using the Arduino Uno or the Raspberry Pi Zero W.
One of the nice features of this book is that it gives complete projects for remote control of a mobile robot from a mobile phone, using the Arduino Uno as well as the Raspberry Pi Zero W development boards. These projects are developed using Wi-Fi as well as the Bluetooth connectivity with the mobile phone. Readers should be able to move a robot forward, reverse, turn left, or turn right by sending simple commands from a mobile phone. Full program listings of all the projects as well as the detailed program descriptions are given in the book. Users should be able to use the projects as they are presented, or modify them to suit to their own needs.
Dieser vollständige Programmierkurs für den ESP32-Mikrocontroller umfasst ein Lehrbuch, ein Komponenten-Set, praxisnahe Projekte sowie einen umfassenden Online-Kurs mit Simulationen. Er eignet sich ideal für das schrittweise Erlernen der Embedded-System-Programmierung mit Arduino – mit einem praxisorientierten, hands-on Ansatz.
Ein praxisnaher Einstieg in Embedded Systems mit dem ESP32
Dieser Kurs richtet sich an Personen ohne Vorkenntnisse im Bereich Embedded Systems, die einen strukturierten und beispielbasierten Einstieg suchen.
Ein Kit bestehend aus LEDs und Widerständen, Schaltern, Sensoren und Aktoren, Displays, einem Breadboard und Kabeln sowie weiteren Komponenten ist enthalten. Diese werden im Kurs verwendet, um Beispielanwendungen zu veranschaulichen.
Vorkenntnisse mit Arduino oder Embedded-Entwicklung sind nicht erforderlich. Jeder Abschnitt enthält praktische Beispiele und Mini-Projekte, die wichtige Konzepte festigen und zur weiteren Vertiefung anregen. Am Ende des Kurses werden Sie nicht nur in der Lage sein, die Beispiele nachzuvollziehen, sondern auch eigene Ideen und Anwendungen umzusetzen.
Was werden Sie lernen?
Programmierung des ESP32-Mikrocontrollers mit der Arduino IDE
Arbeiten mit digitalen Ein- und Ausgängen, Auslesen von Tastern und Encodern, Steuern von LEDs und Relais
Auslesen analoger Eingänge, Spannungen und analoger Sensoren
Erzeugung analoger Ausgangssignale und PWM
Verwendung serieller Kommunikation wie UART, I²C und SPI zur Steuerung von Displays und zum Auslesen digitaler Sensoren und SD-Karten
Zeitmanagement
Arbeiten mit Interrupts
Echtzeit-Sensordatenerfassung und Steuerung über Taster, LEDs und Displays
Steuerung von Aktoren wie Relais und Servomotoren
Für wen ist dieser Kurs geeignet?
Studierende und Selbstlerner im Bereich Embedded Systems
Makers und IoT-Enthusiasten, die ihre Hardware-Kenntnisse verbessern möchten
Lehrkräfte und Trainer, die sofort einsetzbares Unterrichtsmaterial suchen
Was ist im Lieferumfang enthalten?
Zugang zum vollständigen Kurs auf der Elektor Academy Pro-Lernplattform
ESP32 Mikrocontroller-Board (+ USB-Kabel)
Buch: Programming Microcontrollers in C/C++ Using Arduino
Downloadbare Projektdateien für jedes Modul
Komponenten-Set:
2× LED, rot, 5 mm
LED, grün, 5 mm
3× Widerstand, 470 Ω, 0,25 W
LDR
Potentiometer, 10 kΩ, linear
Taster
Drehencoder-Modul
Relaismodul
DHT22 Feuchtigkeits- und Temperatursensor
TM1637-kompatibles 4-stelliges 7-Segment-Display
MPU-6050 IMU mit Stiftleisten
SSD1306-kompatibles I²C OLED-Display
Micro-SD-Kartenadapter mit Stiftleiste
Buzzer
SG90 Mikro-Servo
ILI9341-kompatibles SPI 240×320 TFT-Display
20× Jumperkabel
Breadboard
Alle Programmierkurse (und Unterschiede im Inhalt)
Kurs
Arduino
Raspberry Pi Pico with Arduino C/C++
ESP32 with Arduino C/C++
Raspberry Pi Pico with MicroPython
ESP32 with MicroPython
Online-Kurs
Access to Arduino Course
Access to Pico with Arduino C/C++ Course
Access to ESP32 with Arduino C/C++ Course
Access to Pico with MicroPython Course
Access to ESP32 with MicroPython Course
Board
Uno R3
Raspberry Pi Pico
ESP32
Raspberry Pi Pico
ESP32
Buch
Programming Microcontrollers in C/C++ Using Arduino
Programming Microcontrollers in C/C++ Using Arduino
Programming Microcontrollers in C/C++ Using Arduino
Programming Microcontrollers in MicroPython
Programming Microcontrollers in MicroPython
Kit
40-teiliges Komponenten-Set
40-teiliges Komponenten-Set
40-teiliges Komponenten-Set
40-teiliges Komponenten-Set
40-teiliges Komponenten-Set
Über 40 vollständig getestete ESP32-Projekte mit Arduino IDE und der LVGL-Grafikbibliothek
Dieses Bundle enthält das ESP32 Cheap Yellow Display (CYD) – ein kompaktes Entwicklungsboard, das einen Standard-ESP32-Mikrocontroller mit einem 320 x 240 Pixel großen TFT-Farbdisplay kombiniert. Das Board verfügt außerdem über mehrere Anschlüsse für GPIO, serielle Kommunikation (TX/RX), Strom und Masse. Das integrierte Display ist ein großer Vorteil und ermöglicht die Erstellung komplexer, grafikbasierter Projekte ohne externe LCDs oder Displays.
Das Begleitbuch stellt die Hardware und die integrierten Anschlüsse des CYD-Boards detailliert vor. Es bietet eine Reihe von Projekten für Anfänger und Fortgeschrittene, die mit der beliebten Arduino IDE 2.0 entwickelt wurden. Sowohl grundlegende Grafikfunktionen als auch die leistungsstarke LVGL-Grafikbibliothek werden behandelt, und praktische Projekte veranschaulichen jeden Ansatz.
Alle enthaltenen Projekte wurden vollständig getestet und sind sofort einsatzbereit. Das Buch enthält Blockdiagramme, Schaltpläne, vollständige Codelisten und Schritt-für-Schritt-Erklärungen. Mit der LVGL-Bibliothek können Leser moderne, vollfarbige grafische Benutzeroberflächen mit Widgets wie Schaltflächen, Beschriftungen, Schiebereglern, Kalendern, Tastaturen, Diagrammen, Tabellen, Menüs, Animationen und mehr erstellen.
ESP32 Cheap Yellow Display Board
Dieses Entwicklungsboard (auch bekannt als "Cheap Yellow Display") wird vom ESP-WROOM-32 angetrieben, einem Dual-Core-MCU mit integrierten Wi-Fi- und Bluetooth-Funktionen. Es arbeitet mit einer Hauptfrequenz von bis zu 240 MHz, mit 520 KB SRAM, 448 KB ROM und einem 4 MB Flash-Speicher. Das Board verfügt über ein 2,8" Display mit einer Auflösung von 240x320 und Resistive Touch.
Darüber hinaus enthält die Platine einen Steuerkreis für die Hintergrundbeleuchtung, einen Schaltkreis für die Berührungssteuerung, einen Schaltkreis für die Lautsprecheransteuerung, einen lichtempfindlichen Schaltkreis und einen RGB-LED-Steuerschaltkreis. Es bietet außerdem einen TF-Kartensteckplatz, eine serielle Schnittstelle, eine DHT11-Schnittstelle für Temperatur- und Feuchtigkeitssensoren und zusätzliche E/A-Anschlüsse.
Das Modul unterstützt die Entwicklung in Arduino IDE, ESP-IDE, MicroPython und Mixly.
Anwendungen
Bildübertragung für Smart Home-Gerät
Drahtlose Überwachung
Intelligente Landwirtschaft
QR-Funkerkennung
Signal des drahtlosen Positionierungssystems
Und andere IoT-Anwendungen
Technische Daten
Mikrocontroller
ESP-WROOM-32 (Dual-Core-MCU mit integriertem WLAN und Bluetooth)
Frequenz
Bis zu 240 MHz (Rechenleistung bis zu 600 DMIPS)
SRAM
520 KB
ROM
448 KB
Flash
4 MB
Betriebsspannung
5 V
Stromverbrauch
ca. 115 mA
Display
2,8" TFT-Farbbildschirm (240 x 320)
Touch
Resistive Touch
Treiberchip
ILI9341
Abmessungen
50 x 86 mm
Gewicht
50 g
Downloads
GitHub
Dieses Bundle enthält:
The ESP32 Cheap Yellow Display Book (Einzelpreis: 35 €)
ESP32 Cheap Yellow Display Board (Einzelpreis: 25 €)
1x ESP32 Dev-Board mit 2,8" Display und Acrylgehäuse
1x Touch-Stift
1x Verbindungskabel
1x USB-Kabel
Der Elektor Mini-Wheelie ist eine experimentelle autonome selbstbalancierende Roboterplattform. Der selbstbalancierende Roboter basiert auf einem ESP32-S3-Mikrocontroller und ist mithilfe der Arduino-Umgebung und Open-Source-Bibliotheken vollständig programmierbar. Dank seiner drahtlosen Fähigkeiten kann er über WLAN, Bluetooth oder ESP-NOW ferngesteuert werden oder mit einem Benutzer oder sogar einem anderen Roboter kommunizieren.
Zur Erkennung von Hindernissen steht ein Ultraschallwandler zur Verfügung. Über das Farbdisplay lassen sich niedliche Gesichtsausdrücke oder für den bodenständigeren Nutzer auch kryptische Debug-Meldungen darstellen.
Der Roboter wird als Komplettbausatz mit Teilen geliefert, die Sie selbst zusammenbauen müssen. Alles ist dabei, sogar ein Schraubenzieher.
Hinweis: Der Mini-Wheelie ist eine pädagogische Entwicklungsplattform, die zum Lernen, Experimentieren und zur Entwicklung von Robotern gedacht ist. Er ist nicht als Kinderspielzeug klassifiziert, und seine Funktionen, Dokumentation und Zielgruppe spiegeln diesen Zweck wider. Das Produkt richtet sich an Studenten, Dozenten und Entwickler, die Robotik, Programmierung und Hardware-Integration in einem pädagogischen Umfeld erforschen möchten.
Technische Daten
ESP32-S3 Mikrocontroller mit WLAN und Bluetooth
MPU6050 6-achsige Inertial Measurement Unit (IMU)
Zwei unabhängig gesteuerte 12 V-Elektromotoren mit Drehzahlmesser
Ultraschallwandler
2,9" TFT-Farbdisplay (320 x 240)
MicroSD-Kartensteckplatz
Batterieleistungsmonitor
3S wiederaufladbarer Li-Po-Akku (11,1 V/2200 mAh)
Batterieladegerät im Lieferumfang enthalten
Arduino-basierte Open-Source-Software
Abmessungen (B x L x H): 23 x 8 x 13 cm
Lieferumfang
1x ESP32-S3 Mainboard + MPU6050 Modul
1x LCD-Board (2,9 Zoll)
1x Ultraschallsensor
1x Akku (2200 mAh)
1x Batterieladegerät
1x Motorreifen-Set
1x Gehäuseplatine
1x Acrylplatte
1x Schraubendreher
1x Schutzstreifen
1x Flexkabel B (8 cm)
1x Flexkabel A (12 cm)
1x Flexkabel C
4x Kupfersäule A (25 mm)
4x Kupfersäule B (55 mm)
4x Kupfersäule C (5 mm)
2x Kunststoff-Nylonsäule
8x Schrauben A (10 mm)
24x Schrauben B (M3x5)
8x Nüsse
24x Metallscheiben
2x Kabelbinder
1x MicroSD-Karte (32 GB)
Downloads
Documentation
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
Bauen Sie Ihren eigenen Vintage-Radiosender
Das Elektor AM-Sender-Kit ermöglicht das Streamen von Audio auf Vintage-AM-Radioempfänger. Basierend auf einem Raspberry Pi Pico Mikrocontroller-Modul kann der AM-Sender auf 32 Frequenzen im AM-Band senden, von 500 kHz bis 1,6 MHz in 32 Schritten von ca. 35 kHz.
Die Frequenz wird mit einem Potentiometer gewählt und auf einem 0,96" OLED-Display angezeigt. Eine Taste ermöglicht das Umschalten des Sendemodus zwischen Ein und Aus. Die Reichweite des Senders hängt von der Antenne ab. Die integrierte Antenne bietet eine Reichweite von wenigen Zentimetern, sodass der AM-Sender nahe am Radio oder im Radio selbst platziert werden muss. Eine externe Loop-Antenne (nicht enthalten) kann angeschlossen werden, um die Reichweite zu erhöhen.
Das Elektor AM-Sender-Kit wird als Bausatz geliefert, den Sie selbst auf die Platine löten müssen.
Features
Die Platine ist kompatibel mit einem Hammond-1593N-Gehäuse (nicht enthalten).Ein 5-VDC-Netzteil mit Micro-USB-Anschluss (z. B. ein altes Handy-Ladegerät) wird benötigt, um das Kit zu betreiben (nicht enthalten). Stromaufnahme: 100 mA.
Die Arduino-Software (benötigt Earle Philhowers RP2040-Boards-Paket) für das Elektor-AM-Sender-Kit sowie weitere Informationen sind auf der Elektor-Labs-Seite dieses Projekts verfügbar.
Stückliste
Widerstände
R1, R4 = 100 Ω
R2, R3, R8 = 10 kΩ
R5, R6, R9, R10, R11 = 1 kΩ
R7 = optional (nicht enthalten)
P1 = Potentiometer 100 kΩ, linear
Kondensatoren
C1 = 22 µF 16V
C2, C4 = 10 nF
C3 = 150 pF
Sonstiges
K1 = 4×1 Stiftleiste
K2, K3 = 3,5-mm-Buchse
Raspberry Pi Pico
Drucktaste, Winkelmontage
0,96" monochromes I²C-OLED-Display
Leiterplatte 150292-1
Third, extended and revised edition with AVR Playground and Elektor Uno R4
Arduino boards have become hugely successful. They are simple to use and inexpensive. This book will not only familiarize you with the world of Arduino but it will also teach you how to program microcontrollers in general. In this book theory is put into practice on an Arduino board using the Arduino programming environment.
Some hardware is developed too: a multi-purpose shield to build some of the experiments from the first 10 chapters on; the AVR Playground, a real Arduino-based microcontroller development board for comfortable application development, and the Elektor Uno R4, an Arduino Uno R3 on steroids.
The author, an Elektor Expert, provides the reader with the basic theoretical knowledge necessary to program any microcontroller: inputs and outputs (analog and digital), interrupts, communication busses (RS-232, SPI, I²C, 1-wire, SMBus, etc.), timers, and much more. The programs and sketches presented in the book show how to use various common electronic components: matrix keyboards, displays (LED, alphanumeric and graphic color LCD), motors, sensors (temperature, pressure, humidity, sound, light, and infrared), rotary encoders, piezo buzzers, pushbuttons, relays, etc. This book will be your first book about microcontrollers with a happy ending!
This book is for you if you are a beginner in microcontrollers, an Arduino user (hobbyist, tinkerer, artist, etc.) wishing to deepen your knowledge,an Electronics Graduate under Undergraduate student or a teacher looking for ideas.
Thanks to Arduino the implementation of the presented concepts is simple and fun. Some of the proposed projects are very original:
Money Game
Misophone (a musical fork)
Car GPS Scrambler
Weather Station
DCF77 Decoder
Illegal Time Transmitter
Infrared Remote Manipulator
Annoying Sound Generator
Italian Horn Alarm
Overheating Detector
PID Controller
Data Logger
SVG File Oscilloscope
6-Channel Voltmeter
All projects and code examples in this book have been tried and tested on an Arduino Uno board. They should also work with the Arduino Mega and every other compatible board that exposes the Arduino shield extension connectors.
Please note
For this book, the author has designed a versatile printed circuit board that can be stacked on an Arduino board. The assembly can be used not only to try out many of the projects presented in this book but also allows for new exercises that in turn provide the opportunity to discover new techniques. Also available is a kit of parts including the PCB and all components. With this kit you can build most of the circuits described in the book and more.
Datasheets Active Components Used (.PDF file):
ATmega328 (Arduino Uno)
ATmega2560 (Arduino Mega 2560)
BC547 (bipolar transistor, chapters 7, 8, 9)
BD139 (bipolar power transistor, chapter 10)
BS170 (N-MOS transistor, chapter 8)
DCF77 (receiver module, chapter 9)
DS18B20 (temperature sensor, chapter 10)
DS18S20 (temperature sensor, chapter 10)
HP03S (pressure sensor, chapter 8)
IRF630 (N-MOS power transistor, chapter 7)
IRF9630 (P-MOS power transistor, chapter 7)
LMC6464 (quad op-amp, chapter 7)
MLX90614 (infrared sensor, chapter 10)
SHT11 (humidity sensor, chapter 8)
TS922 (dual op-amp, chapter 9)
TSOP34836 (infrared receiver, chapter 9)
TSOP1736 (infrared receiver, chapter 9)
MPX4115 (analogue pressure sensor, chapter 11)
MCCOG21605B6W-SPTLYI (I²C LCD, chapter 12)
SST25VF016B (SPI EEPROM, chapter 13)
About the author
Clemens Valens, born in the Netherlands, lives in France since 1997. Manager at Elektor Labs and Webmaster of ElektorLabs, in love with electronics, he develops microcontroller systems for fun, and sometimes for his employer too. Polyglot—he is fluent in C, C++, PASCAL, BASIC and several assembler dialects—Clemens spends most of his time on his computer while his wife, their two children and two cats try to attract his attention (only the cats succeed). Visit the author’s website: www.polyvalens.com.Authentic testimony of Hervé M., one of the first readers of the book:'I almost cried with joy when this book made me understand things in only three sentences that seemed previously completely impenetrable.'
Example projects with Node-RED, MQTT, WinCC SCADA, Blynk, and ThingSpeak
This comprehensive guide unlocks the power of Modbus TCP/IP communication with Arduino. From the basics of the Modbus protocol right up to full implementation in Arduino projects, the book walks you through the complete process with lucid explanations and practical examples.
Learn how to set up Modbus TCP/IP communication with Arduino for seamless data exchange between devices over a network. Explore different Modbus functions and master reading and writing registers to control your devices remotely. Create Modbus client and server applications to integrate into your Arduino projects, boosting their connectivity and automation level.
With detailed code snippets and illustrations, this guide is perfect for beginners and experienced Arduino enthusiasts alike. Whether you‘re a hobbyist looking to expand your skills or a professional seeking to implement Modbus TCP/IP communication in your projects, this book provides all the knowledge you need to harness the full potential of Modbus with Arduino.
Projects covered in the book:
TCP/IP communication between two Arduino Uno boards
Modbus TCP/IP communication within the Node-RED environment
Combining Arduino, Node-RED, and Blynk IoT cloud
Interfacing Modbus TCP/IP with WinCC SCADA to control sensors
Using MQTT protocol with Ethernet/ESP8266
Connecting to ThingSpeak IoT cloud using Ethernet/ESP8266
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