Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

EEP 211

No description
by

anirudh maska

on 16 October 2017

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of EEP 211

MOBILE CONTROLLED REMOTE CAR
PRESENTATION BY
M.V.S.K.ANIRUDH
CH.VINAY REDDY
JEEVAN SIRELA

Final Project
Development of app that can provide an interface to control the car.
Controls in app sends corresponding data to bluetooth module
Bluetooth Module
It has 4 external pins
1 . Vcc - 5v
2. Gnd
3. RX
4. TX
It has 3 leds (pwr , l2 , l1)
This module uses BlueCore4-External chipset
It supports master and slave mode operations and it can be easly changed by AT command configuration.
INTRODUCTION
Procedure
construction
Demonstration
To navigate remote car using a mobile application.
Source for transmission of signals is bluetooth.
COMPONENTS
1 . Android Mobile
2 . Bluetooth Module
3 . Arduino Board
4 . LEDs
Arduino Uno Board
Arduino Uno is a microcontroller board based on the ATmega328 . It has 14 digital (I/O of which 6 can be used as PWM outputs). 6 analog inputs , 16 mhz ceremic resonator, a usb connection , power jack , ICSP header, and a reset button .

We need to connect the mobile with bluetooth module using uuid .
Buttons are provided in the app. When the buttons are used the corresponding strings are sent.
Buttons - signal
Farward - "f"
reverse - "b"
right - "r"
left - "l"
Short lights- "a"
Long lights - "b"
turbo - "t"
connect - status of connectivity to the device.
Android app :
Bluetooth Module
Bluetooth module gets its power supply from arduino board.
Its Rx is connected to Tx and Tx to Rx of arduino board
It has a Led to indicate the status of power supply
It has a Led to indicate the status of connection with other device
It has a Led to indicate the mode of connection with other device
Arduino Board
Arduino board gets its power supply from batteries.
The pins connectivity is as follows:
pin number - purpose
12 - Forward
11 - Backward
10 - left
9 - right
6 - front lights
5 - back lights
.When app is started,it connects to the bluetooth module using its address
.When button is clicked,sendData method is called and it send corresponding data to bluetooth module using ssip server
ssip server is identified by its unique id (UUID)
Signal sent from phone is transmitted to arduino via bluetooth module.
Data sent is processed by microcontroller and produces corresponding signal.
Instructions to micro controller are loaded to arduino uno board.
Modification of app
Modification of car
Structure to car
Power supply using batteries
Android App
btn_forward.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
sendData("f");}});
private void sendData(String message) {
byte[] msgBuffer = message.getBytes();
Log.d(TAG, "...Send data: " + message + "..."
try {
outStream.write(msgBuffer);
} catch (IOException e) {
String msg = "In onResume() and an exception occurred during write: " + e.getMessage();
if (address.equals("00:00:00:00:00:00"))
msg = msg + ".\n\nUpdate your server address from 00:00:00:00:00:00 to the correct address on line 35 in the java code";
errorExit("Fatal Error", msg);
}
Arduino Code
void performCommand() {
if (Serial.available()) {
val = Serial.read(); }
if (val == 'f') { // Forward
go_forward();
void go_forward() {
digitalWrite(forward, HIGH);
digitalWrite(reverse, LOW);
}
Full transcript