Rajiv Gandhi University Of Knowledge
Technology
ARDUINO APPLICATIONS
&
INTERFACING BLUETOOTH MODULE WITH ARDUINO
• Presenting By:
• S180050
• S180456
• S180327
• S180795
• S181017
What is Arduino?
Arduino is an open-source hardware and software
company, project, and user community that designs and
manufactures single-board microcontrollers and
microcontroller kits for building digital devices.
Arduino is an open-source electronics platform based
on easy-to-use hardware and software. Arduino boards
are able to read inputs - light on a sensor, ...
ARDUINO
• Open source platform.
• Atmega micro-controller.
• Wiring software.
• Arduino ide software.
GENERAL PIN CONFIGURATION
WIRING SOFTWARE INTERFACE
ARDUINO IDE INTERFACE
Interfacing Bluetooth Module (HC-05) with
Arduino Uno :
Bluetooth is a one of the great example for wireless
connectivity. It is used in many fields. Bluetooth consumes
very small amount of energy. Do you know about
Smartphone controlled robot or car. Commonly one of
these two wireless technology is used in Smartphone
controlled robot. One is WIFI and other is Bluetooth. And
another commonly used wireless technology for controlling
Robot car is RF. Which is the same remote and receiver
used in drones. Here we are going to interface a Bluetooth
Module (HC-05) with Arduino Uno. And describe each line
of code. Then we control the builtin LED of Arduino Uno
from smartphone via Bluetooth.
Before starting we must know about the HC-05
Interfacing with Bluetooth Module :
• HC-05 Bluetooth
Module:
• HC-05 is
a Bluetooth
module which is
designed for wireless
communication. This
module can be used in
a master or slave
configuration.
Connection with Arduino :
• Connections :
• Arduino Uno HC-05
• Rx - Tx
• Tx - Rx
• 5v - +5v
• GND - GND
Connection with Arduino Using code:
• I am going to code the loop part. Use a
while loop and the function
"Serial.available()". This function returns the
number of bytes available to read. The body
part of while loop works only the
"Serial.available()" is greater than 0. Then
read the data available in serial port. For that, I
use the function "Serial.read()". Then store it
to "inputByte". Then use an "if" condition.
Make the pin 13 "HIGH" if the "inputByte" is
"Z" (upper case).Because the the App will
send "z" when the button is in ON mode. This
is for turn on the LED. Next I use a "else if"
condition to turn off the LED. condition for
turn off the LED is "inputByte==z"(lower
case). Because the the App will send "Z"
when the button is in OFF mode. For more
see the String table.
char inputByte='z';
void setup(){
Serial.begin(9600);
pinMode(13,OUTPUT);
}
void loop() {
while(Serial.available()>0){
inputByte= Serial.read();
Serial.println(c);
if (inputByte=='Z'){
digitalWrite(13,HIGH);
}
else if (inputByte=='z'){
digitalWrite(13,LOW);
}
}
}
Applications:
• Home automation using Arduino and Bluetooth:
• What is Home automation using Arduino and
Bluetooth?
In the system, we have a mobile app which can be an MIT-app invented app or You can
also download the app from the play store with the name home automation. there are many
apps you can download the app as per your requirement We will also share the link below. So,
The app will be connected to the Bluetooth HC-05 which is part of the control system and
Bluetooth HC-05 receive the data from the android app.
There are many buttons in the app which send some variables when we press those
buttons. Now, the Bluetooth HC-05 receives and sends this data to the Arduino by serial
communication. And Arduino starts to compare this data with the Database and there are many
conditions for the different bulbs. if any condition finds true then the associate bulb starts to
glow. Here the HC-05 works as recipients and Arduino is like Controller. With the Arduino, we
are also using the relay module so that we can interface the electronic appliance with the
Arduino. Bluetooth home automation Content all these points which I have mentioned above I
hope you all get all the points and this will surely help you make the project work.
Relay Module :
• A power relay module
is an electrical switch
that is operated by an
electromagnet. The
electromagnet is
activated by a separate
low-power signal from a
micro controller. When
activated, the
electromagnet pulls to
either open or close an
electrical circuit.
Home automation using Arduino and Bluetooth Circuit
Diagram :
SMART DOOR LOCKING SYSTEM
• Introduction
• Required components
• Door lock 3d design
• Assembling
• code
• Schematic
• setup 3d
INTRODUCTION
• simply and easy to manage
• android application is needed
• password type prototype
• feedback responses are obtained
REQUIREMENTS
1.Arduino board
2.HC-05 Bluetooth module
3.Servo motor
4.3D Designer
DESIGN
3D Design
• two commands(open and
close)
• assigning “=”
• “open=” and “close=”
SCHEMATIC DIAGRAM
ANDROID APP
• Accept terms and
conditions
• start new project
and name the
project
• appinventor.mit.edu
• Switch over the
block editors
• make apk file
FINAL LAYOUT OF ANDROID APP
Automatic Streetlight Controller
Required
• LDR
• LED
• 4.7k Resistor
• Bread Board
• Connecting wires
• Arduino
CIRCUIT
VIDEO
TRAFFIC LIGHT CONTROLLER
Required
• Arduino Mega 2560
• Red LEDs (4 pieces)
• Yellow LEDs (4 pieces)
• Green LEDs (4 pieces)
• 220 ohm resistors (12 pieces)
• Jumper cables
• Breadboards
CIRCUIT
VIDEO
Sound applications
 Musical instruments
 Farming alert system
 Fire alarming system
 Basic home applications
