Arduino and Scilab based Projects - Rajesh Singh - E-Book

Arduino and Scilab based Projects E-Book

Rajesh Singh

0,0
35,66 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.
Mehr erfahren.
Beschreibung

Arduino and Scilab based Projects provides information ranging from the basics to advanced knowledge of Arduino and its interfacing with input/output devices (display devices, actuators, sensors), communication modules (RF modem, Zigbee) and Scilab. It also provides embedded system based on Arduino with simulation, programming and interfacing with Scilab, Arduino interfacing with Scilab with and without Arduino 1.1 packages. Chapters are arranged in an easy-to-understand sequence that enhances the learning experience for readers. Descriptions of real time project prototypes with programming and simulation of Arduino and Scilab.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB

Seitenzahl: 94

Veröffentlichungsjahr: 2019

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Table of Contents
Welcome
Table of Contents
Title
BENTHAM SCIENCE PUBLISHERS LTD.
End User License Agreement (for non-institutional, personal use)
Usage Rules:
Disclaimer:
Limitation of Liability:
General:
PREFACE
ACKNOWLEDGEMENTS
CONFLICT OF INTEREST
SECTION A: Arduino and its Interfacing
Introduction to Arduino and Arduino IDE and toolbox_arduino_v3
Abstract
1.1. Arduino Uno
1.2. Arduino Mega
1.3. Arduino Nano
1.4. Introduction to Arduino I/O Package for Scilab
1.4.1. Steps to Upload Scilab Package in Arduino
Arduino Interfacing with Sensors
Abstract
2.1. Interfacing of a Capacitive Touch Proximity Sensor
2.1.1. Capacitive Touch Proximity Sensor
2.1.1.1. Circuit Diagram
2.1.1.2. Program Code for Arduino Nano
2.2. Interfacing of an AC Current Sensor
2.2.1. AC Current Sensor
2.2.1.1. Circuit Diagram
2.2.1.2. Program Code for Arduino Nano
2.3. Interfacing of AC Voltage Sensor
2.3.1. Circuit Diagram
2.3.2. Program Code for Arduino Nano
2.4. Interfacing of DC voltage sensor
2.4.1. Circuit Diagram
2.4.2. Program Code for Arduino Nano
2.5. Interfacing of DC Current Sensor
2.5.1. Circuit Diagram
2.5.2. Program Code for Arduino Nano
Arduino and Serial Communication
Abstract
3.1. Serial communication with 2.4 GHz RF modem
3.1.1. Circuit Diagram
3.1.1.1. Circuit Diagram of Transmitter Section
3.1.1.2. Circuit Diagram of Receiver Section
3.1.2. Program Code
3.1.2.1. Transmitter Program
3.1.2.2. Receiver Program
3.2. Serial Communication with GSM Modem
3.2.1. Circuit Diagram
3.2.2. Program Code
Introduction to Scilab and GUI without Toolbox
Abstract
4.1. Scilab GUI
Steps to design GUI in Scilab
SECTION B: Arduino_1.1 Package with Scilab
Scilab Arduino_1.1 Package (using toolbox_ arduino_v3.ino)
Abstract
5.1. Steps to Install Package in Arduino
5.2. Blocks of Scilab XCOS
Building Blocks of XCOS
5.3. Digital Read
5.3.1. Circuit Diagram
5.4. Digital Write
5.4.1. Circuit Diagram
5.5. Digital Read and Write
5.5.1. Circuit Diagram
5.6. Analog Read with Potentiometer
5.6.1. Circuit Diagram
5.7. Analog read with temperature sensor
5.7.1. Circuit Diagram
5.8. Analog Read Write
5.8.1. Circuit Diagram
Servo Motor Control with Arduino_1.1 Package
Abstract
6.1. Circuit Diagram
Motion Detection System with Arduino_1.1 Package
Abstract
PIR Motion Sensor
7.1. CIRCUIT DIAGRAM
Two Axis Solar Tracker with Arduino_1.1 Package
Abstract
Servo Motor
8.1. Circuit Diagram
Environment Parameter Monitoring System with Arduino_1.1 Package
Abstract
IR Sensor
Gas Sensor
The Proximity & Touch Sensor
LM35
9.1. CIRCUIT DIAGRAM
Environment Parameter Monitoring Robot with Arduino_1.1 Package
Abstract
10.1. CIRCUIT DIAGRAM
PID Controller for Heater with Arduino_1.1 Package
Abstract
11.1. CIRCUIT DIAGRAM
SECTION C: Scilab GUI without Arduino_1.1 package
Wireless Building Automation System
Abstract
12.1. Circuit Diagram
12.1.1. Connections of Transmitter Section
12.1.2. Connections of Receiver Section
12.2. Program Code
12.2.1. Program Code for Transmitter Section
12.2.2. Program Code for Receiver Section
12.3. GRAPHICAL USER INTERFACE IN SCILAB
Wireless Robot Control with Scilab GUI
Abstract
13.1. Circuit Diagram
13.1.1. Connections for Transmitter Section.
13.1.2. Connections for Receiver Section.
13.2. Program Code
13.2.1. Program Code for Transmitter Section (Scilab Side)
13.2.2. Program Code for Receiver Section.
13.3. Graphical User Interface in Scilab
BIBLIOGRAPHY

