Arduino: GEET PATEL (13BEC072) Darp Raithatha (13bec084)
Arduino: GEET PATEL (13BEC072) Darp Raithatha (13bec084)
A Seminar Report
Submitted by:
GEET PATEL (13BEC072)
DARP RAITHATHA (13BEC084)
Guided by:-
HARDIK JOSHI
Bachelor of Technology
Electronics and Communication Department
SEMESTER : IV
Institute of Technology
NIRMA UNIVERSITY
MAY, 2015.
1
Abstract:-
This report will help you making your project much easier using Arduino.
2
Acknowledgements:-
We would like to express our special thanks of gratitude to our guide Prof.
Hardik Joshi as well as our director Dr. Ketan Kotecha, our HOD Dr. P.N Tekwani
and our section head Dr. D.K Kothari who gave us the golden opportunity to do
this wonderful research on the topic “Arduino” which also helped us in doing a lot
of research and we came to know about so many new things that we are really
thankful to them.
Secondly we would like to thank our parents and friends who helped us a lot
in finalizing this project within the time frame.
3
Table of contents
Sr. no. Chapter Page no.
i. Abstract 2
ii. Acknowledgement 3
1. Arduino 5
1.3.1 Controller 7
2. Sensors 10
2.2 Types 10
2.3 Interfacing 10
4 Conclusion 15
5 References 16
4
1.1 WHAT IS ARDUINO?
Arduino is an open-source electronics platform based on easy-to-use hardware and
software. It's intended for anyone making interactive projects. Arduino can take the input
from many sensors attached to it & can give the output to many lights, motors etc.
There is no prerequisite knowledge of Advance electronics for operating Arduino. All
you should know is basic electronics and C programming language.
Arduino platform mainly contains a Hardware Board called Arduino Board & software
Arduino IDE to program it.
Other external hardware like Sensor Modules, Motors, lights etc. could be attached with
the board.
1.2 ARDUINO BOARDS:-
Arduino UNO.
Arduino MEGA.
Arduino MINI.
Arduino DUE.
Arduino YUN.
Arduino Lily pad.
Arduino Duemilanova.
Apart from this there are many more boards that can be used. As it’s open source instead
of Arduino you can also find, Freeduino, Arkduino etc. available in the market. Selection
of Board should be done according to the application.
The most common Board used is Arduino UNO
5
Figure no. 1.1 Arduino UNO
6
Figure no. 1.3 Parts of Arduino Uno
7
Fig 1.5:- AtMega 328
Arduino mainly uses the Atmeal 8-bit microcontrollers i.e AtMega8, AtMega16, AtMega328.
Below we have described AtMega328.Pin number 1 is RESET. Whenever the Reset is given
high the program dumped will be executed from the beginning.Pin number 2, 3, 4, 5, 6, 11, 12,
13, 14, 15, 16, 17, 18, 19 are the Digital Pins. The digital I/P’s & O/P’s are taken from these
pins. Here the 0 V is considered as LOW & 5 V is taken as HIGH.Pin number 7 & 20 are the
VCC. Pin number 8 & 22 are Ground.Pin number 9 & 10 are connected with the clock, a 16
MHz crystal oscillator.Pin number 21 is actually Analog Reference which is generally taken as 5
V.Pin number 23, 24 25, 26, 27, 28 are the Analog Pins. Analog I/P’s are taken from these pins.
It considers 0 V as 0 and 5 V as 1023. So it gives the O/P upto 10 bits.
8
Between these 2 supplies there is a power selection jumper which is used to choose
which power to use at present time. There is a Voltage Regulator in a board to regulate the
voltage. (Which Regulator is used?? No & Specification) There are capacitors to maintain the
constant power supply to the board as the battery initially when fully charged supplies enough
power but after some time as it discharges the power supplied decreases. So the capacitors are
there to maintain constant Supply.
9
1.4 Arduino Programming Environment:-
2. SENSORS
2.1 What are sensors?
Sensor is a device which detects or measures a physical property and records, indicates, or
otherwise responds to it.
10
2.2 Types:-
Joystick
Sound
Touch
Temperature
Reed
Hall
Infrared Tx and Rx
11
Fig 2.2 Tracking Sensor’s Connection
Readings:-
Readings:-
12
Fig 2.5 :- Serial Monitor Readings
14
2.3.4 Temperature Sensor:-
Connections:-
15
3. Home Automation Project:-
Connections:
Code:-
16
Working:-Initially the GSM Library initializes a virtual Serial Communication called
Software serial. This port is initialized on pin no. 2 (Rx) and 3 (Tx). First Arduino connects
modem to the network & prints GSM Ready. So now it is ready to receive the SMS. As the
SMS arrives the Arduino stores it in variable c & compares it with default values &
executes the commands according to the match. In order to send the SMS an Android app
has been used created in MIT App Inventor which sends the default message for different
instruments to the GSM.
5. References:-
1. www.ardino.cc
2. www.instructibles.com
3. www.arktechnologies.com
4. beta.appinventer.mit.edu
17