Professional Documents
Culture Documents
PDF Internet of Things With Raspberry Pi and Arduino First Edition Edition Rajesh Singh Ebook Full Chapter
PDF Internet of Things With Raspberry Pi and Arduino First Edition Edition Rajesh Singh Ebook Full Chapter
PDF Internet of Things With Raspberry Pi and Arduino First Edition Edition Rajesh Singh Ebook Full Chapter
https://textbookfull.com/product/internet-of-things-with-
raspberry-pi-and-arduino-1st-edition-rajesh-singh-author/
https://textbookfull.com/product/action-movement-light-and-sound-
with-arduino-and-raspberry-pi-first-edition-monk/
https://textbookfull.com/product/sensor-projects-with-raspberry-
pi-internet-of-things-and-digital-image-processing-1st-edition-
guillermo-guillen/
https://textbookfull.com/product/raspberry-pi-home-automation-
with-arduino-2nd-edition-andrew-k-dennis/
Practical Internet of Things with JavaScript Build
standalone exciting IoT projects with Raspberry Pi 3
and JavaScript 1st Edition Arvind Ravulavaru
https://textbookfull.com/product/practical-internet-of-things-
with-javascript-build-standalone-exciting-iot-projects-with-
raspberry-pi-3-and-javascript-1st-edition-arvind-ravulavaru/
https://textbookfull.com/product/hacking-electronics-learning-
electronics-with-arduino-and-raspberry-pi-2nd-edition-simon-monk/
https://textbookfull.com/product/beginning-robotics-with-
raspberry-pi-and-arduino-using-python-and-opencv-jeff-cicolani/
https://textbookfull.com/product/electronics-cookbook-practical-
electronic-recipes-with-arduino-raspberry-pi-1st-edition-simon-
monk/
https://textbookfull.com/product/internet-of-things-from-scratch-
build-iot-solutions-for-industry-4-0-with-esp32-raspberry-pi-and-
aws-1st-edition-renaldi-gondosubroto/
INTERNET OF THINGS WITH
RASPBERRY PI AND
ARDUINO
Rajesh Singh, Anita Gehlot, Lovi Raj Gupta,
Bhupendra Singh, and Mahendra Swain
Internet of Things with
Raspberry Pi and Arduino
Internet of Things with
Raspberry Pi and Arduino
Rajesh Singh
Professor, School of Electronics & Electrical Engineering
Lovely Professional University, India
Anita Gehlot
Associate Professor, School of Electronics & Electrical Engineering
Lovely Professional University, India
Lovi Raj Gupta
Executive Dean
Lovely Professional University, India
Bhupendra Singh
Managing Director
Schematics Microelectronics, India
Mahendra Swain
Assistant Professor
MIET, Jammu, India
CRC Press
Taylor & Francis Group
6000 Broken Sound Parkway NW, Suite 300
Boca Raton, FL 33487-2742
This book contains information obtained from authentic and highly regarded sources. Reasonable efforts
have been made to publish reliable data and information, but the author and publisher cannot assume
responsibility for the validity of all materials or the consequences of their use. The authors and publishers
have attempted to trace the copyright holders of all material reproduced in this publication and apologize
to copyright holders if permission to publish in this form has not been obtained. If any copyright material
has not been acknowledged please write and let us know so we may rectify in any future reprint.
Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, transmitted,
or utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented,
including photocopying, microfilming, and recording, or in any information storage or retrieval system,
without written permission from the publishers.
For permission to photocopy or use material electronically from this work, please access www.copyright.
com (http://www.copyright.com/) or contact the Copyright Clearance Center, Inc. (CCC), 222 Rosewood
Drive, Danvers, MA 01923, 978-750-8400. CCC is a not-for-profit organization that provides licenses and
registration for a variety of users. For organizations that have been granted a photocopy license by the
CCC, a separate system of payment has been arranged.
Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and are
used only for identification and explanation without intent to infringe.
Preface.......................................................................................................................xi
Acknowledgments............................................................................................... xiii
Authors....................................................................................................................xv
Section I Introduction
2. Sensors............................................................................................................. 13
2.1 Sensors Classification............................................................................ 13
2.2 Working Principle of Sensors............................................................... 15
2.3 Criteria to Choose a Sensor.................................................................. 17
2.4 Generation of Sensors........................................................................... 17
v
vi Contents
3.4.11 OpenRemote............................................................................. 23
3.4.12 Arrayent Connect TM.............................................................. 23
3.4.13 Arkessa...................................................................................... 24
3.4.14 Oracle IoT Cloud...................................................................... 24
3.4.15 ThingWorx................................................................................ 24
3.4.16 Nimbits...................................................................................... 24
3.4.17 InfoBright.................................................................................. 24
3.4.18 Jasper Control Center.............................................................. 24
3.4.19 AerCloud................................................................................... 24
3.4.20 Echelon...................................................................................... 25
3.4.21 ThingSpeak............................................................................... 25
3.4.22 Plotly.......................................................................................... 25
3.4.23 GroveStreams........................................................................... 25
3.4.24 IBM IoT...................................................................................... 25
3.4.25 Microsoft Research Lab of Things......................................... 25
3.4.26 Blynk.......................................................................................... 25
3.4.27 Cayenne APP............................................................................ 26
3.4.28 Virtuino APP............................................................................ 26
4. Basics of Arduino.......................................................................................... 29
4.1 Introduction to Arduino....................................................................... 29
4.1.1 Arduino Uno............................................................................. 29
4.1.2 Arduino Mega..........................................................................30
4.1.3 Arduino Nano.......................................................................... 31
4.2 Arduino IDE........................................................................................... 33
4.2.1 Steps to Install Arduino IDE.................................................. 33
4.3 Basic Commands for Arduino............................................................. 37
4.4 LCD Commands.................................................................................... 37
4.5 Serial Communication Commands..................................................... 38
4.6 Play with LED and Arduino................................................................ 38
4.6.1 Sketch......................................................................................... 40
4.7 Play with LCD with Arduino............................................................... 40
4.7.1 Sketch.........................................................................................43
Bibliography......................................................................................................... 187
Index...................................................................................................................... 189
Preface
xi
Acknowledgments
xiii
Authors
xv
xvi Authors
She has been awarded with the Certificate of Appreciation from the
University of Petroleum and Energy Studies for exemplary work. She has been
honored with the Certificate of Appreciation from Rashtryapati Bhawan for
a mentoring project through the Gandhian Young Technological Innovation
Award 2018. She has published 15 books in the areas of embedded systems and
Internet of Things with reputed publishers like CRC/Taylor & Francis Group,
Bentham Science, Narosa, GBS, IRP, NIPA, River Publisher, and RI Publications.
She is an editor to a special issue published by the AISC book series at Springer
with the title Intelligent Communication, Control and Devices, 2018.
Introduction
1
Introduction to Internet of Things
3
4 Internet of Things with Raspberry Pi and Arduino
Application
RES TAPI, JSON-IPSO objects, Binary objects
layer
Transport
layer CoAP, MQTT, XMPP, AMQP, LLAP, DDS, SOAP, UDP, TCP, DTLS
Physical
layer Devices, objects, things
FIGURE 1.1
OSI model for IoT protocols.
Introduction to Internet of Things 7
Non… Enfin, mettons que j’aie écouté aux portes. J’ai entendu
que l’article 17 était rétabli…
Lui
Malédiction !
L’Homme de paille
Lui
L’Homme de paille
Lui
Pages
Une variété d’auteur 5
Un numéro bien agréable 9
Le Maître 14
Le Criminel 18
Le Secrétaire Général 22
Édouard Audoir, rédacteur à l’“Espoir” 26
Le régisseur et les doubles 33
L’accessoiriste 37
Brec 41
Le prix de Diane en matinée 44
Loisirs 48
Le feu sacré 52
Les Attributs du pouvoir 55
Le texte de Mme de Juxanges 56
Amateurs de théâtre 63
L’entente cordiale 67
Le chef d’orchestre 72
L’ami de la maison 78
Madame la couturière 83
Le tapissier 88
Le jeune directeur 93
La mère de la petite Gazul 97
Le peintre de mœurs 101
L’Administrateur 104
La concierge du théâtre 108
Une variété de commanditaire 113
Chabarre 116
Mme Cordelet 120
Un contre vingt 123
Souvenirs 127
Est-ce bien un succès ? 130
Le spectateur de la “Générale” 138
Conseils aux jeunes auteurs 142
“Le Gendre”, tragédie-sketch 159
(9994-7-23). — PARIS. — IMP. HEMMERLÉ, PETIT & Cie.
Rue de Damiette, 2, 4 et 4 bis.
*** END OF THE PROJECT GUTENBERG EBOOK LA FAUNE DES
PLATEAUX ***
Updated editions will replace the previous one—the old editions will
be renamed.
1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside the
United States, check the laws of your country in addition to the terms
of this agreement before downloading, copying, displaying,
performing, distributing or creating derivative works based on this
work or any other Project Gutenberg™ work. The Foundation makes
no representations concerning the copyright status of any work in
any country other than the United States.
• You pay a royalty fee of 20% of the gross profits you derive from
the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”
• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.
1.F.
1.F.4. Except for the limited right of replacement or refund set forth in
paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.
Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.
Most people start at our website which has the main PG search
facility: www.gutenberg.org.