0% found this document useful (0 votes)
16 views51 pages

Arduino-Based Embedded Systems: Interfacing, Simulation, and LabVIEW GUI 1st Edition Rajesh Singh - The ebook in PDF format is available for download

The document provides information about various ebooks available for download at textbookfull.com, including titles related to Arduino-based embedded systems, LabVIEW, and nanobiotechnology. It lists specific books, their authors, and links for instant downloads in multiple formats. Additionally, it includes details about the content and structure of the book 'Arduino-Based Embedded Systems: Interfacing, Simulation, and LabVIEW GUI' by Rajesh Singh and others.

Uploaded by

fomassogo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
16 views51 pages

Arduino-Based Embedded Systems: Interfacing, Simulation, and LabVIEW GUI 1st Edition Rajesh Singh - The ebook in PDF format is available for download

The document provides information about various ebooks available for download at textbookfull.com, including titles related to Arduino-based embedded systems, LabVIEW, and nanobiotechnology. It lists specific books, their authors, and links for instant downloads in multiple formats. Additionally, it includes details about the content and structure of the book 'Arduino-Based Embedded Systems: Interfacing, Simulation, and LabVIEW GUI' by Rajesh Singh and others.

Uploaded by

fomassogo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 51

Explore the full ebook collection and download it now at textbookfull.

com

Arduino-Based Embedded Systems: Interfacing,


Simulation, and LabVIEW GUI 1st Edition Rajesh
Singh

https://textbookfull.com/product/arduino-based-embedded-
systems-interfacing-simulation-and-labview-gui-1st-edition-
rajesh-singh/

OR CLICK HERE

DOWLOAD EBOOK

Browse and Get More Ebook Downloads Instantly at https://textbookfull.com


Click here to visit textbookfull.com and download textbook now
Your digital treasures (PDF, ePub, MOBI) await
Download instantly and pick your perfect format...

Read anywhere, anytime, on any device!

Biota Grow 2C gather 2C cook Loucas

https://textbookfull.com/product/biota-grow-2c-gather-2c-cook-loucas/

textbookfull.com

Internet of Things with Raspberry Pi and Arduino 1st


Edition Rajesh Singh (Author)

https://textbookfull.com/product/internet-of-things-with-raspberry-pi-
and-arduino-1st-edition-rajesh-singh-author/

textbookfull.com

Internet Of things With Raspberry Pi And Arduino First


Edition. Edition Rajesh Singh

https://textbookfull.com/product/internet-of-things-with-raspberry-pi-
and-arduino-first-edition-edition-rajesh-singh/

textbookfull.com

Embedded Systems Architecture for Agile Development: A


Layers-Based Model Mirtalebi

https://textbookfull.com/product/embedded-systems-architecture-for-
agile-development-a-layers-based-model-mirtalebi/

textbookfull.com
LabVIEW based Automation Guide for Microwave Measurements
1st Edition Satya Kesh Dubey

https://textbookfull.com/product/labview-based-automation-guide-for-
microwave-measurements-1st-edition-satya-kesh-dubey/

textbookfull.com

Nanobiotechnology: Concepts and Applications in Health,


Agriculture, and Environment 1st Edition Rajesh Singh
Tomar (Editor)
https://textbookfull.com/product/nanobiotechnology-concepts-and-
applications-in-health-agriculture-and-environment-1st-edition-rajesh-
singh-tomar-editor/
textbookfull.com

Simulation-Based Usability Evaluation of Spoken and


Multimodal Dialogue Systems 1st Edition Stefan Hillmann
(Auth.)
https://textbookfull.com/product/simulation-based-usability-
evaluation-of-spoken-and-multimodal-dialogue-systems-1st-edition-
stefan-hillmann-auth/
textbookfull.com

PET/MR Imaging : A Case-Based Approach 1st Edition Rajesh


Gupta

https://textbookfull.com/product/pet-mr-imaging-a-case-based-
approach-1st-edition-rajesh-gupta/

textbookfull.com

Advanced Model Based Engineering of Embedded Systems


Extensions of the SPES 2020 Methodology 1st Edition Klaus
Pohl
https://textbookfull.com/product/advanced-model-based-engineering-of-
embedded-systems-extensions-of-the-spes-2020-methodology-1st-edition-
klaus-pohl/
textbookfull.com
Arduino-Based Embedded
Systems
Arduino-Based Embedded
Systems
Interfacing, Simulation, and LabVIEW GUI

Rajesh Singh
Anita Gehlot
Bhupendra Singh
Sushabhan Choudhury
CRC Press
Taylor & Francis Group
6000 Broken Sound Parkway NW, Suite 300
Boca Raton, FL 33487-2742

© 2018 by Taylor & Francis Group, LLC


CRC Press is an imprint of Taylor & Francis Group, an Informa business

No claim to original U.S. Government works

Printed on acid-free paper

International Standard Book Number-13: 978-1-1380-6078-4 (Hardback)


International Standard Book Number-13: 978-1-315-16288-1 (ebook)

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.

Library of Congress Cataloging‑in‑Publication Data

Names: Singh, Rajesh (Electrical engineer), author. | Gehlot, Anita, author.


| Singh, Bhupendra, author. | Choudhury, Sushabhan, author.
Title: Arduino-based embedded systems : interfacing, simulation, and LabVIEW
GUI / Rajesh Singh, Anita Gehlot, Bhupendra Singh and Sushabhan Choudhury.
Description: Boca Raton : Taylor & Francis, CRC Press, 2018.
Identifiers: LCCN 2017029926 | ISBN 9781138060784 (hardback : alk. paper) |
ISBN 9781315162881 (ebook)
Subjects: LCSH: Embedded computer systems--Programming. | Arduino
(Programmable controller)--Programming. | LabVIEW.
Classification: LCC TK7895.E42 S548 2018 | DDC 006.2/2--dc23
LC record available at https://lccn.loc.gov/2017029926

Visit the Taylor & Francis Web site at


http://www.taylorandfrancis.com

and the CRC Press Web site at


http://www.crcpress.com
Contents

Preface ................................................................................................................... xiii


About the Authors ................................................................................................xv

Section I Introduction

1. Introduction to Arduino ................................................................................3


1.1 Arduino Uno .......................................................................................... 3
1.2 Arduino Mega ....................................................................................... 4
1.3 Arduino Nano .......................................................................................5

2. Steps to Write a Program with Arduino Integrated


Development Environment ..........................................................................7
2.1 Steps to Install Arduino Integrated Development Environment..... 7
2.2 Basic Commands for Arduino .......................................................... 11

3. Steps to Design a Proteus Simulation Model ......................................... 13

4. Introduction to LabVIEW GUI .................................................................. 19


