0% found this document useful (0 votes)
10 views25 pages

pdf&rendition=1

The document is a user manual for an Arduino Target Board, detailing the installation and usage of the Arduino IDE software, as well as multiple experiments involving interfacing various sensors and modules with Arduino. It covers step-by-step procedures for projects such as temperature and humidity sensing with a DHT11 sensor, Bluetooth control using the HC05 module, GSM communication with the SIM800 module, and RFID system integration with the EM18 module. Each experiment includes objectives, procedures, and example code to facilitate learning and practical application.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views25 pages

pdf&rendition=1

The document is a user manual for an Arduino Target Board, detailing the installation and usage of the Arduino IDE software, as well as multiple experiments involving interfacing various sensors and modules with Arduino. It covers step-by-step procedures for projects such as temperature and humidity sensing with a DHT11 sensor, Bluetooth control using the HC05 module, GSM communication with the SIM800 module, and RFID system integration with the EM18 module. Each experiment includes objectives, procedures, and example code to facilitate learning and practical application.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

Arduino Target Board

User Manual

Student Name: _____________________________________________________


Class: ______________________________________________ Batch: _______
Subject: __________________________________________________________

Mr. Girish Avhale (SET, NET) Dr. M. A. Shaikh (SET, Ph.D.)


Email ID: avhaleg@gmail.com Email ID: mudassarshaikh333@gmail.com
Mobile No.- 9822590931, 8237348429 Mobile No.- 9960277201, 9834975744
User Guide for Arduino IDE Software
Steps to Installation of Arduino IDE software
Download Link: https://www.arduino.cc/en/Main/Software
1. Double Click on arduino.exe file.
2. Then click on “I Agree”.

3. Without changing anything click on “Next >”.

4. Select the destination folder & click on “Install”.


5. After installation completed click on “Close”.

-----------------------------------------------------------*************----------------------------------------------------------
Steps to use of Arduino IDE software
1. Double Click on “Arduino” icon.
2. The Arduino IDE will be opened with previously open project.

3. For new project go to File -> New.

4. New Project is open.


5. It contains two main sections. setup() & loop().
The initialization code
or the code that to be
run once is placed here

The code that


to be executed
continuously is
placed here.

This is output window where


different informative messages (like
verification & uploading success /
error messages) are displayed.

6. After writing your program save it, go to File -> Save.

7. Select the folder where you want to save your file (if don’t want to save in default Arduino folder),
then give the appropriate name to the file and click on “save”.
8. Then to compile the written program, select Sketch -> Verify / Compile option. Or click on “Verify”
button.

9. After compilation is done, output window display message “DoneCompiling” (if there are no errors
in a program). Also displays information about how much program & data memory is used by the
program.

10. Then select the desired Arduino board, go to Tools -> Board: -> Arduino / Genuino Uno (if Uno is
used) or select Arduino Nano (if nano is used).
11. For Arduino Nano, there is option for selection of Processor. This has three choices user can select
one as per the processor & Bootloader used in the available Nano board.

12. After selecting the board, select the COM port where selected board is connected. Go to the Tools -
> Port.
13. Once board & COM port is selected, upload the program on to the connected board. Go to Sketch -
> Upload. (Arduino has on board programmer, hence no need of external programmer.)
14. Perform necessary connections to the Arduino and observed the output. In order to execute program
again from start press Reset button on the Arduino board.
15. If you want to use serial monitor, go to Tools -> Serial Monitor. (Serial monitor displays the data
coming from serial port of the Arduino).

16. If library for any component (sensor / shield) is not available in the Arduino IDE, it can be added
externally. Go to Sketch -> Include Library -> Manage Libraries… (Requires internet connection)

17. The new window will open, where you can search the library you want. E.g. type the name keypad
for keypad library, as follows:

18. Select the desired Keypad library, select version and click on install.
19. If the desired library is not found here, then there is another option to add library. Search the
library in the GitHub. E.g. search for DHT11 sensor library.

20. In the GitHub website select “Download ZIP” option.

