Dieses Buch nimmt Sie mit auf eine spannende Tour durch die Entwicklung von Full-Stack-Webanwendungen mit Raspberry Pi. Sie lernen, wie Sie eine Anwendung von Grund auf erstellen.
Sie erwerben Erfahrung und Wissen über Technologien, darunter:
Das Linux-Betriebssystem und die Befehlszeile.
Die Programmiersprache Python.
Die GPIOs (General Purpose Input Output Pins) des Raspberry Pi.
Der Nginx-Webserver.
Flask Python-Mikroframework für Webanwendungen.
JQuery und CSS zum Erstellen von Benutzeroberflächen.
Umgang mit Zeitzonen.
Erstellen von Diagrammen mit Plotly und Google Charts.
Datenerfassung mit Google Sheet.
Entwickeln von Applets mit IFTTT.
Sichern Sie Ihre Anwendung mit SSL.
Empfangen Sie mit Twilio Textnachrichten auf Ihrem Telefon.
In diesem Buch erfahren Sie außerdem, wie Sie einen drahtlosen Arduino-Sensorknoten aus der Ferne einrichten und Daten von ihm sammeln. Ihre Raspberry Pi-Webanwendung kann Arduino-Knotendaten auf die gleiche Weise verarbeiten, wie sie Daten von ihrem integrierten Sensor verarbeitet.
Raspberry Pi Full Stack vermittelt Ihnen viele Fähigkeiten, die für die Erstellung von Web- und Internet-of-Things-Anwendungen unerlässlich sind.
Die Anwendung, die Sie in diesem Projekt erstellen, ist eine Plattform, die Sie erweitern können. Dies ist nur der Anfang dessen, was Sie mit einem Raspberry Pi und den Software- und Hardwarekomponenten tun können, die Sie lernen werden.
Dieses Buch wird vom Autor durch einen eigenen Diskussionsbereich unterstützt.
From basics to flows for sensors, automation, motors, MQTT, and cloud services
This book is a learning guide and a reference. Use it to learn Node-RED, Raspberry Pi Pico W, and MicroPython, and add these state-of-the-art tools to your technology toolkit. It will introduce you to virtual machines, Docker, and MySQL in support of IoT projects based on Node-RED and the Raspberry Pi Pico W.
This book combines several elements into a platform that powers the development of modern Internet of Things applications. These elements are a flow-based server, a WiFi-enabled microcontroller, a high-level programming language, and a deployment technology. Combining these elements gives you the tools you need to create automation systems at any scale. From home automation to industrial automation, this book will help you get started.
Node-RED is an open-source flow-based development tool that makes it easy to wire together devices, APIs, and online services. Drag and drop nodes to create a flowchart that turns on your lights at sunset or sends you an email when a sensor detects movement. Raspberry Pi Pico W is a version of the Raspberry Pi Pico with added 802.11n Wi-Fi capability. It is an ideal device for physical computing tasks and an excellent match to the Node-RED.
Quick book facts
Project-based learning approach.
Assumes no prior knowledge of flow-based programming tools.
Learn to use essential infrastructure tools in your projects, such as virtual machines, Docker, MySQL and useful web APIs such as Google Sheets and OpenWeatherMap.
Dozens of mini-projects supported by photographs, wiring schematics, and source code. Get these from the book GitHub repository.
Step-by-step instructions on everything.
All experiments are based on the Raspberry Pi Pico W. A Wi-Fi network is required for all projects.
Hardware (including the Raspberry Pi Pico W) is available as a kit.
Downloads
GitHub
This is the second edition of a book aimed at engineers, scientists, and hobbyists who want to interface PCs with hardware projects using graphical user interfaces. Desktop and web-based applications are covered.
The programming language used is Python 3, which is one of the most popular languages around: speed of programming being a key feature. The book has been revised and updated with an emphasis on getting the user to produce practical designs with ease – a text editor is all that is required to produce Python programs.
Hardware interfacing is achieved using an Arduino Uno as a remote slave. A full description and source code of the communication interface is given in the book. The slave provides digital and analog input and outputs. Multiple Unos can be included in one project with all control code written in Python and running on a PC One project involves a PIC microcontroller with the code provided that can be loaded into the PIC using the Uno.
The web applications and server are all implemented in Python, allowing you to access your electronic hardware over the Internet. The Raspberry Pi computer can be used as your web server. An introductory chapter is provided to get you started with using Linux.
The book is written for use with Debian or variations including Mint or Ubuntu. All of the programs in the book are freely available, ready to use and experiment with by way of a download from Elektor.
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.
Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
CaptureCountobjectdetector en -teller op de Raspberry Pi 5
Spanningsreferentie met Arduino Pro Minilineariseer en kalibreer analoge ingangen
FPGA’s voor beginnersvan MCU naar FPGA-programmering
Update: STM32 Wireless Innovation Design Contest 2024
Bluetooth LE met MAUIbesturingsapps voor Android en co.
Port Expander breakout-boardmeer I/O’s op je development board
AI-specialistmachine learning met de Jetson Nano
2024: een AI-odysseeeen eerste verkenning van TensorFlow
262.144 manieren om Game of Life te spelenlezersproject in het kort
Uit het leven gegrepende Chinese draak
Draaien met die (DC-borstel)motor!voorbeeldprojecten uit de Elektor Motor Control Development Bundle
ESP32/RS-232-adapterdraadloze verbinding voor klassieke meetinstrumenten
Alle begin......gaat verder met de opamp
Aanbevolen ESP-bibliotheken
Piëzo-elektrische componentenvreemde onderdelen
Slimme objecttellereenvoudige beeldherkenning met Edge Impulse
Oplossingen voor de lastigste uitdagingen bij embedded ontwikkeling
ESP32 Terminalhandheld met aanraakscherm
Aan de slag met Zephyr RTOSkrachtig – maar lastig...
Bekroonde ethiekeen vraaggesprek met Alexander Gerfer, CTO van Würth Elektronik eiSos, over het faciliteren van innovatie en bewust gedrag
Project 2.0correcties, updates en brieven van lezers
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.
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.
programmation PIO sur le Raspberry Pi PicoNeuf instructions, de multiples possibilités
l'IA en ligne de commandeDéveloppement, compilation et validation de projets embarqués depuis le terminal
le Scrutiny DebuggerDéboguer, visualiser et tester du code C/C++ embarqué
carte breakout Sigfox (1)Développement d’une BoB radio
alimentation à faible bruit (2)Construction, assemblage et mise en œuvre pratique
générateur de signaux simple basé sur le RP2040Signaux analogiques et numériques
à la découverte du futur de la domotique avec Matter et l’IA EdgeLes dernières versions de Matter et l’essor de l’IA en périphérie de réseau (edge) donnent-ils enfin aux ingénieurs les outils nécessaires pour construire les maisons intelligentes et parfaitement intégrées promises aux utilisateurs ?
capteurs de pression différentielleLa maintenance prédictive appliquée aux systèmes CVC
la sécurité dès la conceptionPrincipes d’ingénierie pour limiter les défaillances
la sécurité des systèmes embarqués n’est plus une option
la CRA et la PQC redéfinissent les priorités de la sécurité embarquéePourquoi même les petites entreprises IoT et industrielles doivent prévoir une mise à niveau
embedded world 2026Entretien avec Benedikt Weyerer, directeur d’embedded world
prise en main du bus I3CUtilisation de matériel de ST et Microchip
le projet BLEnkyPrototypage rapide d’applications Bluetooth Low Energy
modulation de largeur d’impulsionDu thermostat tout ou rien à un signal analogique continu filtré
audiotroniqueDes circuits audio agréables à l’écoute, à réaliser soi-même
sur le vifLisez donc le manuel !
carte émetteur-récepteur audio ESP32 (4)Réglage des horloges et une option filaire
2026 : une odyssée de l’IAConséquences du vibe coding
charge CC symétriqueCharge CC symétrique, statique ou dynamique
comptage de visages avec MaixCAMUne méthode simple pour estimer la taille d’un public
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.
OpenScan Mini ist ein kompakter Open-Source-3D-Scanner, der für die hochpräzise Erfassung kleiner Objekte entwickelt wurde. Mithilfe von Photogrammetrie nimmt das Gerät automatisch Bilder aus verschiedenen Winkeln auf, um daraus detaillierte 3D-Modelle zu erstellen. Es eignet sich hervorragend für 3D-Druck, Reverse Engineering, Prototyping und die digitale Archivierung.
Ausgestattet mit einer 16-MP-Autofokus-Kamera, integrierter LED-Beleuchtung und Kreuzpolarisations-Technologie liefert der OpenScan Mini detailreiche Aufnahmen bei gleichzeitiger Minimierung von Reflexionen. Das auf einem Raspberry Pi basierende System ermöglicht eine komfortable Bedienung über einen Webbrowser.
Mit einem Scanvolumen von 9 × 9 × 9 cm und einer unter optimalen Bedingungen erreichbaren Genauigkeit von bis zu 0,02 mm ist das Gerät ideal für die Digitalisierung kleiner mechanischer Bauteile, Miniaturen und komplexer Objekte geeignet.
Features
Hochpräzises Scannen: Genauigkeit von bis zu 0,02 mm unter geeigneten Bedingungen
16-MP-Autofokus-Kamera: Detaillierte Bildaufnahme
Kreuzpolarisation: Reduzierte Reflexionen für bessere Ergebnisse
Kompaktes Design: Scanvolumen von 9 × 9 × 9 cm
Steuerung via Raspberry Pi: Einfache Bedienung über eine Weboberfläche
Open-Source-Hardware: Modular, anpassbar und erweiterbar
Flexible Verarbeitung: Kompatibel mit OpenScan Cloud und lokaler Photogrammetrie-Software
Hinweis: Der OpenScan Mini wird als Bausatz geliefert. Für den Zusammenbau sind lediglich grundlegende technische Kenntnisse erforderlich – Programmier- oder Löterfahrung sind nicht notwendig. Benötigt werden ein kleiner Schraubendreher sowie ein Inbusschlüssel für M3-Schrauben.
Lieferumfang
OpenScan Benchy
Vorgelötetes und getestetes Pi-Shield V1 sowie LED-Ringlicht
3D-gedrucktes Kreuzpolarisationsmodul für OpenScan Mini
Arducam IMX519 16-MP-Kamera mit 15 cm und 50 cm langen Kabeln
NEMA-17-Schrittmotor (13 Ncm) mit 1 m langem Kabel
NEMA-17-Schrittmotor (40 Ncm) mit 1 m langem Kabel
2× A4988-Schrittmotortreiber
12 V/2,5 A Netzteil mit EU-Stecker
Kleinteile (M2-Nylonschrauben, M3-Metallschrauben, Muttern und Bolzen)
Raspberry Pi 4 B (2 GB) mit 64-GB-microSD-Karte und vorinstallierter Firmware (Plug-and-Play)
3D-gedruckte Bauteile aus Azure Blue Prusament PLA
Downloads
User Manual & Firmware
Printable Files
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
CaptureCountAn Object Detector and Counter on the Raspberry Pi 5
Voltage Reference With Arduino Pro MiniLinearize and Calibrate Your Analog Inputs
FPGAs for BeginnersThe Path From MCU to FPGA Programming
Update: STM32 Wireless Innovation Design Contest 2024
Bluetooth LE With MAUIControl Apps for Android & Co.
Port-Expanding Breakout BoardIncrease the Number of I/Os on Your Dev Board
AI SpecialistMachine Learning with the Jetson Nano
2024: An AI OdysseyFirst Forays Into TensorFlow
262,144 Ways to Play The Game of LifeA Reader’s Project in Brief
From Life’s ExperienceThe Chinese Dragon
Get Your (Brushed DC) Motor Running!Sample Projects from the Elektor Motor Control Development Bundle
ESP32-RS-232 AdapterA Wireless Link for Classic Test Equipment
Starting Out in Electronics……More About Opamps
ESP Library Recommendations
Piezoelectric DevicesPeculiar Parts, the Series
A Smart Object CounterImage Recognition Made Easy with Edge Impulse
Resolve Your Trickiest Embedded Development Challenges
ESP32 TerminalA Handheld Device with a Touch-Capable Display
Getting Started With the Zephyr RTOSAs Powerful as It Is Hard to Master
Award-Winning EthicsA Dialog with CTO Alexander Gerfer of Würth Elektronik eiSos on Enabling Innovation and Mindful Behavior
Err-lectronicsCorrections, Updates, and Readers’ Letters
Infographics: Embedded and AI
Square Wave Generation BenchmarksExploring ESP32, Pico, and Other Microcontrollers
Der Raspberry Pi Bumper ist eine aufsteckbare Silikonabdeckung, die die Unterseite und die Kanten des Raspberry Pi 5 schützt.
Features
Einteiliger flexibler Bumper aus Silikonkautschuk
Ermöglicht einfachen Zugriff auf den Power-Button
Montagelöcher bleiben unter dem Bumper zugänglich
Downloads
Datasheet
Vom Messwert zur stabilen Entscheidung
Wie wird aus einem einfachen Mikrocontroller ein intelligentes System, das Sensorwerte erfasst, verarbeitet und sinnvoll darauf reagiert? Dieses Buch zeigt es Ihnen Schritt für Schritt – verständlich, praxisnah und ohne unnötige Vorkenntnisse.
Sie beginnen mit den Grundlagen der digitalen und analogen Ein- und Ausgänge. Anschließend lernen Sie, wie Sensorwerte gelesen, geglättet und zuverlässig bewertet werden. Anschauliche Beispiele erklären, warum einzelne Messwerte oft täuschen können und wie Mittelwertbildung, Hysterese und einfache Entscheidungsregeln für stabile Ergebnisse sorgen. Nach und nach erweitern Sie Ihre Projekte um Displays, I²C-Kommunikation und mehrere vernetzte Mikrocontroller. So entstehen verteilte Systeme, in denen Raspberry Pi Pico und ATtiny-Controller Daten austauschen und gemeinsam Aufgaben übernehmen.
Im fortgeschrittenen Teil erhalten Sie einen leicht verständlichen Einstieg in Merkmalsbildung, Datenvorverarbeitung, hybride Entscheidungsmodelle und TinyML-nahe Anwendungen. Dabei verbinden Sie klassische Regelungstechnik mit modernen datenbasierten Methoden.
Alle Projekte werden von ausführlich kommentierten Programmen in C und MicroPython begleitet. Das Buch richtet sich an Einsteiger, Maker, Studierende und alle, die Embedded-Systeme von Grund auf verstehen möchten.
Am Ende können Sie eigene Systeme entwickeln, die nicht nur messen, sondern Informationen auswerten, zuverlässige Entscheidungen treffen und gezielt reagieren.
Der vollständige Download dieser Nummer ist für unsere GOLD- und GREEN-Mitglieder auf der Elektor Magazine- Site verfügbar!
Nicht noch einmal Mitglied? Klicken Sie hier .
Anzahl der Erfassungen Objektdetektor und -computer basierend auf Raspberry Pi 5
Spannungsreferenz mit Arduino Pro Mini Linearisierung und Kalibrierung der analogen Eingänge
FPGA für Anfänger Der Weg von der MCU- zur FPGA-Programmierung
Aktuelle Meldung: STM32 Wireless Innovation Design Contest 2024
Bluetooth LE mit MAUI Steuerungs-Apps für Android & Co.
Porterweiterungskarte Erhöhen Sie den E/S-Namen Ihrer Entwicklungskarte
Spezialkarte IA Automatisches Lernen mit dem Jetson Nano
2024: Die Odyssee der I.A. erste Tests mit TensorFlow
262 144 Spielfiguren im Jeu de la Vie ein kurzes Leseprojekt
auf der Lebe das Drachensoufflé auf meinem Teller
lassen Sie Ihren CC-Motor durchdrehen Beispielprojekte aus dem Elektor Motor Control Development Bundle
ESP32-RS-232-Adapter Eine drahtlose Verbindung für klassische Testgeräte
elektronisch starten …mehr über die ampli-op
Von ESP empfohlene Bibliotheken
piezoelektrische Bauteile
intelligenter Objektrechner Vereinfachte Bilderkennung mit Edge Impulse
Lösungen für Ihre schwierigsten Entwicklungsprobleme bei Systemen
Anschluss ESP32 ein tragbares Gerät mit Touchscreen
Beginnen Sie mit dem RTOS Zephyr ebenso stark, wie schwer zu beherrschen
Preisgekrönte Ethik Dialog mit Alexander Gerfer, Technischer Leiter bei Würth Elektronik eiSos zur Förderung respektvollen und innovativen Verhaltens
Projekt 2.0 Korrekturen, Aktualisierungen und Leserbriefe