Learn programming for Alexa devices, extend it to smart home devices and control the Raspberry Pi
The book is split into two parts: the first part covers creating Alexa skills and the second part, designing Internet of Things and Smart Home devices using a Raspberry Pi.
The first chapters describe the process of Alexa communication, opening an Amazon account and creating a skill for free. The operation of an Alexa skill and terminology such as utterances, intents, slots, and conversations are explained. Debugging your code, saving user data between sessions, S3 data storage and Dynamo DB database are discussed.
In-skill purchasing, enabling users to buy items for your skill as well as certification and publication is outlined. Creating skills using AWS Lambda and ASK CLI is covered, along with the Visual Studio code editor and local debugging. Also covered is the process of designing skills for visual displays and interactive touch designs using Alexa Presentation Language.
The second half of the book starts by creating a Raspberry Pi IoT 'thing' to control a robot from your Alexa device. This covers security issues and methods of sending and receiving MQTT messages between an Alexa device and the Raspberry Pi.
Creating a smart home device is described including forming a security profile, linking with Amazon, and writing a Lambda function that gets triggered by an Alexa skill. Device discovery and on/off control is demonstrated.
Next, readers discover how to control a smart home Raspberry Pi display from an Alexa skill using Simple Queue Service (SQS) messaging to switch the display on and off or change the color.
A node-RED design is discussed from the basic user interface right up to configuring MQTT nodes. MQTT messages sent from a user are displayed on a Raspberry Pi.
A chapter discusses sending a proactive notification such as a weather alert from a Raspberry Pi to an Alexa device. The book concludes by explaining how to create Raspberry Pi as a stand-alone Alexa device.
Die MotoPi-Platine ist eine Erweiterungsplatine zur Ansteuerung und Verwendung von bis zu 16 PWM-gesteuerten 5-V-Servomotoren.
Der eigene Taktgeber auf dem MotoPi sorgt für ein sehr genaues PWM-Signal und somit auch für eine genaue Positionierung.
Die Platine verfügt über 2 Eingänge für eine Spannung von 4,8-6 V, über die zusammen bis zu 11 A eingespeist werden können, so dass eine optimale Versorgung der Motoren stets gewährleistet ist und somit auch größere Projekte mit ausreichend Strom beliefert werden können.
Die Versorgung läuft zentral über den MotoPi, der für jeden Motor separat einen Anschluss für Spannung, Masse und die Steuerleitung zur Verfügung stellt.
Durch den eingebauten Kondensator wird der Strom zusätzlich gepuffert. Hierdurch wird das Einbrechen der Spannung bei kurzzeitiger Mehrbelastung abgemildert, die sonst zum Ruckeln führen könnte. Zusätzlich hat man noch die Möglichkeit, einen weiteren Kondensator anzuschließen.
Der integrierte Analog-Digital-Wandler bietet neue Möglichkeiten wie z. B. die Steuerung über einen Joystick.
Die Ansteuerung und Programmierung der Motoren kann (wie gewohnt) weiterhin bequem über den Raspberry Pi bedient werden. Anleitung und Codebeispiele erlauben auch Einsteigern, schnell Ergebnisse zu erzielen.
Besonderheiten
16 Kanäle, eigener Taktgeber für Servomotoren (PWM), inkl. Analog-Digital-Wandler
Eingang 1
Hohlstecker 5,5 / 2,1 mm, 4,8-6 V, 5 A max.
Eingang 2
Schraubklemme, 4,8-6 V, 6 A max.
Kompatibel mit
Raspberry Pi A+, B+, 2B, 3B
Maße (BxHxT)
65 x 24 x 56 mm
Lieferumfang
Platine, Bedienungsanleitung, Befestigungsmaterial, Retail-Verpackung
Learn programming for Alexa devices, extend it to smart home devices and control the Raspberry Pi
The book is split into two parts: the first part covers creating Alexa skills and the second part, designing Internet of Things and Smart Home devices using a Raspberry Pi.
The first chapters describe the process of Alexa communication, opening an Amazon account and creating a skill for free. The operation of an Alexa skill and terminology such as utterances, intents, slots, and conversations are explained. Debugging your code, saving user data between sessions, S3 data storage and Dynamo DB database are discussed.
In-skill purchasing, enabling users to buy items for your skill as well as certification and publication is outlined. Creating skills using AWS Lambda and ASK CLI is covered, along with the Visual Studio code editor and local debugging. Also covered is the process of designing skills for visual displays and interactive touch designs using Alexa Presentation Language.
The second half of the book starts by creating a Raspberry Pi IoT 'thing' to control a robot from your Alexa device. This covers security issues and methods of sending and receiving MQTT messages between an Alexa device and the Raspberry Pi.
Creating a smart home device is described including forming a security profile, linking with Amazon, and writing a Lambda function that gets triggered by an Alexa skill. Device discovery and on/off control is demonstrated.
Next, readers discover how to control a smart home Raspberry Pi display from an Alexa skill using Simple Queue Service (SQS) messaging to switch the display on and off or change the color.
A node-RED design is discussed from the basic user interface right up to configuring MQTT nodes. MQTT messages sent from a user are displayed on a Raspberry Pi.
A chapter discusses sending a proactive notification such as a weather alert from a Raspberry Pi to an Alexa device. The book concludes by explaining how to create Raspberry Pi as a stand-alone Alexa device.
Secure, Modular, Open-Source and Self-Sufficient
Ever since the Raspberry Pi was introduced, it has been used by enthusiasts to automate their homes. The Raspberry Pi is a powerful computer in a small package, with lots of interfacing options to control various devices. This book shows you how you can automate your home with a Raspberry Pi. You’ll learn how to use various wireless protocols for home automation, such as Bluetooth, 433.92 MHz radio waves, Z-Wave, and Zigbee. Soon you’ll automate your home with Python, Node-RED, and Home Assistant, and you’ll even be able to speak to your home automation system. All this is done securely, with a modular system, completely open-source, without relying on third-party services. You’re in control of your home, and no one else.
At the end of this book, you can install and configure your Raspberry Pi as a highly flexible home automation gateway for protocols of your choice, and link various services with MQTT to make it your own system. This DIY (do it yourself) approach is a bit more laborious than just installing an off-the-shelf home automation system, but in the process, you can learn a lot, and in the end, you know exactly what’s running your house and how to tweak it. This is why you were interested in the Raspberry Pi in the first place, right?
Turn your Raspberry Pi into a reliable gateway for various home automation protocols.
Make your home automation setup reproducible with Docker Compose.
Secure all your network communication with TLS.
Create a video surveillance system for your home.
Automate your home with Python, Node-RED, Home Assistant and AppDaemon.
Securely access your home automation dashboard from remote locations.
Use fully offline voice commands in your own language.
Downloads
Errata on GitHub
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
Bauen Sie robuste, intelligente Maschinen, die die Rechenleistung des Raspberry Pi mit LEGO-Komponenten kombinieren.
Der Raspberry Pi Build HAT bietet vier Anschlüsse für LEGO Technic Motoren und Sensoren aus dem SPIKE Portfolio. Zu den verfügbaren Sensoren gehören ein Abstandssensor, ein Farbsensor und ein vielseitiger Kraftsensor. Die Winkelmotoren sind in verschiedenen Größen erhältlich und verfügen über integrierte Encoder, die ihre Position abfragen können.
Der Build HAT passt auf alle Raspberry Pi-Computer mit einem 40-Pin-GPIO-Header, einschließlich – mit der Hinzufügung eines Flachbandkabels oder eines anderen Erweiterungsgeräts – Raspberry Pi 400. Angeschlossene LEGO Technic-Geräte können neben Standard-Raspberry-Pi-Zubehör problemlos in Python gesteuert werden wie zum Beispiel ein Kameramodul.
Merkmale
Steuert bis zu 4 Motoren und Sensoren
Versorgt den Raspberry Pi mit Strom (bei Verwendung mit einem geeigneten externen Netzteil)
Einfache Verwendung von Python auf dem Raspberry Pi
Der Raspberry Pi PoE+ Injektor erweitert einen einzelnen Port eines Nicht-PoE-Ethernet-Switches um Power-over-Ethernet (PoE)-Funktionalität und überträgt Strom und Daten über ein einziges Ethernet-Kabel. Er bietet eine kostengünstige Plug-and-Play-Lösung für die schrittweise Einführung von PoE in bestehende Ethernet-Netzwerke.
Der PoE+ Injektor ist ein 30-W-Gerät mit einem Port und eignet sich zur Stromversorgung von Geräten gemäß den Standards IEEE 802.3af und 802.3at, einschließlich aller Generationen von Raspberry Pi PoE HATs. Er unterstützt Netzwerk-Passthrough-Geschwindigkeiten von 10/100/1000 Mbit/s.
Hinweis: Für den Betrieb ist ein separates IEC-Netzkabel erforderlich (nicht im Lieferumfang enthalten).
Technische Daten
Datenrate
10/100/1000 Mbit/s
Eingangsspannung
100 bis 240 V AC
Ausgangsleistung
30 W
Leistungsabgabe an den Pins
4/5 (+), 7/8 (–)
Nennausgangsspannung
55 V DC
Datenanschlüsse
Geschirmte RJ-45-, EIA 568A- und 568B
Stromanschluss
IEC C13-Netzeingang (nicht im Lieferumfang enthalten)
Luftfeuchtigkeit bei Lagerung
Maximal 95%, nicht kondensierend
Betriebshöhe
–300 m bis 3000 m
Betriebsumgebungstemperatur
10°C bis +50°C
Abmessungen
159 x 51,8 x 33,5 mm
Downloads
Datasheet
Program, build, and master over 60 projects with Python
The Raspberry Pi 5 is the latest single-board computer from the Raspberry Pi Foundation. It can be used in many applications, such as in audio and video media centers, as a desktop computer, in industrial controllers, robotics, and in many domestic and commercial applications. In addition to the well-established features found in other Raspberry Pi computers, the Raspberry Pi 5 offers Wi-Fi and Bluetooth (classic and BLE), which makes it a perfect match for IoT as well as in remote and Internet-based control and monitoring applications. It is now possible to develop many real-time projects such as audio digital signal processing, real-time digital filtering, real-time digital control and monitoring, and many other real-time operations using this tiny powerhouse.
The book starts with an introduction to the Raspberry Pi 5 computer and covers the important topics of accessing the computer locally and remotely. Use of the console language commands as well as accessing and using the desktop GUI are described with working examples. The remaining parts of the book cover many Raspberry Pi 5-based hardware projects using components and devices such as
LEDs and buzzers
LCDs
Ultrasonic sensors
Temperature and atmospheric pressure sensors
The Sense HAT
Camera modules
Example projects are given using Wi-Fi and Bluetooth modules to send and receive data from smartphones and PCs, and sending real-time temperature and atmospheric pressure data to the cloud.
All projects given in the book have been fully tested for correct operation. Only basic programming and electronics experience are required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full Python program listings are given for all projects described.
This book is about DC electric motors and their use in Arduino and Raspberry Pi Zero W based projects. The book includes many tested and working projects where each project has the following sub-headings:
Title of the project
Description of the project
Block diagram
Circuit diagram
Project assembly
Complete program listing of the project
Full description of the program
The projects in the book cover the standard DC motors, stepper motors, servo motors, and mobile robots. The book is aimed at students, hobbyists, and anyone else interested in developing microcontroller based projects using the Arduino Uno or the Raspberry Pi Zero W.
One of the nice features of this book is that it gives complete projects for remote control of a mobile robot from a mobile phone, using the Arduino Uno as well as the Raspberry Pi Zero W development boards. These projects are developed using Wi-Fi as well as the Bluetooth connectivity with the mobile phone. Readers should be able to move a robot forward, reverse, turn left, or turn right by sending simple commands from a mobile phone. Full program listings of all the projects as well as the detailed program descriptions are given in the book. Users should be able to use the projects as they are presented, or modify them to suit to their own needs.
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
Dieser Lüfter wurde für Übertakter und andere Power-User entwickelt und hält Ihren Raspberry Pi 4 auch unter starker Last auf einer angenehmen Betriebstemperatur. Der temperaturgesteuerte Lüfter liefert einen Luftstrom von bis zu 1,4 CFM über den Prozessor, den Speicher und den Energieverwaltungs-IC. Der mitgelieferte Kühlkörper (18 x 8 x 10 mm) mit selbstklebendem Pad verbessert die Wärmeübertragung vom Prozessor.
Der Raspberry Pi 4 Gehäuselüfter funktioniert mit Raspberry Pi 4 und dem offiziellen Raspberry Pi 4 Gehäuse.
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