IJRIT International Journal of Research in Information Technology, Volume 2, Issue 3, March 2014, Pg: 322-327

International Journal of Research in Information Technology (IJRIT)

www.ijrit.com

ISSN 2001-5569

Car Function Handling Via Bluetooth Sujyot K Prasad, Manish Gadre, Harshal Karande, Shraddha Bhide Yadavrao Tasgaonkar Institute of Engineering & Technology, Bhivpuri Road, Karjat, Maharashtra, INDIA Contact: [email protected] Abstract This paper shows the two functions namely Car lock & unlocks & power window using Android, Bluetooth, IC Microcontroller & Arduino. The functions can be handled away from the Vehicle within the range of 10 meters through Mobile Bluetooth. Index Terms – UART – Universal Asynchronous Receiver/Transmitter APK – Android Package IDE – Integrated Development Environment

I. INTRODUCTION The system is constructed by integrating both hardware and software. We use an android app which is connected to the Bluetooth module. Then the Arduino initiates the actuators through microcontrollers to perform the required functions. The concept involves a unique collaboration between software & hardware i.e. Android, Arduino & Motors. The project will be implemented on breadboard as all the components are breadboard compatible. [1]

\

Sujyot K Prasad, IJRIT

322

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 3, March 2014, Pg: 322-327 II. SYSTEM OVERVIEW

Fig.1 Flowchart of System On beginning our activity, the first thing we do is to start the Bluetooth. This will prompt us to search any Bluetooth devices .Then we connect this to the Bluetooth module HC – 05. Now we are directed to choose the desired function. Then the data is sent to Arduino Uno through RX pin. The Arduino loads the sketch of the system for logic purposes and sends the response to Microcontroller IC 293D through TX pin. The response given is in either HIGH or LOW. The IC 293D uses the control signals to start the actuators which operates the designated functions. [2]

III. SYSTEM WORKING

Fig.2 Schematic Diagram of System

Sujyot K Prasad, IJRIT

323

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 3, March 2014, Pg: 322-327 Connect the system as shown in the circuit diagram. Make sure all connections of IC L293D. First we connect motor and actuator to OUT pins of microcontroller IC L293D with the Bluetooth HC05 module mounted on the breadboard. Then we connect RXD of Bluetooth HC05 to TX of Arduino Uno & TXD of Bluetooth HC05 to RX of Arduino Uno. Arduino IDE being a programmable interface allows us to handle different functions on different data inputs. Then we upload the required program sketch to Arduino uno.[2] We create an android application that will be used to invoke the Bluetooth. This application should be capable of sending appropriate data via Bluetooth. This sent data will be received by Bluetooth HC05. Bluetooth HC – 05 will prompt us to select the required functions. On selecting the Car Door Lock functions, first we have to check whether the lock is on or not. If the response is “no”, then the data is sent to ON lock, else if the response is “yes”, then the data is sent to OFF lock. Similarly when we want the window functions, we need to check the motion of the window. Depending on the motion, the data is sent to forward motor if the window is moving up else if moving down then it is moved to reverse motor. Bluetooth HC – 05 will receive the specific data and transmit this data to Arduino uno via TXD and RXD pins. Arduino Uno will use this data with uploaded sketch of program. As directed in the program, Arduino uno will send control signals to microcontroller IC L293D which will trigger the motor and actuator.[2] [3]

IV. SYSTEM ANALYSIS A. Bluetooth HC – 05 BluetoHC-05 module is an easy to use Bluetooth Serial Port Protocol (SPP) module, with UART Connector, TTL interface, & Indicators. It is designed for transparent wireless serial connection setup. It is a fully qualified Bluetooth V2.0 along with Enhanced Data Rate (EDR) & complete 2.4GHz radio transceiver and baseband. The Bluetooth module consists of basic pins for Vcc and GND. Along with this, it consists two major pins. These pins are TXD & RXD.TXD and RXD are used to transfer the data. This module is easily pair able with other Bluetooth. The major pins that we will use are: TXD, RXD, Voltage 3.3V, GND, PIO8, PIO9, and PIO11. PIO8 is used to control LED indicating the status. It will blink after power on.PIO9 is used to control LED indicating paring. It will be steady on when paring is successful.PIO11 is used to set the two modes: AT command mode (if the pin is connected to 3.3V) or Automatic binding transparent data mode (if the pin is connected to GND). HC-05 embedded Bluetooth serial communication module has two work modes: order-response work mode and automatic connection work mode. When the module is at the automatic connection work mode, it will follow the default way set lastly to transmit the data automatically. [3][4]

