ARM Cortex-M Embedded Design from 0 to 1
Hobbyists can mash together amazing functional systems using platforms like Arduino or Raspberry Pi, but it is imperative that engineers and product designers understand the foundational knowledge of embedded design. There are very few resources available that describe the thinking, strategies, and processes to take an idea through hardware design and low-level driver development, and successfully build a complete embedded system. Many engineers end up learning the hard way, or never really learn at all.
ARM processors are essentially ubiquitous in embedded systems. Design engineers building novel devices must understand the fundamentals of these systems and be able to break down large, complicated ideas into manageable pieces. Successful product development means traversing a huge amount of documentation to understand how to accomplish what you need, then put everything together to create a robust system that will reliably operate and be maintainable for years to come.
This book is a case study in embedded design including discussion of the hardware, processor initialization, low‑level driver development, and application interface design for a product. Though we describe this through a specific application of a Cortex-M3 development board, our mission is to help the reader build foundational skills critical to being an excellent product developer. The completed development board is available to maximize the impact of this book, and the working platform that you create can then be used as a base for further development and learning.
The Embedded in Embedded program is about teaching fundamental skill sets to help engineers build a solid foundation of knowledge that can be applied in any design environment. With nearly 20 years of experience in the industry, the author communicates the critical skill development that is demanded by companies and essential to successful design. This book is as much about building a great design process, critical thinking, and even social considerations important to developers as it is about technical hardware and firmware design.
Downloads
EiE Software Archive (200 MB)
IAR ARM 8.10.1 (Recommended IDE version to use) (1.2 GB)
IAR ARM 7.20.1 (Optional IDE version to use) (600 MB)
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.
Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
De open-source processorarchitectuur RISC-V16 boards en MCU's die je moet kennen
Een FPGA-gebaseerde audiospeler met equalizer (1)Digitaal audio mixen met een Arduino MKR Vidor 4000
Laserkop voor pico-gebaseerde zandklokTekenen met licht
Doe mee aan de STM32 Edge AI Contest
Een multi-sensor plantenmonitor-systeemdraadloze meting van watertoevoer en lichtomstandigheden
Maixduino AI-gestuurde automatische portiergezichtsdetectie met een camera
Embedded Electronics 2024AI gaat de industrie opnieuw vormgeven
Lading-gebaseerde in-Memory computing bij EnCharge AI
AI-Inferentie met 10 Keer Lager Energieverbruik en 20 Keer Lagere Kosten
Click board ondersteunt het ontwikkelen en trainen van ML-modellen voor trillingsanalyse
De Elektor Mini-WheelieEen kit voor een zelfbalancerende robot
MCU, ik zie jeMCUViewer: open-source multiplatform debugging-tool
USB 2.0-isolatorelektrisch geïsoleerde USB-aansluiting
Voorkomen is betervoorspellend onderhoud in de praktijk
SPoE – Elektromagnetische compatibiliteitSingle pair met Power-over-Ethernet door de ogen van EMC
Retro techEen nieuwe wereld met kleurentelevisie
ECG-monitorimplementatie met Hexabitz-modules en een STM32CubeMonitor
De strijd om AI aan de edge
Met HaLow Wi-Fi is een record afstand bereikt van 16 km op 900 MHz
Eerste CHERI RISC-V Embedded Chip en Early Access programma
Derde generatie bosbranddetectie maakt gebruik van satellietverbindingen
Uit het leven gegrepenkeuzestress
Alle begin......filtert verder en regelt tonen
Quasi-analoog uurwerkwedergeboorte van een Elektor-klassieker
Een modulaire sensortesterSensor-evaluatieboard met ESP32-S3
2025: Een AI-OdysseeDe opkomst van foundation modellen en hun rol in het democratiseren van AI
Raspberry Pi standalone MIDI-synthesizer (1)voorbereiding van een platform voor enkele edge-AI-experimenten
Err-lectronicsCorrecties, updates en brieven van lezers
Universele AI RISC-V processor doet ze allemaal - CPU, GPU, DSP, FPGA
Interview met de CEO: Ventiva's dunne en coole technologie
Dual-core programmeren met een Raspberry Pi Picoduik in de wereld van parallel programmeren
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.
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
The OWON SDS1102 is an affordable benchtop digital oscilloscope that combines solid performance with essential measurement features. This 2-channel oscilloscope offers a 100 MHz bandwidth, a 1 GS/s sampling rate, a 7-inch LCD display, and a 10 kpts memory depth, making it a practical choice for everyday electronics testing, troubleshooting, and education.
The SDS1102 features a simplified trigger system with level and edge triggering, making it easy to capture and analyze common signals. It is designed for applications that do not require deep memory or advanced trigger functions, offering a straightforward and cost-effective solution for basic signal analysis.
Features
Bandwidth: 100 MHz
2 channels
Sample rate: 1 GS/s
Ultra-thin body
7-inch high-res LCD
SCPI and LabVIEW supported
Specifications
Bandwidth
100 MHz
Horizontal Scale (s/div)
5 ns/div – 1000 s/div
Channel
2
Vertical Sensitivity
5 mV/div – 5 V/div (at input)
DC Gain Accuracy
3%
Vertical Resolution (A/D)
8 bits (2 channels simultaneously)
Input
Input Impedance
1 MΩ, 10 pF
Input Coupling
AC, DC, GND
Max Input Voltage
±400 V, CATI, CATII
Passive probes
х1; х10
Probe Attenuation Factor
х1; х10; х100; х1000
Trigger System
Trigger Mode
Auto, Normal, Single
Trigger Type
Edge, Video
Edge Trigger Source
CH1, CH2
Video Trigger
Sampling Type
Real-time
Sample Rate
1 GS/s
Equivalent Sample Rate
No
Wavelength
10K pts
Interpolation
sin(x)/x
Measurement and Mathematical Treatment System
Automatic Measurement
Vpp, Vavg, RMS, Frequency, Period, Vmax, Vmin, Vtop, Vbase, Width, Overshoot, Pre-shootRise time, Fall time, +Width, -Width, +Duty, -Duty, Delay A→B, Delay A→B, area, cycle area
Math Functions
Addition, Subtraction, Multiplication, Division, FFT
General Characteristics
Display type
7" color LCD
Display Resolution
800 x 480
Power
100-240 V, 45-440 Hz, <15 W
Dimensions
301 x 70 x 152 mm
Weight
1.1 kg
Included
1x OWON SDS1102 Oscilloscope
2x Oscilloscope probes
1x Probe adjust
1x Mains power cord
1x USB cable
1x CD-Rom
1x Quick guide
Downloads
Quick Guide
Manual
PC Software
SCPI Commands
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.
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.
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.
Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
Project-update: ESP32-gebaseerde energiemeterwe gaan verder met het prototype
Optimalisatie van balkon PV-centralesoverwegingen, interessante feiten en berekeningen
ESP32 met OpenDTU voor balkoncentralesgegevens van kleine omvormers via MCU’s uitlezen
Regelbare lineaire labvoeding0...50 V / 0...2 A + dubbele symmetrische voeding
Energieopslag – vandaag en morgeneen vraaggesprek met Simon Engelke
2024: een AI-odysseehet houdt nog lang niet op
Bluetooth LE op de STM32meetwaarden op afstand uitlezen
Mensvriendelijk slim keuken-voorraadsysteem
MAUI: programmeren voor PC, tablet en smartphonehet nieuwe framework in theorie en praktijk
ChatMagLevkunstmatig intelligente levitatie
Eenvoudige PV-regelaarbouw je eerste, volledig functionele PV-energiebeheersysteem
Koude-kathode-buizenvreemde onderdelen
Uit het leven gegrepennostalgie
Alle begin......bekijkt de FET
CAN-bus voor de Arduino UNO R4: een tutorialtwee UNO R4’s nemen de bus!
Elektor infographicvoeding en energie
Vergelijking van vermogensdichtheid en vermogensefficiëntie
Aluminium elektrolytische condensatorenstoringspotentieel in audiotechnologie
USB testen en metenmet de Fnirsi FNB58
De Pixel Pump pick&place-tooleenvoudiger handmatige assemblage van SMT-printen
Oost West Lab Bestnog niet zo lang geleden, in een land heel ver van hier...
“In de wereld van ethiek in elektronica kunnen zelfs kleine stappen een aanzienlijke invloed hebben.”
Ethiek in elektronicade OECD Guidelines en het Lieferkettensorgfaltspflichtengesetz
Chadèche: slimme NiMH-(ont)laderlezersproject in het kort
Project 2.0correcties, updates en brieven van lezers
In dit boek gebruiken we JAL (Just Another Language) om de PIC-microcontroller te programmeren in 60 oefeningen. JAL is makkelijk in gebruik en is een goede basis om programmeren in andere talen snel te leren. Na het lezen en toepassen van de voorbeelden in dit boek kan iedereen die zich hierin serieus heeft verdiept met behulp van JAL zelf de microcontroller aansturen. Je leert onder meer het programmeren van timers, analoog/digitaal omzetters, comparators, pulsbreedte regeling voor motoren en geluid, LED- en LCD-scherm aansturing, USB-connectie en communicatiemogelijkheden met computers of andere microcontrollers.
Ook weet je aan het eind van het boek wat je moet doen om nu nog onbekende mogelijkheden te gaan toepassen. Met deze kennis kan iedereen van beginner tot meer gevorderde zijn creativiteit vorm geven in projecten met microcontrollers.
Wil je verder met leren programmeren dan legt dit boek ook een zeer goede basis. Wie goed met JAL overweg kan en zich de gestructureerde wijze van denken heeft aangeleerd, zal de stap naar andere programmeertalen zoals Python, C++ enz. kunnen maken. Ook het programmeren van minicomputers zoals de Raspberry Pi en Arduino zijn mogelijkheden.
Om te starten is geen kennis van elektronica nodig. Wie niets weet van elektronica, krijgt overal in het boek de noodzakelijke kennis aangereikt. Alle belangrijke en benodigde informatie staat in de tekst.
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.
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