Getting started for internet of things with Launch Pad and ESP8266 / Rajesh Singh, [and 4 others].
2019
TK5105.8857 .S56 2019
Formats
Format | |
---|---|
BibTeX | |
MARCXML | |
TextMARC | |
MARC | |
DublinCore | |
EndNote | |
NLM | |
RefWorks | |
RIS |
Linked e-resources
Details
Title
Getting started for internet of things with Launch Pad and ESP8266 / Rajesh Singh, [and 4 others].
Author
ISBN
9788770220675 (electronic bk)
8770220670 (electronic bk)
9781003338284 (electronic bk.)
1003338283 (electronic bk.)
9781000791358 (electronic bk. : EPUB)
1000791351 (electronic bk. : EPUB)
9781000794472 (electronic bk. : PDF)
1000794474 (electronic bk. : PDF)
9788770220682
8770220689
8770220670 (electronic bk)
9781003338284 (electronic bk.)
1003338283 (electronic bk.)
9781000791358 (electronic bk. : EPUB)
1000791351 (electronic bk. : EPUB)
9781000794472 (electronic bk. : PDF)
1000794474 (electronic bk. : PDF)
9788770220682
8770220689
Published
Gistrup, Denmark : River Publishers, [2019]
Language
English
Description
1 online resource (xxiii, 324 pages.).
Other Standard Identifiers
10.1201/9781003338284 doi
Call Number
TK5105.8857 .S56 2019
System Control No.
(OCoLC)1109387519
Summary
Getting Started for Internet of Things with Launch Pad and ESP8266 provides a platform to get started with the Ti launch pad and IoT modules for Internet of Things applications. The book provides the basic knowledge of Ti launch Pad and ESP8266 based customized modules with their interfacing, along with the programming. The book discusses the application of Internet of Things in different areas. Several examples for rapid prototyping are included, this to make the readers understand the concept of IoT. The book comprises of twenty-seven chapters, which are divided into four sections and which focus on the design of various independent prototypes. Section-A gives a brief introduction to Ti launch pad (MSP430) and Internet of Things platforms like GPRS, NodeMCU and NuttyFi (ESP8266 customized board), and it shows steps to program these boards. Examples on how to interface these boards with display units, analog sensors, digital sensors and actuators are also included, this to make reader comfortable with the platforms. Section-B discusses the communication modes to relay the data like serial out, PWM and I2C. Section-C explores the IoT data loggers and shows certain steps to design and interact with the servers. Section-D includes few IoT based case studies in various fields. This book is based on the practical experience of the authors while undergoing projects with students and partners from various industries.
Bibliography, etc. Note
Includes bibliographical references and index.
Formatted Contents Note
Preface xiii
List of Figures xv
List of Tables xxi
List of Abbreviations xxiii Section A: Introduction 1 Introduction to Ti Launch Pad 3
1.1 MSP430
3 1.2 Meet Energia
Integrated Development Environment 4
1.2.1 Steps to Write Program with Energia IDE 4
2 Introduction to IoT Platforms 9
2.1 GPRS 9
2.2 NodeMCU 11
2.3 NuttyFi 12
2.4 Get Started with NodeMCU/NuttyFi 14
2.5 Steps to Write Program with Arduino IDE 14
3 Play with LED 21
3.1 Introduction 21
3.2 Circuit Diagram 22
3.3 Program Code 23
4 Play with LCD 25
4.1 Introduction 25
4.2 Circuit Diagram 26
4.3 Program Code 27
5 Play with Seven-segment Display 29
5.1 Introduction 29
5.2 Circuit Diagram 30
5.3 Program Code 31
6 Play with Analog Sensor 33
6.1 POT 33
6.1.1 Circuit Diagram 34
6.1.2 Program Code 35
6.2 LM35
35
6.2.1 Circuit Diagram 36
6.2.2 Program Code 37
6.3 LDR 37
6.3.1 Circuit Diagram 38
6.3.2 Program Code 39
6.4 Flex Sensor 40
6.4.1 Circuit Diagram 41
6.4.2 Program Code 41
6.5 Gas Sensor 42
6.5.1 Circuit Diagram 43
6.5.2 Program Code 44
7 Play with Digital Sensors 45
7.1 Switch 45
7.1.1 Circuit Diagram 46
7.1.2 Program Code 47
7.2 PIR Motion Sensor 49
7.2.1 Circuit Diagram 50
7.2.2 Program Code 50
7.3 Fire Sensor 52
7.3.1 Circuit Diagram 52
7.3.2 Program Code 53
7.4 Touch Sensor 55
7.4.1 Circuit Diagram 55
7.4.2 Program Code 56
7.5 Rain Sensor 57
7.5.1 Circuit Diagram 58
7.5.2 Program Code 59
7.6 Vibration Sensor 60
7.6.1 Circuit Diagram 61
7.6.2 Program Code 62
8 Interfacing of Multiple Device with Ti Launch Pad 65
8.1 Interfacing of Digital Sensor, Display, and Indicator 65
8.1.1 Circuit Diagram 66
8.1.2 Program Code 67
8.2 Interfacing of Analog Sensor, Display, and Indicator 68
8.2.1 Circuit Diagram 69
8.2.2 Program Code 70
9 Interfacing of Multiple Device with NodeMCU 73
9.1 Interfacing of Digital Sensor, LCD, and Indicator 73.
9.1.1 Circuit Diagram 74
9.1.2 Program Code 75
9.2 Interfacing of Analog Sensor, LCD, and Indicator 76
9.2.1 Circuit Diagram 77
9.2.2 Program Code 78
10 Actuators 81
10.1 Interfacing of DC Motor and LCD with Ti Launch Pad 81
10.1.1 Circuit Diagram 82
10.1.2 Program Code 83
10.2 Interfacing of DC Motor and LCD with NodeMCU 84
10.2.1 Circuit Diagram 85
10.2.2 Program Code 87
10.3 Interfacing of Relay with Ti Launch Pad 88
10.3.1 Circuit Diagram 89
10.3.2 Program Code 90
10.4 Interfacing of Relay with NodeMCU 91
10.4.1 Circuit Diagram 92
10.4.2 Program Code 93 Section B: Communication Protocol 11 Serial Communication between Ti Launch Pad and NodeMCU 97
11.1 Introduction 97
11.2 Circuit Diagram 98
11.3 Program Code 100
12 Interfacing of Devices in Different Modes 103
12.1 Ultrasonic Sensor 103
12.1.1 Ultrasonic Sensor
PWM Out 103
12.1.1.1 Circuit diagram 104
12.1.1.2 Program code 105
12.1.2 Ultrasonic Sensor
Serial Out 106
12.1.2.1 Circuit diagram 107
12.1.2.2 Program code 108
12.2 Temperature and Humidity Sensor
Serial Out 110
12.2.1 Circuit Diagram 111
12.2.2 Program Code 112
12.3 DHT11
114
12.3.1 Circuit Diagram 114
12.3.2 Program Code 116
12.4 DS1820
117
12.4.1 Circuit Diagram 118
12.4.2 Program Code 119
12.5 pH Sensor 119
12.5.1 Circuit Diagram 120
12.5.2 Program Code 121
12.6 Flow Sensor 122
12.6.1 Circuit Diagram 124
12.6.2 Program Code 125
12.7 DS1307
125
12.7.1 Circuit Diagram 127
12.7.2 Program Code 128
12.8 EEPROM 129
12.8.1 Circuit Diagram 130
12.8.2 Program Code 131
12.9 SD Card 132
12.9.1 Circuit Diagram 133
12.9.2 Program Code 134
13 Interfacing of 433 MHz RF Transmitter and Receiver 137
13.1 Introduction 137
13.2 Circuit Diagram 139
13.2.1 Transmitter Section 139
13.2.2 Receiver Section 140
13.3 Program Code 141
14 Interfacing of XBee Modem and Analog Sensor 143.
14.1 Introduction 143
14.2 Steps to Configure XBee 144
14.3 System Description 150
14.4 Circuit Diagram 152
14.4.1 Transmitter Section 152
14.4.2 Receiver Section 153
14.5 Program Code 154
15 Interfacing of XBee and Multiple Sensors 157
15.1 Introduction 157
15.2 Circuit Diagram 159
15.2.1 Transmitter Section 159
15.2.2 Receiver Section 159
15.3 Program Code 161
16 Interfacing of Bluetooth Modem 165
16.1 Introduction 165
16.2 Steps to Operate Bluetooth Modem in Command Mode 165
16.3 System Description 166
16.4 Circuit Diagram 167
16.5 Program Code 168
16.6 Bluetooth Terminal Application 169 Section C: IoT Data Logger 17 Recipe for Data Logger with Blynk App 173
17.1 Introduction 173
17.2 Circuit Diagram 174
17.3 Blynk Server 176
17.4 Program Code 177
18 Recipe for Data Logger with Cayenne App 183
18.1 Introduction 183
18.2 Circuit Diagram 184
18.3 Cayenne App 186
18.4 Program Code 187
19 Recipe for Data Logger with ThingSpeak Server 193
19.1 Introduction 193
19.2 Circuit Diagram 194
19.3 ThingSpeak Server 195
19.4 Program Code 197
20 Recipe for Data Logger with Virtuino App 199
20.1 Introduction 199
20.2 Circuit Diagram 200
20.3 Virtuino App 202
20.4 Program Code 202
21 Recipe for Data Logger with Firebase Server 207
21.1 Introduction 207
21.2 Circuit Diagram 208
21.3 Firebase Server 209
21.4 Program Code 210
22 Recipe of Data Acquisition using Local Web Server 215
22.1 Introduction 215
22.2 Circuit Diagram 216
22.3 Program Code 217
22.4 Local Web Server 221 Section D: Case Studies 23 Case Study on Internet of Thing-based Water Management 225
23.1 Water Management System and Data Acquisition 226
23.2 Circuit Diagram 227
23.3 Program Code 228
23.4 IoT Server 233
24 Case Study on Internet of Things-based Fire and Safety System 235
24.1 Forest Fire Monitoring 235
24.1.1 Circuit Diagram 238
24.1.1.1 Circuit diagram for black zone 238.
24.1.1.2 Circuit diagram for local server with NodeMCU 239
24.1.1.3 Circuit Diagram for Local Server with GPRS 240
24.1.2 Program Code 241
24.1.3 Thing Speak Server 253
24.2 Fire Detector and Emergency Hooter System in Building 254
24.2.1 Circuit Diagram 255
24.2.2 Program Code 257
24.2.3 Blynk App 259
25 Case Study on Internet of Thing-based Agriculture Field Monitoring 261
25.1 Green House Monitoring System 261
25.1.1 Circuit Diagram 264
25.1.1.1 Circuit diagram for the sensor node 264
25.1.1.2 Circuit diagram for local server 265
25.1.2 Program Code 266
25.1.3 Main Server 274
25.2 Water Tank Monitoring and Control in Agriculture Field 274
25.2.1 Circuit Diagram 276
25.2.2 Program Code 277
25.2.3 Blynk App 282
26 Case Study on Internet of Things in Smart Home 285
26.1 Electrical Appliances Control System 285
26.1.1 Circuit Diagram 286
26.1.2 Program Code 287
26.1.3 Blynk App 293
26.2 Electrical Appliances Dimming Control System 293
26.2.1 Circuit Diagram 294
26.2.2 Program Code 295
26.2.3 Blynk App 300
27 Case Study on Internet of Thing in Healthcare 303
27.1 Heart Rate Monitoring System 303
27.1.1 Circuit Diagram 304
27.1.2 Program Code 305
27.1.3 Blynk App 307
27.2 ECG Monitoring System 308
27.2.1 Circuit Diagram 309
27.2.2 Program Code 310
27.2.3 Blynk App 312
27.3 Blood Pressure Monitoring System 312
27.3.1 Circuit Diagram 313
27.3.2 Program Code 314
27.3.3 Blynk App 316
Bibliography 317
Index 319
About the Authors 321.
List of Figures xv
List of Tables xxi
List of Abbreviations xxiii Section A: Introduction 1 Introduction to Ti Launch Pad 3
1.1 MSP430
3 1.2 Meet Energia
Integrated Development Environment 4
1.2.1 Steps to Write Program with Energia IDE 4
2 Introduction to IoT Platforms 9
2.1 GPRS 9
2.2 NodeMCU 11
2.3 NuttyFi 12
2.4 Get Started with NodeMCU/NuttyFi 14
2.5 Steps to Write Program with Arduino IDE 14
3 Play with LED 21
3.1 Introduction 21
3.2 Circuit Diagram 22
3.3 Program Code 23
4 Play with LCD 25
4.1 Introduction 25
4.2 Circuit Diagram 26
4.3 Program Code 27
5 Play with Seven-segment Display 29
5.1 Introduction 29
5.2 Circuit Diagram 30
5.3 Program Code 31
6 Play with Analog Sensor 33
6.1 POT 33
6.1.1 Circuit Diagram 34
6.1.2 Program Code 35
6.2 LM35
35
6.2.1 Circuit Diagram 36
6.2.2 Program Code 37
6.3 LDR 37
6.3.1 Circuit Diagram 38
6.3.2 Program Code 39
6.4 Flex Sensor 40
6.4.1 Circuit Diagram 41
6.4.2 Program Code 41
6.5 Gas Sensor 42
6.5.1 Circuit Diagram 43
6.5.2 Program Code 44
7 Play with Digital Sensors 45
7.1 Switch 45
7.1.1 Circuit Diagram 46
7.1.2 Program Code 47
7.2 PIR Motion Sensor 49
7.2.1 Circuit Diagram 50
7.2.2 Program Code 50
7.3 Fire Sensor 52
7.3.1 Circuit Diagram 52
7.3.2 Program Code 53
7.4 Touch Sensor 55
7.4.1 Circuit Diagram 55
7.4.2 Program Code 56
7.5 Rain Sensor 57
7.5.1 Circuit Diagram 58
7.5.2 Program Code 59
7.6 Vibration Sensor 60
7.6.1 Circuit Diagram 61
7.6.2 Program Code 62
8 Interfacing of Multiple Device with Ti Launch Pad 65
8.1 Interfacing of Digital Sensor, Display, and Indicator 65
8.1.1 Circuit Diagram 66
8.1.2 Program Code 67
8.2 Interfacing of Analog Sensor, Display, and Indicator 68
8.2.1 Circuit Diagram 69
8.2.2 Program Code 70
9 Interfacing of Multiple Device with NodeMCU 73
9.1 Interfacing of Digital Sensor, LCD, and Indicator 73.
9.1.1 Circuit Diagram 74
9.1.2 Program Code 75
9.2 Interfacing of Analog Sensor, LCD, and Indicator 76
9.2.1 Circuit Diagram 77
9.2.2 Program Code 78
10 Actuators 81
10.1 Interfacing of DC Motor and LCD with Ti Launch Pad 81
10.1.1 Circuit Diagram 82
10.1.2 Program Code 83
10.2 Interfacing of DC Motor and LCD with NodeMCU 84
10.2.1 Circuit Diagram 85
10.2.2 Program Code 87
10.3 Interfacing of Relay with Ti Launch Pad 88
10.3.1 Circuit Diagram 89
10.3.2 Program Code 90
10.4 Interfacing of Relay with NodeMCU 91
10.4.1 Circuit Diagram 92
10.4.2 Program Code 93 Section B: Communication Protocol 11 Serial Communication between Ti Launch Pad and NodeMCU 97
11.1 Introduction 97
11.2 Circuit Diagram 98
11.3 Program Code 100
12 Interfacing of Devices in Different Modes 103
12.1 Ultrasonic Sensor 103
12.1.1 Ultrasonic Sensor
PWM Out 103
12.1.1.1 Circuit diagram 104
12.1.1.2 Program code 105
12.1.2 Ultrasonic Sensor
Serial Out 106
12.1.2.1 Circuit diagram 107
12.1.2.2 Program code 108
12.2 Temperature and Humidity Sensor
Serial Out 110
12.2.1 Circuit Diagram 111
12.2.2 Program Code 112
12.3 DHT11
114
12.3.1 Circuit Diagram 114
12.3.2 Program Code 116
12.4 DS1820
117
12.4.1 Circuit Diagram 118
12.4.2 Program Code 119
12.5 pH Sensor 119
12.5.1 Circuit Diagram 120
12.5.2 Program Code 121
12.6 Flow Sensor 122
12.6.1 Circuit Diagram 124
12.6.2 Program Code 125
12.7 DS1307
125
12.7.1 Circuit Diagram 127
12.7.2 Program Code 128
12.8 EEPROM 129
12.8.1 Circuit Diagram 130
12.8.2 Program Code 131
12.9 SD Card 132
12.9.1 Circuit Diagram 133
12.9.2 Program Code 134
13 Interfacing of 433 MHz RF Transmitter and Receiver 137
13.1 Introduction 137
13.2 Circuit Diagram 139
13.2.1 Transmitter Section 139
13.2.2 Receiver Section 140
13.3 Program Code 141
14 Interfacing of XBee Modem and Analog Sensor 143.
14.1 Introduction 143
14.2 Steps to Configure XBee 144
14.3 System Description 150
14.4 Circuit Diagram 152
14.4.1 Transmitter Section 152
14.4.2 Receiver Section 153
14.5 Program Code 154
15 Interfacing of XBee and Multiple Sensors 157
15.1 Introduction 157
15.2 Circuit Diagram 159
15.2.1 Transmitter Section 159
15.2.2 Receiver Section 159
15.3 Program Code 161
16 Interfacing of Bluetooth Modem 165
16.1 Introduction 165
16.2 Steps to Operate Bluetooth Modem in Command Mode 165
16.3 System Description 166
16.4 Circuit Diagram 167
16.5 Program Code 168
16.6 Bluetooth Terminal Application 169 Section C: IoT Data Logger 17 Recipe for Data Logger with Blynk App 173
17.1 Introduction 173
17.2 Circuit Diagram 174
17.3 Blynk Server 176
17.4 Program Code 177
18 Recipe for Data Logger with Cayenne App 183
18.1 Introduction 183
18.2 Circuit Diagram 184
18.3 Cayenne App 186
18.4 Program Code 187
19 Recipe for Data Logger with ThingSpeak Server 193
19.1 Introduction 193
19.2 Circuit Diagram 194
19.3 ThingSpeak Server 195
19.4 Program Code 197
20 Recipe for Data Logger with Virtuino App 199
20.1 Introduction 199
20.2 Circuit Diagram 200
20.3 Virtuino App 202
20.4 Program Code 202
21 Recipe for Data Logger with Firebase Server 207
21.1 Introduction 207
21.2 Circuit Diagram 208
21.3 Firebase Server 209
21.4 Program Code 210
22 Recipe of Data Acquisition using Local Web Server 215
22.1 Introduction 215
22.2 Circuit Diagram 216
22.3 Program Code 217
22.4 Local Web Server 221 Section D: Case Studies 23 Case Study on Internet of Thing-based Water Management 225
23.1 Water Management System and Data Acquisition 226
23.2 Circuit Diagram 227
23.3 Program Code 228
23.4 IoT Server 233
24 Case Study on Internet of Things-based Fire and Safety System 235
24.1 Forest Fire Monitoring 235
24.1.1 Circuit Diagram 238
24.1.1.1 Circuit diagram for black zone 238.
24.1.1.2 Circuit diagram for local server with NodeMCU 239
24.1.1.3 Circuit Diagram for Local Server with GPRS 240
24.1.2 Program Code 241
24.1.3 Thing Speak Server 253
24.2 Fire Detector and Emergency Hooter System in Building 254
24.2.1 Circuit Diagram 255
24.2.2 Program Code 257
24.2.3 Blynk App 259
25 Case Study on Internet of Thing-based Agriculture Field Monitoring 261
25.1 Green House Monitoring System 261
25.1.1 Circuit Diagram 264
25.1.1.1 Circuit diagram for the sensor node 264
25.1.1.2 Circuit diagram for local server 265
25.1.2 Program Code 266
25.1.3 Main Server 274
25.2 Water Tank Monitoring and Control in Agriculture Field 274
25.2.1 Circuit Diagram 276
25.2.2 Program Code 277
25.2.3 Blynk App 282
26 Case Study on Internet of Things in Smart Home 285
26.1 Electrical Appliances Control System 285
26.1.1 Circuit Diagram 286
26.1.2 Program Code 287
26.1.3 Blynk App 293
26.2 Electrical Appliances Dimming Control System 293
26.2.1 Circuit Diagram 294
26.2.2 Program Code 295
26.2.3 Blynk App 300
27 Case Study on Internet of Thing in Healthcare 303
27.1 Heart Rate Monitoring System 303
27.1.1 Circuit Diagram 304
27.1.2 Program Code 305
27.1.3 Blynk App 307
27.2 ECG Monitoring System 308
27.2.1 Circuit Diagram 309
27.2.2 Program Code 310
27.2.3 Blynk App 312
27.3 Blood Pressure Monitoring System 312
27.3.1 Circuit Diagram 313
27.3.2 Program Code 314
27.3.3 Blynk App 316
Bibliography 317
Index 319
About the Authors 321.
Historical Data
Rajesh Singh, Anita Gehlot, Lovi Raj Gupta, Bhupendra Singh, Priyanka Tyagi
Source of Description
Description based on print version record
Added Corporate Author
Series
River Publishers series in information science and technology.
Available in Other Form
Print version:
Linked Resources
Record Appears in