Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

24
Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri

Transcript of Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

Page 1: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

Mobile Controlled Car

Students : Tasneem J. Hamayel Hanan I. Mansour

Supervisor : Dr.Aladdin Masri

Page 2: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

Outline ◌ Introduction

◌ Problem Statement

◌ project algorithm

◌ Hardware Component

◌ Software part

◌ Conclusion and future work

Page 3: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

Introduction

Our project is mainly a bout controlling car movement using mobile application .

This idea can be used in many fields as Entertaining robot game for children or Spying purpose after adding some further features such as a webcam ,so it may be used as a delivery tool for specific type of services.

Page 4: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

Website

Page 5: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

Problem Statement

After supplying the vehicle with voltage » we turn the mobile Bluetooth » using android application to connect with the

Bluetooth model on the vehicle.» The vehicle will never crush into a wall because

existence of distance sensor

Page 6: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

Goals

The vehicle has two mode’s Bluetooth mode : using android application to control

with the Bluetooth model on the vehicle and to moves in all directions

Non-Bluetooth mode : without Bluetooth control the vehicle is moving forward

In the Bluetooth mode the vehicle will never crush into a wall because existence of distance sensor

Page 7: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

Project Algorithm

Page 8: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

Hardware Components

● Arduino board (Arduino UNO)● L293D motor driver chip. ● SRF04 Ultrasonic distance sensor● HC-05 Bluetooth slave● Prototyping board and cables● USB cable● Vehicle kit● electronic speaker● Servo Motor

Page 9: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

Arduino board (Arduino Uno) It will be the brain of the robot, as it will be

running the software that will control all the other parts

Page 10: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

Arduino Benefits

1. open-source 2. flexible3. easy to use4. inexpensive 5. online community

Page 11: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

Software Part

The software which placed on PC we’ve used in order to program and communicate with an Arduino board.

Page 12: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

• Example of connecting the USB cable with Arduino module on port (com22 )

Page 13: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

Using software

Some of libraries that we used Ultrasonic library : to read data from ultrasonic

sensor and print the distance between obstacles and the sensor.

Motor driver library : to test the motor . Servo library : to control our servo motor.Software Serial library : to get data sent from Android application to Arduino on serial.

Page 14: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

-Distance sensors send an ultrasonic signal forward-Wait to receive a bounced signal. Depending on

how long the signal takes to bounce back the approximated distance to an obstacle can be calculated.

-We will use this little device to prevent the vehicle from hitting walls or other obstacles in its way

Distance sensor

Page 15: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

How to connect it with Arduino

Page 16: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

• Which interact with mobile application to control the direction of the vehicle.

It has four pins :VCC (Power 3.3 – 6V) GNDTXD RXD

Bluetooth Module

Page 17: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

• How to connect it with Arduino

Page 18: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

A Servo is a small device that has an output shaft

This shaft can be positioned to specific angular positions by sending the servo a coded signal

Servo Motor

Page 19: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

• How to connect it with Arduino

Page 20: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

• It was used in the event of an obstacle in front of the vehicle.

Electronic Speaker

Page 21: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

• As single component

• As circuit

Motor Driver

Page 22: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

♦ represented in new things we must learn as Arduino hardware component and the software program used.♦ some of component not available as a single component so, we build it as a circuit for example motor driver component♦ Cost ,we’ve lost two Arduino’s and a servo motor so we had to look for alternatives.

Problems

Page 23: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

Conclusion and Future Vision

• we achieved blutooth control communication between the mobile -via android application- and the vehicle .

• The knowledge is ever expanding and so are the problems which the mankind strive to solve. In this spirit, it is hoped that the current activity will lead to further enhancements. For example; work on future for military purpose by the robot.

Page 24: Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin Masri.

Thank you for your attention