Fig.3 Bluetooth HC – 05

B. L293D IC Microcontroller L293D is a typical Motor driver or Motor Driver IC which allows

DC motor to drive on either direction. L293D is a 16-pin IC which can control a set of two DC motors simultaneously in any direction. It works on the concept of H-bridge. H-bridge is a circuit which allows the voltage to be flown in either direction. In a single L293D chip there two H-Bridge circuits which can rotate two dc motor independently. Given below is the pin diagram of a L293D motor controller.

Sujyot K Prasad, IJRIT

324

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 3, March 2014, Pg: 322-327

Fig.4 L293D Microcontroller There are two Enable pins on L293D. Pin 1 which is Enable 1, 2 and pin 9 which is Enable 3, 4. There 4 input pins for this L293D, pin 2 & pin 7 on the left, and pin 10 & pin 15 on the right. Similarly there are 4 output pins, pin 3 & pin 6 on left and pin 11 & pin 14 on the right. For driving the motor with left H-bridge we enable pin 1 to high. And for right H-Bridge we make the pin 9 to high. If anyone of the either pin 1 or pin 9 goes low, then the motor in the corresponding section will suspend its working. For motion, we provide Logic 0 or 1 across the input pins for rotating the motor. [5]

C. Arduino Uno The Arduino Uno is a microcontroller board based on the ATmega328 (datasheet). It has 14 digital input/output pins, a 16 MHz ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply power it with an AC-to-DC adapter or battery to get started. The Uno differs from all preceding boards in that it does not use the USBto-serial driver chip. Instead, it features the Atmega16U2 programmed as a USB-to-serial converter. [7] The Arduino Uno can be powered via the USB connection or with an external power supply. The power source is selected automatically. The board can operate on an external supply of 6 to 20 volts. If supplied with less than 7V, however, the 5V pin may supply less than five volts and the board may be unstable. If using more than 12V, the voltage regulator may overheat and damage the board. The recommended range is 7 to 12 volts. The ATmega328 has 32 KB.

Fig.5 Arduino Uno Each of the 14 digital pins on the Uno can be used as an input or output, using pinMode (), digitalWrite (), and digitalRead () functions. The Arduino integrated development environment (IDE) is a cross-platform application written in Java, and is derived from the IDE for the Processing programming language and the Wiring projects. It includes a code editor with features such as syntax highlighting, brace matching, and is also capable of compiling and uploading programs to the board with a single click. A program or code written for Arduino is called a "sketch". [6] Car Door Lock & Unlock Function

Sujyot K Prasad, IJRIT

325

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 3, March 2014, Pg: 322-327 In the case of door locks, the body controller monitors all of the possible sources of an "unlock" or "lock" signal. It monitors a door-mounted touchpad and operates the doors when the correct code is entered. It monitors a radio frequency and provides power to the actuator which locks or unlocks the doors when it receives the correct digital code from the radio transmitter.

Fig.6 Screenshot of Arduino program performing Door lock function First we use the if-else statement. Wherein if it is state 1 , then the digitalWrite() functions for the lockPin1 and lockPin2 will represent HIGH & LOW respectively. The output of the same will be that the door lock is “Open”. Now forwarded to else statement, if it is state 2 then both the lockPin1 & lockPin2 will be LOW. This enables the output that door lock is “Closed”. [8]

Power Window Function

