Learn to interface and program hardware devices in a wide range of useful applications, using ARM7 microcontrollers and the C programming language. Examples covered in full detail include a simple LED to a multi-megabyte SD card running the FAT file system.
Features of this book
Build prototype circuits on breadboard or Veroboard and interface to ARM microcontrollers.
A 32-bit ARM7 microcontroller is used in interfacing and software examples.
Interfacing principles apply to other ARM microcontrollers and other non-ARM microcontrollers as well.
Example programs are written in the C programming language.
Use only free or open source software.
Download and install all programming tools from the Internet.
Template project files are provided for easy project creation.
Hardware
Interface to LEDs, transistors, optocouplers, relays, solenoids, switches, keypads, LCD displays, seven segment displays, DC motors, stepper motors, external analogue signals using the ADC, RS232, RS-485, TWI, USB, SPI and SD memory cards.
Software
Once hardware has been interfaced to a microcontroller, software must be written to control the hardware. You will learn how to write programs to operate externally interfaced hardware devices, use timers and interrupts. Also learn how to port FAT file system code for use with an SD memory card, program the PWM to produce an audio sine wave, program the PWM to speed control a DC motor and more.
A chapter on more advanced ARM microcontrollers is included with an overview of some of the newest ARM microcontrollers and their features.
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
Digital Load for High-Current TestingFrom Necessity to Innovation
Vocal RemoverInstant Karaoke Circuit
Audio A/B Selector With Gain ControlSwitches from Microphone to Line Inputs
Better Charging for the LIR2032Be Kind to Your Coin Cells
Touch Sensing Made SimpleA DIY Guide for Any Microcontroller
Universal Infrared Remote SwitchA New Life for Old Remotes
Microcontroller-Powered Moo BoxMaking Playful Sounds With a Microcontroller
USB Battery Interface
Powering Low-Draw Devices With Power BanksA “Stay Alive” Solution
Small Class-A Audio Amplifier With Current OutputDrive Speakers with Current Instead of Voltage
Pseudo-Balanced ModuleHigh CMRR with Unbalanced Audio Links
Ni-MH Cells Automatic ChargerRefill All Your Battery Packs in One Go!
Thyristor-Based Power Supply Protection
Fingerprint Sensor SwitchA Useful Proof-of-Identity Device
DC-DC 3-A Power ConverterUpgrade Your Fixed-Voltage Sources
Remote Water Heater MonitorVoltage and Current Detection for AC Lines
Attenuators for Audio Signals (1)Adjustable Via Jumpers
Pimp My Car Battery Charger (Part 1)Don’t Throw It Away, Mod It!
A Board for the Blue OnePCB for Alps Motorized Potentiometer with Feedback
50-Hz Reference from 60-Hz Mains VoltageHow to Use 50-Hz Electronics in 60-Hz Environments
Digital IsolatorsRealizing Galvanic Isolation Easily
Compact 12-W Hi-Fi Mono AmplifierSmall But Powerful
LM386 Ramp Generator
Three-Phase GeneratorWith Raspberry Pi Pico
Door Opener for the Musically Talented
Elektor Classic: Surf SynthesizerOcean Watersports Background Sound Generator (OWBSG)
Pimp my Car Battery Charger (Part 2)Don’t Throw It Away, Mod It!
Lamp Current MonitorWith a Raspberry Pi Pico
Infrared Telegraphy
Fnirsi SWM-10Repair Battery Packs With This Portable Intelligent Spot Welding Machine
Stereo Audio Codec for the ESP32 and Co.No Need to Be Afraid of Audio Measurement Technology
Tin Soldering TechniquesMake Them Well Right Away!
Attenuators for Audio Signals (2)Switching Via Relays
USB-C PowerDrawing Power from USB-C Power Adapters
Three Circuits with Two and Three Counter ICs4017 ICs Working Together
Active Components – The Diode
A Timer For Ultra-Long DelaysSet It, and Forget It!
Jack In and Jack OutA Useful Insert Option for Audio Circuits
Power an ESP32 from a Single Li-ion Cell
Hexadoku
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
Low-Noise Lab Power Supply (1)A Quiet Source for Sensitive Circuits
STM32 Edge AI Contest 2025: The Winners
Batteries TodayTechnology and Differences in Lithium Batteries
Adjustable Electronic LoadStatic + Dynamic DC Load
Step-Down Converter from 48 V to 5 VThe Story of Circuit Development
Autonomous Sensor Node v2.0Part 2: Hardware Validation and Power Optimizations
VaristorsPeculiar Parts, the Series
Graphical Grid Frequency MeterMonitor Grid Quality
Starting Out in Electronics……Brings Its Own End
Peak Current Load SMD FerritesMore Resilient Against Current Peaks
Elektor Live! Expert Day 2025
Energy Harvesting Set to Accelerate IoT and IIoT Use CasesHow Energy Harvesting Frees IoT from the Grid
Fnirsi DPS-150Compact and Portable Power Supply and Converter
Adjustable USB-C Power SourceTurn Your USB-C Charger Into an Adjustable Power Supply
Simple Charger and Capacity TesterWith Two Cheap “Off-the-Shelf” Modules
Smart Color Detector with AI Voice and Playback
PbMonitor v2.0Introduction to the Updated Battery Monitoring System
A Fan for the Mini Reflow PlateSmart Modifications That Improve Results
From Life’s ExperienceThe Tsunami of Indulgence
Err-lectronicsCorrections, Updates, and Readers’ Letters
2026: An AI OdysseyWhen Models Start Dictating the Hardware
Precision Picoammeter (2)Assembling, Calibration, and Test
Wireless Device Poweringwith Inductive Technology
AI-Based Autonomous DrivingThe RDW’s Self Driving Challenge 2024
Sound Card as Signal GeneratorPC as DCF77 Test Transmitter
An 8-in-1 test & measurement instrument for the electronics workbench
A well-equipped electronics lab is crammed with power supplies, measuring devices, test equipment and signal generators. Wouldn‘t it be better to have one compact device for almost all tasks? Based on the Arduino, a PC interface is to be developed that’s as versatile as possible for measurement and control. It simply hangs on a USB cable and – depending on the software – forms the measuring head of a digital voltmeter or PC oscilloscope, a signal generator, an adjustable voltage source, a frequency counter, an ohmmeter, a capacitance meter, a characteristic curve recorder, and much more.
The circuits and methods collected here are not only relevant for exactly these tasks in the "MSR" electronics lab, but many details can also be used within completely different contexts.
Elektor GREEN- und GOLD-Mitglieder können diese Ausgabe hier herunterladen.
Noch kein Mitglied? Klicken Sie hier , um eine Mitgliedschaft abzuschließen.
Projektaktualisierung: ESP32-basierter Energiezähler Weiter geht es mit dem Prototyp
Optimierung von Balkon-PV-Kraftwerken Überlegungen, interessante Fakten und Berechnungen
ESP32 mit OpenDTU für Balkonbedienfelder Lesen Sie Daten von kleinen Wechselrichtern über MCUs
Einstellbares lineares Labornetzteil 0...50 V / 0...2 A + doppelt symmetrische Stromversorgung
Energiespeicher – heute und morgen ein Interview mit Simon Engelke
2024: eine KI-Odyssee es wird nicht so schnell enden
Bluetooth LE auf dem STM32 Messwerte aus der Ferne ablesen
Menschenfreundliches intelligentes Kücheninventarsystem
MAUI: Programmierung für PC, Tablet und Smartphone die neuen Rahmenbedingungen in Theorie und Praxis
ChatMagLev künstliche intelligente Levitation
Einfacher PV-Controller Bauen Sie Ihr erstes, voll funktionsfähiges PV-Energiemanagementsystem
Kaltkathodenröhren Fremde
Aus dem Leben genommen Nostalgie
Aller Anfang... ...sieht sich den FET an
CAN-Bus für den Arduino UNO R4: ein Tutorial Zwei UNO R4 fahren mit dem Bus!
Elektor-Infografik Ernährung und Energie
Vergleich von Leistungsdichte und Leistungseffizienz
Aluminium-Elektrolytkondensatoren Störpotenzial in der Audiotechnik
USB-Prüfung und -Messung mit dem Fnirsi FNB58
Das Pick-and-Place-Tool von Pixel Pump einfachere manuelle Bestückung von SMT-Platinen
East West Lab Best Vor nicht allzu langer Zeit, in einem sehr weit entfernten Land ...
„In der Welt der Elektronikethik können selbst kleine Schritte große Auswirkungen haben.“
Ethik in der Elektronik den OECD-Leitsätzen und dem Lieferkettensorgfaltspflichtgesetz
Chadèche: intelligentes NiMH-(Ent-)Ladegerät Leserprojekt in Kürze
Projekt 2.0 Korrekturen, Aktualisierungen und Leserbriefe
Program and Build Raspberry Pi 5 Based Ham Station Utilities with the RTL-SDR
The RTL-SDR devices (V3 and V4) have gained popularity among radio amateurs because of their very low cost and rich features. A basic system may consist of a USB based RTL-SDR device (dongle) with a suitable antenna, a Raspberry Pi 5 computer, a USB based external audio input-output adapter, and software installed on the Raspberry Pi 5 computer. With such a modest setup, it is possible to receive signals from around 24 MHz to over 1.7 GHz.
This book is aimed at amateur radio enthusiasts and electronic engineering students, as well as at anyone interested in learning to use the Raspberry Pi 5 to build electronic projects. The book is suitable for both beginners through experienced readers. Some knowledge of the Python programming language is required to understand and eventually modify the projects given in the book. A block diagram, a circuit diagram, and a complete Python program listing is given for each project, alongside a comprehensive description.
The following popular RTL-SDR programs are discussed in detail, aided by step-by-step installation guides for practical use on a Raspberry Pi 5:
SimpleFM
GQRX
SDR++
CubicSDR
RTL-SDR Server
Dump1090
FLDIGI
Quick
RTL_433
aldo
xcwcp
GPredict
TWCLOCK
CQRLOG
klog
Morse2Ascii
PyQSO
Welle.io
Ham Clock
CHIRP
xastir
qsstv
flrig
XyGrib
FreeDV
Qtel (EchoLink)
XDX (DX-Cluster)
WSJT-X
The application of the Python programming language on the latest Raspberry Pi 5 platform precludes the use of the programs in the book from working on older versions of Raspberry Pi computers.
Dit boek bevat 50 leuke en spannende projecten met PIC microcontrollers zoals een laser alarm, USB plaagmuis, eierwekker, jongerenverjager, geluidsschakelaar, capacitieve vloeistofniveau meting, 'vinger in het water' sensor, bewaking van een ruimte met een camera, 220 volt lichtdimmer, pratende microcontroller en nog veel meer. Er komen talloze technieken aan de orde zoals relais, wisselstroomregeling (ook 220 volt), I2C, SPI, RS232, USB, puls breedte modulatie, rotary encoder, interrupts, infrarood, analoog-digitaal conversie (en andersom), 7-segment display en zelfs CAN bus.
U kunt dit boek gebruiken om de verschillende projecten na te bouwen en daarna in de praktijk te brengen. Door de duidelijke uitleg, schema's en zelfs foto's van de opstelling is het nabouwen een leuke bezigheid. Bij ieder project wordt uitgelegd waarom het juist op die manier is uitgevoerd, en wordt kort de theorie behandeld. U kunt dit boek dus gebruiken als studieboek, of als basis voor grotere en ingewikkeldere projecten. Alle schakelingen zijn op een steekbord uitgevoerd zodat uitbreiden en aanpassen gemakkelijk is.
De drie PIC microcontrollers die in dit boek gebruikt worden, zijn de 16f877A, 18f4455 en 18f4685. Daarnaast komt aan de orde hoe u de programma's van de ene naar de andere microcontroller kunt overzetten (er worden 15 types ondersteund) inclusief twee praktijkvoorbeelden.
Alle benodigde software kunt u gratis downloaden. Dat geldt ook voor de open source programmeertaal JAL. Deze krachtige maar toch eenvoudig te leren taal wordt zowel door hobbyisten als professionals gebruikt.
Dit boek is ook goed te gebruiken als naslagwerk. U kunt er de uitleg van alle opdrachten van de programmeertaal JAL in terugvinden, en tevens van de gebruikte uitbreidingsbibliotheken. Via de index vindt u gemakkelijk projecten die als voorbeeld kunnen dienen voor de belangrijkste JAL opdrachten. Zelfs wanneer u alle projecten een keer gemaakt hebt, zal dit boek nog lang een plekje naast uw PC behouden.
Der ESP8266 ist ein programmierbares WLAN-Funkmodul mit zahlreichen Schnittstellen wie UART, I²C und SPI. Das Board ist sehr preiswert und bereits für unter 3 Euro verfügbar. Die UART-Schnittstelle sorgt dabei für eine einfache Integration in Mikrocontrollerprojekte. Das ESP8266-Modul kann hervorragend mit dem Arduino zusammenarbeiten und ermöglicht ihm über die serielle Schnittstelle den Zugang zum Netzwerk und Internet. Es existiert eine Implementierung des ESP8266-Moduls in die Arduino-Entwicklungsumgebung. Aber auch als Standalone-Modul kann das ESP8266 eigenständig Programme abarbeiten und mit dem Internet kommunizieren, da es über einen eigenen Mikroprozessor und Speicher auf dem Board verfügt.
Mittlerweile existiert auch das Entwickler-Board NodeMCU, auf dem der ESP8266-Chip mit einem USB/Seriell-Adapter versehen wurde. Mit den integrierten Sockelleisten ist ein direkter Einsatz auf üblichen Breadboards möglich. Über den USB-Anschluss wird das Board mit Strom versorgt und kann über eine Software direkt angesprochen werden. Auch das NodeMCU-Board ist sehr preiswert und bereits für unter 5 Euro zu haben.
Der Bestseller-Autor Erik Bartmann hat sich ausführlich mit dem ESP8266 und dem NodeMCU beschäftigt. Heraus gekommen ist dabei Das ESP8266-Praxisbuch, in dem er die Leser Schritt für Schritt in die Arbeit mit diesen neuen, preiswerten Bauteilen einführt, mögliche technische Stolpersteine ausführlich behandelt und in zahlreichen Projekten die Praxistauglichkeit – angefangen bei einem selbst gebauten Webserver bis hin zu klugen Relay-Ansteuerung – belegt.
Dieser komplette Mikrocontroller-Programmierkurs auf Basis des Raspberry Pi Pico umfasst ein Lehrbuch, ein Komponenten-Kit, praxisnahe Projekte sowie einen umfassenden Online-Kurs mit Simulationen. Er eignet sich ideal für das schrittweise Erlernen der Embedded-Programmierung mit Arduino anhand eines praktischen, hands-on Ansatzes.
Eine praxisnahe Einführung in Embedded Systems mit dem Raspberry Pi Pico
Dieser Kurs richtet sich an Personen ohne Vorkenntnisse im Bereich Embedded Systems, die einen strukturierten und beispielbasierten Einstieg suchen.
Ein Kit bestehend aus LEDs und Widerständen, Schaltern, Sensoren und Aktoren, Displays, einem Breadboard und Kabeln sowie weiteren Komponenten ist enthalten. Diese werden im Kurs verwendet, um Beispielanwendungen zu veranschaulichen.
Vorkenntnisse mit Arduino oder Embedded-Entwicklung sind nicht erforderlich. Jeder Abschnitt enthält praktische Beispiele und Mini-Projekte, die wichtige Konzepte festigen und zur weiteren Vertiefung anregen. Am Ende des Kurses werden Sie nicht nur in der Lage sein, die Beispiele nachzuvollziehen, sondern auch eigene Ideen und Anwendungen umzusetzen.
Was werden Sie lernen?
Mikrocontroller-Programmierung in C/C++ mit dem Raspberry Pi Pico unter Verwendung der Arduino IDE
Arbeiten mit digitalen Ein- und Ausgängen, Auslesen von Tastern und Encodern, Steuern von LEDs und Relais
Auslesen analoger Eingänge, Spannungen und analoger Sensoren
Erzeugung analoger Ausgangssignale und PWM
Verwendung serieller Kommunikation wie UART, I²C und SPI zur Steuerung von Displays und zum Auslesen digitaler Sensoren und SD-Karten
Zeitmanagement
Arbeiten mit Interrupts
Echtzeit-Sensordatenerfassung und Steuerung über Taster, LEDs und Displays
Steuerung von Aktoren wie Relais und Servomotoren
Für wen ist dieser Kurs geeignet?
Studierende und Selbstlerner im Bereich Embedded Systems
Makers und IoT-Enthusiasten, die ihre Hardware-Kenntnisse verbessern möchten
Lehrkräfte und Trainer, die sofort einsetzbares Unterrichtsmaterial suchen
Was ist im Lieferumfang enthalten?
Zugang zum vollständigen Kurs auf der Elektor Academy Pro-Lernplattform
Raspberry Pi Pico Mikrocontroller-Board (+ USB-Kabel)
Buch: Programming Microcontrollers in C/C++ Using Arduino
Downloadbare Projektdateien für jedes Modul
Komponenten-Set:
2× LED, rot, 5 mm
LED, grün, 5 mm
3× Widerstand, 470 Ω, 0,25 W
LDR
Potentiometer, 10 kΩ, linear
Taster
Drehencoder-Modul
Relaismodul
DHT22 Feuchtigkeits- und Temperatursensor
TM1637-kompatibles 4-stelliges 7-Segment-Display
MPU-6050 IMU mit Stiftleisten
SSD1306-kompatibles I²C OLED-Display
Micro-SD-Kartenadapter mit Stiftleiste
Buzzer
SG90 Mikro-Servo
ILI9341-kompatibles SPI 240×320 TFT-Display
20× Jumperkabel
Breadboard
Alle Programmierkurse (und Unterschiede im Inhalt)
Kurs
Arduino
Raspberry Pi Pico with Arduino C/C++
ESP32 with Arduino C/C++
Raspberry Pi Pico with MicroPython
ESP32 with MicroPython
Online-Kurs
Access to Arduino Course
Access to Pico with Arduino C/C++ Course
Access to ESP32 with Arduino C/C++ Course
Access to Pico with MicroPython Course
Access to ESP32 with MicroPython Course
Board
Uno R3
Raspberry Pi Pico
ESP32
Raspberry Pi Pico
ESP32
Buch
Programming Microcontrollers in C/C++ Using Arduino
Programming Microcontrollers in C/C++ Using Arduino
Programming Microcontrollers in C/C++ Using Arduino
Programming Microcontrollers in MicroPython
Programming Microcontrollers in MicroPython
Kit
40-teiliges Komponenten-Set
40-teiliges Komponenten-Set
40-teiliges Komponenten-Set
40-teiliges Komponenten-Set
40-teiliges Komponenten-Set
Mastering the I²C Bus takes you on an exploratory journey of the I²C Bus and its applications. Besides the Bus protocol, plenty of attention is given to the practical applications and designing a stable system. The most common I²C compatible chip classes are covered in detail.
Two experimentation boards are available that allow for rapid prototype development. These boards are completed by a USB to I²C probe and a software framework to control I²C devices from your computer. All samples programs can be downloaded from the 'Attachments/Downloads' section on this page.
Projects built on Board 1:
USB to I²C Interface, PCA 9534 Protected Input, PCA 9534 Protected Output, PCA 9553 PWM LED Controller, 24xxx EEPROM Module, LM75 Temperature Sensor, PCA8563 Real-time Clock with Battery Backup, LCD and Keyboard Module, Bus Power Supply.
Projects built on Board 2:
Protected Input, Protected Output, LM75 Temperature Sensor, PCF8574 I/O Board, SAA1064 LED Display, PCA9544 Bus Expander, MCP40D17 Potentiometer, PCF8591 AD/DA, ADC121 A/D Converter, MCP4725 D/A Converter, 24xxx EEPROM Module.
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
Low-Noise Lab Power Supply (1)A Quiet Source for Sensitive Circuits
STM32 Edge AI Contest 2025: The Winners
Batteries TodayTechnology and Differences in Lithium Batteries
Adjustable Electronic LoadStatic + Dynamic DC Load
Step-Down Converter from 48 V to 5 VThe Story of Circuit Development
Autonomous Sensor Node v2.0Part 2: Hardware Validation and Power Optimizations
VaristorsPeculiar Parts, the Series
Graphical Grid Frequency MeterMonitor Grid Quality
Starting Out in Electronics……Brings Its Own End
Peak Current Load SMD FerritesMore Resilient Against Current Peaks
Elektor Live! Expert Day 2025
Energy Harvesting Set to Accelerate IoT and IIoT Use CasesHow Energy Harvesting Frees IoT from the Grid
Fnirsi DPS-150Compact and Portable Power Supply and Converter
Adjustable USB-C Power SourceTurn Your USB-C Charger Into an Adjustable Power Supply
Simple Charger and Capacity TesterWith Two Cheap “Off-the-Shelf” Modules
Smart Color Detector with AI Voice and Playback
PbMonitor v2.0Introduction to the Updated Battery Monitoring System
A Fan for the Mini Reflow PlateSmart Modifications That Improve Results
From Life’s ExperienceThe Tsunami of Indulgence
Err-lectronicsCorrections, Updates, and Readers’ Letters
2026: An AI OdysseyWhen Models Start Dictating the Hardware
Precision Picoammeter (2)Assembling, Calibration, and Test
Wireless Device Poweringwith Inductive Technology
AI-Based Autonomous DrivingThe RDW’s Self Driving Challenge 2024
Sound Card as Signal GeneratorPC as DCF77 Test Transmitter