4.1 Steps to Design LabVIEW GUI.......................................................... 19
4.2 Building the Front Panel ....................................................................22
4.3 Building the Block Diagram .............................................................. 23
4.4 Virtual Instrument Software Architecture ..................................... 24
4.4.1 Components Used to Design LabVIEW GUI ..................... 25

5. LabVIEW Interfacing with the Proteus Simulation Software ............ 29


5.1 Virtual Serial Port Emulator .............................................................. 29

Section II Arduino and I/O Devices

6. Arduino and Display Devices .................................................................... 37


6.1 Arduino and Light Emitting Diode.................................................. 37
6.1.1 Circuit Diagram ..................................................................... 38
6.1.2 Program ................................................................................... 40
6.1.3 Proteus Simulation Model .................................................... 40
6.2 Arduino and Liquid Crystal Display ............................................... 41
6.2.1 Circuit Diagram .....................................................................42
6.2.2 Program ...................................................................................43
6.2.3 Proteus Simulation Model ....................................................44

v
vi Contents

7. Arduino and Digital Input/Output Devices ........................................... 45


7.1 Push Button and Light Emitting Diode/Liquid
Crystal Display ................................................................................ 45
7.2 Push Button–Digital “LOW” ............................................................. 47
7.2.1 Circuit Diagram ..................................................................... 47
7.2.2 Program ................................................................................... 49
7.2.3 Proteus Simulation Model .................................................... 50
7.3 Push Button–Digital “HIGH” ............................................................ 51
7.3.1 Program ................................................................................... 53
7.3.2 Proteus Simulation Model ....................................................54
7.4 Fire Sensor and Light Emitting Diode/Liquid Crystal Display ...... 55
7.4.1 Circuit Diagram ..................................................................... 57
7.4.2 Program ................................................................................... 59
7.4.3 Proteus Simulation Model .................................................... 60
7.5 Passive Infrared Sensor and Light Emitting Diode/Liquid
Crystal Display .................................................................................... 61
7.5.1 Circuit Diagram .....................................................................63
7.5.2 Program ...................................................................................63
7.5.3 Proteus Simulation Model ....................................................65
7.6 Alcohol Sensor and Light Emitting Diode/Liquid
Crystal Display .................................................................................... 67
7.6.1 Circuit Diagram ..................................................................... 69
7.6.2 Program ................................................................................... 71
7.6.3 Proteus Simulation Model .................................................... 72

8. Arduino and Analog Devices..................................................................... 75


8.1 Ultrasonic Sensor and Liquid Crystal Display ............................... 75
8.2 Ultrasonic Sensor—Serial Out .......................................................... 76
8.2.1 Circuit Diagram .....................................................................77
8.2.2 Program ................................................................................... 79
8.2.3 Proteus Simulation Model ....................................................80
8.3 Ultrasonic Sensor—PWM Out .......................................................... 81
8.3.1 Circuit Diagram ..................................................................... 81
8.3.2 Program ...................................................................................83
8.3.2.1 Ultrasonic Sensor—PWM OUT ...........................83
8.3.3 Proteus Simulation Model ....................................................84
8.4 Temperature Sensor and Liquid Crystal Display...........................85
8.5 Temperature Sensor-Analog Out ...................................................... 86
8.5.1 Circuit Diagram ..................................................................... 86
8.5.1.1 Temperature Sensor Analog Out ......................... 86
8.5.2 Program ................................................................................... 88
8.5.2.1 Program LM35—Analog Out ............................... 88
8.5.3 Proteus Simulation Model .................................................... 88
Contents vii

8.6 Humidity/Temperature Sensor—Serial Out ................................90


8.6.1 Circuit Diagram ................................................................. 91
8.6.1.1 Temperature Sensor (Serial Out) ................... 91
8.6.2 Program .............................................................................. 93
8.6.2.1 Temp/Humidity Sensor—Serial Out............ 93
8.7 Light-Dependent Resistor with Liquid Crystal Display ............. 94
8.8 Light-Dependent Resistor—Analog Out ....................................... 94
8.8.1 Circuit Diagram ................................................................. 96
8.8.2 Program .............................................................................. 98
8.8.2.1 Light-Dependent Resistor—Analog Out ...... 98
8.8.3 Proteus Simulation Model................................................ 99
8.9 Light Intensity Sensor—I2C Out .................................................. 100
8.9.1 Circuit Diagram ............................................................... 101
8.9.2 Program ............................................................................ 103
8.9.2.1 LDR TWI (I2C) Out........................................ 103
8.10 Servo Motor and the Liquid Crystal Display.............................. 103
8.10.1 Circuit Diagram ...............................................................105
8.10.2 Program ............................................................................107
8.10.3 Proteus Simulation Model.............................................. 107

9. Arduino and Motors/Actuators................................................................ 109


9.1 DC Motor ......................................................................................... 109
9.1.1 Circuit Diagram ............................................................... 111
9.1.2 Program ............................................................................ 113
9.1.3 Proteus Simulation Model.............................................. 114
9.2 Stepper Motor .................................................................................. 115
9.2.1 Circuit Diagram ............................................................... 117
9.2.2 Program ............................................................................ 119
9.2.3 Proteus Simulation Model.............................................. 120
9.3 AC Motor with Relay ...................................................................... 121
9.3.1 Circuit Diagram ...............................................................122
9.3.2 Program ............................................................................124
9.3.3 Proteus Simulation Model.............................................. 124

Section III Arduino and Wireless Communication

10. Arduino and Wireless Communication ................................................. 129


10.1 RF Modem (2.4 GHz) ...................................................................... 129
10.1.1 Circuit Diagram ............................................................... 131
10.1.1.1 Transmitter Section ....................................... 131
10.1.1.2 Receiver Section ............................................. 132
viii Contents

10.1.2 Program ............................................................................ 134


10.1.2.1 Transmitter Program ..................................... 134
10.1.2.2 Receiver Program .......................................... 134
10.1.3 Proteus Simulation Model.............................................. 135
10.2 Global System for Mobile Modem ................................................ 136
10.2.1 Circuit Diagram ............................................................... 138
10.2.2 Program ............................................................................ 140
10.2.2.1 Main Program ................................................ 140
10.2.3 Proteus Simulation Model.............................................. 142

Section IV Projects

11. 2.4 GHz RF Modem-Based Security System for Restricted Area ..... 145
11.1 Introduction ..................................................................................... 145
11.2 Circuit Diagram .............................................................................. 146
11.3 Program ............................................................................................ 149
11.3.1 Transmitter Section ......................................................... 149
11.3.2 Receiver Section ............................................................... 150
11.4 Proteus Simulation Model ............................................................. 151
11.5 LabVIEW GUI ................................................................................. 152

