Atnaujinkite slapukų nuostatas

El. knyga: Advanced Home Automation Using Raspberry Pi: Building Custom Hardware, Voice Assistants, and Wireless Nodes

  • Formatas: EPUB+DRM
  • Išleidimo metai: 07-Oct-2021
  • Leidėjas: APress
  • Kalba: eng
  • ISBN-13: 9781484272749
Kitos knygos pagal šią temą:
  • Formatas: EPUB+DRM
  • Išleidimo metai: 07-Oct-2021
  • Leidėjas: APress
  • Kalba: eng
  • ISBN-13: 9781484272749
Kitos knygos pagal šią temą:

DRM apribojimai

  • Kopijuoti:

    neleidžiama

  • Spausdinti:

    neleidžiama

  • El. knygos naudojimas:

    Skaitmeninių teisių valdymas (DRM)
    Leidykla pateikė šią knygą šifruota forma, o tai reiškia, kad norint ją atrakinti ir perskaityti reikia įdiegti nemokamą programinę įrangą. Norint skaityti šią el. knygą, turite susikurti Adobe ID . Daugiau informacijos  čia. El. knygą galima atsisiųsti į 6 įrenginius (vienas vartotojas su tuo pačiu Adobe ID).

    Reikalinga programinė įranga
    Norint skaityti šią el. knygą mobiliajame įrenginyje (telefone ar planšetiniame kompiuteryje), turite įdiegti šią nemokamą programėlę: PocketBook Reader (iOS / Android)

    Norint skaityti šią el. knygą asmeniniame arba „Mac“ kompiuteryje, Jums reikalinga  Adobe Digital Editions “ (tai nemokama programa, specialiai sukurta el. knygoms. Tai nėra tas pats, kas „Adobe Reader“, kurią tikriausiai jau turite savo kompiuteryje.)

    Negalite skaityti šios el. knygos naudodami „Amazon Kindle“.

Build a versatile home automation system from scratch. There are many ways of controlling home appliances with your smartphones, voice, gestures, etc. This book dives into the many options for for communicating with appliances wirelessly and we’ll discuss and implement the leading protocols in the field.

In first few chapters, you will develop a basic understanding of the Raspberry Pi and how one can control it wirelessly from anywhere in the world. Then you’ll get to know about the local server for your home automation projects and control the Raspberry Pi GPIOs using smartphone and web apps. Every appliance will be able to talk to each other, as well, with the help of mesh networking, which you’ll learn to implement. The user interface is also an important aspect of handling all the appliances, so you’ll create your own user dashboard using OpenHAB. From there, you can monitor all the appliances and sensor data in one environment. 

Next, implement your own custom voice assistant to control your appliances and perform basic tasks like playing music, checking weather, etc. You’ll also integrate a smart door bell into your system using image processing so that you can restrict an unknown person’s entry. Finally, we’ll combine all the knowledge that we have learned to make a fully versatile home automation project controlled using voice, gestures, and image processing. Throughout this whole project, Raspberry Pi will be your master server or node and other devices will be connected wirelessly using wi-fi/Bluetooth modules. Create a smart home with fully custom interfaces to do exactly what you need!

What You'll Learn
  • Create a user interface using openHAB
  • Implement the MQTT protocol
  • Install Alexa and Google Home API to control appliances wirelessly

Who This Book Is For