21. Then go to Arduino IDE, select Sketch -> Include Library -> Add .ZIP Library…
22. Select the downloaded ZIP file and click on “Open”.

23. You can go through the in-build examples available in the Arduino IDE and try them on actual
Arduino board as per your interest.

-----------------------------------------------------------*************----------------------------------------------------------
Experiment – 1
Title: Temperature and humidity sensing using Arduino.
Aim: To study and understand Interfacing Temperature and humidity sensor (DHT11) to Arduino.
Objectives:
 To understand the working principle of DHT11 sensor.
 To study interfacing of DHT11 sensor to Arduino.
 To study Arduino IDE software.
Software Used: Arduino IDE
Circuit Diagram:

+5V

1
DHT11 Arduino
Sensor 2 Nano
Data o/p
D3
Module Rx, Tx

3 Arduino IDE
GND Serial Monitor

Theory:
The DHT11 sensor. It is a temperature and humidity sensor having 4 pin single row pin package,
single wire serial interface with a calibrated digital signal output. It ensures high reliability, long term
stability, excellent quality, fast response, cost effectiveness. The single wire serial interface makes
system integration quick and easy. Its small size and low power consumption. It has humidity
measurement range of 20% to 90% RH and temperature measurement range from 0 to 50 Celsius.

Procedure:
 Connect DC power adaptor to the MGTechSolution Arduino Target board.
 Start Arduino IDE and follow the steps mention in the “Steps to use of Arduino IDE software”.
 Install “dht” library (if not available) in to the Arduino IDE.
 Compile the written program, if there are no errors connect the PC with Arduino by using USB
cable.
 Upload the program in to Arduino board and don’t remove the USB cable from board (because
we will observe the output on serial monitor of Arduino IDE).
 Make necessary connections to connect o/p pin from DHT11 section to D3 digital pin in the
Arduino section.
 Observe the output on serial monitor of Arduino IDE.

Program:
#include<dht.h>
dht DHT;
#define DHT11_PIN 3
void setup()
{
Serial.begin(9600);
}
void loop()
{
int chk = DHT.read11(DHT11_PIN);
Serial.println(" Humidity " );
Serial.println(DHT.humidity, 1);
Serial.println(" Temparature ");
Serial.println(DHT.temperature, 1);
delay(5000); //5 sec delay
}

Result: Interfacing of Temperature and humidity sensor (DHT11) with Arduino is successfully studied,
tested and observe the output.

Teacher’s Sign.

-----------------------------------------------------------*************----------------------------------------------------------
Steps to use Bluetooth Terminal HC05 Mobile app.
1. Go to Play Store of your smart phone and install the “Bluetooth Terminal HC05” app.
2. Open “Bluetooth Terminal HC05” app. in your smart phone. Click on SCAN.

3. App scan new devices and when found, ask for password in order to pair with that new device.
Password for all HC05 devices is same i.e. “1234”. Enter the password and press “OK”.

4. Then the HC05 device showed under the heading of Paired Devices.
5. Click on the device to open this device for further communication. Then either you can enter
ASCII command and click on “Send ASCII”, or you can configure given buttons in order to
send commands.

Enter ASCII
command here

Configure buttons for


sending commands

6. To configure any button click on that particular button and perform some button settings. Enter
button name (as per your choice), then select the command data type (ASCII or HEX) and
enter the command value. Click on save.
7. Repeat step 6 for another button. One button is used to make device ON and another to make
button OFF.

8. Then pressed the “on” button to make device ON and pressed “off” button to make device
OFF.

-----------------------------------------------------------*************----------------------------------------------------------
Experiment – 2
Title: To study Arduino based LED switching using mobile.
Aim: To study Arduino based LED switching using mobile.
Objectives:
 To understand the working principle of HC05 Bluetooth module.
 To study interfacing of Bluetooth module to Arduino.
 To study Arduino IDE software.
Software Used: Arduino IDE
Circuit Diagram:

+5V
+5V
Tx R
Rx
D2
Rx
Tx

Arduino
Nano
Bluetooth
Terminal HC05