MUSICAL INSTRUMENT
PIEZO
Sensors are used in a variety of
applications such as microphones,
amplified guitars, and medical imaging
equipment. A piezoelectric microphone
is used in these devices to detect
pressure variations in sound waves,
which can then be converted to an
electrical signal for processing.
Music Instrument using ARDUINO
Farming alert system
Contemporary fire alarm systems use automatic functions to
detect the occurrence of an event that may result in a fire.
They receive a signal from a fire sensor (smoke, heat or carbon
monoxide detector) and automatically transmit it to the fire
alarm panel
Fire alarming system
Basic Home Applications
#https://create.arduino.cc/projecthub/akshayjoseph666/int
erfacing-bluetooth-module-hc-05-with-arduino-uno-f5209b
#https://create.arduino.cc/projecthub/electropeak/getting-
started-with-hc-05-bluetooth-module-arduino-e0ca81
#https://create.arduino.cc/projecthub/Shubhamkumar97/h
ome-automation-using-arduino-and-bluetooth-control-
404e9c
#https://www.arduino.cc/en/Guide/Introduction
#https://www.instructables.com/Arduino-Musical-
Instrument/
#https://create.arduino.cc/projecthub/techno_z/arduino-
traffic-light-simulator-2ec9f7
References:
ARDUINO.pptx