Arduino and SCILAB based Projects

Authored by:

Rajesh Singh and Anita Gehlot

Electronics & Communication Department Lovely Professional University, India

Bhupendra Singh

Schematics Microelectronics, Dehradun, Uttrakhand, India

BENTHAM SCIENCE PUBLISHERS LTD.

End User License Agreement (for non-institutional, personal use)

This is an agreement between you and Bentham Science Publishers Ltd. Please read this License Agreement carefully before using the ebook/echapter/ejournal (“Work”). Your use of the Work constitutes your agreement to the terms and conditions set forth in this License Agreement. If you do not agree to these terms and conditions then you should not use the Work.

Bentham Science Publishers agrees to grant you a non-exclusive, non-transferable limited license to use the Work subject to and in accordance with the following terms and conditions. This License Agreement is for non-library, personal use only. For a library / institutional / multi user license in respect of the Work, please contact: [email protected].

Usage Rules:

All rights reserved: The Work is the subject of copyright and Bentham Science Publishers either owns the Work (and the copyright in it) or is licensed to distribute the Work. You shall not copy, reproduce, modify, remove, delete, augment, add to, publish, transmit, sell, resell, create derivative works from, or in any way exploit the Work or make the Work available for others to do any of the same, in any form or by any means, in whole or in part, in each case without the prior written permission of Bentham Science Publishers, unless stated otherwise in this License Agreement.You may download a copy of the Work on one occasion to one personal computer (including tablet, laptop, desktop, or other such devices). You may make one back-up copy of the Work to avoid losing it.The unauthorised use or distribution of copyrighted or other proprietary content is illegal and could subject you to liability for substantial money damages. You will be liable for any damage resulting from your misuse of the Work or any violation of this License Agreement, including any infringement by you of copyrights or proprietary rights.

Disclaimer:

Bentham Science Publishers does not guarantee that the information in the Work is error-free, or warrant that it will meet your requirements or that access to the Work will be uninterrupted or error-free. The Work is provided "as is" without warranty of any kind, either express or implied or statutory, including, without limitation, implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the results and performance of the Work is assumed by you. No responsibility is assumed by Bentham Science Publishers, its staff, editors and/or authors for any injury and/or damage to persons or property as a matter of products liability, negligence or otherwise, or from any use or operation of any methods, products instruction, advertisements or ideas contained in the Work.

Limitation of Liability:

In no event will Bentham Science Publishers, its staff, editors and/or authors, be liable for any damages, including, without limitation, special, incidental and/or consequential damages and/or damages for lost data and/or profits arising out of (whether directly or indirectly) the use or inability to use the Work. The entire liability of Bentham Science Publishers shall be limited to the amount actually paid by you for the Work.

General:

