Muutke küpsiste eelistusi

E-raamat: Internet of Things with Raspberry Pi and Arduino [Taylor & Francis e-raamat]

(Schematics Microelectronics, Dehradun, INDIA), (Lovely Professional University, India), (Lovely Professional University, Jalandhar, India), (Lovely Professional University, India), (Lovely Professional University, Jalandhar, India)
  • Formaat: 190 pages, 8 Tables, black and white; 128 Illustrations, black and white
  • Ilmumisaeg: 15-Nov-2019
  • Kirjastus: CRC Press
  • ISBN-13: 9780429284564
  • Taylor & Francis e-raamat
  • Hind: 124,64 €*
  • * hind, mis tagab piiramatu üheaegsete kasutajate arvuga ligipääsu piiramatuks ajaks
  • Tavahind: 178,05 €
  • Säästad 30%
  • Formaat: 190 pages, 8 Tables, black and white; 128 Illustrations, black and white
  • Ilmumisaeg: 15-Nov-2019
  • Kirjastus: CRC Press
  • ISBN-13: 9780429284564

This book provides a platform to understand Internet of things with Raspberry Pi and the basic knowledge of the programming and interfacing of the devices and designed systems. It broadly covers introduction to Internet of Things and enabling technologies, interfacing with Raspberry Pi and Arduino and interfacing with Raspberry Pi GPIO. Internet of Things with Raspberry pi and Arduino is aimed at senior undergraduate, graduate students and professionals in electrical engineering, computer engineering including robotics.