Fig.7 Screenshot of Arduino program performing Power Window Like door lock functions, here too we use the digitalWrite() functions, where the data is sent to state 3, motorPin1 & motorPin2 will be HIGH & LOW respectively. This will give an output that motor is in Forward motion. If the data is sent to state 4, then the motorpins will be inverse i.e LOW & HIGH. This gives an output that motor is in Reverse motion. The another important parameter of Arduino uno for power window is delay. The delay pauses the program for 2500 ms as mentioned in the program. [8]

D. Android APK The entire operation is initiated by an Android app. An Android app is an Android application package file (APK) file format. To make an APK file, a program for Android is first compiled, and then all of its parts are packaged into one file. An APK file contains all of that program's code (such as .dex files), resources, assets, certificates, and manifest files. [9]

Sujyot K Prasad, IJRIT

326

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 3, March 2014, Pg: 322-327

Fig.8 Screenshot example of Android app for Car functions As we can see in app interface , first of all we have an option for Bluetooth. When we switch on, then we need to choose the required Functions. If the required condition is not met , ten it prompts a message eg.Bluetooth is not ON. In addition , the app gives us additional options or information regarding the functions.[10]

V. CONCLUSION What we can say is this concept gives good features of Bluetooth, Arduino along with Android. There are many other applications like Headlights, Wipers, Indicators, etc. which can be demonstrated using this concept. Given the kind of prospects this concept offers, not only is this cost effective but it provides enough security mechanisms. So, the overall project has been a remarkable combination of various computer technologies.

ACKNOWLEDGMENT We are immensely obliged to Prof. Sunil Jadhav for his immense support for the project and for his guidance and supervision. It has indeed been a fulfilling experience for working out this project report. Lastly, we thank almighty & our parents, for their constant encouragement without which this project would not be possible.

REFERENCES [1] Massimo Banzi “Getting Started with Arduino”, Maker Media, Inc.; 2011 [2] Simon Monk “Arduino + Android Projects for the Evil Genius” McGraw-Hill/TAB Electronics; 2011 [3] http://randomnerdtutorials.com/ [4] A7 Engineering Inc. “Embedded Blue 506 User Manual”, 2005 [5] http://electrosome.com/ [6] Maik Schmidt “Arduino: A quick-start guide”, Pragmatic Bookshelf; 2011 [7] Arduino Uno http://arduino.cc/ [8] Simon Monk “Programming Arduino Getting Started with Sketches”, TAB Electronics; 2012 [9] Wei-Meng Lee “Beginning Android 4 Application Development” Wiley India Pvt. Ltd; 2012 [10] Onur Cinar “Android Apps with Eclipse”, Apress; 2012

Sujyot K Prasad, IJRIT

327

Car Function Handling Via Bluetooth

The functions can be handled away from the Vehicle within the range of 10 meters ... We use an android app which is connected to the Bluetooth module.

340KB Sizes 4 Downloads 282 Views

Recommend Documents

Handling Ambiguity via Input-Output Kernel Learning
proposed recently. In this work, we uniformly refer to such uncertainty in the data as ambiguity and divide it into two categories. The first type of uncertainty is due ... Definition 1. Given {xi∣n i=1} with xi being the input data and the corresp

Simulating Complex Manual Handling Motions Via ...
Woojin Park, Don B. Chaffin, Kevin Rider, and Bernard J. Martin. Proceedings of SAE Digital Human Modeling for Design and Engineering Conference,. Montreal, CANADA, June 16-19, 2003. Simulation of human motions in virtual environments is an essential

Connect to AppleTV via Bluetooth for iPad-iPhone.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. SW - ETS - HELP - Connect to AppleTV via Bluetooth for iPad-iPhone.pdf. SW - ETS - HELP - Connect to AppleTV

Cheap Eu⁄Us Plug Universal Wireless Car Bluetooth Receiver ...
Cheap Eu⁄Us Plug Universal Wireless Car Bluetooth Re ... o Music Receiver Free Shipping & Wholesale Price.pdf. Cheap Eu⁄Us Plug Universal Wireless Car ...

Cheap 7Inch Truck Car Navigation Gps 8Gb Bluetooth Navigator Sat ...
Cheap 7Inch Truck Car Navigation Gps 8Gb Bluetooth N ... ap Speedcam Futural Digital Jull11 Free Shipping.pdf. Cheap 7Inch Truck Car Navigation Gps 8Gb ...

