A Fast-Lane Ride From Concept to Project
The core of the book explains the use of the Raspberry Pi Zero 2 W running the Python programming language, always in simple terms and backed by many tested and working example projects. On part of the reader, familiarity with the Python programming language and some experience with one of the Raspberry Pi computers will prove helpful. Although previous electronics experience is not required, some knowledge of basic electronics is beneficial, especially when venturing out to modify the projects for your own applications.
Over 30 tested and working hardware-based projects are given in the book, covering the use of Wi-Fi, communication with smartphones and with a Raspberry Pi Pico W computer. Additionally, there are Bluetooth projects including elementary communication with smartphones and with the popular Arduino Uno. Both Wi-Fi and Bluetooth are key features of the Raspberry Pi Zero 2 W.
Some of the topics covered in the book are:
Raspberry Pi OS installation on an SD card
Python program creation and execution on the Raspberry Pi Zero 2 W
Software-only examples of Python running on the Raspberry Pi Zero 2 W
Hardware-based projects including LCD and Sense HAT interfacing
UDP and TCP Wi-Fi based projects for smartphone communication
UDP-based project for Raspberry Pi Pico W communication
Flask-based webserver project
Cloud storage of captured temperature, humidity, and pressure data
TFT projects
Node-RED projects
Interfacing to Alexa
MQTT projects
Bluetooth-based projects for smartphone and Arduino Uno communications
Der Raspberry Pi Zero W erweitert die Raspberry Pi Zero-Familie. Der Raspberry Pi Zero W hat alle Funktionen des ursprünglichen Raspberry Pi Zero, kommt aber mit zusätzlichen Anschlussmöglichkeiten bestehend aus:
802.11 b/g/n wireless LAN
Bluetooth 4.1
Bluetooth Low Energy (BLE)
Weitere Features
1 GHz, Single-Core-CPU
512 MB RAM
Mini HDMI und USB On-The-Go Anschlüsse
Micro-USB power
HAT-compatible 40-pin header
Composite-Video- und Reset-Anschlüsse
CSI-Kamera-Anschluss
Downloads
Mechanical Drawing
Schematics
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.
Der Raspberry Pi Pico 2 W ist ein Mikrocontroller-Board auf Basis des RP2350 mit 2,4 GHz 802.11n Wireless LAN und Bluetooth 5.2. Es gibt Ihnen noch mehr Flexibilität bei Ihren IoT- oder Smart-Produktdesigns und erweitert die Möglichkeiten für Ihre Projekte.
Der RP2350 bietet eine umfassende Sicherheitsarchitektur rund um Arm TrustZone für Cortex-M. Es umfasst signiertes Booten, 8 KB Antifuse-OTP für die Schlüsselspeicherung, SHA-256-Beschleunigung, einen Hardware-TRNG und schnelle Glitch-Detektoren.
Die einzigartige Dual-Core- und Dual-Architektur-Fähigkeit des RP2350 ermöglicht Benutzern die Wahl zwischen einem Paar ARM Cortex-M33-Kernen nach Industriestandard und einem Paar Hazard3 RISC-V-Kernen mit offener Hardware. Der Raspberry Pi Pico 2 W ist in C/C++ und Python programmierbar und wird durch eine ausführliche Dokumentation unterstützt. Er ist das ideale Mikrocontroller-Board sowohl für Enthusiasten als auch für professionelle Entwickler.
Technische Daten
CPU
Dual Arm Cortex-M33 oder Dual RISC-V Hazard3 Prozessoren bei 150 MHz
Wireless
On-Board Infineon CYW43439 Single-Band 2,4 GHz 802.11n Wireless Lan und Bluetooth 5.2
Speicher
520 KB On-Chip-SRAM; 4 MB integrierter QSPI-Flash
Schnittstellen
26 Mehrzweck-GPIO-Pins, darunter 4, die für AD verwendet werden können
Peripherie
2x UART
2x SPI-Controller
2x I²C-Controller
24x PWM-Kanäle
1x USB 1.1-Controller und PHY, mit Host- und Geräteunterstützung
12x PIO-Zustandsmaschinen
Eingangsspannung
1,8-5,5 V DC
Abmessungen
21 x 51 mm
Downloads
Datasheet
Pinout
Schematic
Der Koffer besteht aus zwei Teilen. Es verfügt über eine Standardbasis mit einer Aussparung für den Zugriff auf den GPIO und eine Auswahl von drei Deckeln: einen einfachen Deckel, einen GPIO-Deckel (der den Zugriff auf den GPIO von oben ermöglicht) und einen Kameradeckel (der bei Verwendung geöffnet wird). Mit dem mitgelieferten kurzen Kamerakabel kann die Raspberry Pi-Kamera oder Camera Noir sauber darin untergebracht werden.
Inbegriffen
1x Basis
3x Deckel (einfach, GPIO, Kamera)
1x kurzes Kamerakabel
4x Gummifüße
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.
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
The Raspberry Pi is a $35 credit-card sized computer with many applications, such as in desktop computing, audio and video playback, and as a controller in many industrial, commercial and domestic applications.
This book is about the Raspberry Pi computer and its use in control applications. The book explains in simple terms, with examples, how to configure the RPi, how to install and use the Linux operating system, how to write programs using the Python programming language and how to develop hardware based projects.
The book starts with an introduction to the Raspberry Pi computer and covers the topics of purchasing all the necessary equipment and installing/using the Linux operating system in command mode. Use of the user-friendly graphical desktop operating environment is explained using example applications. The RPi network interface is explained in simple steps and demonstrates how the computer can be accessed remotely from a desktop or a laptop computer.
The remaining parts of the book cover the Python programming language, hardware development tools, hardware interface details, and RPi based hardware projects. All the 23 projects given in the book have been tested and are working.
The following headings are given for each project:
Project title
Project description
Project block diagram
Project circuit diagram
Project program description using the Program Description Language (PDL)
Complete program listing
Description of the program
The book is ideal for self-study, and is intended for electronic/electrical engineering students, practising engineers, research students, and hobbyists.
Der Raspberry Pi wurde ursprünglich für die Forschung und Lehre entwickelt. Der kleine Bastler-PC hat jedoch bewiesen, dass er auch in der Industrie vielseitig einsetzbar ist. Aufgrund der zahlreichen Anwendungen des Raspberry Pi in privaten Hobbykellern und Hochschullabors ist er etlichen angehenden Ingenieuren bereits bekannt, daher ist es nicht verwunderlich, dass er schon in unterschiedlichsten industriellen Betrieben zum Einsatz kommt. Im Gegensatz zu vielen anderen PCs, die in der Industrie verwendet werden, bringt der Raspberry Pi einige Vorteile mit sich. Er ist nicht nur kostengünstig, sondern auch einfach in der Anwendung. Dies zeigt sich besonders anhand der benutzerfreundlichen Standard-Software Raspbian, welche sich sehr einfach und ohne viel Zeitaufwand installieren lässt. Besonders einzigartig ist jedoch die große Support-Community, die über soziale Netzwerke für Hilfe bei der Anwendung und Problemlösungen bereitsteht. Mitbegründer des Raspberry Pi, Eben Upton, sieht Chancen für den Raspberry Pi, in der Industrie Fuß zu fassen und so die industrielle Steuerung erheblich zu erleichtern. Dieses Buch bietet eine anschauliche Übersicht über die Möglichkeiten der industriellen Anwendung des Raspberry Pi. Von Sensoren, Blockchain-Technologie, Industrie-Controller über Automatisierung und KI, werden zahlreiche Anwendungsmöglichkeiten für den Raspberry Pi anschaulich erklärt. Außerdem werden unterschiedlichste Tools zur erweiterten Nutzung des Raspberry Pi sowie die verschiedenen Betriebssysteme vorgestellt. Die Möglichkeiten und Grenzen für den Raspberry Pi in der Industrie und konkrete Anwendungsbeispiele liefern ein realistisches Gesamtbild.
This book is about advanced programming of the Raspberry Pi computer using the Python programming language. The book explains in simple terms and with examples:
How to configure the Raspberry Pi computer;
How to install and use the Linux operating system and the desktop;
How to write advanced programs using the Python programming language;
How to use graphics in our programs;
How to develop hardware based projects using the Raspberry Pi.
The book starts with an introduction to the Raspberry Pi computer and covers the topics of purchasing all the necessary accessories and installing and operating the Linux operating system in command mode. The network interface of the RPi is explained in simple steps, demonstrating how the computer can be accessed remotely from a desktop or a laptop computer.
The remaining parts of the book cover the Python programming language in detail, including advanced topics such as operating system calls, multitasking, interprocess synchronization and interprocess communication techniques. The important topic of network programming using UDP and TCP protocols is described with working examples. The Tkinter graphical user interface module (GUI) is described in detail with example widgets and programs.
The last part of the book includes hardware projects based on using the advanced programming topics such as multitasking and interprocess communication techniques. All the projects given in the book have been fully tested and are working. Complete program listings of all projects are provided with detailed explanations.
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.
Dieses Buch richtet sich an jeden, der seinen Raspberry Pi mit dem Windows 10 IoT Core betreiben will. Wie das geht, zeigt der Autor mit dem Entwicklungssystem Visual Studio und Visual Basic als Programmiersprache.
Inzwischen gibt es eine große Auswahl an kleinen Sensor-Modulen, die problemlos an den Raspberry Pi angeschlossen werden können – auch wenn sie mitunter für andere Systeme beworben werden, wie etwa für den Arduino. Nicht ohne Grund: Einplatinencomputer sind ohne zusätzliche Peripherie für Elektroniker ziemlich nutzlos. Sie stellen zwar die Rechenleistung und ein Betriebssystem bereit, können aber so gut wie gar nicht mit ihrer Umgebung kommunizieren. Damit ein Computer auch Einfluss auf seine Umwelt nehmen kann, sind Sensoren und Aktoren erforderlich, die von einer Software gesteuert werden, die man selber erstellen kann.
Als Einstieg in die Materie wird in diesem Buch auf das auch bei Elektor erhältliche 37 Module umfassende Sensor-Kit zurückgegriffen. In diesem populären Set sind die Sensoren auf einer kleinen Platine montiert und mit Steckverbindern ausgestattet, was den Anschluss via Breadboard oder Drahtbrücken vereinfacht. Mit den auch für Einsteiger einfach anzuwendenden Sensor-Modulen lassen sich schnell erste Erfolge erzielen, ohne dass man groß in die Materie der Elektronik einsteigen muss.
Die Funktionsweise und Beschaltung der einzelnen Sensoren wird ausführlich erklärt und ihre Verwendung durch die gut dokumentierten Visual Basic-Beispielprogramme leicht nachvollziehbar gemacht.