Mehr als 50 Grundlagenprojekte mit MicroPython und dem RP2040-Mikrocontroller
Der Raspberry Pi Pico ist eine leistungsstarke Mikrocontroller-Platine, die speziell für das Physical Computing – also hardwarenahe Anwendungen – entwickelt wurde. Der Raspberry Pi Pico kann so programmiert werden, dass er eine einzelne Aufgabe sehr effizient ausführt und ermöglicht so schnelle Steuerungs- und Überwachungsanwendungen in Echtzeit. Der 'Pico', wie wir ihn nennen, basiert auf dem schnellen, effizienten und kostengünstigen Dual-Core ARM Cortex-M0+ RP2040 Mikrocontroller-Chip, der mit bis zu 133 MHz läuft und über 264 KB SRAM und 2 MB Flash-Speicher verfügt. Neben dem großen Speicher hat der Pico noch weitere attraktive Eigenschaften, darunter eine große Anzahl von GPIO-Pins sowie gängige Schnittstellen wie ADC, SPI, I²C, UART und PWM. Als Krönung bietet der Chip schnelle und genaue Timer, eine Hardware-Debug-Schnittstelle und einen internen Temperatursensor.
Zur Programmierung lassen sich leicht die gängigen Hochsprachen wie MicroPython oder C/C++ verwenden. Dieses Buch ist eine Einführung in die Verwendung des Pico mit der Programmiersprache MicroPython. In allen Projekten wird die Thonny-Entwicklungsumgebung (IDE) eingesetzt. Über 50 Projekte decken folgende Themen ab:
Installation von MicroPython auf dem Raspberry Pi Pico
Timer-Interrupts und externe Interrupts
Projekte mit Analog-Digital-Wandler (ADC)
Verwendung des internen sowie externer Temperatursensoren
Datenlogger
Projekte zur PWM, UART, I²C-Bus und SPI-Bus
Wi-Fi und Bluetooth für die Kommunikation mit Smartphones
Projekte mit dem Digital-Analog-Wandler (DAC)
Alle in diesem Buch vorgestellten Projekte wurden vollständig getestet und sind funktionsfähig. Es werden keine Programmier- oder Elektronikkenntnisse vorausgesetzt, um sie nachzuvollziehen. Für alle beschriebenen Projekte gibt es kurze Beschreibungen, Blockdiagramme, detaillierte Schaltpläne und vollständige MicroPython-Programmlistings. Die Listings sind auch auf der zum Buch gehörenden Elektor-Webseite zu finden.
Learning circuit design the fun way
Welcome to the world of electronics!
Getting started in electronics is not as difficult as you may think. Using this book, you will explore and learn the most important electrical and electronics engineering concepts in a fun way by doing various experiments and by simulating circuits. It will teach you electronics practically without getting into complex technical jargon and long calculations. As a result, you will be creating your own projects soon.
No prior knowledge of electronics is required, only some basic algebra is used in a few simple calculations. Many tested and working projects and simulations are presented to familiarise yourself with the construction of electronic circuits. Circuit simulation is introduced at an early stage to enable you to experiment with circuits easily without breaking anything.
You will learn:
The concepts of voltage, current, and power
AC and DC
Basic lamp circuits with switches
Passive components: resistors, capacitors & inductors
RC & RCL circuits
Electromagnetism
Loudspeakers, relays, buzzers, and transformers
Active components: diodes & LEDs, bipolar transistors & MOSFETs
Transistor-based switching circuits
Optocoupler circuits
Astable & monostable multivibrators
Using the 555 timer IC
The operational amplifier
Digital logic
Advanced examples: amplifiers, oscillators, filters, and sensors
Test and measurement tools
Microcontrollers: Arduino UNO, ESP32, Raspberry Pi Pico, and Raspberry Pi
Reading datasheets and best practices for selecting components
EMC & EMI and norms & regulations
An Introduction to RISC-V
RISC-V is an Instruction Set Architecture (ISA) that is both free and open. This means that the RISC-V ISA itself does not require a licensing fee, although individual implementations may do so. The RISC-V ISA is curated by a non-profit foundation with no commercial interest in products or services that use it, and it is possible for anyone to submit contributions to the RISC-V specifications. The RISC-V ISA is suitable for applications ranging from embedded microcontrollers to supercomputers.
This book will first describe the 32-bit RISC-V ISA, including both the base instruction set as well as the majority of the currently-defined extensions. The book will then describe, in detail, an open-source implementation of the ISA that is intended for embedded control applications. This implementation includes the base instruction set as well as a number of standard extensions.
After the description of the CPU design is complete the design is expanded to include memory and some simple I/O. The resulting microcontroller will then be implemented in an affordable FPGA development board (available from Elektor) along with a simple software application so that the reader can investigate the finished design.
Contents
Projects
PicoVoiceVoice alienation and sound effects with the Raspberry Pi Pico
Navigation with Vibration Feedback
POV Display
Pulse Width Modulation (PWM) with the Raspberry Pi Pico
Wi-Fi with the Raspberry Pi Pico
'Hello World' from the Raspberry Pi Pico and RP2040A look at the Raspberry Pi Foundation’s first microcontroller
Simple On-Off Temperature Controller with Raspberry Pi HAT
Multitasking with the Raspberry PiShowcase: a traffic lights controller
The Raspberry Pi Ruler GadgetFun with a time-of-flight sensor
Raspberry Pi Buffer Board (Mk. 1)Never blow up the I/O again
FM radio with RDSA top HAT project for the Raspberry Pi
LoRa with the Raspberry Pi PicoFun with MicroPython!
Tutorials
Qt for the Raspberry Pi
Raspberry Pi Pico Programmingwith MicroPython and Thonny
Raspberry Pi Full StackRPi and RF24 at the heart of a sensor network
Raspberry Pi Bash Command Cheat Sheet
Community
Java on the Raspberry PiAn interview with Frank Delporte
Reviews
Introducing the New Raspberry Pi Pico W, H, and WH
Secure Boot Solution for Raspberry PiRetrofit security at a reasonable price
Review: SmartPi – Smart Meter Extension for Raspberry Pi
Review: The Enviro+ Raspberry Pi HATMeasuring environmental data with Raspberry Pi and the HAT Enviro+
Review: Meet the Raspberry Pi 4All new but still good?
Raspberry Pi Gets a Fast 3.5' Touch DisplayMore power at no extra charge
Book Launch: Raspberry Pi for Radio Amateurs
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.
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
Le téléchargement intégral de ce numéro est disponible pour nos membres GOLD et GREEN sur le site Elektor Magazine !
Pas encore membre ? Cliquez ici.
petite caméra thermiqueréalisée avec un Arduino UNO
mise à jour du projet #3 : compteur d'énergie basé sur l'ESP32intégration et test avec Home Assistant
2024 : l'odyssée de l'IAaméliorer la détection d'objets : intégration de techniques avancées
Raspberry Pi se met à l'IAun nouveau kit comprenant un accélérateur IA matériel et un adaptateur M.2 HAT+
capteurs de stations météorologiqueslequel choisir ?
Relevé des compteurs d'eau basé sur l'IA (1)intégrez votre ancien compteur dans l'IdO !
une alarme GSMun module GSM protège votre garage à distance
optimisation et contrôle des appareils Thread à faible consommation d'énergiefaible consommation... peu d’effort ?
sur le vifmontrez-moi là où ça fait mâle
chambre à brouillard à faire soi-mêmevisualiser les rayonnements invisibles
SparkFun Thing Plus Mattercarte de développement IdO polyvalente basée sur Matter
Rétroéquipement IoTAdaptation des machines à interface RS232 à l'industrie 4.0
ajouter l’IoT grâce aux microcontrôleurs 8 bits
la technologie au service du développement durableles avancées technologiques favorisent une utilisation plus efficace de l’énergie dans de nombreuses applications
AWS pour Arduino et Cie. (1)utiliser AWS IoT ExpressLink en pratique
détecteur de flux d'air Arduinoaucun capteur externe n'est nécessaire !
détecteur de fuite d'eauconnecté à l’Arduino Cloud
le quartzdrôle de composant, la série
enregistreur universel de données de jardinageun pas vers l’Intelligence Artificielle au Jardin.
un générateur analogique 1 kHzondes sinusoïdales à faible distorsion
Miletus : utiliser les applications Web hors ligneaccès aux fonctions de l’appareil et du système
de la 4G à la 5Gest-ce une étape si facile à franchir ?
démarrer en électronique…connexions symétriques
Diese Ausgabe steht allen GOLD- und GREEN-Mitgliedern auf der ElektorMagazine-Website zum Download bereit!
Sie sind noch kein Mitglied? Hier klicken!
MultiRF-EntwicklungsboardEine Plattform zur Evaluierung drahtloser Protokolle für kurze und lange Reichweiten
Elektor wird 65Elektronik im Wandel seit 1961
WLAN-basierte Personenerkennung mit dem ESP32Wenn der Router zum Bewegungsmelder wird
Drahtlose WaagenVier kleine Waagen = eine große Waage
Walter, das kompakte IoT-ModulESP32-S3-SoC, LTE-M/NB-IoT-5G-Modem und GNSS-Receiver
3- und 4-Draht-RTD-Sensoren konditionierenMit Vollbereichsabgleich und Kabelkompensation
Drei in einem: 2-Kanal-Oszilloskop/Generator/MultimeterEin Test des Fnirsi 2D15P
electronica Fast Forward 2026 für Start-ups und Industriepartner
EcologgingEine modulare IoT-Messstation für Umweltdaten
Drahtlos-Anbindung für MedizingeräteImmer am Puls mit Bluetooth LE
AudiotronicsBrummunterdrückung
Mehr Effizienz in der Landwirtschaft durch KI-Modelle und SensorenSteigerung der landwirtschaftlichen Produktivität
OPC UA – ein ÜberblickPlattformunabhängiger Datenaustausch
Redox-Meter
Instrumentenverstärker für Physik- und Engineering-Experimente
Aktive differentielle Audio-FilterFür professionelle Frequenzweichen und mehr
Elektor-Community-Tipps zu IoT und Sensoren
Telegram-gesteuerter WarmwasserbereiterEine Lösung mit ESP32 und Arduino-Software
2026: Eine KI-OdysseeWas wurde eigentlich aus der Fuzzy-Logik?
Projekt 2.0
Alarmsignalinjektor + PowerTools zum Suchen verdeckt verlegter Leitungen
35 Projects for Beginners
This book is for hobbyists, students and engineers who want to learn C and how to use an mbed ARM microcontroller in an easy and fun way, without the need for cumbersome software installations.
ARM mbed microcontroller NXP LPC1768
The projects in this book are meant for beginners in C and ARM microcontrollers. That doesn't mean the projects are simple, but it does mean that they are easy to understand. We use for example USB communications, a subject that is made so easy by the mbed that it is suitable for a beginners book.
Cloud technology
The mbed NXP LPC1768 uses cloud technology, a revolutionary concept in software development. This means you do not need to install software on your PC in order to program the mbed!
The only thing you need is a browser such as Microsoft Internet Explorer, and a USB port on your PC. You can get access to your project from any PC anywhere in the world and continue working on it. When you are done a few simple mouse clicks transfer the program to your mbed hardware. Of course you can optionally download the projects and store them on your own PC.
Features of this Book
Learn how to program an mbed ARM microcontroller using cloud technology. No complicated software installation on your PC needed.
Learn programming in C by doing fun and interesting projects. No previous experience or knowledge required.
Examples of projects in this book: flashing light, timer, light activated switch, digital thermometer, people detector, USB communication, talking microcontroller, debugging, sound switch, and much more - 35 projects in total.
Examples of C subjects in this book: variables, commands, functions, program execution, pointers (introduction).
TRAITEMENT D'IMAGES AVEC LE KIT JETSON NANO DE NVIDIA2e partie : reconnaissance d'imagesELEKTOR JUMPSTARTER – DU NOUVEAUCampagnes à venirTRACEUR GPS À CODE SOURCE OUVERTTraccar cartographie les déplacements de véhicules, sans recours à un serveur tiers du nuageTESTEUR MULTIFONCTION LCR-T7 DE JOY-ITTest de semi-conducteurs passifs, discrets et de télécommandes IRSYNTHÉTISEUR DE BRUITDu bruit à la musique avec le PRBSynth1DÉMARRER EN ÉLECTRONIQUE…Easier than Imagined! ... Continuing with the CoilVOYAGE DANS LES RÉSEAUX NEURONAUX (2E PARTIE)Les neurones logiquesPROBLÈMES DE SÉCURITÉ ? COMBATTEZ LE FEU PAR LE FEU !Extension à mémoire analogique, protégée par ampoule de flash, pour la boîte à témoin d'effractionKIT DU LCR-MÈTRE 2 MHZ D'ELEKTORBALISES BLUETOOTH : LA PRATIQUEGéolocalisation intra murosC PROGRAMMING ON RASPBERRY PIExtrait : communiquer par Wi-FiTEST DE PRÉCONFORMITÉ CEM POUR UN PROJET ALIMENTÉ EN COURANT CONTINUPartie 2 : le matériel et son utilisationPROPELLER 2 DE PARALLAX (5)La fonction de « broche intelligente »MODBUS SANS FIL (PARTIE 1)Matériel et programmationJUNIOR COMPUTEREn forme après 40 ans de sommeilCONSTRUIRE SON PROPRE ÉTALONNEUR DE HAUTE PRÉCISION−10 V à +10 V, 0 à 40 mA, 0,001 %ARDUINO NANO RP2040 CONNECT EN DÉTAILRaspberry Pi RP2040 + Wi-Fi + BluetoothLE CORPS PHYSIQUE DE L'INTELLIGENCE ARTIFICIELLEPROJET 2.0corrections, mises à jour et courriers des lecteursCRÉATION D'INTERFACES GRAPHIQUES EN PYTHON AVEC GUIZEROInstallez la bibliothèque Python guizero et créez vos propres interfaces graphiques.KIT DE MESURE DU CO2 POUR SALLE DE CLASSEMontage à base d'ESP8266, conçu par l'Université des Sciences Appliquées d'Aix-la-ChapelleMK484, RADIORÉTRO PO/GO...Toujours le plaisir de construire !60 ANS D'ELEKTORQue la lumière soit !HEXADOKUThe Original Elektorized Sudoku
Diese Ausgabe steht allen GOLD- und GREEN-Mitgliedern auf der ElektorMagazine-Website zum Download bereit!
Sie sind noch kein Mitglied? Hier klicken!
OBD2-Sensor-DashboardEchtzeitdaten statt alter Zeigerinstrumente
OBD2: Drehzahlmesser und Schaltblitz nachrüstenRetro, aber praktisch
LiDAR- und Vision-Sensoren für die Robotik
Sensor+Test 2025 und PCIM 2025
Berührungslose E-Feld-MessungenTeil 1. Eine vibrierende Membran zur Erfassung von Gleichspannungen oder statischen elektrischen Feldern
Drahtloser Benachrichtigungsdienst für den BriefkastenVon optischen Sensoren bis zu Empfängern: Entdecken Sie verschiedene Optionen
Elektor Mini-WheelieEin selbst-balancierender Roboter
SolarzellenBemerkenswerte Bauteile
Erste Schritte mit einem modernen RadarsensorPräzise Messungen auf Ihrem Radar?
Aus dem Leben gegriffenPapierfabrik
CybersecuritySchwere Zeiten für Hacker
Siglent präsentiert seine neuen Multi-Kanal-OszilloskopeFür den Einsatz in Leistungselektronik und Embedded Design
Bluetooth 6.0 verbessert Distance-Ranging-ApplikationenNeue Version bietet bessere Positionsbestimmungs- und Ortungsdienste für Geräte
Kommunikation mit dem BeagleY-AI erkunden
Projekt 2.0Korrekturen, Updates und Leserbriefe
Aller Anfang ...ist nicht schwer: Das Ende der Operationsverstärker
Ein mächtiger KI-Code-AssistentCode-Entwicklung mit Continue und Visual Studio Code
Solarladeregler mit MPP-TrackingTeil 2: Die Schaltung
Hinderniserkennung mit UltraschallEin einfaches Projekt zur Unterstützung von Menschen mit Sehbehinderungen
2025: Odyssee in die KIHalbjahresrückblick
Standalone-MIDI-Synthesizer mit Raspberry PiTeil 3. Mit künstlicher Intelligenz und einer Benutzeroberfläche
Meshtastic: Ein DemonstrationsprojektIntelligentes Mesh-Netzwerk auf Basis von LoRa-Funkmodulen
Analoger Audio-GeneratorSinus-Generator mit einstellbarer Frequenz