12. Campus Fire Monitoring System with a 2.4 GHz RF Modem .......... 155
12.1 Introduction ..................................................................................... 155
12.2 Circuit Diagram .............................................................................. 156
12.2.1 Transmitter Section ......................................................... 156
12.2.2 Receiver Section ............................................................... 157
12.3 Program ............................................................................................ 158
12.3.1 Transmitter Section ......................................................... 158
12.3.2 Receiver Section ............................................................... 159
12.4 Proteus Simulation Model ............................................................. 160
12.5 LabVIEW GUI ................................................................................. 161

13. Light-Dependent Resistor-Based Light Intensity Control System .......165


13.1 Introduction ..................................................................................... 165
13.2 Circuit Diagram .............................................................................. 167
13.2.1 Transmitter Section ......................................................... 167
13.2.2 Receiver Section ............................................................... 167
13.3 Program ............................................................................................ 168
13.3.1 Transmitter Section ......................................................... 168
13.3.2 Receiver Section ............................................................... 169
13.4 Proteus Simulation Model ............................................................. 170
13.5 LabVIEW GUI .................................................................................. 171
Contents ix

14. DC Motor Control System with LabVIEW GUI ................................... 173


14.1 Introduction ..................................................................................... 173
14.2 Circuit Diagram .............................................................................. 175
14.2.1 Transmitter Section ......................................................... 175
14.2.2 Receiver Section ............................................................... 175
14.3 Program ............................................................................................ 178
14.3.1 Transmitter Section ......................................................... 178
14.3.2 Receiver Program ............................................................ 180
14.4 Proteus Simulation Model ............................................................. 181
14.5 LabVIEW GUI .................................................................................. 183

15. Stepper Motor Control System with LabVIEW GUI ........................... 185
15.1 Introduction ..................................................................................... 185
15.2 Circuit Diagram .............................................................................. 187
15.2.1 Transmitter Section ......................................................... 187
15.2.2 Receiver Section ............................................................... 187
15.3 Program ............................................................................................ 190
15.3.1 Transmitter Section ......................................................... 190
15.3.2 Receiver Program ............................................................ 191
15.4 Proteus Simulation Model ............................................................. 193
15.5 LabVIEW GUI .................................................................................. 195

16. Accelerometer-Based Laboratory Automation System ....................... 197


16.1 Introduction ..................................................................................... 197
16.2 Circuit Diagram .............................................................................. 199
16.2.1 Transmitter Section ......................................................... 199
16.2.2 Receiver Section ............................................................... 199
16.3 Program ............................................................................................ 202
16.3.1 Transmitter Section ......................................................... 202
16.3.2 Receiver Section ............................................................... 203
16.4 Proteus Simulation Model ............................................................. 205

17. Temperature Monitoring System Using RF Modem .......................... 207


17.1 Introduction ..................................................................................... 207
17.2 Circuit Diagram .............................................................................. 208
17.2.1 Transmitter Section ......................................................... 208
17.2.2 Receiver Section ............................................................... 209
17.3 Program ............................................................................................ 211
17.3.1 Transmitter Section ......................................................... 211
17.3.2 Receiver Section ............................................................... 211
17.4 Proteus Simulation Model ............................................................. 212
17.5 LabVIEW GUI .................................................................................. 213
x Contents

18. Emergency Hooter in the Case of a Disaster......................................... 215


18.1 Introduction ..................................................................................... 215
18.2 Circuit Diagram .............................................................................. 217
18.2.1 Sensor Node ..................................................................... 217
18.2.2 Server................................................................................. 218
18.3 Program ............................................................................................ 220
18.3.1 Sensor Node .....................................................................220
18.3.2 Server ................................................................................. 221
18.4 Proteus Simulation Model ............................................................. 224
18.5 LabVIEW GUI .................................................................................. 226

19. LabVIEW GUI-Based Wireless Robot Control System....................... 229


19.1 Introduction ..................................................................................... 229
19.2 Circuit Diagram .............................................................................. 231
19.2.1 Transmitter Section..........................................................231
19.2.2 Receiver Section ............................................................... 231
19.3 Program ............................................................................................234
19.3.1 Transmitter Program ....................................................... 234
19.3.2 Receiver Program ............................................................ 235
19.4 Proteus Simulation Model ............................................................. 237
19.5 LabVIEW GUI .................................................................................. 237

20. Home Automation System Using DTMF............................................... 239


20.1 Introduction ..................................................................................... 239
20.2 Circuit Diagram .............................................................................. 240
20.3 Program ............................................................................................ 243
20.4 Proteus Simulation Model ............................................................. 246

21. RFID Card-Based Attendance System ................................................... 247


21.1 Introduction ..................................................................................... 247
21.2 Circuit Diagram .............................................................................. 248
21.2.1 Steps to Read RFID Reader ............................................ 248
21.2.1.1 Program to Extract the Code .......................... 250
21.2.2 Connections...................................................................... 250
21.3 Program ............................................................................................ 252

22. Global System for Mobile-Based Emergency System ......................... 255


22.1 Introduction ..................................................................................... 255
22.2 Circuit Diagram .............................................................................. 256
22.3 Program ............................................................................................ 259
22.3.1 Program to Write the Message.......................................259
22.3.2 Program to Read the Message ....................................... 260
22.4 Proteus Simulation Model ............................................................. 272
Contents xi

23. Coordinate Display System Using GPS ................................................. 275


23.1 Introduction ..................................................................................... 275
23.2 Circuit Diagram .............................................................................. 277
23.2.1 Transmitter Section..........................................................277
23.2.2 Receiver Section ............................................................... 278
23.3 Program ............................................................................................ 280
23.3.1 Transmitter Section..........................................................280
23.3.2 Receiver Section ............................................................... 281
23.4 Proteus Simulation Model ............................................................. 283

24. Fingerprint-Based Attendance System .................................................. 285


24.1 Introduction ..................................................................................... 285
24.1.1 Types of Function ............................................................ 285
24.2 Circuit Diagram .............................................................................. 286
24.3 Program ............................................................................................ 288
24.3.1 Finger Print Circuit ‘Test Program’ ...............................288
24.3.2 Main Program ................................................................. 290

25. Wireless Irrigation System for Agricultural Field ............................... 293


25.1 Introduction ..................................................................................... 293
25.2 Circuit Diagram .............................................................................. 295
25.2.1 Remote Control ................................................................295
25.2.2 Sensor Node ..................................................................... 295
25.3 Program ............................................................................................ 298
25.3.1 Remote Control ................................................................298
25.3.2 Sensor Node ..................................................................... 299
25.4 Proteus Simulation Model ............................................................. 303

Index .....................................................................................................................305
Preface