Cheap Hot Universal B2 Wireless Car Bluetooth Receiver 3.5Mm ...
... Wireless Car Bluetooth Receiv ... o Music Receiver Free Shipping & Wholesale Price.pdf. Cheap Hot Universal B2 Wireless Car Bluetooth Receive ... io Music ...

Cheap Portable Usb Wireless Usb Car Auto Bluetooth Stereo Audio ...
Cheap Portable Usb Wireless Usb Car Auto Bluetooth ... eceiver Adapter Free Shipping & Wholesale Price.pdf. Cheap Portable Usb Wireless Usb Car Auto ...

Cheap Docooler Bluetooth Receiver Hands-Free Car Kits 3.5Mm ...
Cheap Docooler Bluetooth Receiver Hands-Free Car Ki ... ar Audio System Free Shipping & Wholesale Price.pdf. Cheap Docooler Bluetooth Receiver ...

Cheap Universal B2 Wireless Car Bluetooth Receiver 3.5Mm Aux ...
Cheap Universal B2 Wireless Car Bluetooth Receiver 3 ... o Music Receiver Free Shipping & Wholesale Price.pdf. Cheap Universal B2 Wireless Car Bluetooth ...

Cheap Eu⁄Us⁄Au Plug Universal Wireless Car Bluetooth Receiver ...
Cheap Eu⁄Us⁄Au Plug Universal Wireless Car Bluetooth ... th Audio Adapter Free Shipping & Wholesale Price.pdf. Cheap Eu⁄Us⁄Au Plug Universal Wireless Car ...

Cheap Portable Mini Bluetooth Speaker Car Music Center Speaker ...
Cheap Portable Mini Bluetooth Speaker Car Music Cen ... mputer Speakers Free Shipping & Wholesale Price.pdf. Cheap Portable Mini Bluetooth Speaker Car ...

Cheap Hy502S Bluetooth Car Power Amplifier Stereo Sound Mode ...
Cheap Hy502S Bluetooth Car Power Amplifier Stereo S ... or Ipod Hy-502S Free Shipping & Wholesale Price.pdf. Cheap Hy502S Bluetooth Car Power Amplifier ...

Cheap 3.5Mm Jack Bluetooth Car Kit Hands Free Music Audio ...
Cheap 3.5Mm Jack Bluetooth Car Kit Hands Free Music ... eo Clip Receiver Free Shipping & Wholesale Price.pdf. Cheap 3.5Mm Jack Bluetooth Car Kit Hands ...

Bluetooth
technology. ¾ Adaptive frequency hopping feature (AFH). ¾ Smallest footprint, 27mmX13mm. ¾ Simplify overall design/development cycle. ¾ Full speed Class ...

Cheap Bluetooth Transmitter Transmite Mini Bluetooth Audio ...
Cheap Bluetooth Transmitter Transmite Mini Bluetooth ... 3 Mp4 Pc Speaker Free Shipping & Wholesale Price.pdf. Cheap Bluetooth Transmitter Transmite Mini ...

[1603-7C1509] Air Handling Unit & Modular Air Handling UnitA4.pdf ...
iOS Version Android Version. Midea CAC After-service Application. iOS Version ... 2001 Cooperated with Copeland to develop the digital scroll VRF system.

Accurately Handling the Word
The evidence is much stronger in support of another figurative meaning: “to put into practice” or “to make what is theoretical a practical reality.” Interestingly, the ...

Manual Handling
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means (electronic, ..... Movement of a load. □ Avoid loads in containers shifting unexpectedly. Using packing mat

Handling Exceptions in Haskell
Jan 19, 1999 - ... less idealistic programmers can write in C, Java, Ada and other useful .... since the Prelude is not just ordinary Haskell code, requires a lot of ...

Handling Exceptions in Haskell
Jan 19, 1999 - Handling Exceptions in Haskell. Alastair Reid. Yale University. Department of Computer Science. New Haven, CT 06520 [email protected].