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.
Das minimalistische Design und die federbelastete Prüfnadel ermöglichen die gleichzeitige Messung von Fine-Pitch-Komponenten und nahegelegenen Signalen.
Die Sonde ist stabil und dennoch flexibel und eignet sich für sofortige Messungen oder völlig freihändigen Betrieb zusammen mit Ihrem Multimeter, Logikanalysator oder Ihrem bevorzugten Werkzeug.
Der Dual-Pin-Header-Stecker passt direkt auf einen 2,54-mm-Stecker (0,100 Zoll).
Der SP10 verfügt wie alle PCBite-Sonden und -Halter über einen starken Magneten in der Basis, der das Platzieren und Neupositionieren der Sonde erleichtert.
Inbegriffen
4x PCBite-Halter
1x große Grundplatte (A4)
4x PCBite-Sonde mit Testnadel mit Stiftspitze
4x zusätzliche Prüfnadel mit Kronenspitze
1x Satz gelbe Isolierscheiben
5x Dupont-zu-Dupont-Testkabel
2x Bananen-zu-Dupont-Testkabel
1x Mikrofasertuch
Downloads
Benutzerhandbuch
The Vision and Engineering Behind SparkFun Getting Started with MicroMod
Leveling Up Your SparkFun JetBotHow I Expanded the Functionality of My JetBot, Powered by the NVIDIA Jetson Nano Programming an FPGA How to Build a DIY GNSS Reference Station The ClockClock Project Under the Hood: SparkFun Inventor's Kit SparkFun’s Glenn Samala on Product Development and New Ventures Creating Custom Circuit Boards with SparkFun À La Carte Designing with the SparkFun Artemis Getting Started with the Qwiic Ecosystem for Rapid Prototyping Poster - Qwiic Under the Hood: The GreatScott! / Elektor DIY LiPo Supercharger Kit Memorable Electronics from SparkFun Past Perfect Parking with LiDAR Buried Pad PCB Fixing Design to Sale: the SparkFun RTK Surveyor
Hello World from the Raspberry Pi Pico and RP2040A Look at Raspberry Pi’s First Microcontroller and Microcontroller Chip DIY Quadrupedal Robots Poster - Micromod RISC-V IoT Development in AWS Using FreeRTOS Libraries
Yep, Electronics = Fun!A Conversation Among Electronics Enthusiasts Sparkfun Product Catalog
HexadokuThe Original Elektorized Sudoku
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.
Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
De ESP-BLASTEen mini ESP32 raketdrone die ruim 100 km/u vliegt
STM32Cube Innovation-ChallengeDoe mee met je beste STM32C5-ontwerp
Wireless workshop (1)Radiomodules uitgelegd: 433 MHz CC1101 sub-GHz-transceiver
AM-zenderMet sinus- en blokgolfgenerator op Raspberry Pi Pico
AudiotronicaDe vervormingsfactor
CoffeeCallerOmroepsysteem met mesh-netwerk en Zephyr gebaseerde software
Elektor wordt 65Projecten uit voorgaande september- en oktobermaanden
Bluetooth Channel Sounding voor het volgen van objectenAfstandsmeting met centimeterprecisie voor het IoT van de volgende generatie
2026: Een AI-odysseeKwantumcomputing is geen volgende GPU
Om de cloud te beveiligen, is edge-beveiliging nodig
Eerste ervaringen met de HackRF ProPraktische tests met de nieuwe SDR-hardware
Modemupgrade van GPRS/2G naar LTE/4GEen draadloos alarmsysteem als voorbeeld
Lusvormige antenne met RF-bouwstenenDeel 1: Een zelfbouw kortegolfantenne met instelbare richtingsgevoeligheid
Internetradio naar AM-converterMet een ESP32-S3 als zender
Err-lectronics
Mioty, een overzichtFraunhofer's aanpak van LPWAN
WerkbankwijsheidPraktische tips van experts
Walter, de compacte IoT-moduleDeel 2: Toegang tot weer- en datadiensten
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.
adaptateur de mesure USBTest du courant et des signaux des ports USB
sortie boucle de courant 4-20 mA pour Arduino UnoUne interface de boucle de courant fiable et insensible aux interférences électromagnétiques
commande automatique pour aspirateurGardez votre établi propre
générateur DDS avec ATtiny
testeur d'ampli-op V2Nouveau circuit imprimé – désormais compatible avec les CMS
amplificateur audio à tube 550 mWson chaleureux des tubes à vide
surveillance des fusiblesavec une LED clignotante
préamplificateur RIAA HQExploitez tout le potentiel sonore de vos disques vinyles !
Outil de réglage pour platines vinylesGénérateur de lumière stroboscopique 100–120 Hz basé sur Arduino
Elektor Classics : ampli vidéo
gradateur à télécommande infrarougeContrôlez votre éclairage avec confort et précision
comment utiliser switch…case avec des chaînes de caractères en C++/EDI Arduino
détecteur d’aimantsAvec un simple capteur à effet Hall
bouton de mise sous tension intelligent pour Raspberry PiUne solution pour Raspberry Pi jusqu’au modèle 4
astuces clés pour makersDes conseils pros pour vos projets
projets pratiques avec le timer 555Commande de moteur CC et jeux de rapidité
moniteur de charge CA simpleÉconomisez de l'énergie grâce à un appareil simple
batteries externes en parallèleTrois jours d’autonomie
VFO jusqu’à 15 MHzRéalisation avec un Raspberry Pi Pico
accordeur de violon avec ATtiny202
Elektor Classics : ampli vidéo pour TV N&B
capacimètre20 pF à 600 nF
horloge quasi analogique Mk IIDeux anneaux LED pour les heures et les minutes
concevez sans limites(grâce à l’écosystème complet d’Arduino)
dé à lampes néon
Elektor Classics : indicateur d'accord RTTY
solutions matérielles inspirantes pour vos projets ESP
Elektor Classics : alimentation 3 A
LED RGB avec circuit de commande intégréLumière de précision : les ICLED établissent de nouvelles normes
expérience : un Thérémine analogico-numérique ?Combiner des capteurs numériques modernes avec l’intemporel générateur analogique XR2206
carte émetteur-récepteur audio ESP32 (1)Démo : lecture de fichiers WAV depuis une carte SD
infographies : Circuits et conception de circuits 2025
petit mixeur audioUne conception polyvalente et modulable
minuteur intelligent pour éclairage d’escalierÉconomisez encore plus sur votre facture d’énergie !
modernisez vos voletsContrôlez les systèmes Velux avec un ESP32 et MQTT
chauffe-pieds à transistorsConfort économe en énergie
le quadricoptère M5Stamp Fly est-il le prochain drone Tello ? (Revue)
optimiser la portée Wi-Fi de l’ESP32-C3 SuperMiniUne modification d’antenne simple et efficace
station de soudage à air chaud ZD-8968Un outil de travail économique ou uniquement de l'air chaud ?
testeur de radar de reculDétecter les pannes du système d’aide au stationnement d’un véhicule
The Piccolino rapid development board can be used to design microcontroller circuits quickly. The Piccolino has a fast 16f887 PIC microcontroller, voltage regulator, and communications module, and can be easily extended using its four headers.
This e-book contains 30 projects based on the Piccolino. We'll use its unique communications facilities and get the Piccolino to communicate with programs on a PC. On the PC, we use the free programming language Small Basic. You can use this to create Windows programs with buttons and graphs quickly. You will learn how to analyze components such as inductors, capacitors, and OPAMPs, and how to display the measurement results in a graphical format. This will help you to design your circuits easily.
We will then start to adapt to the Piccolino. We'll add components to it to make it more powerful, with extra features such as flow control and digital to analog conversion. The clear instructions will enable you to design and build your adaptations. This way you can make your custom designed Piccolino.
We'll end up making an extension: a PCB that that can be mounted on the Piccolino headers. As an example, we'll design and build an extension for an LCD. You can use the included board layout to make your PCB or have it made for you. At the same time, you will learn how to make your extensions. The only limitation is your imagination!
The clear descriptions along with circuit diagrams and photos, will make the building of these projects an enjoyable experience. Each project has a clear explanation of the reasons why it was designed in a particular way. This helps you learn a lot about the Piccolino, as well as Small Basic, and the components that are used in this e-book. You can adapt the projects to suit your requirements or combine several projects.
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.
Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
De ESP-BLASTEen mini ESP32 raketdrone die ruim 100 km/u vliegt
STM32Cube Innovation-ChallengeDoe mee met je beste STM32C5-ontwerp
Wireless workshop (1)Radiomodules uitgelegd: 433 MHz CC1101 sub-GHz-transceiver
AM-zenderMet sinus- en blokgolfgenerator op Raspberry Pi Pico
AudiotronicaDe vervormingsfactor
CoffeeCallerOmroepsysteem met mesh-netwerk en Zephyr gebaseerde software
Elektor wordt 65Projecten uit voorgaande september- en oktobermaanden
Bluetooth Channel Sounding voor het volgen van objectenAfstandsmeting met centimeterprecisie voor het IoT van de volgende generatie
2026: Een AI-odysseeKwantumcomputing is geen volgende GPU
Om de cloud te beveiligen, is edge-beveiliging nodig
Eerste ervaringen met de HackRF ProPraktische tests met de nieuwe SDR-hardware
Modemupgrade van GPRS/2G naar LTE/4GEen draadloos alarmsysteem als voorbeeld
Lusvormige antenne met RF-bouwstenenDeel 1: Een zelfbouw kortegolfantenne met instelbare richtingsgevoeligheid
Internetradio naar AM-converterMet een ESP32-S3 als zender
Err-lectronics
Mioty, een overzichtFraunhofer's aanpak van LPWAN
WerkbankwijsheidPraktische tips van experts
Walter, de compacte IoT-moduleDeel 2: Toegang tot weer- en datadiensten
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.
Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
Audio DSP FX Processor Boarddeel 1: eigenschappen en ontwerp
50 jaar Elektor in het Engels
KiCad 8belangrijkste nieuwe en vernieuwde functies
Elektor @ elektronica 2024electronica Fast Forward 2024, Experts on Stage, Influencer Forums, Live Elektor Lab Talk Shows en meer
Elektor MultiCalculator KitArduino-gebaseerde DHZ-calculator voor elektronici
Goedkope GNSS RTK-systemenmet centimeter-nauwkeurigheid
Printlayout en veiligheidtips voor een veilig en duurzaam ontwerp van uw printen
Opamp-testervoor audio en andere toepassingen
Project-update #4: ESP32-gebaseerde energiemeterenergiemonitoring met MQTT
Real-time spectrumanalyzer met golfgeleider-technologie en multi-interface PC’sAaronia introduceert nieuw productsegment en presenteert eerste prototypes op electronica in München
SMT-spoelenspoelen en ferrieten – selectie gemakkelijk gemaakt
EMC-conformiteit bereiken met EMI-afscherming
De perfecte tool voor elke elektronicaliefhebbereindeloze mogelijkheden met Red Pitaya en 1.000+ Click Boards™
HDI in het middeneen nieuwe kosteneffectieve PCB-poolingservice voor kleine BGA’s
Uitdagingen van DFM-analyse voor flex- en rigid-flex-ontwerpen
Open source-toolsantennesimulator, componentenbeheer, rekenmachine en meer
Elektor infographicprototyping en productie
Uit het leven gegrepenmicrotechnofobie
3D-kerstboomdriedimensionale print met een goedkope 32 bit-microcontroller
Alle begin......houdt nog lang niet op(amp)!
Autonome sensor-node (project-update #1)RTC en voedingsschakelaar
2024: een AI-odysseeeen terugblik op de toekomst
LED-displays met de MAX7219aan de slag met een grandioze chip
Project 2.0correcties, updates en brieven van lezers
Vibrotactiele handschoenendoorbraak voor Parkinson-patiënten
A Reference and User Guide for the Arduino Mega 2560 Hardware and Firmware
A manual providing up-to-date hardware information for the Arduino Mega 2560.
The Arduino Mega 2560 is an upgrade to the popular Arduino Uno board, providing more pins, serial ports and memory. Arduino is the easy to use open-source electronics platform used by hobbyists, makers, hackers, experimenters, educators and professionals.
Get all the information that you need on the hardware and firmware found on Arduino Mega 2560 boards in this handy reference and user guide. Ideal for the workbench or desktop. This manual covers the Arduino Mega 2560 hardware and firmware, and is a companion volume to the Ultimate Arduino Uno Hardware Manual, which covers the Arduino Uno hardware and firmware.
Contains all of the Arduino Mega 2560 hardware information in one place
Covers Arduino / Genuino Mega 2560 revision 3 and earlier boards
Easily find hardware technical specifications with explanations
Pin reference chapter with interfacing examples
Diagrams and illustrations for easy reference to pin functions and hardware connections
Learn to back up and restore firmware on the board, or load new firmware
Basic fault finding and repair procedures for Arduino Mega 2560 boards
Power supply circuits simplified and explained
Mechanical dimensions split into five easy to reference diagrams
Contains circuit diagrams, parts list and board layout to easily locate components
A chapter on shield compatibility explains how shields work across different Arduino boards
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
The RISC-V Open-Source Processor Architecture16 Boards and MCUs You Should Know
An FPGA-Based Audio Player with Equalizer (1)Mixing Digital Audio with an Arduino MKR Vidor 4000
Laser Head for Pico-Based Sand ClockDrawing with Light
Enter the STM32 Edge AI Contest
A Multi-Sensor Environmental Monitoring System for PlantsWireless Measurement of Water Supply and Light Conditions
Maixduino AI-Powered Automatic DoormanFace Detection with a Camera
Embedded Electronics 2024AI Is Set to Redefine the Industry
Charge-Based In-Memory Compute at EnCharge AI
AI Inferencing at 10 Times Lower Power and 20 Fold Lower Cost
Click Board Helps Develop and Train ML Models for Vibration Analysis
The Elektor Mini-WheelieA Self-Balancing Robot Kit
MCU, I See YouMCUViewer Open-Source Multiplatform Debugging Tool
USB 2.0 IsolatorElectrically Isolated Connections for USB Devices
Intervention Before DamagePredictive Maintenance in Practice
SPoE – Electromagnetic CompatibilitySingle-Pair with Power-Over-Ethernet Through the Eyes of EMC
Color TV: A Wonder of Its TimeCreating a New World
ECG Graph MonitoringAn Implementation with Hexabitz Modules and an STM32CubeMonitor
The Battle for AI at the Edge
HaLow Hits Record 16-km Wi-Fi Distance at 900 MHz
First CHERI RISC-V Embedded Chip and Early Access Programme
Third-Generation Wildfire Detection Uses Satellite Links
From Life’s ExperienceChoice Overload
Starting Out in Electronics……Continues Filtering and Controls Tone
Quasi-Analog ClockworkA Remake of an Elektor Classic
A Modular Approach to Sensor TestingThe ESP32-S3-Based Sensor Evaluation Board
2025: An AI OdysseyThe Rise of Foundation Models and Their Role in Democratizing AI
Raspberry Pi Standalone MIDI Synthesizer (1)Preparing a Platform for Some Edge AI Experiments
Err-lectronicsCorrections, Updates, and Readers’ Letters
Universal AI RISC-V Processor Does It All — CPU, GPU, DSP, FPGA
CEO Interview: Ventiva’s Thin and Cool Tech
Dual-Core Programming with a Raspberry Pi PicoVenture Into the World of Parallel Programming
Tout sur les protocoles et leur mise en œuvre avec Arduino
Initialement destiné aux véhicules routiers, le réseau CAN (« Controller Area Network ») et son successeur le réseau CAN FD (« Flexible Data ») ont vu leurs champs d’application s’élargir à de nouveaux domaines. L’industrie propose de nombreux modules microcontrôleurs dotés d’une interface CAN et/ou CAN FD. L’environnement de développement Arduino a démocratisé la programmation de ces modules et il existe des bibliothèques qui implémentent un pilote CAN et/ou un pilote CAN FD.
La première partie dresse un rapide historique des réseaux CAN et CAN FD et expose la problématique des lignes de transmission en abordant succinctement leur théorie et présentant des résultats de simulation Spice.
La deuxième partie est consacrée au réseau CAN, en détaillant successivement la fonction logique du réseau, les transcepteurs, les contrôleurs, la topologie la plus classique (le bus) et d’autres moins courantes, les répéteurs et les passerelles. Les aspects particuliers du protocole, tels que le bit stuffing, l’arbitrage, les trames d’erreur, la détection des erreurs sont exposés. La discussion de la fiabilité du protocole est illustrée par des exemples mettant en évidence ses faiblesses.
La troisième partie présente le protocole CAN FD, ses deux variantes CAN FD ISO et CAN FD non ISO, leurs fiabilités, leurs faiblesses, mises en évidence par des exemples. Différents transcepteurs et contrôleurs CAN FD sont décrits.
La quatrième partie est dédiée aux applications : comment utiliser les services d’un pilote, concevoir une messagerie, utiliser un analyseur logique. Deux exemples d’application terminent cette partie.
Ce livre s’adresse aux amateurs et aux ingénieurs non spécialistes pour comprendre les possibilités qu’offre un réseau CAN et comment on le met en œuvre. Un enseignant trouvera des informations pour approfondir ses connaissances et pour concevoir des travaux pratiques. Une connaissance des microcontrôleurs, de leur programmation, de l’électronique numérique aidera à la lecture des schémas. La connaissance du langage C++ et du langage de simulation électronique Spice facilitera la compréhension des programmes qui sont décrits dans le livre. Tous les codes source sont disponibles sur le dépôt GitHub de l’auteur.
Téléchargements
GitHub
Elektronik lernen, entwickeln und verstehen – mit Elektor
Projekte, Fachwissen, Archiv-Zugriff und exklusive Rabatte – alles in einer Mitgliedschaft
Möchten Sie Elektronik lernen, eigene Schaltungen entwickeln und moderne Technologien besser verstehen? Das Elektor Magazin gehört seit 65 Jahren zu den führenden Informationsquellen für Elektronikingenieure, Entwickler, Start-ups und Unternehmen. Mit einer Elektor Green Mitgliedschaft sichern Sie sich:
✅ Jährlich 8 Ausgaben der internationalen Elektronik-Fachzeitschrift Elektor (PDF)
✅ Zugang zum Elektor-Archiv mit 65 Jahren Elektronik-Know-how
✅ Selbstbauprojekte, getestete Schaltungen, In-depth-Reviews und Tutorials
✅ Exklusive Mitgliederrabatte auf Elektor.de
Warum Elektor?
Seit 65 Jahren steht Elektor für fundiertes Elektronik-Wissen, praxisnahe Projekte und innovative Technologien.
Von Mikrocontrollern und Embedded Systems über Raspberry Pi, Arduino und ESP32 bis hin zu IoT, KI, Messtechnik, Audio, HF und Robotik deckt Elektor die wichtigsten Plattformen und Anwendungsfelder moderner Elektronik ab.
Egal, ob Sie Einsteiger, Maker oder Profi sind – mit Elektor bringen Sie Ihre Fähigkeiten auf das nächste Level.
Für wen ist die Mitgliedschaft?
Einsteiger – Starten Sie mit verständlichen Grundlagen und ersten Projekten in die Welt der Elektronik
Maker – Entdecken Sie neue Projekte, Ideen und Inspiration für Ihre eigenen Entwicklungen
Profis & Ingenieure – Bleiben Sie auf dem neuesten Stand moderner Technologien und vertiefen Sie Ihr Fachwissen
Ihre Vorteile auf einen Blick
Magazin (Digital) – Erhalten Sie jede Ausgabe digital direkt in Ihr Postfach
65 Jahre Elektronik-Wissen – Greifen Sie jederzeit auf das umfangreiche Elektor-Archiv zu
Praxis & Projekte – Setzen Sie eigene Ideen um, mit Anleitungen, Schaltungen und Tutorials
Exklusive Rabatte – Sparen Sie bei jedem Einkauf auf Elektor.de
Jetzt alle Elektor-Vorteile freischalten!
Free Mitgliedschaft
Green Mitgliedschaft
❌ 8× Elektor (Digitalausgabe) als PDF
✅ 8× Elektor (Digitalausgabe) als PDF
❌ 12 Monate Zugriff auf das gesamte Elektor-Archiv
✅ 12 Monate Zugriff auf das gesamte Elektor-Archiv
❌ Zugriff auf über 5.000 Gerber-Dateien
✅ Zugriff auf über 5.000 Gerber-Dateien
❌ 10% Mitgliederrabatt auf Elektor.de
✅ 10% Mitgliederrabatt auf Elektor.de
✅ Elektor jeden Freitagmorgen wöchentlich lesen
✅ Elektor jeden Freitagmorgen wöchentlich lesen
ℹ️ Lesen Sie Elektor lieber gedruckt? Hier erfahren Sie alles über die Elektor Gold-Mitgliedschaft (Print).