The primary objective of writing this book is to provide a platform for


beginners to get started with the Arduino-based embedded system and who
need a basic knowledge of programming and interfacing of the devices.
The aim of this book is to explain the basic steps to get started with the
Arduino and to develop an understanding of the interfacing, programming,
and simulation of the designed systems.
This book comprises 25 chapters and is divided into 4 sections. Section I of
this book is about the introduction to the basic software that is required to
get started with the Arduino. Section II is about interfacing of display devices
and basic input/output devices such as sensors and motors. Section III is about
the interfacing of basic communication modules such as RF modem and
global system for mobile (GSM). Section IV includes examples of Arduino-
based projects. This book is intended to serve the students of B.Tech/B.E,
M.Tech/M.E, PhD scholars, and who need the basic knowledge to develop a
real-time system using the Arduino.
We acknowledge the support from Sunrom technologies, Robosoft
systems, and Robokits India for using their product images and data to
demonstrate and explain the working of the systems. We thank Taylor &
Francis/CRC Press for encouraging our idea about this book and the sup-
port to efficiently manage the project.
We are grateful to the honorable chancellor Dr. S.J Chopra, Utpal Ghosh
(President & CEO, UPES), Dr. Srihari (Vice-chancellor, University of Petroleum
and Energy Studies (UPES)), Dr. Kamal Bansal (Dean, CoES, UPES), Dr.
Suresh Kumar (Director, UPES), and Dr. Piyush Kuchhal (Associate Dean,
UPES) for their support and constant encouragement. In addition, we are
thankful to our families, friends, relatives, colleagues, and students for their
moral support and blessings.
Although the circuits and programs mentioned in the text are tested on
real hardware but in case of any mistake we extend our sincere apologies.
Any suggestions to improve in the contents of the book are always welcome
and will be appreciated and acknowledged.

Rajesh Singh
Anita Gehlot
Bhupendra Singh
Sushabhan Choudhury

xiii
About the Authors

Dr. Rajesh Singh is currently associated with


the University of Petroleum and Energy Studies,
Dehradun, India, as an associate professor and
with additional responsibility as Head, Institute
of Robotics Technology (R&D). He has been
awarded a gold medal in MTech and honors
in his BTech. His area of expertise includes
embedded systems, robotics, and wireless sen-
sor networks. He has organized and conducted
a number of workshops, summer internships,
and expert lectures for students as well as
faculty. He has 12 patents in his account. He has published approximately
100 research papers in refereed journals/conferences.
Under his mentorship, students have participated in national/international
competitions, including Texas Instruments Innovation Challenge in Delhi
and Laureate award of excellence in robotics engineering in Spain. Twice in
the last 4 years he has been awarded with a certificate of appreciation from
the University of Petroleum and Energy Studies for his exemplary work. He
received a certificate of appreciation for mentoring the projects submitted to
the Texas Instruments India Innovation Challenge Design Contest 2015 from
Texas Instruments. He has been honored with a young investigator award
at the International Conference on Science and Information in 2012. He has
published a book titled Embedded System based on Atmega Microcontroller with
the NAROSA publishing house. He is an editor to a special issue published
by the Advances in Intelligent Systems and Computing (AISC) book series,
Springer titled Intelligent Communication, Control and Devices 2016.

xv
xvi About the Authors

Anita Gehlot has more than 10 years of teaching


experience with an area of expertise in embed-
ded systems and wireless sensor networks. She
has 10 patents in her account. She has published
more than 50 research papers in both refereed
journals and conferences. She has organized a
number of workshops, summer internships,
and expert lectures for students. She has been
awarded with a certificate of appreciation from
the University of Petroleum and Energy Studies,
Dehradun, India, for her exemplary work. She
has coauthored a book titled Embedded System
based on Atmega Microcontroller with the NAROSA
publication house.

Bhupendra Singh is the managing director of


Schematics Microelectronics and provides
product design and R&D support to industries
and universities. He has completed BCA,
PGDCA, MSc (CS), MTech, and has more than
11 years of experience in the field of computer
networking and embedded systems.
About the Authors xvii

Dr. S. Choudhury is the head of the Department


of Electronics, Instrumentation, and Control at
the University of Petroleum and Energy
Studies, Dehradun, India. He has 26 years of
teaching experience and he earned his PhD
from the University of Petroleum and Energy
Studies, MTech (Gold Medalist) from Tezpur
Central University, Tezpur, India, and earned
his BE degree from National Institute of
Technology Silchar, India. He has published
more than 70 papers in various national/
international conferences/journals and has filed 10 patents. His area of
interest is Zigbee-based wireless networks. Dr. Choudhury has been
selected as the outstanding scientist of the twenty-first century by the
Cambridge Biographical Centre, Cambridge, UK. He has also been selected
in the who’s who of the world in science by Marquis Who’s Who, New
Providence, New Jersey. He has coauthored a book titled Embedded System
based on Atmega Microcontroller with the NAROSA publishing house. He is
an editor to a special issue published by the AISC book series, Springer,
titled Intelligent Communication, Control and Devices 2016.
Section I

Introduction
1
Introduction to Arduino

Arduino is a user-friendly open-source platform. Arduino has an onboard


microcontroller and an integrated development environment (IDE) is used
to program it. Arduino board can be programmed directly from the PC
using FTDI which is easy compared to other similar platforms.
The advantages are as follows:

Low cost: Arduino boards are of relatively low cost as compared to other
microcontroller platforms.
Cross-platform: The Arduino software (IDE) is compatible with the
Windows, Macintosh OSX, and Linux operating systems.
User friendly: The Arduino software (IDE) is user friendly and easy to
use for beginners and very flexible for skilled programmers.
Open source: The Arduino is an open-source software and can be pro-
grammed with C, C++, or AVR-C languages. So, a variety of mod-
ules can be designed by the users.

Arduino platform comprises a microcontroller. It can be connected to a PC


through a USB cable. It is freely accessible and can be easily downloaded.
It can also be modified by a programmer. Different versions of Arduino
boards are available in the market depending on the user requirement.

1.1 Arduino Uno


The Arduino/Genuino Uno has an onboard ATmega328 microcontroller.
It has onboard six analog input ports (A0–A5). Each pin can operate at 0–5 V.
It has 14 digital input/output (I/O) pins out of which 6 are PWM output, 6 ana-
log inputs, 2 KB SRAM, 1 KB EEPROM, and operates at 16 MHz of frequency
(Figure 1.1 and Table 1.1).

3
4 Arduino-Based Embedded Systems

FIGURE 1.1
Arduino Uno board.

TABLE 1.1
Pin Description of Arduino Uno
Pin Description

Vin The external voltage to the Arduino board