Bluetooth
Module HC05
GND
GND

Theory:
Bluetooth is a wireless technology standard used for exchanging data between fixed and mobile
devices over short distances using short-wavelength UHF radio waves in the industrial, scientific and
medical radio bands, from 2.402 GHz to 2.480 GHz, and building personal area networks (PANs). It
was originally conceived as a wireless alternative to RS-232 data cables. The IEEE standardized
Bluetooth as IEEE 802.15.1. Bluetooth is a one of the great example for wireless connectivity. It is used
in many fields. Bluetooth consumes very small amount of energy. Here we are going to interface a
Bluetooth Module (HC-05) with Arduino. HC-05 is a Bluetooth module which can communicate in two
ways. Which means, It is full-duplex. We can use it with most micro controllers. Because it operates on
Serial Port Protocol (SSP). The module communicates with the help of USART (Universal
Synchronous/Asynchronous Receiver/Transmitter) at the baud rate of 9600, and it also supports other
baud rate. So we can interface this module with any microcontroller which supports USART. The HC-
05 can operate in two modes. One is Data mode and other is AT command mode. When the enable pin
is "LOW" the HC-05 is in Data Mode. If that pin set as "HIGH" the module is in AT command mode.
Here we operate this module in Data Mode.
Technical Specifications -
 Operating Voltage: 4V to 6V (Typically +5V)
 Operating Current: 30mA
 Range: <100m
 Works with Serial communication (USART) and TTL compatible.
 Can be easily interfaced with Laptop or Mobile phones with Bluetooth.
Procedure:
 Connect DC power adaptor to the MGTechSolution Arduino Target board.
 Start Arduino IDE and follow the steps mention in the “Steps to use of Arduino IDE software”.
 Compile the written program, if there are no errors connect the PC with Arduino by using USB
cable.
 Upload the program in to Arduino board (make necessary connection only after program is
uploaded successfully).
 Pair Bluetooth Module HC05 with the smartphone. Password for pairing is “1234”. Make
necessary connections as shown in the above circuit diagram.
 Enter the commands in to any Bluetooth Mobile app. to make LED on / off, and observe the
output.
Flowchart:
Start

Initialize Serial Port for 9600 baud rate &


make D2 pin as output to control relay

Read serial data from Bluetooth module using


Serialread() function

NO NO
is data equal is data equal
to ‘1’ to ‘2’
YES YES

Turn ON Device Turn OFF Device


Program:
char inputByte;
int led = 2;
void setup() {
Serial.begin(9600);
pinMode(led, OUTPUT);
}
void loop() {
while(Serial.available()>0){
inputByte= Serial.read();
if (inputByte=='1'){
digitalWrite(led, LOW);
}
else if (inputByte=='2'){
digitalWrite(led, HIGH);
}
}
}

Applications of Bluetooth: (Student can search & write application here)


Exercises:
1. Repeat the same experiment to control two devices.
2. Repeat the same experiment with HEX commands.
Result: Interfacing of Bluetooth with Arduino is successfully studied, tested and observe the output.

Teacher’s Sign.

-----------------------------------------------------------*************----------------------------------------------------------
Experiment – 3
Title: Study of GSM system.
Aim: To study GSM system for message transmission.
Objectives:
 To understand the working principle of SIM800 GSM module.
 To study interfacing of SIM800 GSM module to Arduino.
 To study Arduino IDE software.
Software Used: Arduino IDE
Circuit Diagram:

Tx Rx
SIM800 Arduino
GSM Rx Tx Nano
Module
Gnd Gnd

Theory:
A GSM modem or GSM module is a hardware device that uses GSM mobile telephone
technology to provide a data link to a remote network. From the view of the mobile phone network, they
are essentially identical to an ordinary mobile phone, including the need for a SIM to identify themselves
to the network. GSM modems typically provide TTL-level serial interfaces to their host. [wikipedia]

SIM800 is a complete Quad-band GSM/GPRS solution in a SMT type which can be embedded
in the customer applications. SIM800 support Quad-band 850/900/1800/1900MHz, it can transmit
Voice, SMS and data information with low power consumption.

