The Black Shadow Project: From Sensors to Embedded AI
Most robotics books stop at individual components or jump to frameworks that hide the hardware. This book explores how a complete autonomous robot is designed, integrated and debugged from first principles, following an engineer’s practical problems, failed approaches and workable solutions.
Three dedicated dual-core microcontrollers divide perception, motor control and navigation, reducing timing conflicts. Sixteen time-of-flight sensors across eight independent I²C buses provide 360° environmental coverage at 20 Hz. Their measurements feed a trained neural network that performs real-time obstacle avoidance directly on the microcontroller using TensorFlow Lite for Microcontrollers, without cloud services or a GPU.
A built-in Wi-Fi access point and browser interface give your smartphone access to live telemetry, sensor visualisation and manual driving without installing an app.
An onboard virtual machine executes bytecode scripts one instruction per scheduler tick, allowing multi-step manoeuvres without blocking real-time control loops. This establishes a foundation for increasingly independent behaviour.
The closing chapter examines what separates shared control from the book’s goal of Level 3 autonomy: self-localisation, mission planning, reliable heading, predictive power management and recognising when to stop. It outlines possible solutions, then challenges you to design Black Shadow 2.0. Throughout, the emphasis remains on integration, troubleshooting and practical engineering decisions.
Diese Ausgabe steht allen GOLD- und GREEN-Mitgliedern auf der ElektorMagazine-Website zum Download bereit!
Sie sind noch kein Mitglied? Hier klicken!
Stromquelle zum Testen von (Z-)DiodenPrüfen von Z-Dioden von 1 bis 54 V bei 1 bis 50 mA
ESD-Armband-TesterEin Tool zur Funktionsprüfung von Erdungsarmbändern
Transientenmesser für LabornetzteileEin reproduzierbarer Lastsprung-Generator für Labornetzteile
3D-Viewer für HTML-SeitenEinfach und fast ohne Code
LED-Blinkleuchte für Tore und mehr mit akustischem Alarm
Benötigen Sie Leiterplatten? Der Elektor-Leiterplattenservice ist für Sie da.
Zahnbürsten-TimerMit einem kleinen PIC
Ein berührungsloses magnetisches Kombinationsschlossmit dem AS5600-Drehpositionssensor
Rauscharmer, batteriebetriebener Vorverstärkerfür dynamische Mikrofone
Das Arduino Nano TestLabMessen, Steuern, Regeln
Rhythmische BassleuchteBetonen Sie den Rhythmus Ihrer Musik
Low-cut-FilterKein Risiko von Audio-Rückkopplungen in Ihrem System
Präziser 1-Hz-Rechteckwellengenerator für SteckbrettEine zuverlässige CMOS-basierte Taktquelle
555 auf den Kopf gestelltTastverhältnisse bis hinunter auf Null
Vom „Halfgeleidergids“ zu Circuit Specials65 Jahre Elektronik-Innovation
Galvanische TrennungCAN-Schnittstelle mit Digitalisolator und Powermodul
SpongillatorEin schwammbasierter Oszillator
Echter Zufallszahlengeneratormit integriertem Chi-Quadrat-Test
Euklidischer Sequencer ohne MikrocontrollerTrigger-Pattern und CV-Sequenzen mit einfacher CMOS-Logik
Programmieren mit TLScriptEine Skriptsprache zum Messen, Testen und Steuern
Schaltungsdesign: Tipps von Experten
RückkopplungWas ist das und warum ist sie wichtig?
Ein Board, endlose Ideen: Arduino UNO QVon Retro-Gaming zur Echtzeit-Umweltüberwachung
So bringen Sie eine Donut-Antenne in Ordnung
Standby-KillerEin echter Ein-/Ausschalter für den Fernseher
Akkus im TestAkkus vermessen mit dem Arduino Nano
Stromversorgung für Audio-EndstufenEin gutes Netzteil ohne Netzbrummen
Lochrasterplatinen für HFSchnelle Aufbauten mit DIY-Prototyping-Boards
T3-ÜberspannungsschutzEin Typ-3-Schutzmodul für empfindliche Geräte
IoT-Raumthermostat-Platinemit dem Xiao-MCU-Modul auf Basis des ESP32-C3/S3
Von starr zu smartFlexible und gedruckte Elektronik – zwischen Vision und industrieller Realität
Vos premiers pas avec l'ESP32-C3 et l'IdOBouton Wi-Fi + relais Wi-FiCloud IdO à la sauce ArduinoDétecteur Geiger-Müller à double tube (extension pour Arduino)Capteur très sensible pour très faible rayonnementDétecteur de CO2 : CO2 GuardUne solution « maison » pour surveiller la qualité de l'airKit de mesure de la qualité de l'air pour Raspberry Pi de MonkMakesMesure de température et de CO2eDémarrer en électronique... (13)Entrée en scène de la diodeTrucs et astuces pour tester les composantsSans appareils de test coûteuxRéduction de la consommation d'énergie de votre repousse-taupesGrâce au remplacement du 555 par un ATtiny13Interrupteur crépusculaire DeLuxUne solution pour une commutation de haute précision, commandée par la lumièreLes défis de la commercialisation des solutions IdOProblématiques de sécurité, d'évolutivité et de concurrenceElektor infographieIoT : le nouveau Graal ?« Je préfère quand même être en filaire »Conseils pour développer une interface 1 Gbit/s dans un environnement industrielLa détection d'objets en temps réel pour les microcontrôleurs grâce à Edge Impulse FOMOTubes à ondes progressivesPeculiar Parts, the SeriesNB-IoTNormes, couvertures, conventions et modulesPasserelle intérieure Dragino LPS8Configuration rapide de la passerelle LoRaWANExplorer les microcontrôleurs ATtiny en utilisant le langage C et le langage assembleurExtrait : Ports d'E/S d'ATtinyÉlectronique interactive : projet 2.0Corrections, mises à jour et courriers des lecteursMise à jour de la balise GPS LoRaRecevoir et afficher la localisation à l'aide d'un Raspberry PiSimulation de circuits avec TINA Design Suite & TINACloudExtrait : oscillateurs sinusoïdauxSur le vifFaçon de pincerInfrastructure graphique WinUI pour les applications WindowsApplication de démonstrationCréation d'interfaces graphiques en Python avec guizeroLa pire des interfacesSystèmes solaires autonomesProduction d'électricité indépendante du réseau10 ans avec le même smartphone ?Et si c'était possible !Hexadoku
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.
Practical Multitasking Fundamentals
Programming embedded systems is difficult because of resource constraints and limited debugging facilities. Why develop your own Real-Time Operating System (RTOS) as well as your application when the proven FreeRTOS software is freely available? Why not start with a validated foundation?
Every software developer knows that you must divide a difficult problem into smaller ones to conquer it. Using separate preemptive tasks and FreeRTOS communication mechanisms, a clean separation of functions is achieved within the entire application. This results in safe and maintainable designs.
Practicing engineers and students alike can use this book and the ESP32 Arduino environment to wade into FreeRTOS concepts at a comfortable pace. The well-organized text enables you to master each concept before starting the next chapter. Practical breadboard experiments and schematics are included to bring the lessons home. Experience is the best teacher.
Each chapter includes exercises to test your knowledge. The coverage of the FreeRTOS Application Programming Interface (API) is complete for the ESP32 Arduino environment. You can apply what you learn to other FreeRTOS environments, including Espressif’s ESP-IDF. The source code is available from GitHub. All of these resources put you in the driver’s seat when it is time to develop your next uber-cool ESP32 project.
What you will learn:
How preemptive scheduling works within FreeRTOS
The Arduino startup “loopTask”
Message queues
FreeRTOS timers and the IDLE task
The semaphore, mutex, and their differences
The mailbox and its application
Real-time task priorities and its effect
Interrupt interaction and use with FreeRTOS
Queue sets
Notifying tasks with events
Event groups
Critical sections
Task local storage
The gatekeeper task
De Joy-Pi Note 2 is een draagbaar, alles-in-één platform voor elektronica-experimenten en educatie, dat volledig compatibel is met de Raspberry Pi 4 en 5. Dankzij de combinatie van een 11,6-inch IPS-scherm, een afneembaar draadloos toetsenbord en een compacte, robuuste behuizing biedt het een flexibele omgeving voor elektronicaontwikkeling, programmeren en onderwijs.
Met meer dan 45 praktische cursussen en projecten ondersteunt de Joy-Pi Note 2 het leren en experimenteren met Python, Scratch, robotica en IoT-toepassingen. Het geïntegreerde leerplatform biedt stapsgewijze instructies, waardoor het uitermate geschikt is voor beginners, studenten, docenten en ervaren makers.
Het systeem is uitgerust met meer dan 22 ingebouwde sensoren en modules, waaronder sensoren voor temperatuur, licht, beweging en afstand, evenals led-displays en interfaces voor motoren. Dankzij extra aansluitmogelijkheden, zoals USB-C en GPIO-uitbreidingspoorten, kunnen gebruikers hun eigen projecten ontwikkelen en testen.
Dankzij de ondersteuning voor de Raspberry Pi 5 profiteert de Joy-Pi Note 2 bovendien van verbeterde rekenkracht en grafische prestaties. Hierdoor is het een veelzijdig platform voor elektronicaonderwijs, prototyping en geavanceerde experimenten.
Kenmerken
Complete set voor elektronica-experimenten
Alles-in-één platform voor leren en experimenteren
Compatibel met Raspberry Pi 4 & 5
Vooraf geïnstalleerd interactief leerplatform
Afneembaar draadloos toetsenbord
Geïntegreerd opbergvak voor powerbank en accessoires
Specificaties
Display
11,6" lcd-scherm
Camera
2 MP
Leerplatform
45+ cursussen & projecten
Displays
7-segmentendisplay, 16x2-display, 1,8" TFT-display, 0,96" OLED-display, 8x8 RGB-matrix
Voeding
5 V/5 A, USB-C
Displays
7-segmentendisplay, 16x2-LCD-module, 8x8 RGB-matrix
Sensoren
DHT-temperatuur- en vochtigheidssensor, kantelsensor, bewegingssensor, geluidssensor, aanraaksensor, RFID-module, lichtsensor, ultrasone sensor
Motoren
Servo-interface, stappenmotorinterface, vibratiemotor
Besturingssysteem
Joystick, 4x4-knopsmatrix, schakelaar voor Raspberry Pi- & pc-verbinding, gevoeligheidsregelaar voor bewegingssensor, gevoeligheidsregelaar voor geluidssensor, helderheidsregelaar voor 16x2-LCD-module
Diversen
Relais, ventilator, GPIO-uitbreiding, GPIO-led-indicator, breadboard, IO-/ADC-/I²C-/UART-uitbreidingsinterface, infraroodsensor-interface, zoemer, display-driver
Accessoires
RFID-chip, RFID-kaart, voedingseenheid, servomotor, stappenmotor, infraroodontvanger, infraroodafstandsbediening, gelijkstroommotor met ventilatoropzetstuk, schroevendraaier, microSD-kaart (32 GB), SD-kaartlezer, elektronische accessoires, draadloze muis, draadloos toetsenbord
Afmetingen
291 x 190 x 46 mm
Gewicht
1,3 kg
Inbegrepen
Joy-Pi Note 2 Notebook
Raspberry Pi 5 (8 GB RAM)
Accessoires
USB-C-voedingsadapter
Snelstartgids
Downloads
Joy-Pi website
Datasheet
Build your own AI microcontroller applications from scratch
The MAX78000FTHR from Maxim Integrated is a small development board based on the MAX78000 MCU. The main usage of this board is in artificial intelligence applications (AI) which generally require large amounts of processing power and memory. It marries an Arm Cortex-M4 processor with a floating-point unit (FPU), convolutional neural network (CNN) accelerator, and RISC-V core into a single device. It is designed for ultra-low power consumption, making it ideal for many portable AI-based applications.
This book is project-based and aims to teach the basic features of the MAX78000FTHR. It demonstrates how it can be used in various classical and AI-based projects. Each project is described in detail and complete program listings are provided. Readers should be able to use the projects as they are, or modify them to suit their applications. This book covers the following features of the MAX78000FTHR microcontroller development board:
Onboard LEDs and buttons
External LEDs and buttons
Using analog-to-digital converters
I²C projects
SPI projects
UART projects
External interrupts and timer interrupts
Using the onboard microphone
Using the onboard camera
Convolutional Neural Network
Learning Embedded Systems with STM32 Nucleo Boards
Embedded programming has become more accessible than ever before. Development boards are inexpensive, software tools are easy to install, and the Arduino IDE provides a familiar environment for creating embedded applications. Combined with the STM32 Nucleo family of development boards, it offers an excellent platform for learning how modern microcontrollers interact with the physical world.
This book introduces embedded programming using the Arduino environment on STM32 Nucleo boards. You will learn how a microcontroller continuously reads inputs, processes information, and controls outputs in a predictable real-time loop. Through practical examples, you will discover how to control LEDs, read switches and sensors, generate PWM signals, drive motors, and exchange data with other devices, all while becoming familiar with the capabilities of STM32 microcontrollers.
Although the STM32 family includes devices with different performance levels, memory sizes, and peripheral sets, they all share the same architectural concepts. Digital and analog I/O, timers, interrupts, PWM, communication interfaces, and low-power operation are fundamental features found throughout the STM32 ecosystem. Understanding these building blocks will enable you to work confidently with a wide range of STM32 devices, from entry-level microcontrollers to more advanced applications.
By focusing on practical programming techniques rather than hardware complexity, this book develops skills that remain useful well beyond the examples presented. Whether you are taking your first steps in embedded systems or expanding your experience with STM32 microcontrollers, you will gain a solid understanding of both the Arduino development environment and the principles that underpin embedded software design.
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
A Beginner's Guide to AI and Edge Computing
Artificial Intelligence (AI) is now part of our daily lives. With companies developing low-cost AI-powered hardware into their products, it is now becoming a reality to purchase AI accelerator hardware at comparatively very low costs. One such hardware accelerator is the Hailo module which is fully compatible with the Raspberry Pi 5. The Raspberry Pi AI Kit is a cleverly designed hardware as it bundles an M.2-based Hailo-8L accelerator with the Raspberry Pi M.2 HAT+ to offer high speed inferencing on the Raspberry Pi 5. Using the Raspberry Pi AI Kit, you can build complex AI-based vision applications, running in real-time, such as object detection, pose estimation, instance segmentation, home automation, security, robotics, and many more neural network-based applications.
This book is an introduction to the Raspberry Pi AI Kit, and it is aimed to provide some help to readers who are new to the kit and wanting to run some simple AI-based visual models on their Raspberry Pi 5 computers. The book is not meant to cover the detailed process of model creation and compilation, which is done on an Ubuntu computer with massive disk space and 32 GB memory. Examples of pre-trained and custom object detection are given in the book.
Two fully tested and working projects are given in the book. The first project explains how a person can be detected and how an LED can be activated after the detection, and how the detection can be acknowledged by pressing an external button. The second project illustrates how a person can be detected, and how this information can be passed to a smart phone over a Wi-Fi link, as well as how the detection can be acknowledged by sending a message from the smartphone to your Raspberry Pi 5.
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
For Eyes and Ears
Video Output with Microcontrollers (1)Composite Video
electronica 2022News from the world’s leading electronics trade show
ESP32 CameraSo Simple, It Doesn’t Even Have to Use Wi-Fi
ATX Power Supply for Raspberry Pi
32 Ω Headphone AmplifierSimple But High-Quality 3-Chip Solution
SDR Radio-Controlled clocksFive Time Signals, Six Displays
Starting Out in ElectronicsSpecial Diodes
From Life's ExperienceMusings on the Quality of Things
Reverse-Engineering a Bluetooth Low Energy LED BadgeHow to Control a BLE Device with a Python Script
MakePython ESP32 Development KitEverything in a Box
THD Measurement with an Oscilloscope and FFTEasily Calculate the Distortion Factor
All-Seeing MachinesThe Technology Behind Today’s Industrial Vision Systems
Infographics
The Evolution of Voice and Audio Control for Electronic Devices
WEEF 2022 in Review
FFWD electronica 2022 in ReviewInnovators Did Not Fail to Impress
The TubeAn Unusual Tube Amplifier
Biomaterial in Electronics: Ready or Not
Opera Cake Antenna Switch for HackRF OneConnect Up To Eight Antennas To Your SDR
Engineering with Arduino and MoreAn Interview with Author Ashwin Pajankar
LiDAR Precision GaugeMeasure up to 12 Meters
Audio Signals and the ESP32The ESP-ADF Environment in Practice
Elektor Fortissimo-100 Power Amplifier Kit
Using Light for Sound EffectsLDR-Based Voltage-Controlled 24 dB/oct Synthesizer Filter
Elektor High-Power AF AmplifierThe Loudest of Them All!
HomeLab ToursA Volumetric Display Made in Canada
Err-lectronicsCorrections, Updates and Readers’ Letters
Hexadoku
With Examples for Raspberry Pi Pico and ESP32
Creating and programming small electronic systems is now easier than ever before. With inexpensive development boards and modern software tools, anyone curious about embedded design can quickly move from an idea to a working piece of hardware. At the heart of this change is MicroPython—a clear, interactive, and beginner-friendly way to program microcontrollers while still remaining closely connected to the underlying electronics.
This book introduces embedded programming through MicroPython on popular platforms such as the Raspberry Pi Pico and the ESP32. You will discover how to use microcontrollers for reading inputs, processing data, and controlling outputs in a predictable, real-time loop. With just a few lines of code, you can blink LEDs, read sensors, drive motors, and communicate with the outside world. The interactive REPL programming interface encourages experimentation and fast learning, making concepts tangible from the very first chapter.
While different boards offer different capabilities, they all share the same core principles. Timers, GPIO, analog I/O, PWM, interrupts, and communication interfaces form the foundation of every embedded system.
By focusing on these universal building blocks, this book helps you build skills that transfer across platforms and scale naturally toward more advanced development. Whether you are a beginner or an experienced programmer entering embedded systems, you will find that working with MicroPython is both practical and genuinely enjoyable.