+5 V +5 V regulated output
3.3 V On board 3.3 V supply
GND Ground
IOREF Provides the voltage reference and select appropriate power source
Serial Transmits and receives serial data, Pins: 0(Rx) 1(Tx)
External interrupts Trigger an interrupt on low value, Pins: 2 and 3
PWM Provides 8 bit PWM output, Pins: 3,5,6,9,10,11
SPI Supports SPI communication, Pins: 10 (SS), 11 (MOSI), 12 (MISO),
and 13 (SCK)
LED LED driven by Pin 13
TWI Supports TWI communication, Pins: A4 (SDA), A5 (SCL)
AREF Reference voltage for the analog inputs
Reset It is used to reset the onboard microcontroller

1.2 Arduino Mega


The Arduino Uno has onboard ATmega2560 microcontroller. It has onboard
16 analog inputs, 54 digital I/O, USB connection, 4 UART, power jack, and
a reset button. It operates at 16 MHz frequency. The board can be operated
with 5–12 V of external power; if supplied more than this, it can damage the
board. It has onboard 256 KB flash memory, 8 KB SRAM, and 4 KB EEPROM
(Figure 1.2 and Table 1.2).
Introduction to Arduino 5

FIGURE 1.2
Arduino Mega board.

TABLE 1.2
Pin Description of Arduino Mega
Pin Description

Vin The external voltage to the Arduino board


+5 V +5 V regulated output
3.3 V Onboard 3.3 V supply
GND Ground
IOREF Provides the voltage reference and select an appropriate power
source
Serial0 Transmits and receives serial data, Pins: 0(Rx) 1(Tx)
Serial1 Transmits and receives serial data, Pins: 19(Rx) 18(Tx)
Serial2 Transmits and receives serial data, Pins: 17(Rx) 16(Tx)
External interrupts Trigger an interrupt on low value, Pins: 2 (interrupt0), 3 (interrupt1),
18 (interrupt5), 19 (interrupt4), and 20 (interrupt2)
PWM Provides 8 bit PWM output, Pins: 2–13 and 44–46
SPI Supports SPI communication, Pins: 53 (SS), 51 (MOSI), 50 (MISO),
and 52 (SCK)
LED LED driven by Pin 13
TWI Supports TWI communication, Pins: 20 (SDA), 21 (SCL)
AREF Reference voltage for the analog inputs
Reset It is used to reset the onboard microcontroller

1.3 Arduino Nano


The Arduino/Genuino Nano has onboard ATmega328 microcontroller. It has
onboard 8 analog and 14 digital I/O ports and 6 PWM of 8 bit. Each pin
can operate at 0–5 V. It has onboard 32 KB flash memory, 2 KB SRAM, 1 KB
EEPROM, and operates at 16 MHz of frequency (Figure 1.3 and Table 1.3).
6 Arduino-Based Embedded Systems

FIGURE 1.3
Arduino Nano board.

TABLE 1.3
Pin Description of Arduino Nano
Pin Description

Vin The external voltage to the Arduino board


+5 V +5 V regulated output
3.3 V Onboard 3.3 V supply
GND Ground
IOREF Provides the voltage reference and select an appropriate power
source
Serial Transmits and receives serial data, Pins: 0(Rx) 1(Tx)
External interrupts Trigger an interrupt on low value, Pins: 2 & 3
PWM Provides 8 bit PWM output, Pins: 3,5,6,9,10,11
SPI Supports SPI communication, Pins: 10 (SS), 11 (MOSI), 12 (MISO),
and 13 (SCK)
LED LED driven by Pin 13
I2C Supports TWI communication, Pins: A4 (SDA), A5 (SCL)
AREF Reference voltage for the analog inputs
Reset It is used to reset the onboard microcontroller
2
Steps to Write a Program with Arduino
Integrated Development Environment

This chapter describes the steps to write and compile a program with
Arduino integrated development environment (IDE). The Arduino IDE is an
open-source software which makes it user friendly for writing the code and
then upload directly on Arduino board.

2.1 Steps to Install Arduino Integrated


Development Environment
Step 1: Install Arduino IDE and open the Window
To begin, install the Arduino Programmer, IDE. Figure 2.1 shows the
opened window Arduino IDE.
Step 2: Choose suitable version of Arduino
Arduino has many versions such as Uno, Mega, and Nano. The most
common is the Arduino Uno. Before starting the program find out
the suitable version of Arduino board for the project. Set the board type
and the USB serial port of board in the Arduino IDE. Figure 2.2 shows
the steps to select the type of Arduino. Click on “Tool,” and then click
on “board.” Figure 2.2 shows the selection of “Arduino Uno.”
Step 3: Write and compile the program
Write program as per requirement of the project. Then “RUN” the
program. Figure 2.3 shows the compilation of the program.

FIGURE 2.1
Window Arduino IDE.

7
8 Arduino-Based Embedded Systems

FIGURE 2.2
Window to select type of Arduino.

FIGURE 2.3
Compile the program.
Steps to Write a Program with Arduino IDE 9

Step 4: Connect Arduino with the PC


Connect Arduino to the USB port of the PC with USB cable. Every
Arduino has a different serial-port address (e.g., COM2 and COM4),
so it is required to recognize the port for the different Arduino and
select it in the IDE.
To check the port where the Arduino is connected, make right
click on the “PC,” then go to manager; a window will open. Then
double click on the “Device Manager.” A window as shown in
Figure 2.4 will open. Click on the ports (COM&LPT) and the port at
which the device is connected can be found. Figure shows “COM6”
is port for the device.
Now click on the “Tool” heading of the Arduino IDE window.
Go to port and select the same port number, which was found at the
device manager (select COM1 or COM2 etc.). Figure 2.5 shows the
“COM6” as serial port of board.
Step 5: Upload program in Arduino
Uploaded the new program to Arduino. Figure 2.6 shows how to
upload the program.

FIGURE 2.4
Window to check port of Arduino.
10 Arduino-Based Embedded Systems

FIGURE 2.5
The serial port of board.

FIGURE 2.6
Window to upload the program in Arduino.
Exploring the Variety of Random
Documents with Different Content
hjärtligt, och då det tillika skulle bliva greve v. d. Goltz'
järnvägsvagn, vari regeringens ordförande för första gången efter
sin äventyrliga flykt till Reval igen skulle få återse sina vänner och
kolleger, erhöll detta möte en stämning över sig, som sent av oss
närvarande kommer att glömmas. Greve v. d. Goltz talade långt
senare ofta med värme om detta möte och uttalade sin stora
tillfredsställelse över att ödet beskärt honom nöjet och äran att hos
sig få sammanföra de ledande personerna i den under så tragiska
förhållanden flyktade och skingrade lagliga finländska regeringen
samt bevittna återseendets glädje hos dem.