Preface xi
Acknowledgments xiii
Authors xv
Section I Introduction
1 Introduction to Internet of Things
3(10)
1.1 Characteristics of IoT
3(1)
1.2 Design Principles of IoT
4(1)
1.3 IoT Architecture and Protocols
5(4)
1.3.1 IoT Architecture
5(1)
1.3.2 IoT Protocols
6(15)
1.3.2.1 OSI Model
6(1)
1.3.2.2 Organizational Levels
7(2)
1.4 Enabling Technologies for IoT
9(1)
1.5 IoT Levels
10(1)
1.6 IoT vs M2M
11(2)
2 Sensors
13(6)
2.1 Sensors Classification
13(2)
2.2 Working Principle of Sensors
15(2)
2.3 Criteria to Choose a Sensor
17(1)
2.4 Generation of Sensors
17(2)
3 IoT Design Methodology
19(10)
3.1 Design Methodology
19(1)
3.2 Challenges in IoT Design
20(1)
3.3 IoT System Management
20(1)
3.4 IoT Servers
21(8)
3.4.1 KAA
22(1)
3.4.2 SeeControl IoT
22(1)
3.4.3 Temboo
22(1)
3.4.4 SensorCloud
22(1)
3.4.5 Carriots
22(1)
3.4.6 Xively
22(1)
3.4.7 Etherios
23(1)
3.4.8 thethings.io
23(1)
3.4.9 Ayla's IoT Cloud Fabric
23(1)
3.4.10 Exosite
23(1)
3.4.11 OpenRemote
23(1)
3.4.12 Arrayent Connect TM
23(1)
3.4.13 Arkessa
24(1)
3.4.14 Oracle IoT Cloud
24(1)
3.4.15 ThingWorx
24(1)
3.4.16 Nimbits
24(1)
3.4.17 InfoBright
24(1)
3.4.18 Jasper Control Center
24(1)
3.4.19 AerCloud
24(1)
3.4.20 Echelon
25(1)
3.4.21 ThingSpeak
25(1)
3.4.22 Plotly
25(1)
3.4.23 GroveStreams
25(1)
3.4.24 IBM IoT
25(1)
3.4.25 Microsoft Research Lab of Things
25(1)
3.4.26 Blynk
25(1)
3.4.27 Cayenne APP
26(1)
3.4.28 Virtuino APP
26(3)
Section II Basics of Arduino and Raspberry Pi
4 Basics of Arduino
29(16)
4.1 Introduction to Arduino
29(4)
4.1.1 Arduino Uno
29(1)
4.1.2 Arduino Mega
30(1)
4.1.3 Arduino Nano
31(2)
4.2 Arduino IDE
33(4)
4.2.1 Steps to Install Arduino IDE
33(4)
4.3 Basic Commands for Arduino
37(1)
4.4 LCD Commands
37(1)
4.5 Serial Communication Commands
38(1)
4.6 Play with LED and Arduino
38(2)
4.6.1 Sketch
40(1)
4.7 Play with LCD with Arduino
40(5)
4.7.1 Sketch
43(2)
5 Basics of Raspberry Pi
45(54)
5.1 Introduction to Raspberry Pi
45(3)
5.1.1 Raspberry Pi Components
45(3)
5.2 Installation of NOOBS on SD Card
48(1)
5.3 Installation of Raspbian on SD Card
49(2)
5.4 Terminal Commands
51(1)
5.5 Installation of Libraries on Raspberry Pi
52(1)
5.6 Getting the Static IP Address of Raspberry Pi
52(5)
5.7 Run a Program on Raspberry Pi
57(1)
5.7.1 Editing rc.local
57(1)
5.8 Installing the Remote Desktop Server
58(1)
5.9 Pi Camera
59(1)
5.9.1 Testing of the Camera
59(1)
5.9.2 Raspberry Pi Camera as a USB Video Device
59(1)
5.10 Face Recognition Using Raspberry Pi
60(1)
5.11 Installation of I2C Driver on Raspberry Pi
60(3)
5.12 Serial Peripheral Interface with Raspberry Pi
63(1)
5.13 Programming a Raspberry Pi
63(1)
5.14 Play with LED and Raspberry Pi
64(2)
5.14.1 Recipe for LED Blink
64(2)
5.14.1.1 Recipe for LED Blink Using Function
65(1)
5.15 Reading the Digital Input
66(1)
5.15.1 Recipe
67(1)
5.16 Reading an Edge-Triggered Input
67(3)
5.16.1 Reading Switch in Pull-Down Configuration
67(2)
5.16.1.1 Recipe for Pull-Down Configuration
68(1)
5.16.2 Reading Switch in Pull-Up Configuration
69(1)
5.16.2.1 Recipe for Pull-Up Configuration
70(1)
5.17 Interfacing of Relay with Raspberry Pi
70(2)
5.17.1 Recipe
71(1)
5.18 Interfacing of DC Motor with Raspberry Pi
72(3)
5.18.1 Recipe
73(1)
5.18.2 Recipe to Control One Motor Using Function
74(1)
5.19 Interfacing of LCD with Raspberry Pi
75(4)
5.19.1 Adafruit Library for LCD
76(1)
5.19.2 Recipe with Adafruit Library
76(1)
5.19.3 Recipe without Library
77(2)
5.20 Interfacing LCD with Raspberry Pi in 12C Mode
79(4)
5.20.1 Recipe to Interface LCD in I2C Mode
81(2)
5.21 Interfacing of DHT11 Sensor with Raspberry Pi
83(3)
5.21.1 Recipe to Read DHT11 Sensor
85(1)
5.21.2 Recipe to Read DHT11 Sensor and Display Data on LCD
85(1)
5.22 Interfacing of Ultrasonic Sensor with Raspberry Pi
86(4)
5.22.1 Recipe to Read Ultrasonic Sensor and Display Data on LCD
88(2)
5.23 Interfacing of Camera with Raspberry Pi
90(9)
5.23.1 Configuring the Camera with Raspberry Pi
90(1)
5.23.2 Capturing the Image with Pi Camera
90(3)
5.23.3 Capturing the Video with Pi Camera
93(2)
5.23.4 Motion Detector and Capturing the Image
95(5)
5.23.4.1 Recipe to Capture Image on Motion Detection
96(3)
Section III Interfacing with Raspberry Pi and Arduino
6 Raspberry Pi and Arduino
99(16)
6.1 Install Arduino IDE on Raspberry Pi
99(1)
6.2 Play with Digital Sensor
100(4)
6.2.1 PIR Sensor
100(1)
6.2.2 Circuit Diagram
101(1)
6.2.3 Sketch
102(2)
6.3 Play with Analog Sensor
104(3)
6.3.1 Circuit Diagram
104(1)
6.3.2 Sketch
105(2)
6.4 Play with Actuators
107(8)
6.4.1 DC Motor
107(3)
6.4.1.1 Circuit Diagram
107(2)
6.4.1.2 Sketch
109(1)
6.4.2 Servo Motor
110(6)
6.4.2.1 Circuit Diagram
111(1)
6.4.2.2 Sketch
112(3)
7 Python and Arduino with Pyfirmata
115(14)
7.1 Python with Arduino
115(1)
7.2 Controlling Arduino with Python
116(1)
7.3 Play with LED
116(1)
7.3.1 Recipe
117(1)
7.4 Reading an Arduino Digital Input with Pyfirmata
117(3)
7.4.1 Recipe to Read Pull-Down Arrangement
119(1)
7.4.2 Recipe to Read Pull-Up Arrangement
119(1)
7.5 Reading the Flame Sensor with Pyfirmata
120(1)
7.5.1 Program for Reading Active "Low" Flame Sensor
121(1)
7.6 Reading an Analog Input with Pyfirmata
121(2)
7.6.1 Recipe
122(1)
7.7 Reading the Temperature Sensor with Pyfirmata
123(1)
7.7.1 Recipe
124(1)
7.8 Line-Following Robot with Pyfirmata
124(5)
7.8.1 Recipe
125(4)
8 Python GUI with Tkinter and Arduino
129(16)
8.1 Tkinter for GUI Design
129(1)
8.2 LED Blink
129(4)
8.2.1 Recipe for LED Blinking with Fixed Time Delay
131(1)
8.2.1.1 Tkinter GUI for LED Blinking with Fixed Delay
131(1)
8.2.2 Recipe for LED Blinking with Variable Delay
131(2)
8.2.2.1 Tkinter GUI for LED Blinking with Variable Delay
133(1)
8.3 LED Brightness Control
133(2)
8.3.1 Recipe
133(1)
8.3.2 Tkinter GUI for LED Brightness Control
134(1)
8.4 Selection from Multiple Options
135(2)
8.4.1 Recipe
136(1)
8.4.2 Tkinter GUI
137(1)
8.5 Reading a PIR Sensor
137(3)
8.5.1 Recipe to Read PIR Sensor
137(3)
8.5.2 Tkinter GUI
140(1)
8.6 Reading an Analog Sensor
140(5)
8.6.1 Recipe
141(2)
8.6.2 Tkinter GUI
143(2)
9 Data Acquisition with Python and Tkinter
145(12)
9.1 Basics
145(1)
9.2 CSV File
146(1)
9.3 Storing Arduino Data with CSV File
147(2)
9.3.1 Recipe
148(1)
9.4 Plotting Random Numbers Using Matplotlib
149(1)
9.4.1 Recipe
150(1)
9.5 Plotting Real-Time from Arduino
150(2)
9.5.1 Recipe
151(1)
9.6 Integrating the Plots in the Tkinter Window
152(5)
9.6.1 Recipe
152(5)
Section IV Connecting to the Cloud
10 Smart IoT Systems
157(20)
10.1 DHT11 Data Logger with ThingSpeak Server
157(3)
10.1.1 Installation of DHT11 Library
157(1)
10.1.2 Steps to Create a Channel in ThingSpeak
157(3)
10.1.3 Recipe
160(1)
10.2 Ultrasonic Sensor Data Logger with ThingSpeak Server
160(2)
10.2.1 Recipe
161(1)
10.3 Air Quality Monitoring System and Data Logger with ThingSpeak Server
162(7)
10.3.1 Recipe
166(3)
10.4 Landslide Detection and Disaster Management System
169(4)
10.4.1 Recipe
171(2)
10.5 Smart Motion Detector and Upload Image to gmail.com
173(4)
10.5.1 Configuring Raspberry Pi with Camera and Gmail
174(1)
10.5.2 Recipe
175(2)
11 Blynk Application with Raspberry Pi
177(6)
11.1 Introduction to Blynk
177(1)
11.1.1 Installing Blynk on Raspberry Pi
177(1)
11.2 Creating New Project with Blynk
178(2)
11.3 Home Appliance Control with Blynk App
180(3)
12 Cayenne Application with Raspberry Pi
183(4)
12.1 Introduction to Cayenne
183(1)
12.1.1 Getting Started with Cayenne
183(1)
12.2 LED Blynk with the Cayenne App
183(4)
Bibliography 187(2)
Index 189
Rajesh Singh, Anita Gehlot, Lovi Raj Gupta, Bhupendra Singh, Mahendra Swain