Any dispute or claim arising out of or in connection with this License Agreement or the Work (including non-contractual disputes or claims) will be governed by and construed in accordance with the laws of the U.A.E. as applied in the Emirate of Dubai. Each party agrees that the courts of the Emirate of Dubai shall have exclusive jurisdiction to settle any dispute or claim arising out of or in connection with this License Agreement or the Work (including non-contractual disputes or claims).Your rights under this License Agreement will automatically terminate without notice and without the need for a court order if at any point you breach any terms of this License Agreement. In no event will any delay or failure by Bentham Science Publishers in enforcing your compliance with this License Agreement constitute a waiver of any of its rights.You acknowledge that you have read this License Agreement, and agree to be bound by its terms and conditions. To the extent that any other terms and conditions presented on any website of Bentham Science Publishers conflict with, or are inconsistent with, the terms and conditions set out in this License Agreement, you acknowledge that the terms and conditions set out in this License Agreement shall prevail.

Bentham Science Publishers Pte. Ltd. 80 Robinson Road #02-00 Singapore 068898 Singapore Email: [email protected]

PREFACE

The primary objective of writing this book is to provide a platform for the beginners to get started with Arduino and its interfacing with SCILAB. The book provides the basic knowledge of the programming and interfacing of the devices with Arduino and SCILAB.

This book provides basics to advanced knowledge of Arduino and its interfacing with input/output devices (display devices, actuators, sensors), communication modules (RF modem, Zigbee) and SCILAB. This would be beneficial for the people who want to get started with embedded system projects. It provides embedded system based on Arduino with simulation, programming and interfacing with SCILAB, all at a single platform. Arduino interfacing with SCILAB with and without Arduino_1.1 packages are included. Basics of the Arduino are covered in section-A, section-B covers interfacing with Scilab Arduino_1.1 package and section-C covers projects without Scilab Arduino_1.1 package.

The concept which makes this book unique is descriptions of real time project prototypes with programming and simulation of Arduino and SCILAB. This book is entirely based on the practical experience of the authors, while undergoing projects with the students and industries. Although the circuits and programs mentioned in the text are tested, but in case of any mistake we extend our sincere apologies. Any suggestions to improve the contents of book are always welcome and will be appreciated and acknowledged.

ACKNOWLEDGEMENTS

We acknowledge the support from ‘Nutty Engineer’ to use its products to demonstrate and explain the working of the systems. We would like to thank ‘BENTHAM SCIENCE’ for encouraging our idea about this book and the support to manage the project efficiently.

We are grateful to the honorable Chancellor (Lovely Professional University) Ashok Mittal, Mrs. Rashmi Mittal (Pro Chancellor, LPU), Dr. Ramesh Kanwar (Vice Chancellor, LPU), Dr. Loviraj Gupta (Executive Dean, LPU) for their support. In addition, we are thankful to our family, friends, relatives, colleagues and students for their moral support and blessings.

CONFLICT OF INTEREST

The author(s) declared no conflict of interest regarding the contents of each of the chapters of this book.

Rajesh Singh and Anita Gehlot Electronics & Communication Dept. Lovely Professional University, IndiaBhupendra Singh Schematics Microelectronics,

SECTION A: Arduino and its Interfacing

Introduction to Arduino and Arduino IDE and toolbox_arduino_v3

Rajesh Singh,Anita Gehlot,Bhupendra Singh

Abstract

Arduino is an open source platform and easy to use. The chapter discusses the brief description to board. Steps to download and upload Scilab XCOS files to Arduino are also discussed, to get started with it. Arduino is an open-source electronic prototyping platform based on flexible, easy-to-use hardware and software. It is intended for persons interested in creating interactive objects or environments.

Arduino can sense the environment by receiving input from sensors and can affect its surroundings by controlling devices. Microcontroller on the board is programmed using Arduino programming language and the Arduino development environment. Arduino projects can be stand-alone or they can communicate with software running on a computer.

Keywords: Arduino, Arduino IDE, Open Source Platform.

Arduino is a user friendly open-source platform. Arduino has on board microcontroller and IDE is used to program it. As compared to similar platforms it is easy to program and has many advantages over them.

Advantages:

Low Cost - Arduino boards are of relatively low-cost as compared to other microcontroller platforms.

Cross-platform - The Arduino Software (IDE) is compatible with Windows, Macintosh OSX, and Linux operating systems, which most of microcontroller systems are not.

User Friendly - The Arduino Software (IDE) is user friendly and easy-to-use for beginners and much flexibility for skilled programmers.

Open source - The Arduino is an open source software and can be programmed with C, C++ or AVR-C languages.

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