Professional Documents
Culture Documents
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
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.
Section I Introduction
v
vi Contents
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
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
Index .....................................................................................................................305
Preface
Rajesh Singh
Anita Gehlot
Bhupendra Singh
Sushabhan Choudhury
xiii
About the Authors
xv
xvi About the Authors
Introduction
1
Introduction to Arduino
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.
3
4 Arduino-Based Embedded Systems
FIGURE 1.1
Arduino Uno board.
TABLE 1.1
Pin Description of Arduino Uno
Pin Description
FIGURE 1.2
Arduino Mega board.
TABLE 1.2
Pin Description of Arduino Mega
Pin Description
FIGURE 1.3
Arduino Nano board.
TABLE 1.3
Pin Description of Arduino Nano
Pin Description