A Project-Based Introduction to Microcontrollers and Drone Control
A Practical Introduction to Embedded Systems with the ESP32
This book is intended for readers who are new to embedded systems and looking for a structured, example-driven way to begin. If you’ve explored general-purpose electronics or Arduino-based resources but found them too broad or lacking in practical application, this guide offers a more focused alternative.
With a small, affordable set of components – such as LEDs, sensors, an OLED screen and a motion sensor – you’ll build and work with the same hardware setup throughout the book. This allows you to focus on learning and experimenting without constant reconfiguration.
Topics include:
Understanding and programming the ESP32 microcontroller
Using the Arduino IDE to write and deploy code
Exploring cyber-physical systems, culminating in basic drone control
No prior experience with Arduino or embedded development is required. Each section includes hands-on examples and mini-projects designed to reinforce core concepts and encourage deeper exploration. By the end, you’ll be equipped not only to reproduce the book’s examples, but also to extend them toward your own ideas and applications.
Whether your interest is in learning embedded programming, building interactive systems, or exploring educational drone control, this book provides a clear and practical path to getting started.
32 neue Projekte, praktische Beispiele und Übungen mit dem Elektor Arduino Nano MCCAB Trainingsboard
Die Elektronik und die Mikrocontrollertechnik bieten die Möglichkeit, kreativ tätig zu sein. Mit diesem Mikrocontroller-Praxiskurs besteht die Möglichkeit, eigene Arduino-Projekte zu realisieren und solche Erfolgsmomente erleben zu können. Im Idealfall funktioniert beim ersten Einschalten alles so, wie man es sich vorgestellt hat. In der Praxis läuft es dagegen selten wie erwartet. Dann braucht man Kenntnisse, um den Grund für das Nichtfunktionieren effizient suchen und finden zu können.
In diesem Buch für Fortgeschrittene steigen wir tief in die Welt der Mikrocontroller und der Arduino IDE ein, um neue Verfahren und Details kennen zu lernen, und erfolgreich noch anspruchsvollere Situationen angehen und lösen zu können.
Mit diesem Buch gibt der Autor dem Leser das nötige Rüstzeug, um eigenständig Projekte zu kreieren und auch schnell Fehler finden zu können. Anstatt nur fertige Lösungen zu bieten, erklärt er die Hintergründe, die verwendete Hardware und die eventuell benötigten Tools. Er stellt Aufgaben, bei denen der Leser seine eigene Kreativität einbringt und den Arduino-Sketch selbst schreibt.
Falls man einmal keine vernünftige Idee hat und nicht weiterkommt, gibt es natürlich zu jedem Projekt und zu jeder Aufgabe einen Lösungsvorschlag mit zugehöriger Software, der im Buch ausführlich kommentiert und erklärt wird.
Sie erfahren mit diesem Praxiskurs mehr über das Innenleben des Arduino Nano und des darauf befindlichen Mikrocontrollers. Sie lernen Hardware-Module kennen, mit denen Sie neue interessante Projekte realisieren werden. Sie beschäftigen sich mit Softwareverfahren wie z. B. "Zustandsmaschinen", durch deren Anwendung sich Aufgabenstellungen oft einfacher und übersichtlicher lösen lassen.
Die zahlreichen praktischen Projekt- und Übungs-Sketche realisieren wir wieder auf dem vom "Mikrocontroller-Praxiskurs für Arduino-Einsteiger" bekannten MCCAB Trainingsboard, das die gesamte Hardware-Peripherie und die Bedienungselemente enthält, die wir für die Ein-/Ausgabe-Operationen unserer Sketche benötigen.
Leser, die das MCCAB Trainingsboard noch nicht besitzen, können die benötigte Hardware separat erwerben, oder alternativ auch auf einem Breadboard aufbauen.
Using the RFID Starter Kit
An Arduino board has now become ‘the’ basic component in the maker community. No longer is an introduction to the world of microcontrollers the preserve of the expert. When it comes to expanding the capabilities of the basic Arduino board however, the developer is still largely on his own. If you really want to build some innovative projects it’s often necessary to get down to component level. This can present many beginners with major problems. That is exactly where this book begins.
This book explains how a wide variety of practical projects can be built using items supplied in a single kit together with the Arduino board. This kit, called the 'RFID Starter Kit for Arduino' (SKU 17240) is not just limited to RFID applications but contains more than 30 components, devices and modules covering all areas of modern electronics.
In addition to more simple components such as LEDs and resistors there are also complex and sophisticated modules that employ the latest technology such as:
A humidity sensor
A multicolor LED
A large LED matrix with 64 points of light
A 4-character 7-segment LED display
An infra red remote-controller unit
A complete LC-display module
A servo
A stepper motor and controller module
A complete RFID reader module and security tag
On top of that you will get to build precise digital thermometers, hygrometers, exposure meters and various alarm systems. There are also practical devices and applications such as a fully automatic rain sensor, a sound-controlled remote control system, a multifunctional weather station and so much more.
All of the projects described can be built using the components supplied in the Elektor kit.
32 new Projects, Practical Examples and Exercises with the Elektor Arduino Nano MCCAB Training Board
Electronics and microcontroller technology offer the opportunity to be creative. This practical microcontroller course provides you with the chance to bring your own Arduino projects and experience such moments of success. Ideally, everything works as you imagined when you switch it on for the first time. In practice, however, things rarely work as expected. At that point, you need knowledge to efficiently search for and find the reason for the malfunction.
In this book for advanced users, we delve deep into the world of microcontrollers and the Arduino IDE to learn new procedures and details, enabling you to successfully tackle and solve even more challenging situations.
With this book, the author gives the reader the necessary tools to create projects independently and also to be able to find errors quickly. Instead of just offering ready-made solutions, he explains the background, the hardware used, and any tools required. He sets tasks in which the reader contributes their own creativity and writes the Arduino sketch themselves.
If you don’t have a good idea and get stuck, there is, of course, a suggested solution for every project and every task, along with the corresponding software, which is commented on and explained in detail in the book.
This practical course will teach you more about the inner workings of the Arduino Nano and its microcontroller. You will get to know hardware modules that you can use to realize new and interesting projects. You will familiarize yourself with software methods such as ‘state machines,’ which can often be used to solve problems more easily and clearly.
The numerous practical projects and exercise sketches are once again realized on the Arduino Nano MCCAB Training Board, which you may already be familiar with from the course book ‘Microcontrollers Hands-on Course for Arduino Starters’, and which contains all the hardware peripherals and operating elements we need for the input/output operations of our sketches.
Readers who do not yet own the Arduino Nano MCCAB Training Board can purchase the required hardware separately, or alternatively, build it on a breadboard.
From Rubbing Amber to Swiping Glass
"The story of electricity, told one connection at a time."Why does rubbing amber attract dust? How did we go from that curious effect to a world where screens respond to a single touch? And how did we get from mysterious sparks to tiny chips packed with billions of transistors?
For centuries, electricity puzzled and fascinated those who encountered its curious effects—long before it even had a name. From the earliest observations of static charge to the complex electronics that shape our lives today, this book traces the gradual, and often surprising, story of how humanity came to understand and harness this powerful force.
This book offers an engaging and accessible account of the people, ideas, and inventions that transformed electricity from a scientific curiosity into the foundation of our digital age. Along the way, you’ll meet a host of inquisitive minds—some famous, others less so—whose persistence and creativity helped unravel the mysteries of the natural world and gave rise to the technologies we now take for granted.
Covering everything from Leyden jars and batteries to transistors, microcontrollers and the internet, this book presents a clear and enjoyable overview of electronics and its relatively short, yet rich, history.
Whether you have a technical background or simply a curiosity about how things work, From Rubbing Amber to Swiping Glass offers a thoughtful look at how far we’ve come—and a gentle nudge to wonder what might come next.
USB-Logikanalysatoren am PC mit Arduino, Raspberry Pi und Co
Schritt-für-Schritt-Anleitungen führen Sie in die Analyse moderner Protokolle von I²C, SPI, UART, RS-232, NeoPixel, WS28xx, HD44780 und 1-Wire Protokollen ein. Anhand von zahlreichen Experimentierschaltungen mit dem Raspberry Pi Pico, Arduino Uno und dem Bus Pirate üben Sie die praxisnahe Anwendung gängiger USB-Logikanalysatoren ein.
Alle in diesem Buch vorgestellten Experimentierschaltungen wurden vollständig getestet und sind funktionsfähig. Die notwendigen Programmlistings sind enthalten, es sind keine besonderen Programmier- oder Elektronikkenntnisse für diese Schaltungen notwendig. Es werden die Programmiersprachen MicroPython und C mit den Entwicklungsumgebungen Thonny und Arduino IDE eingesetzt.
Dieses Buch verwendet mehrere Modelle flexibler und weit verbreiteter USB-Logikanalysatoren und zeigt die Stärken und Schwächen jeder Preisklasse. Sie werden kennenlernen, welche Kriterien für Ihre Arbeit wichtig sind und in der Lage sein, das für Sie passende Gerät zu finden.
Egal ob Arduino, Raspberry Pi oder Raspberry Pi Pico: Die abgebildeten Beispielschaltungen ermöglichen einen schnellen Start in die Protokollanalyse und können auch als Grundlage für eigene weitere Experimente dienen.
Sie werden alle wichtigen Begriffe und Zusammenhänge kennenlernen, eigene Experimente durchführen, selbstständig Protokolle analysieren und nach der Lektüre dieses Buches – im Bereich der digitalen Signale und Protokolle – ein umfassendes Wissen aufgebaut haben.
USB Logic Analyzer (8 Kanäle, 24 MHz)
Dieser USB Logic Analyzer ist ein 8-Kanal-Logikanalysator, bei dem jeder Eingang doppelt für die analoge Datenaufzeichnung dient. Es eignet sich perfekt zum Debuggen und Analysieren von Signalen wie I²C, UART, SPI, CAN und 1-Wire. Dabei wird ein digitaler Eingang, der mit einem zu testenden Gerät (DUT) verbunden ist, mit einer hohen Abtastrate abgetastet. Die Verbindung zum PC erfolgt via USB.
Technische Daten
Kanäle
8 digitale Kanäle
Maximale Abtastrate
24 MHz
Maximale Eingangsspannung
0 V ~ 5 V
Betriebstemperatur
0°C ~ 70°C
Eingangsimpedanz
1 MΩ || 10 pF
Unterstützte Protokolle
I²C, SPI, UART, CAN, 1-Wire etc.
PC-Verbindung
USB
Abmessungen
55 x 28 x 14 mm
Downloads
Software
Dieses Bundle enthält:
Neues Buch "Logic Analyzer im Einsatz" (Einzelpreis: 32,80 €)
USB Logic Analyzer (8 Kanäle, 24 MHz) (Einzelpreis: 12,95 €)
USB-Kabel
Jumper Wire Ribbon Kabel
A Hands-on Guide to Crafting Your Own Power Plant
The book you are about to read provides a step-by-step guide for building a renewable energy power plant at home. Our goal was to make the book as practical as possible. The material is intended for immediate application with a small amount of theory. Yet, the theory is important as a foundation that saves time and effort by disabusing the readers of potential misconceptions. Specifically, upon having a firm understanding of photovoltaic physics, you will not be inclined to fruitlessly search for 90% efficient solar panels!
We want our readers to be the “doers”. If the book gets covered in grime and some pages become torn while you are building your power plant – this is the best compliment to us. The book covers solar and wind energy. Also, a curious power source based on manure is discussed as well, giving the doers an opportunity to further develop the manure fuel cell.
It is important to note that there are many companies offering installation of complete solar solutions. Upon installing the panels, the system is not owned by the customer. Therefore, there is no freedom for experimentation and optimization. Also, none can beat the cost of a DIY solution as well as the ultimate satisfaction.
All that is written here is a result of us building a renewable energy solution in Southern California. As the book was completed, the energy began flowing!
Arduino-compatibele, ESP32-aangedreven tweewielige balansrobot
De Elektor Mini-Wheelie is een experimenteel autonoom zelfbalancerend robotplatform. De zelfbalancerende robot is gebaseerd op een ESP32-S3-microcontroller en is volledig programmeerbaar met behulp van de Arduino-omgeving en open-sourcebibliotheken. Dankzij de draadloze mogelijkheden kan hij op afstand worden bediend via Wi-Fi, Bluetooth of ESP-NOW, of kan hij communiceren met een gebruiker of zelfs een andere robot.
Er is een ultrasone transducer beschikbaar voor het detecteren van obstakels. Het kleurendisplay kan worden gebruikt voor het weergeven van schattige gezichtsuitdrukkingen of, voor de meer nuchtere gebruikers, voor cryptische debug-berichten.
De robot wordt geleverd als een compleet bouwpakket met onderdelen die u zelf in elkaar moet zetten. Alles zit erbij, zelfs een schroevendraaier.
Let op: De Mini-Wheelie is een educatief ontwikkelingsplatform bedoeld voor leren, experimenteren en robotica-ontwikkeling. Het is niet geclassificeerd als speelgoed voor kinderen en de functies, documentatie en beoogde doelgroep weerspiegelen dit doel. Het product is gericht op studenten, docenten en ontwikkelaars die robotica, programmeren en hardware-integratie willen verkennen in een educatieve omgeving.
Specificaties
ESP32-S3-microcontroller met Wi-Fi en Bluetooth
MPU6050 6-assige Inertial Measurement Unit (IMU)
Twee onafhankelijk geregelde 12 V elektromotoren met toerenteller
Ultrasone transducer
2,9" TFT-kleurendisplay (320 x 240)
MicroSD-kaartsleuf
Batterijstroommonitor
3S oplaadbare Li-Po-batterij (11,1 V/2200 mAh)
Batterijlader meegeleverd
Op Arduino gebaseerde open source-software
Afmetingen (B x L x H): 23 x 8 x 13 cm
Inbegrepen
1x ESP32-S3 Mainboard + MPU6050 module
1x LCD-board (2,9 inch)
1x Ultrasone-sensor
1x Batterijpakket (2200 mAh)
1x Batterijlader
1x Motorbandenset
1x Kastboard
1x Acrylplaat
1x Schroevendraaier
1x Beschermstrip
1x Flexkabel B (8 cm)
1x Flexkabel A (12 cm)
1x Flexkabel C
4x Koperen kolom A (25 mm)
4x Koperen kolom B (55 mm)
4x Koperen kolom C (5 mm)
2x Kunststof nylon zuil
8x Schroeven A (10 mm)
24x Schroeven B (M3x5)
8x Moeren
24x Metalen ringen
2x Ritssluiting
1x MicroSD-kaart (32 GB)
Downloads
Documentation
Sound Secrets and Technology
What would today’s rock and pop music be without electric lead and bass guitars? These instruments have been setting the tone for more than sixty years. Their underlying sound is determined largely by their electrical components. But, how do they actually work? Almost no one is able to explain this to the true musician with no technical background. This book answers many questions simply, in an easily-understandable manner.
For the interested musician (and others), this book unveils, in a simple and well-grounded way, what have, until now, been regarded as manufacturer secrets. The examination explores deep within the guitar, including pickups and electrical environment, so that guitar electronics are no longer considered highly secret. With a few deft interventions, many instruments can be rendered more versatile and made to sound a lot better – in the most cost-effective manner.
The author is an experienced electronics professional and active musician. He has thoroughly tested everything described here, in practice.
Een op de Raspberry Pi Pico gebaseerde Eye Catcher
Een standaard zandklok laat meestal slechts zien hoe de tijd verstrijkt. Deze door een Raspberry Pi Pico aangestuurde zandklok toont daarentegen de exacte tijd door de vier cijfers voor uren en minuten in een zandlaag te "graveren". Na een vooraf ingestelde periode wordt het zand door twee trilmotoren vlak getrild en begint alles weer van voren af aan.
Het hart van de zandklok wordt gevormd door twee servomotoren, die via een pantograafmechanisme een schrijfpen aandrijven. Een derde servomotor tilt deze pen op en neer. Het zandbakje is voorzien van twee trilmotoren om het zand weer vlak te trillen. Het elektronische deel van de zandklok bestaat uit een Raspberry Pi Pico en een RTC/driverbord met een real-time klok, plus drivercircuits voor de servomotoren.
Een gedetailleerde bouwhandleiding is beschikbaar via download.
Kenmerken
Afmetingen: 135 x 110 x 80 mm
Bouwtijd: ca. 1,5 tot 2 uur
Inbegrepen
3x Voorgesneden acrylaatplaten met alle mechanische onderdelen
3x Mini servomotoren
2x Trilmotoren
1x Raspberry Pi Pico
1x RTC/driverkaart met geassembleerde onderdelen
Moeren, boutjes, afstandhouders en draden voor de montage
Fijnkorrelig wit zand
310 Schaltungen – das elfte Buch innerhalb der „Dreihunderter-Reihe“. 310 Schaltungen und neue Konzepte in einem Buch sind ein (fast) unerschöpflicher Fundus zu allen Bereichen der Elektronik: Audio & Video, Spiel & Hobby, Haus & Hof, Prozessor & Controller, Messen & Testen, PC & Peripherie, Stromversorgung & Ladetechnik sowie zu Themen, die sich nicht katalogisieren lassen.
310 Schaltungen – enthält viele komplette Problemlösungen, zumindest aber die Idee hierzu. Nicht zuletzt sind die 310 Schaltungen der Anstoß zu ganz neuen Überlegungen.
310 Schaltungen – sind eine Zusammenfassung der Beiträge aus den Halbleiterheften 2006 bis 2008. Die Halbleiterhefte sind die jährlichen Doppelausgaben Juli/August der Zeitschrift Elektor.
310 Schaltungen ist das Buch für alle, die kreativ mit der Elektronik umgehen; sei es im Beruf oder als Hobby.
De Elektor Zenerdiode-tester is in wezen een constante-stroombron die in stappen van 1 tot 50 mA kan worden geschakeld. Hij kan worden gebruikt om zenerdiodes tot een maximum van 54 V te testen. Dankzij een 60-V step-upconverter kan het apparaat worden gevoed met de gebruikelijke 5 tot 12 V.
Het principe van deze tester is eenvoudig. Een zenerdiode of een ander DUT (device under test, zoals een LED) wordt gevoed door een instelbare stroombron. De spanning over het DUT kan met een multimeter worden gemeten. De spanning van de meeste (kleine) zenerdiodes wordt gespecificeerd bij een stroom van 5 mA. Afhankelijk van de toepassing kan ook de spanning bij andere stromen interessant zijn. Daarom zijn er zes stroominstellingen beschikbaar: 1, 2, 5, 10, 20 en 50 mA. LED’s worden vaak gespecificeerd bij een stroom van 20 mA.
Wat kan worden getest:
Of een zenerdiode defect is (kortsluiting of hoogohmig).
Of een zenerdiode de juiste zenerspanning heeft.
Hoe een zenerspanning verandert bij verschillende stromen.
Welke exacte spanning aanwezig is bij een geïntegreerde spanningsreferentie.
Of LED’s in een serieschakeling verschillen in helderheid (vandaar de stroom van 20 mA).
Wat de stroomversterking is bij verschillende basisstromen in (vermogens)transistoren.
De kit bevat alle onderdelen die in de stuklijst staan vermeld, inclusief printplaat en behuizing.
Specificaties
Voedingsspanning
5…12 V/2 A (USB-C)
Voedingsstroom (Itest = 50 mA)
1,1 A bij 5 V / 412 mA bij 12 V
Selecteerbare stromen
1, 2, 5, 10, 20 en 50 mA
Max. testspanning
>54 V bij Itest ≥1 mA
Max. uitgangsspanning
60 V bij Itest = 0 mA
Spanningslimiet bij 5 V
4,5 V bij Itest = 1 mA / 5,18 V bij Itest = 50 mA
Afmetingen (behuizing)
110 x 82 x 44 mm
Afmetingen (PCB)
105,4 x 67,3 mm
Aansluitingen
4 mm banaanstekkerbussen voor multimeter
2 mm banaanstekkerbussen voor testklemmen
USB-C-aansluiting voor voeding
Inbegrepen
Weerstanden
R1 = 3.3 kΩ, 600 mW, 1%
R2 = 0.15 Ω, 1 W, 5%, LS 12.7 mm, ø 3.5 mm
R3, R8 = 180 Ω, 600 mW, 1%
R4, R6, R16 = 1 kΩ, 600 mW, 1%
R5, R19 = 47 kΩ, 600 mW, 1%
R7 = 3.9 kΩ, 1 W, 5%, LS 12.7 mm, ø 3.5 mm
R9, R10, R12 = 10 kΩ, 600 mW, 1%
R11, R13 = 100 Ω, 600 mW 1%
R14 = 249 Ω, 600 mW, 1%
R15 = 499 Ω, 600 mW, 1%
R17 = 2.49 kΩ, 250 mW, 1%
R18 = 4.99 kΩ, 250 mW, 1%
Condensatoren
C1 = 470 uF / 35 V, 20%, Ir = 1.86 A, ø 12.5 mm, LS 5 mm, ESR = 0.038 Ω (Panasonic EEUTP1V471)
C2 = 1 uF / 100 V, 10%, X7R, LS 5 mm
C3 = 2.2 nF / 50 V, 10%, X7R, LS 5 mm
C4, C7 = 100 nF / 100 V, 10%, X7R, LS 5 mm
C5 = 100 uF / 100 V, 20%, ø 14 mm max., LS 5 mm
C6 = 1 nF / 100 V, 10%, X7R, LS 5 mm
Inductor
L1 = 100 uH, Irms = 2.4 A, Isat = 3.5 A, 0.09 Ω, radial, pitch 2.5/5/10 mm, ø 14 mm max. (Kemet SBC8-101-242)
Halfgeleiders
D1 = MUR120G, DO-41
D2, D4 = STPS3150RL, DO-201AD
D3 = Z-diode, 18 V, 1.3 W (BZX85C18)
D5 = Z-diode, 5.1 V, 0.5 W (1N5231B)
LED1 = LED in pushbutton S1
LED2 = LED, green, 3 mm
IC1 = MC34063, DIP-8
IC2 = LM4040BIZ-5.0/NOPB, TO-92 (TO-226AA-3)
IC3 = TL051CP, DIP-8
T1 = BC327.25, TO-92
T2 = STP40NF10L, TO-220
T3 = IRF9510PBF, TO-220
T4 = 2N7000, TO-92
Overige
K1, K2, S1, S3 = 2-way screw terminal block, LS 3.5 mm, max. 1.5 mm²
connected to K1 = USB-C socket, 30 V/3 A, chassis mounted, wired, 9 x 16 mm
connected to K2 = Banana Connector, 2 mm, Socket, 60 VDC, Panel Mount, red (Multicomp 24.102.1)
connected to K2 = Banana Connector, 2 mm, Socket, 60 VDC, Panel Mount, black (Multicomp 24.102.2)
Test clip, red, 30 VAC/60 VDC (Hirschmann 931467101)
Test clip, black, 30 VAC/60 VDC (Hirschmann 931467100)
S1 = Pushbutton, panel mount, SPST-NO, 30 DC/100 mA, with red LED
S2 = Rotary Switch, 6 position, 2 pole, 30°, 250 V/150 mA
S3 = Toggle switch, panel mount, SPDT, solder lugs, 28 VDC
T2, T3 = Heat sink, 15°C/W, FK 214 SA-CB
Enclosure Hammond 1591XXSSBK, ABS, 110 x 82 x 44 mm
Knob for S2, round shaft 6 mm, ø 21 mm, with indicator line (Multicomp CP-LB21-6-6D)
4 x Self-tapping screw #4-1/4", carbon steel, pan head
Banana plug, red, 2 mm, 60 VDC (Multicomp 25.205.1)
Banana plug, black, 2 mm, 60 VDC (Multicomp 25.205.2)
Banana socket, black 4 mm, panel mount
Banana socket, red 4 mm, panel mount
for LED1, LED2 = Pin header, 1 x 2, vertical, pitch 2.54 mm
for LED1, LED2 = Pin socket, 1 x 2, vertical, pitch 2.54 mm
for T2, T3 = M3 screw, 10 mm, steel, pan head
2 x M3 washer, plain, steel
4 x M3 nut
for IC1, IC3 = DIP-8 socket
Wire, black, 0.25 mm² (24 AWG), stranded 14 x 0.15 mm, 1 m
Wire, red, 0.25 mm² (24 AWG), stranded 14 x 0.15 mm, 1 m
PCB 250772-1 v1.1
Links
Artikel
Elektor Labs