Under förra hälften av maj månad företog greve v. d. Goltz med


sin närmaste omgivning flere inspektionsresor samt även
turistutflykter till olika delar av landet. Bland orter, som besöktes,
anslog honom i all synnerhet Nyslott och Punkaharju samt Imatra.
Olofsborg och vår i dessa nejder storslagna natur gjorde på honom
ett outplånligt intryck. Efter det järnvägsförbindelsen med St Mickel,
varest det finländska högkvarteret vid denna tidpunkt var förlagt,
upptagits, avlade greven den 10 maj därstädes hos
överbefälhavaren, general Mannerheim, sin första officiella
uppvaktning. Vid slutakten till det blodiga drama, som de röda i
förbund med ryssarna under för dem skenbart så utomordentligt
lyckliga auspicier igångsatte den 27 januari 1918 — den storartade
paraden den 16 maj i Helsingfors — då huvudstaden firade general
Mannerheims och den vita arméns intåg på ett sätt, som tidigare ej
förekommit i vårt lands historia, närvar greve v. d. Goltz jämte stab
som åskådare och deltog med fullaste hjärta i de välförtjänta
ovationer, som kommo överbefälhavaren, trupperna, jägarna samt
de mera bemärkta personligheterna från frihetskriget till del.
Den 20 maj nådde oss helt oväntat meddelandet att general
Mannerheim, anseende sig nu hava fullgjort det uppdrag han erhållit
av regeringen, lagt in om avsked. Greve v. d. Goltz, som ända tills nu
ej på något sätt aktivt deltagit i vår inre politik och hållit sig på sidan
om våra inre förhållanden, blev emellertid nu av senator Svinhufvud
tillkallad för att konferera angående den uppkomna situationen samt
speciellt om vår blivande armés organisation och uppställning samt
om anskaffandet av nödigt antal tyska instruktionsofficerare. Om
sina konferenser med senatorerna Svinhufvud och Frey talade
greven med största diskretion och inveg ej mig i desamma, men jag
kunde likväl av hans uttalanden sluta mig till, att i ovannämnda
frågor vissa principiella meningsskiljaktigheter emellan honom och
överbefälhavaren förelågo, enkannerligen vad inkallandet av
utländska instruktionsofficerare vidkom. På senator Svinhufvuds
uttryckliga begäran överlämnade greven åt honom personligen ett
kort utkast till vår armés organisation, ett utkast, som av "Ostsee-
Divisionens" stabschef, kapten Karmann och mig under lediga
timmar delvis redan i Danzig uppgjorts samt varom med greven
rådgjorts. Utkastet i fråga utgjorde ej något färdigt program, som
utan vidare skulle kunnat föreläggas till godkännande, och hade ej
heller i detta syfte utarbetats, vilket även av greven uttryckligen
framhölls. Att detta vårt blygsamma förslag överlämnats åt senator
Svinhufvud erfor jag först några dagar senare, då frågan om general
Mannerheims avgång började bliva allt mera akut. Vad de utländska
instruktionsofficerarna vidkom, ansåg sig greve v. d. Goltz kunna
inkalla sådana ifrån Tyskland samt tillika ställa hela "Ostsee-
Divisionens" för tillfället lediga officerare och underofficerare till vårt
förfogande, blott i den händelse han och tyskarna de facto även
skulle erhålla full möjlighet att göra sitt inflytande gällande vid
uppställandet och organiserandet av vår nya armé enligt de militära
principer, som varit de ledande för dem själva vid deras arbete i
deras eget hemland. Här uppställde han vissa minimifordringar för
tyskarnas samt speciellt den tyska "Ostsee-divisionens" hjälp vid det
förestående ansvarsfulla och kolossala arbetet. General Mannerheim
ansåg sig likväl ej kunna och vilja ingå på ett så intimt samarbete
och förnyade sin avskedsansökan. Den på detta sätt uppkomna
situationen behandlades icke blott av regeringen utan även av
lantdagsfraktionernas förtroendemän, och då man så gott som
enhälligt ansåg, att det dåvarande politiska läget oavvisligt krävde
ett intimt och förtroendefullt samarbete med Tyskland och att det för
vårt land tillika gällde att så snabbt som möjligt få sitt försvar
ordnat, beslöts den 24-25 maj att general Mannerheims ansökta
avsked skulle beviljas. Att emellertid det äskade avskedet officiellt
beviljades först några dagar senare berodde på att senator
Svinhufvud ej hade fastställt storleken av den extra pension, han i
egenskap av riksföreståndare skulle tilldela den avgående
överbefälhavaren. Den 26 maj erhöll jag besök av senator Frey, som
på riksföreståndarens och senator Paasikivis uppmaning framställde
till mig förfrågan, om jag ville övertaga krigsministerposten, samt
meddelade tillika att general Mannerheims avskedsansökan
principiellt godkänts och att han under alla förhållanden komme att
avgå. Jag var fullt medveten om vidden av det ansvar, som komme
att vila på en krigsminister, samt om de kolossala svårigheter, som
skulle möta då det gällde att under de möjligast vidriga förhållanden
icke blott organisera en armé och giva landet ett dess resurser
motsvarande härväsende, utan även att bringa ordning i all den
oreda, som på grund av förhållandena naturnödvändigt måste råda i
en i hast hopkommen folkhär, sådan vår armé då var. Dessutom
skulle ju krigsministern få på sin lott de till c:a 80,000 uppgående
krigsfångarna samt det kolossala krigsbyte, som överallt i landet
fråntagits fienden, uppgifter, som skulle fordra övermänskliga krafter
och förmåga. Jag kunde tillika förutse, att valet av mig till
krigsminister på visst militärt håll beklagligtvis komme att
sammanställas med general Mannerheims avgång samt redan
därigenom komme att väcka opposition och motstånd, något som
måhända, åtminstone till en början, kunde komma att försvåra det
förestående arbetets framgång. Men under tider, då fosterlandets
öde avgöres, då det för nationen gäller dess vara eller icke vara,
måste svårigheterna övervinnas samt personliga betänkligheter och
ens eget jag träda i bakgrunden. Förlitande mig tillika på att andra
element bland våra f.d. kadetter samt "jägarna", vilka visat landet
vad oegennyttig patriotism och ungdomlig hänförelse kan
åstadkomma, skulle skänka mig sitt förtroende, och påräknande
understöd av våra stora läromästare och ädla vapenbröder,
samtyckte jag till anbudet. Den 27 maj skedde min utnämning till
Finlands förste krigsminister.
*** END OF THE PROJECT GUTENBERG EBOOK UPPLEVELSER
UNDER KRIGSÅREN 1914-1918 ***

Updated editions will replace the previous one—the old editions will
be renamed.

Creating the works from print editions not protected by U.S.


copyright law means that no one owns a United States copyright in
these works, so the Foundation (and you!) can copy and distribute it
in the United States without permission and without paying
copyright royalties. Special rules, set forth in the General Terms of
Use part of this license, apply to copying and distributing Project
Gutenberg™ electronic works to protect the PROJECT GUTENBERG™
concept and trademark. Project Gutenberg is a registered trademark,
and may not be used if you charge for an eBook, except by following
the terms of the trademark license, including paying royalties for use
of the Project Gutenberg trademark. If you do not charge anything
for copies of this eBook, complying with the trademark license is
very easy. You may use this eBook for nearly any purpose such as
creation of derivative works, reports, performances and research.
Project Gutenberg eBooks may be modified and printed and given
away—you may do practically ANYTHING in the United States with
eBooks not protected by U.S. copyright law. Redistribution is subject
to the trademark license, especially commercial redistribution.

START: FULL LICENSE


THE FULL PROJECT GUTENBERG LICENSE
PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK

To protect the Project Gutenberg™ mission of promoting the free


distribution of electronic works, by using or distributing this work (or
any other work associated in any way with the phrase “Project
Gutenberg”), you agree to comply with all the terms of the Full
Project Gutenberg™ License available with this file or online at
www.gutenberg.org/license.

Section 1. General Terms of Use and


Redistributing Project Gutenberg™
electronic works
1.A. By reading or using any part of this Project Gutenberg™
electronic work, you indicate that you have read, understand, agree
to and accept all the terms of this license and intellectual property
(trademark/copyright) agreement. If you do not agree to abide by all
the terms of this agreement, you must cease using and return or
destroy all copies of Project Gutenberg™ electronic works in your
possession. If you paid a fee for obtaining a copy of or access to a
Project Gutenberg™ electronic work and you do not agree to be
bound by the terms of this agreement, you may obtain a refund
from the person or entity to whom you paid the fee as set forth in
paragraph 1.E.8.

1.B. “Project Gutenberg” is a registered trademark. It may only be


used on or associated in any way with an electronic work by people
who agree to be bound by the terms of this agreement. There are a
few things that you can do with most Project Gutenberg™ electronic
works even without complying with the full terms of this agreement.
See paragraph 1.C below. There are a lot of things you can do with
Project Gutenberg™ electronic works if you follow the terms of this
agreement and help preserve free future access to Project
Gutenberg™ electronic works. See paragraph 1.E below.
1.C. The Project Gutenberg Literary Archive Foundation (“the
Foundation” or PGLAF), owns a compilation copyright in the
collection of Project Gutenberg™ electronic works. Nearly all the
individual works in the collection are in the public domain in the
United States. If an individual work is unprotected by copyright law
in the United States and you are located in the United States, we do
not claim a right to prevent you from copying, distributing,
performing, displaying or creating derivative works based on the
work as long as all references to Project Gutenberg are removed. Of
course, we hope that you will support the Project Gutenberg™
mission of promoting free access to electronic works by freely
sharing Project Gutenberg™ works in compliance with the terms of
this agreement for keeping the Project Gutenberg™ name associated
with the work. You can easily comply with the terms of this
agreement by keeping this work in the same format with its attached
full Project Gutenberg™ License when you share it without charge
with others.

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.

1.E. Unless you have removed all references to Project Gutenberg:

1.E.1. The following sentence, with active links to, or other


immediate access to, the full Project Gutenberg™ License must
appear prominently whenever any copy of a Project Gutenberg™
work (any work on which the phrase “Project Gutenberg” appears,
or with which the phrase “Project Gutenberg” is associated) is
accessed, displayed, performed, viewed, copied or distributed:
This eBook is for the use of anyone anywhere in the United
States and most other parts of the world at no cost and with
almost no restrictions whatsoever. You may copy it, give it away
or re-use it under the terms of the Project Gutenberg License
included with this eBook or online at www.gutenberg.org. If you
are not located in the United States, you will have to check the
laws of the country where you are located before using this
eBook.

1.E.2. If an individual Project Gutenberg™ electronic work is derived


from texts not protected by U.S. copyright law (does not contain a
notice indicating that it is posted with permission of the copyright
holder), the work can be copied and distributed to anyone in the
United States without paying any fees or charges. If you are
redistributing or providing access to a work with the phrase “Project
Gutenberg” associated with or appearing on the work, you must
comply either with the requirements of paragraphs 1.E.1 through
1.E.7 or obtain permission for the use of the work and the Project
Gutenberg™ trademark as set forth in paragraphs 1.E.8 or 1.E.9.

1.E.3. If an individual Project Gutenberg™ electronic work is posted


with the permission of the copyright holder, your use and distribution
must comply with both paragraphs 1.E.1 through 1.E.7 and any
additional terms imposed by the copyright holder. Additional terms
will be linked to the Project Gutenberg™ License for all works posted
with the permission of the copyright holder found at the beginning
of this work.

1.E.4. Do not unlink or detach or remove the full Project


Gutenberg™ License terms from this work, or any files containing a
part of this work or any other work associated with Project
Gutenberg™.

1.E.5. Do not copy, display, perform, distribute or redistribute this


electronic work, or any part of this electronic work, without
prominently displaying the sentence set forth in paragraph 1.E.1
with active links or immediate access to the full terms of the Project
Gutenberg™ License.

1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if you
provide access to or distribute copies of a Project Gutenberg™ work
in a format other than “Plain Vanilla ASCII” or other format used in
the official version posted on the official Project Gutenberg™ website
(www.gutenberg.org), you must, at no additional cost, fee or
expense to the user, provide a copy, a means of exporting a copy, or
a means of obtaining a copy upon request, of the work in its original
“Plain Vanilla ASCII” or other form. Any alternate format must
include the full Project Gutenberg™ License as specified in
paragraph 1.E.1.

1.E.7. Do not charge a fee for access to, viewing, displaying,


performing, copying or distributing any Project Gutenberg™ works
unless you comply with paragraph 1.E.8 or 1.E.9.

1.E.8. You may charge a reasonable fee for copies of or providing


access to or distributing Project Gutenberg™ electronic works
provided that:

• 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 provide a full refund of any money paid by a user who


notifies you in writing (or by e-mail) within 30 days of receipt
that s/he does not agree to the terms of the full Project
Gutenberg™ License. You must require such a user to return or
destroy all copies of the works possessed in a physical medium
and discontinue all use of and all access to other copies of
Project Gutenberg™ works.

• You provide, in accordance with paragraph 1.F.3, a full refund of