Procedure:
 Connect DC power adaptor to the MGTechSolution Arduino Target board.
 Start Arduino IDE and follow the steps mention in the “Steps to use of Arduino IDE software”.
 Compile the written program, if there are no errors connect the PC with Arduino by using USB
cable.
 Upload the program in to Arduino board (make necessary connection only after program is
uploaded successfully).
 Make necessary connections as shown in the above circuit diagram.
 Observe the output.
Hint:
 Network LED blinking every 3 seconds means network is connected.
 Network LED blinking every second means that network is still being searched.
Program:
void setup() {
Serial.begin(9600);
delay(1000);
}
void loop() {
Serial.println("AT+CMGF=1");
delay(1000);
Serial.println("AT+CMGS=\"+91xxxxxxxxxx\"");
delay(5000);
Serial.println("GSM Testing");
delay(1000);
Serial.write(0x1a);
while(1)
{}
}

Result: Interfacing of SIM800 GSM module with Arduino is successfully studied, tested and observe
the output.

Teacher’s Sign.

-----------------------------------------------------------*************----------------------------------------------------------
Experiment – 4
Title: Study of RFID system
Aim: To study EM18 RFID module interfacing to Arduino.
Objectives:
 To understand the working principle of RFID module.
 To study interfacing of EM18 RFID module to Arduino.
 To study Arduino IDE software.
Software Used: Arduino IDE
Circuit Diagram:

Tx
Rx Arduino
Nano

Theory:
The EM-18 RFID Reader module operating at 125kHz is an inexpensive solution for your RFID
based application. The Reader module comes with an on-chip antenna and can be powered up with a 5V
power supply. Power-up the module and connect the transmit pin of the module to receive pin of your
microcontroller. Show your card within the reading distance and the card number is thrown at the output.

Features:
Procedure:
 Connect DC power adaptor to the MGTechSolution Arduino Target board.
 Start Arduino IDE and follow the steps mention in the “Steps to use of Arduino IDE software”.
 Compile the written program, if there are no errors connect the PC with Arduino by using USB
cable.
 Upload the program in to Arduino board (make necessary connection only after program is
uploaded successfully).
 Make necessary connections as shown in the above circuit diagram.
 Observe the output on serial monitor.

Program:
char input[12];
int count = 0;
void setup()
{
Serial.begin(9600); // START SERIAL AT BAUD RATE OF 9600 BITS/SEC
}
void loop()
{
if(Serial.available()) // CHECK FOR AVAILABILITY OF SERIAL DATA
{
count = 0;
while(Serial.available() && count < 12)
{
input[count] = Serial.read(); // Read 1 Byte of data and store it in the input[] variable
count++; // increment counter
delay(5);
}
for(int i=0;i<12;i++)
{
Serial.print(input[i]);
}
Serial.println();
}
}

Applications of RFID: (Student can search & write application here)


Result: Interfacing of EM18 RFID module with Arduino is successfully studied, tested and observe the
output.

Teacher’s Sign.

-----------------------------------------------------------*************----------------------------------------------------------
Appendix
Arduino Uno Pin Diagram:

Arduino Nano Pin Diagram:

Arduino Uno & Nano Specifications:


Arduino Resources:

Sr.
Resources Description
No.

1. Arduino blog* It is a great source of all Arduino-related news.

It manufactures and sells all sorts of products to make your projects


2. SparkFun*
possible.

It is an online shop, repository, and forum for all kinds of kits to help
3. Adafruit*
you make your projects work.
It is a web-based documentation platform that allows people to share
4. Instructables*
their projects.
Watching YouTube videos is especially useful for seeing the proper
5. YouTube*
result of projects.
6. Forum* The Forum is a great place to get answers to specific questions.

7. Arduino IDE* Download latest (plus previous) releases of Arduino IDE software.

GitHub brings together the world's largest community of developers


8. GitHub
to discover, share, and build better software.

------------------------------------------------------------All the Best------------------------------------------------------------------

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy