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.
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
Audio DSP FX Processor BoardPart 1: Features and Design
50 Years of Elektor in English
KiCad 8Top New and Updated Features
Elektor MultiCalculator KitAn Arduino-Based Calculator Kit for Electronic Purposes
Low-Cost GNSS RTK SystemsWith Centimeter-Level Degree of Accuracy
PCB Layout and SafetyHints for a Safe, Long-Life Design of Your Boards
Opamp TesterFor Audio and Other Applications
Project Update #4: ESP32-Based Energy MeterEnergy Monitoring with MQTT
Real-Time Spectrum Analyzer with Waveguide Technology and Multi-Interface PCsAaronia Establishes New Product Segment and Presents First Prototypes at Electronica in Munich
Applications of Ynvisible’s E-paper DisplaysTransform Businesses and Shape the Future
SMT InductorsCoils and Ferrites — Selection Made Easy
Arrow Electronics to Showcase Innovative Technologies at electronica 2024
Using EMI Shielding to Achieve Electromagnetic Compatibility Compliance
The Ultimate Tool for Every Electronics EnthusiastUnlock Endless Possibilities with Red Pitaya and 1,000+ Click Boards™
V-LD1 Distance Radar Module
Siglent Presents Its New Vector Network Analyzer Platform SNA6000A
HDI in the MiddleA New Cost-Effective PCB Pooling Service for Tiny BGAs
Remote Access IoT LabOne and Only Solution for Remote Learning and Development in Embedded Industry
Challenges of DFM Analysis for Flex and Rigid-Flex Design
From Life's ExperienceMicrotechnophobia
3D Christmas TreeA 3D PCB with a Low-Cost, 32-bit Microcontroller
Starting Out in Electronics……Continues with the Opamp!
An Autonomous Sensor Node (Project Update #1)Reducing Idle Power Consumption with External RTC and Power Switch
2024: An AI OdysseyA Look Back at the Future
LED Displays with the MAX7219A Hands-On Approach to a Great Chip
Err-lectronicsCorrections, Updates, and Readers’ Letters
VibroTactile GlovesA Breakthrough for Parkinson’s Patients
Einführung in die SPS-Programmierung mit dem Open-Source-Projekt auf dem Raspberry Pi und Modbus-Beispiele mit dem Arduino Uno und ESP8266
Die SPS-Programmierung ist heute in der Industrie und in der Hausautomation sehr weit verbreitet. In diesem Buch beschreibt der Autor, wie der Raspberry Pi 4 als SPS eingesetzt werden kann. Angefangen mit der Softwareinstallation auf dem Raspberry Pi und dem SPS-Editor auf dem PC geht es nach einer Beschreibung der Hardware an das Programmieren.
Es folgen interessante Beispiele nach IEC 61131-3 in den verschiedenen Programmiersprachen. Ausführlich wird auch erklärt, wie der SPS-Editor benutzt wird und wie die Programme auf den Raspberry Pi geladen und ausgeführt werden. Angefangen mit der Programmierung mit KOP (Kontaktplan) über ST (Structured Control Language) bis zu AS (Special Function Chart) werden alle IEC-Sprachen mit Beispielen behandelt. Diese können auf der Website des Autors heruntergeladen werden.
Auch die Vernetzung kommt nicht zu kurz. Der Arduino Uno und der ESP8266 werden als ModbusRTU- bzw. ModbusTCP-Module programmiert, um Zugriff auf externe Peripherie zu erhalten. Damit ist es möglich, Sensoren einzulesen und Verbraucher zu schalten. Interessant dürften auch E/A-Schaltungen sein, die dem 24V-Industriestandard entsprechen.
Befehlsübersichten für ST und KOP runden das Buch ab.
Nach dem Durcharbeiten des Buches ist der Leser in der Lage, eigene SPS-Steuerungen mit dem Raspberry Pi zu verwirklichen.
Diese Ausgabe steht allen GOLD- und GREEN-Mitgliedern auf der ElektorMagazine-Website zum Download bereit!
Sie sind noch kein Mitglied? Hier klicken!
Audio-DSP-FX-Prozessor-BoardTeil 1: Eigenschaften und Design
50 Jahre Elektor in englischer Sprache
KiCad 8Neue und aktualisierte Funktionen
MultiCalculator-KitEin Elektronikrechner-Bausatz von Elektor mit Arduino
Preiswerte GNSS-RTK-SystemeFür zentimetergenaue Positionsbestimmung
Platinenlayout und SicherheitTipps für sichere und langlebige Leiterplatten
Opamp-TesterFür Audio- und andere Anwendungen
Projekt-Update #4 : Energiemessgerät mit ESP32Energieüberwachung mit MQTT
Echtzeit-Spektrumanalyzer mit Waveguide-Technologie und Multi-Schnittstellen-PCsAaronia etabliert neues Produktsegment und präsentiert erste Prototypen auf der electronica in München
electronica 2024Highspeed und robuste Board-to Board Steckverbinder
InduktivitätenSpulen und Ferrite anwendungsorientiert selektieren
EMI-Abschirmung zur Einhaltung der elektromagnetischen Konformität
Das ultimative Werkzeug für jeden Elektronik-EnthusiastenUnendliche Möglichkeiten mit Red Pitaya und 1.000+ Click Boards™
Die 100 % durchgängige Flussmittelseele
Siglent stellt seine neue Vektornetzwerkanalysator-Plattform SNA6000A vor
HDI der MittelklasseEin neuer ökonomischer PCB Pooling Service für hochpolige BGAs
Ferngesteuerte IoT-EntwicklungDie einzige Lösung für Fernunterricht und Entwicklung in der Embedded-Industrie
Herausforderungen der DFM-Analyse für Flex- und Rigid-Flex-Design
Aus dem Leben gegriffenMikrotechnophobie
Feliz Natal: 3D-WeihnachtsbaumEine 3D-Platine mit preiswertem 32-Bit-Mikrocontroller
Aller Anfang......muss nicht schwer sein: Weiter geht es mit den Opamps!
Ein autonomer SensorknotenProjekt-Update #1: Reduzierung der Leerlauf-Stromaufnahme mit externer RTC mit Leistungsschalter
2024: Eine Odyssee in die KIEin Blick zurück in die Zukunft
LED-Displays mit dem MAX7219Ein praktischer Ansatz für einen großartigen Chip
Projekt 2.0Korrekturen, Updates und Leserbriefe
VibroTactile-HandschuheEin Durchbruch für Parkinson-Patienten?
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
A Current Source for Testing (Z-)DiodesChecking Z-Diodes from 1 to 54 V @ 1 to 50 mA
ESD Strap TesterA Bench Tool with Pass, Borderline, and Fail Indication
Power Supply Transient Response TesterA Repeatable Step-Load Generator for Bench Power Supplies
Euclidean Sequencer Without a MicrocontrollerTrigger Patterns and CV Sequences with Simple CMOS Logic
LED Flashing Light for Gates and More with an Audible Alert
Need PCBs? The Elektor PCB Service Has You Covered.
Toothbrush TimerUsing a Tiny PIC
A Contactless Magnetic Combination LockWith the AS5600 Rotary Position Sensor
Low-Noise Battery-Powered PreamplifierFor Dynamic Microphones
The Arduino Nano TestLabMeasurement, Control, and Regulation
Rhythmic Bass LightEmphasize the Rhythm of Your Music
Low-Cut FilterNo Risk of Audio Feedback on Your System
Precise 1 Hz Square Wave Generator for BreadboardsA Reliable CMOS-Based Clock Source
555 Upside DownDuty Cycles Down to Zero
From Halfgeleidergids to Circuit Specials65 Years of Electronics Innovation
Electrical IsolationCAN Interface with Digital Isolator and Power Module
SpongillatorA Sponge-Based Oscillator
True Random Number GeneratorWith Integrated Chi-Square Test
3D Viewer for HTML pagesSimple, and Almost Without Code
Programming with TLScriptA Scripting Language for Measurement, Testing, and Control
Circuit Design: Tips from Experts
FeedbackWhat Is It and Why Is It Important?
One Board, Endless Ideas: Arduino UNO QFrom Retro Gaming to Real-Time Environmental Monitoring
How to Fix a Donut Antenna
Standby KillerA Real On/Off Switch for Your TV
Battery TestingMeasuring Batteries with the Arduino Nano
Power Supply for Audio Power AmplifiersA Good Power Supply Without Mains Hum
Prototyping Boards for RFFast Setups with DIY Prototyping Boards
T3 Surge ProtectionA Type 3 Spike Suppressor for Your Sensitive Equipment
IoT Room Thermostat BoardWith ESP32-C3/S3-Based Xiao MCU module
From Rigid to SmartFlexible and Printed Electronics — Between Vision and Industrial Reality
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.
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
Kiesschijftelefoon als afstandsbedieningvoor licht kies 1; voor koffie kies 2
GPS-gebaseerde snelheidsmeternooit meer bekeuringen
RGB-stroboscoop met Arduinokleurige toepassing van een nuttig instrument
Draadloze nooddrukknopmeer veiligheid met LoRa
Alle begin......volgt de emitter
Vrij te kiezen onafhankelijke hystereseniveaus voor comparatorenmet simulaties, spreadsheets en algebra
Impedantie-analyzer op basis van een ESP32simpel, weinig onderdelen en goedkoop!
Oost West Lab Bestzelfbouw moet gestimuleerd!
Het MCCAB Arduino Nano Training Boardalle hardware voor de “Microcontrollers Hands-On Course”
Uit het leven gegrepenmodern luddisme
Sensor-ABC: de DS18B20 temperatuursensoraansluiting op de 1-Wire bus
Gaan Matter en Thread het Smart Home redden?nieuwe standaarden om het slimme huis te vereenvoudigen
Een kwestie van samenwerkingontwikkelen met het Thing Plus Matter Board en Simplicity Studio
Elektor IIIIinfographicIoT en sensoren
Matter, ExpressLink, Rainmaker – waar hebben we het over?vraaggesprek met Amey Inamdar van Espressif
De juiste keuze van microcontroller-ontwikkelkitsvoor IoT- en IIoT-toepassingen
Condensatoren gedragen zich niet altijd capacitief!
Een NTP-klok met CircuitPythonwaarom zou je deze programmeertaal gebruiken?
Bouw een cool IoT-display'met de Phambili Newt
De doppler-bewegingssensor HB100theorie en praktijk
Een gids voor puristisch programmeren (deel 1)voor STM32 en andere controllers
Siglent SDM3045X-multimeter
Microprocessoren voor embedded systemenvreemde onderdelen
Microcontroller-documentatie verklaarddeel 3: blokschema’s en meer
Low-power LoRa-weerstationbouw zelf een weerstation met een groot bereik
Transverter voor de 70cm-band
Klimaat aan ingenieurssnelheid is geboden!
Hexadoku
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.
Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
Relio v1.0 – Aanwezigheidsdetectie en afstandsbedieningEen smart controller met Matter-functionaliteit voor AC-apparaten
Betere printplaten ontwerpenEen praktische gids voor professionals en makers
KiCad 9De belangrijkste nieuwe en verbeterde functies
Precisie pico-ampèremeter (1)Met curvetracer-functionaliteit tot in het pA-bereik!
Kerstster 2025soldeer de sterren van de hemel!
100mV-doorgangstester
Wie verlegt de grenzen van de Europese elektronica?Bedrijven om in het oog te houden
Productronica 2025: Wat is er nieuw in de ontwikkeling en productie van elektronica
Automatisering om reshoring van productie, invoerheffingen en tekorten aan arbeidskrachten aan te pakken
Meer dan toekomstbestendigCirculariteit in elektronica
Passieve componentenVerliesarme inductoren voor hoogrendements DC/DC-converters
Hoe desktopmachines de printplaatproductie toegankelijker maken
Alle begin......heeft voeding nodig
Uit het leven gegrepenKnopjeskoorts
Soldeertechniek in 2025Praktische soldeertips rechtstreeks van de werkbank
SimulIDEEen alles-in-één tool voor circuit-prototyping
2025: Een AI OdysseyVan autocomplete tot collega
Wordy Christmas TreeEen feestelijk elektronica-project met een taalkundig tintje
Err-lectronicsCorrecties, updates en lezersbrieven
Analoge pipeline-vervormingEen fraai audio-effect voor gitaren en andere instrumenten
ESP32 audiotransceiver-board (deel 3)Stereotransmissie en dual-radio
ModbusRTU and ModbusTCP examples with the Arduino Uno and ESP8266
Introduction to PLC programming with OpenPLC, the first fully open source Programmable Logic Controller on the Raspberry Pi, and Modbus examples with Arduino Uno and ESP8266
PLC programming is very common in industry and home automation. This book describes how the Raspberry Pi 4 can be used as a Programmable Logic Controller. Before taking you into the programming, the author starts with the software installation on the Raspberry Pi and the PLC editor on the PC, followed by a description of the hardware.
You'll then find interesting examples in the different programming languages complying with the IEC 61131-3 standard. This manual also explains in detail how to use the PLC editor and how to load and execute the programs on the Raspberry Pi. All IEC languages are explained with examples, starting with LD (Ladder Diagram) over ST (Structured Control Language) to SFC (Special Function Chart). All examples can be downloaded from the author's website.
Networking gets thorough attention too. The Arduino Uno and the ESP8266 are programmed as ModbusRTU or ModbusTCP modules to get access to external peripherals, reading sensors and switching electrical loads. I/O circuits complying with the 24 V industry standard may also be of interest for the reader.
The book ends with an overview of commands for ST and LD. After reading the book, the reader will be able to create his own controllers with the Raspberry Pi.
Le téléchargement intégral de ce numéro est disponible pour nos membres GOLD et GREEN sur le site Elektor Magazine !
Pas encore membre ? Cliquez ici.
Raspberry Pi Pico comme analyseur de spectredes FFT avec du matériel bon marché
régulateur de tension linéaire ±40 Vune alimentation de qualité pour l'amplificateur de puissance Fortissimo-100... et d'autres !
la communication sans fil des microcontrôleurs devient flexiblel'EEPROM ouvre des perspectives de mise en réseau pour les microcontrôleurs sans fil
5000 ? à gagner !participez au concours STM32 Wireless Innovation Design Contest
2023 : l'odyssée de l'IAdémarrer avec l'interpréteur de code de ChatGPT
LoRa, un couteau suisse (1)le protocole LoRa et ses avantages
puit de courant réglable avec générateur d'horloge intégrétestez vos alimentations, convertisseurs de tension et batteries
les nouvelles cartes Arduino UNO R4 Minima et WiFi
des potentiomètres logarithmiquesqui sont exponentiels !
Carte d'interface pour pilote de moteurUn BoB pour un pilote de moteur à courant continu de 5 A avec une taille de 3×3 mm
sur le vifdanger de l'électronique
une architecture cellulaire offre-t-elle la plus basse consommation pour l'Internet des objets (IdO) ?caractéristiques énergétiques des technologies LTE-M et NB-IoT pour le déploiement de réseaux étendus à basse consommation (LPWAN)
communication sans fil dans les systèmes IoT à l'aide de modules Arduino MKRnormes de communication des modules Arduino pour l'IoT
pertes en courant alternatif dans les composants magnétiquesévitez la surchauffe des inductances !
optimiser son déploiement cloud grâce aux appareils de mesure
implémentation de Matter : que faut-il pour déployer les appareils Matter ?
le YARD Stick Oneun outil de test sans fil pour les fréquences jusqu?à 1 GHz
relais à verrouillagedrôle de composant, la série
PIC O?Clock ? prendre le pouls du tempsconception d'un récepteur de signaux horaires SDR
Due Diligence DirectiveBusiness as Usual Will Not Do
démarrer en électronique?amplificateur de tension
enregistreur d'infrasons avec l'Arduino Pro Miniun projet extrait du livre 'Arduino & Co.' d'Elektor
compteur d'énergie basé sur le cloudavec un module ESP32 et un capteur de tension/courant PZEM-004T
guide de programmation Bare-Metal (2)timer précis, UART et débogage
Hexadoku
In 35 Projects with the Raspberry Pi and Arduino
The Internet of Things (IoT) is a trend with a strong technological impulse. At home, we want to do everything on our tablets, from browsing Facebook to watching TV, from operating lights to keeping an eye on the temperature.
In 35 fun projects, this book will show you how to build your own Internet of Things system. We'll cover the hardware (primarily the Raspberry Pi and Arduino) and the software that makes control via Internet possible. We employ Wi-Fi and radio links so no requirement any longer to install cabling crisscross through your home.
Assuming the projects in the book are finished, you have a complete Internet of Things system that allows you to control and view of everything in your home. For example, if there's something in the mail box or the car is securely in the garage. Also, you can switch on the lights and the alarm from your couch. The crisp explanations allow the projects to be customized with ease, for example, to turn on your coffee machine or TV remotely. The index gives easy access to creative projects that can serve as an example, enabling you to do all the connecting to the IoT independently. All project software can be downloaded free of charge from the Elektor website.
In this unique book, Raspberry Pi, Arduino and HTML webpages with stylesheets and JavaScript come together in clearly-described, easy-to-build projects. This special book is an essential part of your collection!
Learning circuit design the fun way
Welcome to the world of electronics!
Getting started in electronics is not as difficult as you may think. Using this book, you will explore and learn the most important electrical and electronics engineering concepts in a fun way by doing various experiments and by simulating circuits. It will teach you electronics practically without getting into complex technical jargon and long calculations. As a result, you will be creating your own projects soon.
No prior knowledge of electronics is required, only some basic algebra is used in a few simple calculations. Many tested and working projects and simulations are presented to familiarise yourself with the construction of electronic circuits. Circuit simulation is introduced at an early stage to enable you to experiment with circuits easily without breaking anything.
You will learn:
The concepts of voltage, current, and power
AC and DC
Basic lamp circuits with switches
Passive components: resistors, capacitors & inductors
RC & RCL circuits
Electromagnetism
Loudspeakers, relays, buzzers, and transformers
Active components: diodes & LEDs, bipolar transistors & MOSFETs
Transistor-based switching circuits
Optocoupler circuits
Astable & monostable multivibrators
Using the 555 timer IC
The operational amplifier
Digital logic
Advanced examples: amplifiers, oscillators, filters, and sensors
Test and measurement tools
Microcontrollers: Arduino UNO, ESP32, Raspberry Pi Pico, and Raspberry Pi
Reading datasheets and best practices for selecting components
EMC & EMI and norms & regulations