Program, build, and master 60+ projects with the Wireless RP2040
The Raspberry Pi Pico and Pico W are based on the fast, efficient, and low-cost dual-core ARM Cortex M0+ RP2040 microcontroller chip running at up to 133 MHz and sporting 264 KB of SRAM and 2 MB of Flash memory. Besides spacious memory, the Pico and Pico W offer many GPIO pins, and popular peripheral interface modules like ADC, SPI, I²C, UART, PWM, timing modules, a hardware debug interface, and an internal temperature sensor.
The Raspberry Pi Pico W additionally includes an on-board Infineon CYW43439 Bluetooth and Wi-Fi chipset. At the time of writing this book, the Bluetooth firmware was not yet available. Wi-Fi is however fully supported at 2.4 GHz using the 802.11b/g/n protocols.
This book is an introduction to using the Raspberry Pi Pico W in conjunction with the MicroPython programming language. The Thonny development environment (IDE) is used in all of the 60+ working and tested projects covering the following topics:
Installing the MicroPython on Raspberry Pi Pico using a Raspberry Pi or a PC
Timer interrupts and external interrupts
Analogue-to-digital converter (ADC) projects
Using the internal temperature sensor and external sensor chips
Using the internal temperature sensor and external temperature sensor chips
Datalogging projects
PWM, UART, I²C, and SPI projects
Using Bluetooth, WiFi, and apps to communicate with smartphones
Digital-to-analogue converter (DAC) projects
All projects are tried & tested. They can be implemented on both the Raspberry Pi Pico and Raspberry Pi Pico W, although the Wi-Fi-based subjects will run on the Pico W only. Basic programming and electronics experience are required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full MicroPython program listings are given for all projects.
Build Your Own RISC-V ControllerFirst Steps with the NEORV32 RISC-V Softcore for Low-Cost FPGAs
How to Use Arduino’s Serial PlotterPlotting Graphs With Arduino Is Easy
CLUE from AdafruitA Smart Solution for IoT Projects
Buffer Board for the Raspberry Pi 400Protect the I/Os
Raspberry Pi RP2040 Boards Aplenty
A Handbook on DIY Electronic Security and EspionageSRAM Heated or Deep-Frozen
Component IdentificationTips & Tricks, Best Practices and Other Useful Information
DIY Touchless Light Switch
Starting out in ElectronicsMatching and Transforming
What’s New in Embedded Development?Rust and Keeping IoT Deployments Updated
Infographics
How the Industrial and Automotive Sectors Will Benefit from 5G
Moving Coil RelaysPeculiar Parts, the series
HomeLab ToursEverything Revolves Around the Tools...
Understanding the Neurons in Neural Networks (Part 4)Embedded Neurons
Magnetic Levitation the Very Easy WayThe Third and Most Compact Version
PLC Programming with the Raspberry Pi and the OpenPLC ProjectVisualization of PLC Programs with AdvancedHMI
From Life's ExperiencePack Up and Leave
Under Your RadarMicrocontrollers You Should Know About
Monitor and Debug Over the AirA Solution for Arduino, ESP32 and Co.
Portable Temperature- and Humidity-Measuring DeviceUsing Ready-Made Modules
Lithium Battery Pack RepairSave Money + More Power!
GUIs with PythonMeme-Generator
Three Questions to Build OnWhy, What, and Who?
HexadokuThe Original Elektorized Sudoku
LoRa with the Raspberry Pi PicoFun with MicroPython
What Is RISC-V?And Why the Industry Is So Excited About a New Processing Core!
Elektor @ 60Circuits of Summer Past
Versatile Power Supply for BreadboardsPositive and Negative Voltages Out of 5 V from USB
Raspberry Pi Pico EssentialsSample Chapter: Wi-Fi with the Raspberry Pi Pico
Magnetic Levitation the Easy Way
Hands On the Parallax Propeller 2Part 3: Smart Pins and Serial Data (UART)
Nucleo Boards Programming with the STM32CubeIDESample Chapter: FreeRTOS for the STM32 MCU
Developer's ZoneTips & Tricks, Best Practices and Other Useful Information
Miniware DT71 Digital Tweezers
Wearable Wi-Fi Gadget: ESPHome Does the Job Again
Starting out in ElectronicsEasier Than Imagined! This Concludes the Subject of “Capacitors”
Simple Sketches Using the Qwiic Ecosystem
Java on the Raspberry Pi (Part 2)Controlling GPIOs with a Spring REST Service
Raspberry Pi Compute Module 4A Raspberry Pi for Industry
Portable, Stand-Alone Air Quality Display for 2.5 µm ParticlesKeep(s) an Eye on Your Health
From Life’s ExperienceThe Future Was Better in the Past
MicroPython for the ESP32 and FriendsPart 1: Installation and Our First Programs
Charge-Coupled Devices in OscilloscopesPeculiar Parts, the series
ESD – The Invisible DestroyerComponents Trashed by a Bolt from the Blue
Solar Power for Mowing RobotsEcological, Inexpensive, Simple!
Europe’s Efforts to Tame Big Tech
HexadokuThe Original Elektorized Sudoku
Projecten met Arduino, ESPHome, Home Assistant en Raspberry Pi & Co.
Dit e-book bevat verschillende voorbeeldprojecten, te beginnen met een inleiding tot elektronica. Het legt ook uit hoe je Home Assistant installeert op een Raspberry Pi, hoe je binnenklimaatsensoren gebruikt voor temperatuur en vochtigheid, hoe je het MQTT-protocol en andere interfaces implementeert, en hoe je ESPHome gebruikt om sensoren en actuatoren te integreren in Home Assistant. Talrijke video tutorials vullen het boek aan.
The book begins with an introduction to electrical engineering. You will learn the basics of voltage, current, resistors, diodes and transistors.
Arduino and microcontrollers
A complete section is dedicated to the Arduino Uno. You will get to know the structure, write your first programs and work on practical examples.
Home Assistant and automation
You will learn how to set up Home Assistant on a Raspberry Pi and how to use automations, scenes and devices. In addition, Zigbee, MQTT and ESP-NOW – important technologies for home automation – will be discussed.
ESP8266, ESP32 and ESP32-CAM
The popular ESP microcontrollers are covered in detail. A theoretical introduction is followed by practical projects that show you how to get the most out of these devices.
Sensors and actuators
The book explains the functionality and application of numerous sensors such as temperature and humidity sensors, motion detectors and RFID readers. For actuators, stepper motors, e-ink displays, servo motors and much more are covered. There are practical application examples for all devices.
ESPHome
This chapter shows you how to integrate sensors and actuators into Home Assistant without any programming effort. You will be guided step by step through the setup with ESPHome.
LEDs and lighting technology
In this chapter, you will learn about different types of LEDs and how they can be used. The basics of lighting technology are also explained.
Node-RED
A whole chapter is dedicated to Node-RED. You will learn the basics of this powerful tool and be guided step by step through its setup and use.
Integrated Circuits (ICs)
In electronics, there are numerous ICs that make our lives easier. You will get to know the most important ones and apply your knowledge in practical projects.
Professional programming
Advanced topics such as the correct use of buttons, the use of interrupts and the use of an NTP server for time synchronisation are covered in detail in this chapter.
Downloads
GitHub
Zeitsteuerung, Scheduler, PIO und Zustandsmaschinen
Multitasking ist der Schlüssel zu leistungsfähigen Embedded-Systemen, und zugleich eine der größten Herausforderungen in der Mikrocontroller-Programmierung. Dieses Buch zeigt Ihnen Schritt für Schritt, wie Sie von einem einfachen Ein-Task-Programm zu einem strukturierten, reaktionsfähigen und skalierbaren System gelangen. Dabei steht nicht nur das Wie, sondern vor allem das Warum im Mittelpunkt.
Sie lernen:
warum scheinbare Parallelität entsteht
weshalb blockierende Programme instabil werden
wie Aufgaben effizient und kontrolliert parallel ablaufen
Ausgehend vom klassischen Superloop vermittelt das Buch moderne Multitasking-Strategien – von nicht-blockierender Programmierung und Tick-Systemen bis zu Task-Schedulern, Zustandsmaschinen und ereignisgesteuerten Konzepten.
Der Fokus liegt auf der Praxis: Sensoren, Displays, Kommunikation und reale Anwendungen werden Schritt für Schritt integriert und mit verständlich kommentierten Beispielprogrammen erklärt.
Fortgeschrittene Themen umfassen:
Multicore-Programmierung mit dem Raspberry Pi Pico
asynchrones Programmieren mit uasyncio
RTOS-Grundlagen mit FreeRTOS
die Kombination aus Multicore und RTOS
Dabei werden auch die Grenzen dieser Techniken, insbesondere unter MicroPython, klar aufgezeigt.
Das Buch richtet sich an ambitionierte Einsteiger und fortgeschrittene Entwickler, die Embedded-Systeme fundiert verstehen und robuste, wartbare Multitasking-Anwendungen entwickeln möchten.
Projekte mit Arduino, ESPHome, Home Assistant und Raspberry Pi & Co
Dieses E-Book enthält verschiedene Projektbeispiele und beginnt mit einer Einführung in die Elektronik. Es erklärt unter anderem, wie man Home Assistant auf einem Raspberry Pi installiert, wie man Raumklimasensoren für Temperatur und Luftfeuchtigkeit nutzt, das MQTT-Protokoll sowie weitere Schnittstellen einsetzt und ESPHome verwendet, um Sensoren und Aktoren in Home Assistant zu integrieren. Zahlreiche Video-Tutorials ergänzen das Buch.
Grundlagen der Elektrotechnik
Das Buch beginnt mit einer Einführung in die Elektrotechnik. Ihr lernt die Grundlagen von Spannung, Strom, Widerständen, Dioden und Transistoren.
Arduino und Mikrocontroller
Ein kompletter Abschnitt widmet sich dem Arduino Uno. Ihr lernt den Aufbau kennen, schreibt erste Programme und erarbeitet praktische Beispiele.
Home Assistant und Automatisierung
Ihr erfahrt, wie Home Assistant auf einem Raspberry Pi eingerichtet wird, und lernt den Umgang mit Automatisierungen, Szenen und Geräten. Zusätzlich wird auf Zigbee, MQTT und ESP-NOW eingegangen – wichtige Technologien für die Heimautomation.
ESP8266, ESP32 und ESP32-CAM
Die beliebten ESP-Mikrocontroller werden ausführlich behandelt. Nach einer theoretischen Einführung folgen praktische Projekte, die euch zeigen, wie ihr das Beste aus diesen Geräten herausholen könnt.
Sensoren und Aktoren
Das Buch erklärt die Funktionsweise und Anwendung zahlreicher Sensoren wie Temperatur- und Luftfeuchtigkeitssensoren, Bewegungsmelder und RFID-Reader. Bei den Aktoren werden Schrittmotoren, e-ink Displays, Servo-Motoren und vieles mehr beleuchtet. Zu allen Geräten gibt es praxisnahe Anwendungsbeispiele.
ESPHome
Dieses Kapitel zeigt euch, wie ihr Sensoren und Aktoren ohne Programmieraufwand in Home Assistant integriert. Ihr werdet Schritt für Schritt durch die Einrichtung mit ESPHome geführt.
LEDs und Lichttechnik
In diesem Kapitel lernt ihr verschiedene LED-Typen und deren Einsatzmöglichkeiten kennen. Grundlagen der Lichttechnik werden ebenfalls erklärt.
Node-RED
Ein eigenes Kapitel ist Node-RED gewidmet. Ihr erlernt die Grundlagen dieses leistungsstarken Tools und werdet Schritt für Schritt durch die Einrichtung und Nutzung geführt.
Integrierte Schaltkreise (ICs)
In der Elektronik gibt es zahlreiche ICs, die uns das Leben erleichtern. Ihr lernt die wichtigsten kennen und wendet das Wissen in praktischen Projekten an.
Programmieren für Profis
Fortgeschrittene Themen wie die korrekte Verwendung von Tastern, der Einsatz von Interrupts und die Nutzung eines NTP-Servers für Zeit-Synchronisation werden in diesem Kapitel detailliert behandelt.
Downloads
GitHub
AI Projects for the Raspberry Pi with the AI HAT+
Edge AI is transforming everyday devices by putting intelligence where it matters most: directly inside the hardware. With on-device inference, a camera can recognize a visitor instantly, a phone can translate speech without streaming audio to the cloud, and a wearable can detect anomalies in real time—fast, private, and reliable even when the network disappears.
This book is your practical guide to building exactly those kinds of systems with the Raspberry Pi AI HAT+ and the Hailo-8L accelerator. You’ll start with clear foundations: core AI and machine-learning concepts, how neural networks work, and what truly distinguishes Edge AI from cloud AI—plus an honest look at ethical considerations and future impacts.
Then it’s straight to hands-on physical computing. Step by step, you’ll set up Raspberry Pi OS, power and cooling, and develop in Python using the Thonny IDE. You’ll learn GPIO basics with lights and servos, mount the AI HAT+ hardware, install and verify the Hailo software stack, and connect the right camera—official modules or USB webcams, even multiple cameras.
From your first pipeline to real projects, you’ll run person detection, pose estimation, segmentation, and depth estimation, then level up with YOLO object detection: smart alerts, guest counters, and custom extensions. You’ll even connect vision to motion by combining gesture recognition with servo-driven mechanisms, including a robotic arm.
With troubleshooting tips, hardware essentials, and a practical Python refresher, this book turns Edge AI from buzzword into buildable reality.
Vollständig aktualisiert für Raspberry Pi 5
Raspberry Pi ist ein kleiner, cleverer, in Großbritannien hergestellter Computer, der voller Potenzial steckt. Der Raspberry Pi basiert auf einem energieeffizienten Prozessor der Desktop-Klasse und soll Ihnen dabei helfen, das Programmieren zu erlernen, herauszufinden, wie Computer funktionieren, und Ihre eigenen erstaunlichen Dinge zu bauen. Dieses Buch wurde geschrieben, um Ihnen zu zeigen, wie einfach der Einstieg ist.
Lernen Sie, wie Sie:
Richten Sie Ihren Raspberry Pi ein, installieren Sie sein Betriebssystem und beginnen Sie mit der Nutzung dieses voll funktionsfähigen Computers.
Starten Sie Codierungsprojekte mit Schritt-für-Schritt-Anleitungen für die Programmiersprachen Scratch 3, Python und MicroPython.
Experimentieren Sie mit der Verbindung elektronischer Komponenten und haben Sie Spaß beim Erstellen erstaunlicher Projekte.
Neu in der 5. Auflage:
Aktualisiert für die neuesten Raspberry Pi-Computer: Raspberry Pi 5 und Raspberry Pi Zero 2 W.
Deckt das neueste Raspberry Pi OS ab.
Enthält ein neues Kapitel über den Raspberry Pi Pico.
Downloads
GitHub
Diese Ausgabe steht allen GOLD- und GREEN-Mitgliedern auf der ElektorMagazine-Website zum Download bereit!
Sie sind noch kein Mitglied? Hier klicken!
Der Raspberry Pi 5Gegenüber seinem Vorgänger enorm verbessert
KI im ElektroniklaborSchaltungsdesign, Bauteil-Suche, Software
Funktionsgenerator mit dem Arduino NanoNano + Code = Funktionsgenerator
Solarbetriebene WeihnachtsgirlandeEine umweltfreundliche Lösung für die Dekoration Ihres Balkons
USB-Killer-DetektorBesser sicher als traurig
Ein einfaches CNC-GehäuseSchritt für Schritt mit Autodesk Fusion 360
Platinenproduktion in kleinen StückzahlenMit und ohne Bestückung
IoT-Simulation vereinfacht mit WokwiEntwickler Uri Shaked über Entwicklung, Software und mehr
Eine Anleitung zur Bare-Metal-ProgrammierungTeil 3: CMSIS-Header, automatische Tests und ein Webserver
LoRa, ein Schweizer TaschenmesserTeil 2: Hard- und Software
MEMS-MikrofoneEntwurf und Konstruktion eines Messmikrofons
Werkzeuge zum Ausprobieren, bevor Sie lötenSimulations- und 3D-Modellierungstools, die kostenlos genutzt werden können
Neue Tools von Microchip!Version 5 von PICkit und ICD jetzt erhältlich
Rapid Prototyping von flexibler, dehnbarer ElektronikWie Voltera NOVA Innovationen bei tragbaren elektronischen Systemen beschleunigt
Galvanische TrennungPhototransistor-Optokoppler erfolgreich einsetzen
Die komplexe Lösung oder die Lösung von Anybus?Embedded Industrial Ethernet als Kurzstrecke statt als Marathon
Ihre essentielle DFM-ChecklisteWie Sie mit dem Entwurf für die Fertigung beginnen
Filamente für den 3D-DruckArten, Eigenschaften und Verwendung im Prototyping
Spezialisten für eine effektive Signalauswertung von ELF bis EHF-BandAaronias neueste Echtzeit-Spektrumanalyzer der SPECTRAN® V6-Serie
Herausforderungen der DFM-Analyse für Flex- und Rigid-Flex-Design
Einrichten einer SMT-Fertigungsstrecke
Die richtige Kombination für die zuverlässige Baugruppe
Revolution in der IndustrieDer Aufstieg der Autonomen Mobilen Roboter (AMR)
Für höchste Anforderungen weiterentwickeltR&S MXO 5 mit acht Kanälen ergänzt Oszilloskope der nächsten Generation
Aller Anfang...... muss nicht schwer sein: Verstärkung von Unterschieden
Mini-Reflow-PlatteFür die Bestückung und die Reparatur kleiner SMD-Schaltungen
Starte nicht mit einem Prototyp – starte mit einem Pretotyp!Prüfe erst, ob es einen Markt für dein Produkt gibt, bevor du deinen Lötkolben vorwärmst
2023: Odyssee in die KIHilfe beim Entwerfen eines physikalischen Projekts erhalten
Innovationen aus BrüsselUnterstützung für die Spitzentechnologie
For Raspberry Pi, ESP32 and nRF52 with Python, Arduino and Zephyr
Bluetooth Low Energy (BLE) radio chips are ubiquitous from Raspberry Pi to light bulbs. BLE is an elaborate technology with a comprehensive specification, but the basics are quite accessible.
A progressive and systematic approach will lead you far in mastering this wireless communication technique, which is essential for working in low power scenarios.
In this book, you’ll learn how to:
Discover BLE devices in the neighborhood by listening to their advertisements.
Create your own BLE devices advertising data.
Connect to BLE devices such as heart rate monitors and proximity reporters.
Create secure connections to BLE devices with encryption and authentication.
Understand BLE service and profile specifications and implement them.
Reverse engineer a BLE device with a proprietary implementation and control it with your own software.
Make your BLE devices use as little power as possible.
This book shows you the ropes of BLE programming with Python and the Bleak library on a Raspberry Pi or PC, with C++ and NimBLE-Arduino on Espressif’s ESP32 development boards, and with C on one of the development boards supported by the Zephyr real-time operating system, such as Nordic Semiconductor's nRF52 boards.
Starting with a very little amount of theory, you’ll develop code right from the beginning. After you’ve completed this book, you’ll know enough to create your own BLE applications.
Projects with Arduino Uno & Raspberry Pi with Examples for the MCP2515 CAN Bus Interface Module
This book details the use of the Arduino Uno and the Raspberry Pi 4 in practical CAN bus based projects. Using either the Arduino Uno or the Raspberry Pi with off-the-shelf CAN bus interface modules considerably ease developing, debugging, and testing CAN bus based projects.
This book is written for students, practicing engineers, enthusiasts, and for everyone else wanting to learn more about the CAN bus and its applications. The book assumes that the reader has some knowledge of basic electronics. Knowledge of the C and Python programming languages and programming the Arduino Uno using its IDE and Raspberry Pi will be useful, especially if the reader intends to develop microcontroller-based projects using the CAN bus.
The book should be a useful source of reference material for anyone interested in finding answers to questions such as:
What bus systems are available for the automotive industry?
What are the principles of the CAN bus?
How can I create a physical CAN bus?
What types of frames (or data packets) are available in a CAN bus system?
How can errors be detected in a CAN bus system and how dependable is a CAN bus system?
What types of CAN bus controllers exist?
How do I use the MCP2515 CAN bus controller?
How do I create 2-node Arduino Uno-based CAN bus projects?
How do I create 3-node Arduino Uno-based CAN bus projects?
How do I set the acceptance masks and acceptance filters?
How do I analyze data on the CAN bus?
How do I create 2-node Raspberry Pi-based CAN bus projects?
How do I create 3-node Raspberry Pi-based CAN bus projects?