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
Ce cours complet de programmation de microcontrôleurs basé sur l’Arduino Uno comprend un manuel, un kit de composants, des projets pratiques ainsi qu’un cours en ligne complet avec simulations. Il est idéal pour apprendre pas à pas la programmation des systèmes embarqués avec Arduino grâce à une approche pratique.
Une introduction pratique aux systèmes embarqués avec l’Arduino Uno
Ce cours s’adresse aux débutants en systèmes embarqués recherchant une approche structurée et basée sur des exemples.
Un kit de composants comprenant des LED et des résistances, des interrupteurs, des capteurs et actionneurs, des afficheurs, une breadboard et des fils est inclus. Ceux-ci sont utilisés dans le cours pour illustrer des applications concrètes.
Aucune expérience préalable avec Arduino ou le développement embarqué n’est requise. Chaque section propose des exemples pratiques et des mini-projets conçus pour renforcer les concepts clés et encourager l’exploration. À la fin du cours, vous serez capable non seulement de reproduire les exemples, mais aussi de développer vos propres idées et applications.
Que allez-vous apprendre ?
Programmation de microcontrôleurs avec Arduino en utilisant la carte Uno R3
Utilisation des entrées/sorties numériques, lecture de boutons et encodeurs, commande de LED et relais
Lecture des entrées analogiques, tensions et capteurs analogiques
Génération de signaux analogiques et PWM
Utilisation des communications série comme UART, I²C et SPI pour piloter des afficheurs et lire des capteurs numériques et cartes SD
Gestion du temps
Utilisation des interruptions
Entrées capteurs en temps réel et contrôle via boutons, LED et afficheurs
Commande d’actionneurs comme relais et servomoteurs
À qui s’adresse ce cours ?
Étudiants et autodidactes explorant les systèmes embarqués
Makers et passionnés d’IoT souhaitant améliorer leurs compétences en hardware
Formateurs et enseignants à la recherche de matériel pédagogique prêt à l’emploi
Contenu de la boîte
Accès au cours complet sur la plateforme Elektor Academy Pro
Carte microcontrôleur Uno R3 + câble USB
Livre : Programming Microcontrollers in C/C++ Using Arduino
Fichiers de projet téléchargeables pour chaque module
Boîte de composants :
2× LED, rouge, 5 mm
LED, verte, 5 mm
3× résistance, 470 Ω, 0,25 W
LDR
Potentiomètre, 10 kΩ, linéaire
Bouton-poussoir
Module encodeur rotatif
Module relais
Capteur DHT22 (température & humidité)
Afficheur 7 segments 4 digits compatible TM1637
MPU-6050 IMU avec connecteurs
Afficheur OLED I²C compatible SSD1306
Adaptateur carte micro SD avec connecteur
Buzzer
Micro servo SG90
Écran TFT SPI 240×320 compatible ILI9341
20× fils jumper
Breadboard
Tous les cours de programmation (et différences de contenu)
Cours
Arduino
Raspberry Pi Pico with Arduino C/C++
ESP32 with Arduino C/C++
Raspberry Pi Pico with MicroPython
ESP32 with MicroPython
Cours en ligne
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
Carte
Uno R3
Raspberry Pi Pico
ESP32
Raspberry Pi Pico
ESP32
Livre
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
Boîte de composants (40 pièces)
Boîte de composants (40 pièces)
Boîte de composants (40 pièces)
Boîte de composants (40 pièces)
Boîte de composants (40 pièces)
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.
Ce cours complet de programmation du microcontrôleur ESP32 comprend un manuel, un kit de composants, des projets pratiques ainsi qu’un cours en ligne complet avec simulations. Il est idéal pour apprendre pas à pas la programmation des systèmes embarqués avec Arduino, grâce à une approche concrète et pratique.
Une introduction pratique aux systèmes embarqués avec l’ESP32
Ce cours s’adresse aux débutants en systèmes embarqués recherchant une approche structurée et basée sur des exemples.
Un kit de composants comprenant des LED et des résistances, des interrupteurs, des capteurs et actionneurs, des afficheurs, une breadboard et des fils est inclus. Ceux-ci sont utilisés dans le cours pour illustrer des applications concrètes.
Aucune expérience préalable avec Arduino ou le développement embarqué n’est requise. Chaque section propose des exemples pratiques et des mini-projets conçus pour renforcer les concepts clés et encourager l’exploration. À la fin du cours, vous serez capable non seulement de reproduire les exemples, mais aussi de développer vos propres idées et applications.
Que allez-vous apprendre ?
Programmation du microcontrôleur ESP32 à l'aide de l'IDE Arduino
Utilisation des entrées/sorties numériques, lecture de boutons et encodeurs, commande de LED et relais
Lecture des entrées analogiques, tensions et capteurs analogiques
Génération de signaux analogiques et PWM
Utilisation des communications série comme UART, I²C et SPI pour piloter des afficheurs et lire des capteurs numériques et cartes SD
Gestion du temps
Utilisation des interruptions
Entrées capteurs en temps réel et contrôle via boutons, LED et afficheurs
Commande d’actionneurs comme relais et servomoteurs
À qui s’adresse ce cours ?
Étudiants et autodidactes explorant les systèmes embarqués
Makers et passionnés d’IoT souhaitant améliorer leurs compétences en hardware
Formateurs et enseignants à la recherche de matériel pédagogique prêt à l’emploi
Contenu de la boîte
Accès au cours complet sur la plateforme Elektor Academy Pro
Carte microcontrôleur ESP32 + câble USB
Livre : Programming Microcontrollers in C/C++ Using Arduino
Fichiers de projet téléchargeables pour chaque module
Boîte de composants :
2× LED, rouge, 5 mm
LED, verte, 5 mm
3× résistance, 470 Ω, 0,25 W
LDR
Potentiomètre, 10 kΩ, linéaire
Bouton-poussoir
Module encodeur rotatif
Module relais
Capteur DHT22 (température & humidité)
Afficheur 7 segments 4 digits compatible TM1637
MPU-6050 IMU avec connecteurs
Afficheur OLED I²C compatible SSD1306
Adaptateur carte micro SD avec connecteur
Buzzer
Micro servo SG90
Écran TFT SPI 240×320 compatible ILI9341
20× fils jumper
Breadboard
Tous les cours de programmation (et différences de contenu)
Cours
Arduino
Raspberry Pi Pico with Arduino C/C++
ESP32 with Arduino C/C++
Raspberry Pi Pico with MicroPython
ESP32 with MicroPython
Cours en ligne
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
Carte
Uno R3
Raspberry Pi Pico
ESP32
Raspberry Pi Pico
ESP32
Livre
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
Boîte de composants (40 pièces)
Boîte de composants (40 pièces)
Boîte de composants (40 pièces)
Boîte de composants (40 pièces)
Boîte de composants (40 pièces)
Plus de 40 projets ESP32 entièrement testés utilisant l'IDE Arduino et la bibliothèque graphique LVGL
Cette offre groupée comprend l'ESP32 Cheap Yellow Display (CYD), une carte de développement compacte combinant un microcontrôleur ESP32 standard et un écran couleur TFT de 320 x 240 pixels. La carte dispose également de plusieurs connecteurs pour les GPIO, la communication série (TX/RX), l'alimentation et la masse. L'écran intégré est un atout majeur : il permet aux utilisateurs de créer des projets graphiques complexes sans écran LCD ni écran externe.
Le livre d'accompagnement présente en détail le matériel et les connecteurs intégrés de la carte CYD. Il propose une gamme de projets de niveau débutant à intermédiaire, développés avec l'IDE Arduino 2.0. Les fonctions graphiques de base et la puissante bibliothèque graphique LVGL sont abordées, avec des projets pratiques illustrant chaque approche.
Tous les projets inclus ont été entièrement testés et sont prêts à l'emploi. Le livre fournit des schémas fonctionnels, des schémas de circuits, des listes de codes complètes et des explications étape par étape. Avec la bibliothèque LVGL, les lecteurs peuvent créer des interfaces graphiques modernes et en couleur à l'aide de widgets tels que des boutons, des étiquettes, des curseurs, des calendriers, des claviers, des graphiques, des tableaux, des menus, des animations, etc.
ESP32 Cheap Yellow Display Board
Cette carte de développement (également connue sous le nom de « Cheap Yellow Display ») est alimentée par l'ESP-WROOM-32, un MCU double cœur avec des capacités Wi-Fi et Bluetooth intégrées. Il fonctionne à une fréquence principale allant jusqu'à 240 MHz, avec 520 Ko de SRAM, 448 Ko de ROM et une mémoire Flash de 4 Mo. La carte dispose d'un écran de 2,8 pouces avec une résolution de 240 x 320 et un toucher résistif.
De plus, la carte comprend un circuit de contrôle du rétroéclairage, un circuit de contrôle tactile, un circuit de commande de haut-parleur, un circuit photosensible et un circuit de contrôle LED RVB. Il fournit également un emplacement pour carte TF, une interface série, une interface de capteur de température et d'humidité DHT11 et des ports IO supplémentaires.
Le module prend en charge le développement dans Arduino IDE, ESP-IDE, MicroPython et Mixly.
Applications
Transmission d'images pour les appareils Smart Home
Surveillance sans fil
Agriculture intelligente
Reconnaissance sans fil QR
Signal du système de positionnement sans fil
Et d'autres applications IoT
Spécifications
Microcontrôleur
ESP-WROOM-32 (MCU double cœur avec Wi-Fi et Bluetooth intégrés)
Fréquence
Jusqu'à 240 MHz (la puissance de calcul peut atteindre 600 DMIPS)
SRAM
520 Ko
ROM
448 Ko
Flash
4 Mo
Tension de fonctionnement
5 V
Consommation électrique
env. 115 mA
Écran
Écran TFT couleur de 2,8 pouces (240 x 320)
Toucher
Toucher résistif
Puce du pilote
ILI9341
Dimensions
50 x 86 mm
Poids
50 g
Téléchargements
GitHub
Cette offre groupée contient :
The ESP32 Cheap Yellow Display Book (prix normal : 35 €)
ESP32 Cheap Yellow Display Board (prix normal : 25 €)
1x Carte de développement ESP32 avec écran de 2,8 pouces et boîtier en acrylique
1x Stylet tactile
1x Câble de connexion
1x Câble USB
Robot à équilibrage sur deux roues compatible Arduino et alimenté par ESP32
L'Elektor Mini-Wheelie est une plateforme robotique expérimentale autonome et auto-équilibrée. Basé sur un microcontrôleur ESP32-S3, le robot auto-équilibré est entièrement programmable à l'aide de l'environnement Arduino et de bibliothèques open source. Ses capacités sans fil lui permettent d'être contrôlé à distance via Wi-Fi, Bluetooth ou ESP-NOW ou de communiquer avec un utilisateur ou même un autre robot.
Un transducteur à ultrasons est disponible pour détecter les obstacles. Son écran couleur peut être utilisé pour afficher de jolies expressions faciales ou, pour les utilisateurs les plus terre-à-terre, des messages de débogage énigmatiques.
Le robot est livré en kit complet avec des pièces à assembler soi-même. Tout est inclus, même un tournevis.
Remarque : Le Mini-Wheelie est une plateforme de développement pédagogique destinée à l'apprentissage, à l'expérimentation et au développement de la robotique. Il n'est pas considéré comme un jouet pour enfants, et ses caractéristiques, sa documentation et le public auquel il s'adresse reflètent cet objectif. Le produit est destiné aux étudiants, aux éducateurs et aux développeurs qui souhaitent explorer la robotique, la programmation et l'intégration de matériel dans un cadre éducatif.
Spécifications
Microcontrôleur ESP32-S3 avec Wi-Fi et Bluetooth
MPU6050 unité de mesure inertielle (IMU) à 6 axes
Deux moteurs électriques 12 V à commande indépendante avec tachymètre
Transducteur à ultrasons
Écran couleur TFT 2,9 pouces (320 x 240)
Emplacement pour carte MicroSD
Moniteur de puissance de la batterie
Batterie Li-Po rechargeable 3S (11,1 V/2200 mAh)
Chargeur de batterie inclus
Logiciel Open Source basé sur Arduino
Dimensions (L x L x H) : 23 x 8 x 13 cm
Inclus
1x Carte mère ESP32-S3 + module MPU6050
1x Carte LCD (2,9 pouces)
1x Capteur à ultrasons
1x Batterie (2200 mAh)
1x Chargeur de batterie
1x Kit de pneus moteur
1x Tableau de caisse
1x Tableau acrylique
1x Tournevis
1x Bande de protection
1x Câble flexible B (8 cm)
1x Câble flexible A (12 cm)
1x Câble flexible C
4x Colonnes A en cuivre (25 mm)
4x Colonnes B en cuivre (55 mm)
4x Colonnes C en cuivre (5 mm)
2x Colonnes en plastique et nylon
8x Vis A (10 mm)
24 Vis B (M3x5)
8x Noix
24x Rondelles métalliques
2x Attaches zippées
1x Carte MicroSD (32 Go)
Téléchargements
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
Construisez votre propre émetteur radio vintage
Le kit émetteur AM Elektor permet de diffuser de l’audio vers des récepteurs radio AM vintage. Basé sur un module microcontrôleur Raspberry Pi Pico, l’émetteur AM peut transmettre sur 32 fréquences dans la bande AM, de 500 kHz jusqu’à 1,6 MHz en 32 pas d’environ 35 kHz.
La fréquence est sélectionnée à l’aide d’un potentiomètre et affichée sur un écran OLED de 0,96". Un bouton-poussoir permet de basculer le mode d’émission entre Marche et Arrêt. La portée de l’émetteur dépend de l’antenne. L’antenne intégrée offre une portée de quelques centimètres, nécessitant de placer l’émetteur AM à proximité ou à l’intérieur de la radio. Une antenne boucle externe (non incluse) peut être connectée pour augmenter la portée.
Le kit émetteur AM Elektor est livré en kit de pièces que vous devez souder vous-même sur la carte.
Caractéristiques
La carte est compatible avec un boîtier Hammond 1593N (non inclus).Une alimentation 5 VDC avec connecteur micro-USB (par exemple, un ancien chargeur de téléphone) est nécessaire pour alimenter le kit (non incluse). Consommation de courant : 100 mA.
Le logiciel Arduino (nécessitant le package RP2040 Boards d’Earle Philhower) pour le kit émetteur AM Elektor ainsi que plus d’informations sont disponibles sur la page Elektor Labs de ce projet.
Liste des composants
Résistances
R1, R4 = 100 Ω
R2, R3, R8 = 10 kΩ
R5, R6, R9, R10, R11 = 1 kΩ
R7 = optionnelle (non incluse)
P1 = potentiomètre 100 kΩ, linéaire
Condensateurs
C1 = 22 µF 16V
C2, C4 = 10 nF
C3 = 150 pF
Divers
K1 = barrette 4×1 broches
K2, K3 = prise 3,5 mm
Raspberry Pi Pico
Bouton-poussoir, montage en angle
Afficheur OLED I²C monochrome 0,96"
PCB 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