Bluetooth controlled android car

19
Ajman University of science and technology College of Information Technology Department of Computer Engineering Graduation project II BLUETOOTH CONTROLLED ANDRIOD CAR Maria Jihad 201111093 Doaa Marzouk 201110165 Supervisor : Engineer Rawhi al raai

Transcript of Bluetooth controlled android car

Page 1: Bluetooth controlled android car

Ajman University of science and technology College of Information Technology

Department of Computer Engineering

Graduation project IIBLUETOOTH CONTROLLED ANDRIOD CAR

Maria Jihad 201111093Doaa Marzouk 201110165

Supervisor : Engineer Rawhi al raai

Page 2: Bluetooth controlled android car

Outline• Introduction • objectives• General description • components• Software tools• Block diagram• System flowchart• Mobile application flowchart• Warning flowchart• Warning msg in mobile application flowcharts• Screenshot of application• problems• Future work • Conclusion • references

Page 3: Bluetooth controlled android car

Introduction• Bluetooth controlled android car consists of a cooperative

subsystems that rely on and Control another subsystem.

• The subsystems are divided into two main systems, the car and the remote control.

Page 4: Bluetooth controlled android car

Objectives• Controlling robot car using smart phone.• Design a system performs specific functions.• Develop android application .• Dealing with sensor interface with microcontroller• Dealing with module interface with microcontroller

Page 5: Bluetooth controlled android car

General description• The final design will consist of vehicle and remote control,

The PIC will be our central processing unit . 

• The vehicle and the remote control rely on communication from one device to the other to produce a functioning system.

• The system is expected to allow user to simultaneously connect to vehicle through Bluetooth pairing between the android device and the Bluetooth chip on the vehicle and control the motion of the car.

Page 6: Bluetooth controlled android car

• PIC 18f4550• Power source• Regulator• led• 2 DC motor • L293 motor drive • Car vehicle• toothpick 2.1 Bluetooth module• Android device • LOGO vibration sensor

Components

Page 7: Bluetooth controlled android car

Software tools• c language to program the PIC microcontroller using

MikroC PRO for PIC – C complier for microchip

• java language to develop the mobile application using ADT (Android Developer Tools) which is a plugin for Eclipse that provides a suite of tools that are integrated with the Eclipse IDE.

Page 8: Bluetooth controlled android car

Block diagram

Page 9: Bluetooth controlled android car

System flowchart

Page 10: Bluetooth controlled android car

Mobile application flowchart

Page 11: Bluetooth controlled android car

Warning flowchart

Page 12: Bluetooth controlled android car

Warning msg in application flowchart

Page 13: Bluetooth controlled android car

Screenshot of application

Page 14: Bluetooth controlled android car

Problems

• car front wheels has a balance problem , one of the wheels is higher than the other.

• Android application is slow and stop working so we need to restart the application

Page 15: Bluetooth controlled android car

Future work

• Using Wi-Fi technology instead of Bluetooth technology.

• Add the accelerometer option to control the car

Page 16: Bluetooth controlled android car

Conclusion• We were able to complete our project and produced a

Bluetooth controlled android car that can be controlled through a smart phone.• This opens door for wide range of possible similar

applications.1) Assistant for professor .2) Assistant for housewife .3) Electrically powered wheelchair

Page 17: Bluetooth controlled android car

References

• AllDataSheet.com, 2003-2015. Electronics component datasheet search. [Online] Available at: http://www.alldatasheet.com/[Accessed 14 april 2015].

• Android Developers , n.d. Android Developer Tools. [Online] Available at: https://developer.android.com/tools/help/adt.html[Accessed 8 May 2015].

• Android Developers, n.d. Activity. [Online] Available at: http://developer.android.com/reference/android/app/Activity.html[Accessed 15 May 2015].

• Android Developers, n.d. Bluetooth. [Online] Available at: http://developer.android.com/guide/topics/connectivity/bluetooth.html[Accessed 8 May 2015].

Page 18: Bluetooth controlled android car

References• Android Developers, n.d. Bluetooth Adapter. [Online]

Available at: http://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html[Accessed 8 May 2015].

• Android Developers, n.d. Bluetooth Socket. [Online] Available at: http://developer.android.com/reference/android/bluetooth/BluetoothSocket.html[Accessed 8 May 2015].

• Android Developers, n.d. Handler. [Online] Available at: http://developer.android.com/reference/android/os/Handler.html[Accessed 15 May 2015].

• Android Developers, n.d. Starting an Activity. [Online] Available at: http://developer.android.com/training/basics/activity-lifecycle/starting.html[Accessed 15 May 2015].

Page 19: Bluetooth controlled android car

Thank you