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 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.
Aus dem Inhalt
Lohnt sich der Selbstbau von Verstärkern noch?
Warum HiFi-Geräte unterschiedlich klingen
Elkos, Gleichrichter und ihr korrekter Einsatz
PPP-Endstufe mit der Röhre EL 84 T
Mittelwellen-Zweikreisempfänger
0-V-2-Kurzwellenaudion mit ECC 88
Kaffeewärmer mit Röhrenantrieb
Vielseitige Experimentierplatinen
Röhrensound-Konverter
Mikrofonverstärker mit Röhren
EL34, 6L6GC oder KT88
Magische Augen, Fächer und Bänder
Kampf den Exemplarstreuungen
Einfache Röhrenprüfung
Kummer mit minderwertigen Röhren
Das SRPP-Prinzip
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
Pull Down Lever For Highest Score!
This Elektor Circuit Classic from 1984 shows a playful application of CMOS 400x series logic ICs in combination with LEDs, a highly popular combination at the time. The project imitates a spinning-digit type slot machine.
The Game
To play the game, first agree on the number of rounds. Player 1 actuates the switch lever as long as desired and releases it. The LEDs then show the score which is the sum of the 50-20-10-5 digits lit up. If the Play Again! LED lights, Player 1 has another, “free” round. If not, it’s Player 2’s turn. The players keep tab of their scores, and the highest score wins.
Features
LEDs Indicate Score
Multi-Player and Play Again!
Elektor Heritage Circuit Symbols
Tried & Tested by Elektor Labs
Educational & Geeky Project
Through-Hole Parts Only
Included
Printed Circuit Board
All Components
Wooden Stand
Bill of Materials
Resistors (5%, 250 mW)
R1,R2,R3,R4 = 100kΩ
R5,R6,R7,R8,R9,R10 = 1kΩ
Capacitors
C1 = 4.7nF, 10%, 50V, 5mm
C2 = 4.7μF, 10%, 63V, axial
C3,C4 = 100nF, 10 %, 50V, ceramic X7R, 5mm
Semiconductors
LED1-LED6 = red, 5mm (T1 3/4)
IC1 = 74HC4024
IC2 = 74HC132
Miscellaneous
S1 = switch, toggle, 21mm lever, SPDT, momentary
S2 = switch, tactile, 24V, 50mA, 6x6mm
S3 = switch, slide, SPDT
IC1,IC2 = IC socket, DIP14
BT1 = PCB-mount CR2032 battery retainer clip
Desktop Stand
PCB 230098-1
Not included: BT1 = CR2032 coin cell battery
The Elektor Zener Diode Tester is essentially a constant-current source that can be switched in steps from 1 to 50 mA. It can be used to test Z-diodes up to a maximum of 54 V. Thanks to a 60-V step-up converter, the device can be powered by the usual 5 to 12 V.
The principle of this tester is straightforward. A Z-diode or other DUT (device under test, such as an LED) is biased by an adjustable current source. The voltage across the DUT can be measured with a multimeter. The voltage of most (small) Z-diodes is specified at a current of 5 mA. Depending on the application, the voltage at other currents can also be of interest. That is why six current settings are available: 1, 2, 5, 10, 20, and 50 mA. LEDs are often specified at a current of 20 mA.
What can be tested is:
Whether a Z-diode is defective (short circuit or high impedance).
Whether a Z-diode exhibits the correct Z-voltage.
How a Z-voltage changes with different currents.
What exact voltage is present at an integrated voltage reference.
Whether LEDs in a series chain differ in brightness (hence the 20 mA current).
What the current gain is for different base currents in (power) transistors.
The kit contains all parts listed in the bill of materials including PCB and enclosure.
Specifications
Supply voltage
5…12 V/2 A (USB-C)
Supply current (Itest = 50 mA)
1.1 A @ 5 V / 412 mA @ 12 V
Selectable currents
1, 2, 5, 10, 20, and 50 mA
Max. test voltage
>54 V @ Itest ≥1 mA
Max. output voltage
60 V @ Itest = 0 mA
Voltage limit at 5 V
4.5 V @ Itest = 1 mA / 5.18 V @ Itest = 50 mA
Enclosure dimensions
110 x 82 x 44 mm
PCB size
105.4 x 67.3 mm
Connections
4 mm banana sockets for multimeter
2 mm banana sockets for test clips
USB-C socket for power supply
Included
Resistors
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%
Capacitors
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)
Semiconductors
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
Others
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
Article
Elektor Labs
Inhalt
Projekte
Pico-VoiceSprachverfremdung und Soundeffekte mit dem Raspberry Pi Pico
Navi mit Vibrations-Feedback
POV-Anzeige
Impulsbreitenmodulation (PWM) mit dem Raspberry Pi Pico
Verwendung von Wi-Fi mit dem Raspberry Pi Pico
„Hello World“ vom Raspberry Pi Pico und RP2040Ein Blick auf den ersten Mikrocontroller der Raspberry Pi Foundation
Einfacher Ein-Aus-Temperaturregler mit Raspberry-Pi-HAT
Multitasking mit dem Raspberry PiBeispiel: Ampelsteuerung
Das Raspberry-Pi-LinealSpaß mit einem Laufzeitsensor
Puffer-Board für Raspberry Pi (Mk. 1)Nie wieder defekte I/O-Ports
FM-Radio mit RDSEin HAT für den Raspberry Pi
LoRa mit dem Raspberry Pi PicoViel Spaß mit MicroPython!
Tutorials
Qt für Raspberry Pi
Raspberry Pi Pico Programmierungmit MicroPython und Thonny
Raspberry Pi Full StackRPi und RF24 als Herzstück eines Sensornetzwerks
Raspberry Pi – Bash-Befehle in der Übersicht
Community
Java auf dem Raspberry PiEin Interview mit Buch-Autor Frank Delporte
Reviews
Buchvorstellung: Raspberry Pi for Radio Amateurs
Secure-Boot-Lösung für Raspberry PiViel Sicherheit zum vernünftigen Preis
Review: SmartPi – Smartmeter-Erweiterung für Raspberry Pi
Review: RPi-HAT Enviro+Umweltdaten messen mit Raspberry Pi und der HAT Enviro+
Review: Raspberry Pi 4Alles neu und doch gut?
Schnelles 3,5“-Touch-Display für RPiMehr Leistung ohne Aufpreis
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.
Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
OBD2-sensordashboardOude meters vormden het startpunt van een zoektocht naar echte gegevens
OBD2: voeg een toerenteller en schakelindicator toe aan je autoRetro, maar uiterst nuttig
LiDAR- en Visiesensoren voor Robotica
Sensor+Test 2025 en PCIM 2025
Contactloze E-Veldmetingen (1)Een Trillende Membraan voor het Detecteren van Gelijkspanningen of Statische Elektrische Velden
Draadloze brievenbusmeldervan optische sensoren tot radar: enkele mogelijkheden
Elektor Mini-Wheelieeen zelfbalancerende robot
ZonnecellenVreemde onderdelen, de serie
Aan de slag met een moderne radarsensorStaat een nauwkeurige meting op uw radar?
Uit het leven gegrepenpapierfabriek
CybersecurityZware tijden voor hackers
Infographics: IoT en sensoren 2025
Bluetooth 6.0 brengt verbeterde toepassingen voor afstandsbepalingNieuwe versie biedt betere apparaatpositionerings- en -locatieservices
Draadloze communicatie verkennen met BeagleY-AI
Err-lectronicsCorrecties, updates en lezerspost
Alle begin......sluit het thema opamps af
Een krachtige AI-codeerassistentsneller ontwikkelen met Continue en Visual Studio Code
Zonne-laadregelaar met MPPT (2)Het schema
Ultrasone obstakeldetectoreen eenvoudig project om slechtzienden te helpen
2025: Een AI-odysseeHalfjaaroverzicht
Raspberry Pi Standalone MIDI-synthesizer (3)Het slimmer maken en een gebruikersinterface toevoegen
Meshtastic: een demonstratieprojectEen slim netwerk van LoRa-radio's
Analoge audio-frequentiegeneratorHoogwaardige sinusgenerator met instelbare frequentie
The Siglent SDL1020X-E DC Load leads with measurement resolution of 0.1 mV/0.1 mA and the base SDL1000X-E series resolution is 1 mV/1 mA and adjustable current rise times from 0.001 A/μs~2.5 A/μs. For remote communication and control, the SDL series includes S232/USB/LAN interface types. The SDL1020X-E delivers stability over a wide range of applications and can meet all kinds of testing requirements. including: Power, battery/handheld device design, industry, LED lighting, automotive electronics, and aerospace.
Features
SDL1020X-E (Single channel): DC 150 V/30 A, total power 200 W
4 static modes / Dynamic mode: CC/CV/CR/CP
CC Dynamic mode: Continuous, pulsed, toggled
CC Dynamic mode: 25 kHz, CP Dynamic mode: 12.5 kHz, CV Dynamic mode: 0.5 Hz
Measuring speed of voltage and current: up to 500 kHz
Adjustable current rise time range: 0.001 A/us~2.5 A/us
Min. readback resolution: 0.1 mV, 0.1 mA
Short-circuit, Battery test, CR-LED mode, and factory test functions
4-wire SENSE compensation mode function
List function supports editing as many as 100 steps
Program function supports 50 groups of steps
OCP, OVP, OPP, OTP and LRV protection
External analog control
Voltage, Current monitoring via 0-10 V
3.5 inch TFT-LCD display, capable of displaying multiple parameters and states simultaneously
Built-in RS232/USB/LAN communication interface, USB-GPIB module (optional)
Waveform trend chart and easy-to-use file storage and call functions
Includes PC software: Supports SCPI, LabView driver
Included
1x Siglent SDL1020X-E DC Programmable Load
1x Quick start guide
1x Guarantee Card
1x Power Cord
1x USB Cable
Downloads
Datasheet
Manual
Programming Guide
PC Software
This complete STM32 microcontroller programming course features a textbook, a component kit, hands-on projects, and a comprehensive online course. It is ideal for step-by-step learning of embedded systems programming in MicroPython using a practical, hands-on approach.
A Practical Introduction to Embedded Systems with the STM32
This course is designed for people who are new to embedded systems and looking for a structured, example-driven way to get started. A kit of parts comprising LEDs and resistors, switches, sensors and actuators, displays, a breadboard and wires, and more is included. These are used in the course to illustrate example applications.
No prior experience with MicroPython or embedded development is required. Each section features hands-on examples and mini projects designed to reinforce key concepts and inspire deeper exploration. By the end of the course, you’ll be able not only to reproduce the examples but also to build on them with your own ideas and applications.
What Will You Learn?
Microcontroller programming in MicroPython on the STM32 using the Thonny IDE
Working with Digital I/O, read buttons and encoders, control LEDs and relays
Read analog inputs, voltages, and analog sensors
Generating analog output signals and PWM
Use serial communication like UART, I²C and SPI to control displays and read digital sensors and SD cards
Managing time
Working with interrupts
Real-time sensor input and control via buttons, LEDs, and displays
Control actuators like relays and servo motors
Who Is It For?
Students and self-learners exploring embedded systems
Makers and IoT enthusiasts looking to improve their hardware skills
Educators and trainers seeking ready-to-teach material
What's Inside the Box?
Access to the full course on the Elektor Academy Pro Learning Platform
STM32 NUCLEO-F411RE microcontroller board
Book: MicroPython for STM32
Downloadable project files for every module
Component Box:
2× LED, red, 5 mm
LED, green, 5 mm
3× Resistor, 470 Ω, 0.25 W
LDR
Potentiometer, 10 kΩ, linear
Pushbutton
Rotary encoder module
Relay module
DHT22 Humidity & Temperature Sensor
TM1637-compatible 4-digit 7-segment display
MPU-6050 IMU with headers
SSD1306-compatible I²C OLED display
Micro SD card adapter with header
Buzzer
SG90 Micro Servo
ILI9341-compatible SPI 240×320 TFT display
20× Jumper wires
Breadboard
Clever Tricks with ATmega328 Pro Mini Boards
With a simple Pro Mini board and a few other components, projects that 20 or 30 years ago were unthinkable (or would have cost a small fortune) are realized easily and affordably in this book: From simple LED effects to a full battery charging and testing station that will put a rechargeable through its paces, there’s something for everyone.
All the projects are based on the ATmega328 microcontroller, which offers endless measuring, switching, and control options with its 20 input and output lines. For example, with a 7-segment display and a few resistors, you can build a voltmeter or an NTC-based thermometer. The Arduino platform offers the perfect development environment for programming this range of boards.
Besides these very practical projects, the book also provides the necessary knowledge for you to create projects based on your own ideas. How to measure, and what? Which transistor is suitable for switching a certain load? When is it better to use an IC? How do you switch mains voltage? Even LilyPad-based battery-operated projects are discussed in detail, as well as many different motors, from simple DC motors to stepper motors.
Sensors are another exciting topic: For example, a simple infrared receiver that can give disused remote controls a new lease on life controlling your home, and a tiny component that can actually measure the difference in air pressure between floor and table height!
Practical Projects in Analog, Audio and Beyond
Discover a remarkable collection of more than 450 electronics projects published in Elektor Magazine and carefully selected by renowned Elektor Lab engineer Ton Giesberts.
The USB drive brings together a wide variety of circuits, designs, and practical project ideas created by numerous Elektor authors and engineers over the years. Covering a broad range of electronics topics, this extensive archive is a valuable source of knowledge and inspiration for engineers, makers, students, and electronics enthusiasts.
More than 450 selected Elektor projects
Carefully compiled by Elektor engineer Ton Giesberts
Ideal for building, experimenting, and discovering new ideas
Explore decades of Elektor expertise in one comprehensive project collection.
Highlights
Q-Watt Audio Power
Fortissimo-100 High-End Amplifier
Buffer Board for the Raspberry Pi 400
USB-to-Multi-Protocol Serial Converter
DDS Function Generator
AC/DC Power Meter
Charge-a-Phone
Specifications
Storage
8 GB
Connectors
1x USB-A1x USB-C
System requirements
PC with Adobe Reader 7.0 or higher
Web browser
Mein eigener RISC-V-ControllerErste Schritte mit dem NEORV32 RISC-V Softcore für preiswerte FPGAs
Wie man den Seriellen Plotter der Arduino-IDE nutztEinfaches Plotten von Kurven mit Arduino
CLUE - ein Clou von Adafruit?Angriff auf den micro:bit
Puffer-Board für den Raspberry Pi 400Schützen Sie die I/Os!
FrühjahrskollektionInteressante Raspberry Pi RP2040 Boards
Ein DIY-Handbuch zu elektronischer Sicherheit und E-SpionageSRAM erhitzt oder tiefgefroren
Identifizierung von BauteilenTipps & Tricks, Best Practices und andere nützliche Informationen
Ein Touch-Schalter ohne TouchKonzeption und Umsetzung eines berührungslosen Lichtschalters
Aller Anfang...ist gar nicht schwer: Anpassen und Transformieren
Was gibt's Neues in der Embedded-Entwicklung?Rust und die Aktualisierung von IoT-Implementierungen
Infografiken Elektor Industry
Neue Wege für Industrie und Automobilbranche mit 5G
DrehspulrelaisBemerkenswerte Bauteile
Zutritt für Unbefugte verbotenAlles dreht sich um die Werkzeuge...
Die Neuronen in neuronalen Netzen verstehenTeil 4: Eingebettete Neuronen
Magnetische Levitation auf die sehr sehr einfache ArtDie dritte und kompakteste Version
SPS-Programmierung mit dem Raspberry Pi und dem OpenPLC-ProjektVisualisierung von SPS-Programmen mit AdvancedHMI
Aus dem Leben gegriffenEinpacken und weg damit
Unter dem RadarUnbekannte Mikrocontroller, über die Sie Bescheid wissen sollten
Drahtloses Monitoring und DebuggenSerielle Funk-Schnittstelle für Arduino, ESP32 und Co.
Tragbares Temperatur- und FeuchtemessgerätGebaut mit vorgefertigten Modulen
Lithium-Akkus reparierenGeld sparen + mehr Power!
GUIs mit PythonMeme-Generator
Die drei FragezeichenWarum? Was? Wer?
Hexadoku