any money paid for a work or a replacement copy, if a defect in
the electronic work is discovered and reported to you within 90
days of receipt of the work.

• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.

1.E.9. If you wish to charge a fee or distribute a Project Gutenberg™


electronic work or group of works on different terms than are set
forth in this agreement, you must obtain permission in writing from
the Project Gutenberg Literary Archive Foundation, the manager of
the Project Gutenberg™ trademark. Contact the Foundation as set
forth in Section 3 below.

1.F.

1.F.1. Project Gutenberg volunteers and employees expend


considerable effort to identify, do copyright research on, transcribe
and proofread works not protected by U.S. copyright law in creating
the Project Gutenberg™ collection. Despite these efforts, Project
Gutenberg™ electronic works, and the medium on which they may
be stored, may contain “Defects,” such as, but not limited to,
incomplete, inaccurate or corrupt data, transcription errors, a
copyright or other intellectual property infringement, a defective or
damaged disk or other medium, a computer virus, or computer
codes that damage or cannot be read by your equipment.

1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for


the “Right of Replacement or Refund” described in paragraph 1.F.3,
the Project Gutenberg Literary Archive Foundation, the owner of the
Project Gutenberg™ trademark, and any other party distributing a
Project Gutenberg™ electronic work under this agreement, disclaim
all liability to you for damages, costs and expenses, including legal
fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR
NEGLIGENCE, STRICT LIABILITY, BREACH OF WARRANTY OR
BREACH OF CONTRACT EXCEPT THOSE PROVIDED IN PARAGRAPH
1.F.3. YOU AGREE THAT THE FOUNDATION, THE TRADEMARK
OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL
NOT BE LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT,
CONSEQUENTIAL, PUNITIVE OR INCIDENTAL DAMAGES EVEN IF
YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH DAMAGE.

1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you


discover a defect in this electronic work within 90 days of receiving
it, you can receive a refund of the money (if any) you paid for it by
sending a written explanation to the person you received the work
from. If you received the work on a physical medium, you must
return the medium with your written explanation. The person or
entity that provided you with the defective work may elect to provide
a replacement copy in lieu of a refund. If you received the work
electronically, the person or entity providing it to you may choose to
give you a second opportunity to receive the work electronically in
lieu of a refund. If the second copy is also defective, you may
demand a refund in writing without further opportunities to fix the
problem.

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.

1.F.5. Some states do not allow disclaimers of certain implied


warranties or the exclusion or limitation of certain types of damages.
If any disclaimer or limitation set forth in this agreement violates the
law of the state applicable to this agreement, the agreement shall be
interpreted to make the maximum disclaimer or limitation permitted
by the applicable state law. The invalidity or unenforceability of any
provision of this agreement shall not void the remaining provisions.

1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation,


the trademark owner, any agent or employee of the Foundation,
anyone providing copies of Project Gutenberg™ electronic works in
accordance with this agreement, and any volunteers associated with
the production, promotion and distribution of Project Gutenberg™
electronic works, harmless from all liability, costs and expenses,
including legal fees, that arise directly or indirectly from any of the
following which you do or cause to occur: (a) distribution of this or
any Project Gutenberg™ work, (b) alteration, modification, or
additions or deletions to any Project Gutenberg™ work, and (c) any
Defect you cause.

Section 2. Information about the Mission


of Project Gutenberg™
Project Gutenberg™ is synonymous with the free distribution of
electronic works in formats readable by the widest variety of
computers including obsolete, old, middle-aged and new computers.
It exists because of the efforts of hundreds of volunteers and
donations from people in all walks of life.

Volunteers and financial support to provide volunteers with the


assistance they need are critical to reaching Project Gutenberg™’s
goals and ensuring that the Project Gutenberg™ collection will
remain freely available for generations to come. In 2001, the Project
Gutenberg Literary Archive Foundation was created to provide a
secure and permanent future for Project Gutenberg™ and future
generations. To learn more about the Project Gutenberg Literary
Archive Foundation and how your efforts and donations can help,
see Sections 3 and 4 and the Foundation information page at
www.gutenberg.org.

Section 3. Information about the Project


Gutenberg Literary Archive Foundation
The Project Gutenberg Literary Archive Foundation is a non-profit
501(c)(3) educational corporation organized under the laws of the
state of Mississippi and granted tax exempt status by the Internal
Revenue Service. The Foundation’s EIN or federal tax identification
number is 64-6221541. Contributions to the Project Gutenberg
Literary Archive Foundation are tax deductible to the full extent
permitted by U.S. federal laws and your state’s laws.

The Foundation’s business office is located at 809 North 1500 West,


Salt Lake City, UT 84116, (801) 596-1887. Email contact links and up
to date contact information can be found at the Foundation’s website
and official page at www.gutenberg.org/contact

Section 4. Information about Donations to


the Project Gutenberg Literary Archive
Foundation
Project Gutenberg™ depends upon and cannot survive without
widespread public support and donations to carry out its mission of
increasing the number of public domain and licensed works that can
be freely distributed in machine-readable form accessible by the
widest array of equipment including outdated equipment. Many
small donations ($1 to $5,000) are particularly important to
maintaining tax exempt status with the IRS.

The Foundation is committed to complying with the laws regulating


charities and charitable donations in all 50 states of the United
States. Compliance requirements are not uniform and it takes a
considerable effort, much paperwork and many fees to meet and
keep up with these requirements. We do not solicit donations in
locations where we have not received written confirmation of
compliance. To SEND DONATIONS or determine the status of
compliance for any particular state visit www.gutenberg.org/donate.

While we cannot and do not solicit contributions from states where


we have not met the solicitation requirements, we know of no
prohibition against accepting unsolicited donations from donors in
such states who approach us with offers to donate.

International donations are gratefully accepted, but we cannot make


any statements concerning tax treatment of donations received from
outside the United States. U.S. laws alone swamp our small staff.

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.

Section 5. General Information About


Project Gutenberg™ electronic works
Professor Michael S. Hart was the originator of the Project
Gutenberg™ concept of a library of electronic works that could be
freely shared with anyone. For forty years, he produced and
distributed Project Gutenberg™ eBooks with only a loose network of
volunteer support.
Project Gutenberg™ eBooks are often created from several printed
editions, all of which are confirmed as not protected by copyright in
the U.S. unless a copyright notice is included. Thus, we do not
necessarily keep eBooks in compliance with any particular paper
edition.

Most people start at our website which has the main PG search
facility: www.gutenberg.org.

This website includes information about Project Gutenberg™,


including how to make donations to the Project Gutenberg Literary
Archive Foundation, how to help produce our new eBooks, and how
to subscribe to our email newsletter to hear about new eBooks.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

textbookfull.com

You might also like