Enthusiasts with a working knowledge of the Raspberry Pi, electronic engineering, and Python programming. This book will also interest hobbyists and students from Computer Science or related disciplines.
About the Author xi
About the Technical Reviewer xiii
Acknowledgments xv
Introduction xvii
Chapter 1 Introduction to Raspberry Pi
1(22)
Raspberry Pi
2(7)
Inside the Raspberry Pi Board
3(1)
Hardware Requirements
4(1)
Software Requirements
5(4)
First Time Boot
9(6)
Using raspi-config
11(4)
Headless Setup for the Pi
15(6)
Accessing the Remote Desktop
17(4)
Summary
21(2)
Chapter 2 Controlling Raspberry Pi GPIO
23(28)
Raspberry Pi GPIO
24(7)
Raspberry Pi Pin Numbering
24(3)
GPIO Programming
27(4)
Python Program: Blinking an LED
31(5)
PWM: LED Dimming
36(1)
GPIO Input: Button
37(3)
Using Interrupts
40(2)
Analog Input
42(5)
Automating Scripts and Tasks
47(1)
Summary
48(3)
Chapter 3 Getting Started with Web Automation
51(26)
Web-Based Home Automation
52(4)
Hardware Requirements
52(2)
Software Requirements
54(2)
Creating a Simple Web Server
56(2)
Creating a Home Automation Web Server
58(12)
Understanding IoT Protocols
65(5)
Installing Mosquitto MQTT Broker
70(6)
Testing Mosquitto Broker
70(2)
Controlling GPIOs Using MQTT
72(4)
Summary
76(1)
Chapter 4 Mesh Networking Using ESP and RPi
77(48)
What Is Mesh Networking?
78(2)
How Does a Mesh Network Work?
79(1)
Types of Mesh Networks
79(1)
Mesh Networking Using ESP Modules
80(20)
About ESP Dev Modules
81(19)
MQTT Communication Between ESP and Raspberry Pi
100(2)
Coding and Testing
102(16)
Cloud-Based MQTT Setup
110(2)
Blynk: An IoT Platform
112(6)
Coding and Testing
118(4)
Summary
122(3)
Chapter 5 Designing Smart Controller Circuits
125(38)
Component Selection
126(2)
Designing the Printed Circuit Board (PCB)
128(7)
Schematic Design
129(2)
Layout Design
131(4)
Enclosure Design
135(1)
Relay Module
136(4)
Power Supply
140(11)
5V SMPS Circuit Design
144(4)
WiFi-Enabled Smart Switch/Plug
148(3)
AC Fan and Bulb Dimmer Circuit
151(4)
Zero-Crossing Detection Method
152(3)
All-in-One Smart Switch
155(5)
Energy Monitoring Circuit
156(2)
Electric/Capacitive Switch Connections
158(1)
Sensor Connections
159(1)
Summary
160(3)
Chapter 6 Getting Started with Home Assistant
163(48)
Home Automation Platforms
164(2)
Installing Home Assistant
166(13)
Setting Up Home Assistant
169(3)
Installing Add-Ons
172(4)
Configuration.yaml
176(3)
Controlling Raspberry Pi GPIO Using Home Assistant
179(2)
Creating Automation in Home Assistant
181(4)
Controlling a Smart Switchboard Using Home Assistant
185(12)
ESPHome
186(11)
ESP32-CAM Integration with Home Assistant
197(8)
ESPHome and ESP32-CAM
198(2)
Arduino IDE and ESP32-CAM
200(3)
Editing the Dashboard
203(2)
Home Assistant and MQTT Device Interfacing
205(4)
Summary
209(2)
Chapter 7 Getting Started with Voice Assistant
211(56)
What Is a Voice Assistant?
212(2)
How Does a Voice Assistant Work?
213(1)
Controlling the Raspberry Pi Using an Amazon Echo Speaker
214(11)
Controlling a Smart Switchboard Using an Amazon Echo Speaker
223(2)
Raspberry Pi Google Assistant and Alexa
225(5)
AlexaPi Setup and Installation
226(4)
Amazon Alexa and Home Assistant Integration
230(3)
Creating Custom Assistants with Platypush
233(10)
Troubleshooting the Audio
237(1)
Voice Automation
238(2)
Controlling the Assistant Programmatically
240(3)
Installing Offline Voice Assistants
243(22)
Setting Up and Installing the Almond Add-on
244(4)
Jasper: A Custom Offline Voice Assistant
248(17)
Summary
265(2)
Chapter 8 Getting Started with OpenCV
267(30)
Computer Vision
268(1)
OpenCV
269(10)
Installing OpenCV
270(3)
OpenCV Basics
273(6)
Door Locking Using Face Recognition
279(11)
Gathering Data
280(3)
Training the Recognizer
283(2)
Using Face Recognition
285(5)
Using Gesture Recognition Sensors
290(3)
Summary
293(1)
Conclusion
294(3)
Index 297
Rishabh Jain has had strong success in national level robotics and innovations-based competitions with his team. He has a keen interest in technology that emerged in childhood when he would customize and experiment with his toys and electronic devices. He believes in learning by doing. He is an avid contributor on technical sites dedicated to learning hardware, from beginner to pro and has contributed 50+ projects, which include a stepwise writeup and project demonstration videos. Recently, he joined an India-based product design company as an Electronics and Embedded design engineer.