ARDUINO.pptx

  • 1.
    Rajiv Gandhi UniversityOf Knowledge Technology
  • 2.
    ARDUINO APPLICATIONS & INTERFACING BLUETOOTHMODULE WITH ARDUINO • Presenting By: • S180050 • S180456 • S180327 • S180795 • S181017
  • 3.
    What is Arduino? Arduinois an open-source hardware and software company, project, and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices. Arduino is an open-source electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs - light on a sensor, ...
  • 4.
    ARDUINO • Open sourceplatform. • Atmega micro-controller. • Wiring software. • Arduino ide software.
  • 5.
  • 6.
  • 7.
  • 9.
    Interfacing Bluetooth Module(HC-05) with Arduino Uno : Bluetooth is a one of the great example for wireless connectivity. It is used in many fields. Bluetooth consumes very small amount of energy. Do you know about Smartphone controlled robot or car. Commonly one of these two wireless technology is used in Smartphone controlled robot. One is WIFI and other is Bluetooth. And another commonly used wireless technology for controlling Robot car is RF. Which is the same remote and receiver used in drones. Here we are going to interface a Bluetooth Module (HC-05) with Arduino Uno. And describe each line of code. Then we control the builtin LED of Arduino Uno from smartphone via Bluetooth. Before starting we must know about the HC-05
  • 10.
    Interfacing with BluetoothModule : • HC-05 Bluetooth Module: • HC-05 is a Bluetooth module which is designed for wireless communication. This module can be used in a master or slave configuration.
  • 11.
    Connection with Arduino: • Connections : • Arduino Uno HC-05 • Rx - Tx • Tx - Rx • 5v - +5v • GND - GND
  • 12.
    Connection with ArduinoUsing code: • I am going to code the loop part. Use a while loop and the function "Serial.available()". This function returns the number of bytes available to read. The body part of while loop works only the "Serial.available()" is greater than 0. Then read the data available in serial port. For that, I use the function "Serial.read()". Then store it to "inputByte". Then use an "if" condition. Make the pin 13 "HIGH" if the "inputByte" is "Z" (upper case).Because the the App will send "z" when the button is in ON mode. This is for turn on the LED. Next I use a "else if" condition to turn off the LED. condition for turn off the LED is "inputByte==z"(lower case). Because the the App will send "Z" when the button is in OFF mode. For more see the String table. char inputByte='z'; void setup(){ Serial.begin(9600); pinMode(13,OUTPUT); } void loop() { while(Serial.available()>0){ inputByte= Serial.read(); Serial.println(c); if (inputByte=='Z'){ digitalWrite(13,HIGH); } else if (inputByte=='z'){ digitalWrite(13,LOW); } } }
  • 13.
    Applications: • Home automationusing Arduino and Bluetooth: • What is Home automation using Arduino and Bluetooth? In the system, we have a mobile app which can be an MIT-app invented app or You can also download the app from the play store with the name home automation. there are many apps you can download the app as per your requirement We will also share the link below. So, The app will be connected to the Bluetooth HC-05 which is part of the control system and Bluetooth HC-05 receive the data from the android app. There are many buttons in the app which send some variables when we press those buttons. Now, the Bluetooth HC-05 receives and sends this data to the Arduino by serial communication. And Arduino starts to compare this data with the Database and there are many conditions for the different bulbs. if any condition finds true then the associate bulb starts to glow. Here the HC-05 works as recipients and Arduino is like Controller. With the Arduino, we are also using the relay module so that we can interface the electronic appliance with the Arduino. Bluetooth home automation Content all these points which I have mentioned above I hope you all get all the points and this will surely help you make the project work.
  • 14.
    Relay Module : •A power relay module is an electrical switch that is operated by an electromagnet. The electromagnet is activated by a separate low-power signal from a micro controller. When activated, the electromagnet pulls to either open or close an electrical circuit.
  • 15.
    Home automation usingArduino and Bluetooth Circuit Diagram :
  • 16.
    SMART DOOR LOCKINGSYSTEM • Introduction • Required components • Door lock 3d design • Assembling • code • Schematic • setup 3d
  • 17.
    INTRODUCTION • simply andeasy to manage • android application is needed • password type prototype • feedback responses are obtained
  • 18.
    REQUIREMENTS 1.Arduino board 2.HC-05 Bluetoothmodule 3.Servo motor 4.3D Designer
  • 19.
  • 20.
  • 21.
    • two commands(openand close) • assigning “=” • “open=” and “close=”
  • 22.
  • 23.
    ANDROID APP • Acceptterms and conditions • start new project and name the project • appinventor.mit.edu
  • 24.
    • Switch overthe block editors • make apk file
  • 25.
    FINAL LAYOUT OFANDROID APP
  • 26.
    Automatic Streetlight Controller Required •LDR • LED • 4.7k Resistor • Bread Board • Connecting wires • Arduino
  • 27.
  • 28.
  • 29.
    TRAFFIC LIGHT CONTROLLER Required •Arduino Mega 2560 • Red LEDs (4 pieces) • Yellow LEDs (4 pieces) • Green LEDs (4 pieces) • 220 ohm resistors (12 pieces) • Jumper cables • Breadboards
  • 30.
  • 31.
  • 33.
    Sound applications  Musicalinstruments  Farming alert system  Fire alarming system  Basic home applications
  • 34.
  • 35.
    PIEZO Sensors are usedin a variety of applications such as microphones, amplified guitars, and medical imaging equipment. A piezoelectric microphone is used in these devices to detect pressure variations in sound waves, which can then be converted to an electrical signal for processing.
  • 36.
  • 37.
  • 38.
    Contemporary fire alarmsystems use automatic functions to detect the occurrence of an event that may result in a fire. They receive a signal from a fire sensor (smoke, heat or carbon monoxide detector) and automatically transmit it to the fire alarm panel Fire alarming system
  • 39.
  • 40.