SlideShare a Scribd company logo
1
COMPLEX
ENGINEERING PROBLEM (CEP)
Course Title:
Introduction to Embedded Systems
Title:
ANDROID CONTROLLED ROBOT USING MICROCONTROLLER
8051
Submitted to:
Engineer: Atif Mahmood Khaki
Submitted by:
Sadam Hussain
GCPKI-00857
Department:
BEEE (4th)
2
ABSTARACT
Many of the wireless robot using RF modules. But this project make use of android mobile
phone for robotic control. The control commands are available more than modules. For this the
Android mobile user has to install the application on his/her mobile phone. The user need to
turn on the Bluetooth in the mobile. The wireless communication technique used to control the
robot is Bluetooth technology. User can use various command like move forward, reverse,
move left and move right using these commands which are sent from the android mobiles,
Bluetooth has a Bluetooth receiver unit which receive the command and gave it to
microcontroller circuit to control the motors. The microcontroller then transmitting the signal
to the motor driver ICs to operate the motors.
3
OVERVIEW
CONTENTS
1) INTRODUCTION-------------------------------------------------------------- 4
1.1) Problem Statement………………………………………………………….4
1.2) Objectives…………………………………………...………………………4
2) HARDWARE REQUIRED-----------------------------------------------------4
3) SOFTWRE REQUIRED--------------------------------------------------------4
4) EXPLANTION--------------------------------------------------------------------5
5) SOFTWRE CODE AND SCHEMATIC DIAGRAM---------------------5
5.1) Kiel u Vision C language code………………………………………………….5-11
5.2) Proteus schematic Diagram………………………………………………………11
6) SOFTWARE OUTPUT----------------------------------------------------------12
6.1) Kiel u Vision…………………………………………………………………….12
6.2) Proteus professional…………………………………………………………13-14
7) CONCLUSION-------------------------------------------------------------------15
8) REFRENCES---------------------------------------------------------------------15
9) FUTURE SCOPE----------------------------------------------------------------15
10) GLOSSORY----------------------------------------------------------------15-16
4
1) INTRODCTION.
1.1) Problem Statement:
Design and Implement Android Controlled Robot Using 8051 Microcontroller.?
1.2) Objectives.
Android is software stack for mobile devices that include an operating system middleware and key
application. Android boast a healthy array of connectivity options, including Wi-Fi Bluetooth and
wireless data over a cellular connection (for example, GPRS, EDGE (Enhanced Data rate for GSM
revolution) and 3G. Android provide access to wide range of useful libraries and tools that can be
used to build rich applications. In addition, Android includes a full set of tools that have been built
from the ground up alongside. The plate form providing developers high productivity and deep
insight their applications.
The controlling device of the whole system is microcontroller, Bluetooth module, Dc motors
are interfaced to microcontroller. The data received by the Bluetooth module Android smart
phone as feed as input to the controller. The controller acts according on the dc motor of the
Robot. The robot in the project can be made to move in all four directions using the Android
phone the direction of the robot is indicated using Virtual Terminal and Motors. In achieving
the task the controller is loaded with program written using embedded C language using Kiel
u Vision.
2) HARDWARE REQUIRED.
The following Components are required to complete the CEP.
▪ 8051 microcontroller (AT89S52)
▪ HC-05 Bluetooth module
▪ L293D Motor Driver
▪ Robot chassis
▪ DC Motors (2)
▪ Wheels (2)
5
▪ Castor Wheel
▪ Jumper wires
▪ Bluetooth terminal android app
3) SOFTWARE REQUIRED
▪ Kiel u Vision
▪ Proteus professional
▪ Android App (Bluetooth App)
4) EXPLANTION
The project aims in designing a robot that can be operated using Android mobile phone.
The controlling of the robot is done wirelessly through Android smart phone using the
Bluetooth feature present in it. Here in the project the Android smart phone is used as remote
controlling for operating the robot.
Here in this robot I have used a Bluetooth module to control via two motor at 100RPM
approximately the robot is controlled by an Android application microcontroller used as
AT89C51 from 8051 family to work in serial communication UART mode the communication
is configured on 9800bps to communicate it with the Bluetooth module.
The Bluetooth module used is a HC-05 in smd package which works on 3.3v and have a serial
communication with any devices connected to it the communication speed can be configured
on various speed via AT command.
The BT module is a SPP supported profile so it can be connected easily to any Bluetooth
module or phone. In this profile the data can be sent and receive to module. The BT module is
connected to the RX pin of microcontroller.
The L293D is a motor driver IC to operate the motor in any direction required dependent on
the logic applied to the logic pin.
A readymade compact size chassis I have used to avoid the chassis Assembly the chassis
contain two decks the lower is used for Motors fitting the upper is used as a battery stack.
6
On top the plate the board is mounted by screw fitting.
5) SOFTWRE CODE AND SCHEMATIC DIAGRAM
5.1) Kiel u Vision C language code
#include<reg51.h>
unsigned char ch1;
unsigned char s;
sbit m1f=P2^0; // in1 pin of motor1
sbit m1b=P2^1; // in2 pin of motor1
sbit m2f=P2^2; // in1 pin of motor2
sbit m2b=P2^3; // in2 pin of motor2
void delay(unsigned int) ; //function for creating delay
char rxdata(void); //function for receiving a character through serial port of 8051
void txdata(unsigned char); //function for sending a character through serial port of 8051
void main(void)
{
unsigned char i;
unsigned char msg1[]={"robot is moving forward"};
unsigned char msg2[]={"robot is moving backward"};
unsigned char msg3[]={"robot is moving right"};
unsigned char msg4[]={"robot is moving left"};
unsigned char msg5[]={"robot is stopped"};
TMOD=0x20; //timer 1 , mode 2 , auto reload
SCON=0x50; //8bit data , 1 stop bit , REN enabled
7
TH1=0xfd; //timer value for 9600 bits per second(bps)
TR1=1;
while(1) //repeat forever
{
s=rxdata(); //receive serial data from hc-05 bluetooth module
if(s=='f') //move both the motors in forward direction
{
m1f=1;
delay(1);
m1b=0;
delay(1);
m2f=1;
delay(1);
m2b=0;
delay(1);
for(i=0;msg1[i]!='0';i++)
{
txdata(msg1[i]);
} }
else if(s=='b')
{
m1f=0;
delay(1);
8
m1b=1;
delay(10);
m2f=0;
delay(10);
m2b=1;
delay(10);
for(i=0;msg2[i]!='0';i++)
{
txdata(msg2[i]);
}
}
else if(s=='r')
{ m1f=1;
delay(1);
m1b=0;
delay(10);
m2f=0;
delay(10);
m2b=1;
delay(10);
for(i=0;msg3[i]!='0';i++)
{ txdata(msg3[i]);
}
9
}
else if(s=='l')
{
m1f=0;
delay(1);
m1b=1;
delay(1);
m2f=1;
delay(1);
m2b=0;
delay(1);
for(i=0;msg4[i]!='0';i++)
{
txdata(msg4[i]);
}
}
else if(s=='s')
{
m1f=0;
delay(1);
m1b=0;
delay(1);
m2f=0;
10
delay(1);
m2b=0;
delay(1);
for(i=0;msg5[i]!='0';i++)
{
txdata(msg5[i]);
}
}
txdata('n');
}
}
char rxdata()
{
while(RI==0); //wait till RI becomes HIGH
RI=0; //make RI low
ch1=SBUF; //copy received data
return ch1; //return the received data to main function.
}
void txdata(unsigned char x)
{
SBUF=x; //copy data to be transmitted to SBUF
while(TI==0); //wait till TI becomes high
11
TI=0; //mae TI low for next transmission
}
void delay(unsigned int z)
{
unsigned int p ,q;
for(p=0 ; p<z ; p++) //repeat for 'z' times
{
for(q=0 ; q<1375 ; q++); //repeat for 1375 times
}
}
5.2) Proteus professional schematic Diagram:
12
6) SOFTWARE OUTPUT:
6.1) Kiel u Vision:
13
6.2) Proteus Output:
14
15
7) CONCLUSION
Wireless control is one of the most important basic need of all living beings. But unfortunately
due to huge amount of data and communication overheads the technology is not fully utilized.
Many of the wireless-controlled robot use RF modules. But this project make use of Android
mobile phone for Robotic which is very cheap and easily available. The control command
available are more than RF module. For this the Android mobile user has to install the
application on his/her mobile phone then the user need to turn on the Bluetooth in the mobile,
the wireless communication technique used to control the robot is Bluetooth technology. User
can use various command like move forward, reverse, move left and move right using these
commands which are sent from the android mobiles, Bluetooth has a Bluetooth receiver unit
which receive the command and gave it to microcontroller circuit to control the motors. The
microcontroller then transmitting the signal to the motor driver ICs to operate the motors.
8)REFRENCES:
Following are all the references used to compile this project report:
▪ https://circuitdigest.com/microcontroller-projects/bluetooth-controlled-robot-using-8051.
▪ https://youtu.be/PNm-9I9KAR8.
▪ Google Search Engine for Basic definition.
9)FUTURE SCOPE:
This project will be implemented further on AVR, ARM and Microcontroller etc.
More can be done in the process of UART communication control and many challenges will
be carry out to increase reliability and efficiency.
This system can also be developed using GSM technology.
10)GLOSOORY:
Kiel u Vision: Kiel u Vision is microcontroller software used to create hex file of Assembly
and C language.
Proteus: proteus is electrical software used to draw and tests the completion of various
electrical circuits.
16
Robot Chassis: Aluminium Chassis comprise the body of a robot. Roll cages, bumpers and
other body accessories can also be found in this category.
HC-05 Bluetooth module: HC-05 module is an easy to use Bluetooth SPP (Serial Port
Protocol) module, designed for transparent wireless serial connection setup.
UART. Universal Asynchronous Receiver transmitter is a physical circuit not communication
protocol like SPI and I2C.

More Related Content

What's hot

Line Following Robot using Arduino UNO
Line Following Robot using Arduino UNOLine Following Robot using Arduino UNO
Line Following Robot using Arduino UNO
Viswanadh Ivaturi
 
wireless E notice board
wireless E notice boardwireless E notice board
wireless E notice board
Ganesh Gani
 
Gesture control car
Gesture control carGesture control car
Gesture control car
saurav kumar mourya
 
Fire fighting robot remotely operated by android applications
Fire fighting robot remotely operated by android applicationsFire fighting robot remotely operated by android applications
Fire fighting robot remotely operated by android applications
Edgefxkits & Solutions
 
Alcohol detection system with gsm and gps (fiem , ece)
Alcohol detection system with gsm and gps (fiem , ece)Alcohol detection system with gsm and gps (fiem , ece)
Alcohol detection system with gsm and gps (fiem , ece)
ANUBHAVGHOSHDASTIDAR
 
RADAR SYSTEM
RADAR SYSTEMRADAR SYSTEM
RADAR SYSTEM
VikashKumar1509
 
PROJECT REPORT ON Home automation using by Bluetooth
 PROJECT REPORT ON Home automation using by Bluetooth PROJECT REPORT ON Home automation using by Bluetooth
PROJECT REPORT ON Home automation using by Bluetooth
Aakashkumar276
 
BLUETOOTH CONTROLLED ROBOCAR
BLUETOOTH CONTROLLED ROBOCARBLUETOOTH CONTROLLED ROBOCAR
BLUETOOTH CONTROLLED ROBOCAR
Pulkit Singhal
 
Motor driver IC L293D
Motor driver IC L293DMotor driver IC L293D
Motor driver IC L293D
Amit kumar
 
Bluetooth Controlled Robot
Bluetooth Controlled RobotBluetooth Controlled Robot
Bluetooth Controlled Robot
Pankaj Rai
 
Ericsson BTS commisioning
Ericsson BTS commisioningEricsson BTS commisioning
Ericsson BTS commisioning
Shahid Rasool
 
Mobile phone detector
Mobile phone detectorMobile phone detector
Mobile phone detector
Sumedh Vartak
 
CASE STUDY OF DIGITAL CAMERA HARDWARE AND SOFT WARE ARCHITECTURECASE STUDY OF...
CASE STUDY OF DIGITAL CAMERAHARDWARE AND SOFT WAREARCHITECTURECASE STUDY OF...CASE STUDY OF DIGITAL CAMERAHARDWARE AND SOFT WAREARCHITECTURECASE STUDY OF...
CASE STUDY OF DIGITAL CAMERA HARDWARE AND SOFT WARE ARCHITECTURECASE STUDY OF...
JOLLUSUDARSHANREDDY
 
Voice controlled robot ppt
Voice controlled robot pptVoice controlled robot ppt
Voice controlled robot ppt
Noor Ul Hudda Memon
 
OBSTACLE AVOIDING CAR
OBSTACLE AVOIDING CAROBSTACLE AVOIDING CAR
OBSTACLE AVOIDING CAR
Shubham Thakur
 
Obstacle Avoidance Robotic Vehicle
Obstacle Avoidance Robotic VehicleObstacle Avoidance Robotic Vehicle
Obstacle Avoidance Robotic Vehicle
Edgefxkits & Solutions
 
HUMAN FOLLOWING ROBOT
HUMAN FOLLOWING ROBOTHUMAN FOLLOWING ROBOT
HUMAN FOLLOWING ROBOT
Haris946223
 
Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance Robot
Ratan Srikanth
 
Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu
creatjet3d labs
 
Obstacle avoiding Robot
Obstacle avoiding RobotObstacle avoiding Robot
Obstacle avoiding Robot
Rasheed Khan
 

What's hot (20)

Line Following Robot using Arduino UNO
Line Following Robot using Arduino UNOLine Following Robot using Arduino UNO
Line Following Robot using Arduino UNO
 
wireless E notice board
wireless E notice boardwireless E notice board
wireless E notice board
 
Gesture control car
Gesture control carGesture control car
Gesture control car
 
Fire fighting robot remotely operated by android applications
Fire fighting robot remotely operated by android applicationsFire fighting robot remotely operated by android applications
Fire fighting robot remotely operated by android applications
 
Alcohol detection system with gsm and gps (fiem , ece)
Alcohol detection system with gsm and gps (fiem , ece)Alcohol detection system with gsm and gps (fiem , ece)
Alcohol detection system with gsm and gps (fiem , ece)
 
RADAR SYSTEM
RADAR SYSTEMRADAR SYSTEM
RADAR SYSTEM
 
PROJECT REPORT ON Home automation using by Bluetooth
 PROJECT REPORT ON Home automation using by Bluetooth PROJECT REPORT ON Home automation using by Bluetooth
PROJECT REPORT ON Home automation using by Bluetooth
 
BLUETOOTH CONTROLLED ROBOCAR
BLUETOOTH CONTROLLED ROBOCARBLUETOOTH CONTROLLED ROBOCAR
BLUETOOTH CONTROLLED ROBOCAR
 
Motor driver IC L293D
Motor driver IC L293DMotor driver IC L293D
Motor driver IC L293D
 
Bluetooth Controlled Robot
Bluetooth Controlled RobotBluetooth Controlled Robot
Bluetooth Controlled Robot
 
Ericsson BTS commisioning
Ericsson BTS commisioningEricsson BTS commisioning
Ericsson BTS commisioning
 
Mobile phone detector
Mobile phone detectorMobile phone detector
Mobile phone detector
 
CASE STUDY OF DIGITAL CAMERA HARDWARE AND SOFT WARE ARCHITECTURECASE STUDY OF...
CASE STUDY OF DIGITAL CAMERAHARDWARE AND SOFT WAREARCHITECTURECASE STUDY OF...CASE STUDY OF DIGITAL CAMERAHARDWARE AND SOFT WAREARCHITECTURECASE STUDY OF...
CASE STUDY OF DIGITAL CAMERA HARDWARE AND SOFT WARE ARCHITECTURECASE STUDY OF...
 
Voice controlled robot ppt
Voice controlled robot pptVoice controlled robot ppt
Voice controlled robot ppt
 
OBSTACLE AVOIDING CAR
OBSTACLE AVOIDING CAROBSTACLE AVOIDING CAR
OBSTACLE AVOIDING CAR
 
Obstacle Avoidance Robotic Vehicle
Obstacle Avoidance Robotic VehicleObstacle Avoidance Robotic Vehicle
Obstacle Avoidance Robotic Vehicle
 
HUMAN FOLLOWING ROBOT
HUMAN FOLLOWING ROBOTHUMAN FOLLOWING ROBOT
HUMAN FOLLOWING ROBOT
 
Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance Robot
 
Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu
 
Obstacle avoiding Robot
Obstacle avoiding RobotObstacle avoiding Robot
Obstacle avoiding Robot
 

Similar to Android Control robot using 8051 microcontroler

Project_report_voice_controlling_robot
Project_report_voice_controlling_robotProject_report_voice_controlling_robot
Project_report_voice_controlling_robot
amjadali492
 
Automatic voice control wheelchair
Automatic voice control wheelchairAutomatic voice control wheelchair
Automatic voice control wheelchair
Mohit Nagar
 
Bluetooth controlled robot
Bluetooth controlled robotBluetooth controlled robot
Bluetooth controlled robot
UVSofts Technologies
 
Design and Construction of DC Motor Speed Controller Using Android.ppt
Design and Construction of DC Motor Speed Controller Using Android.pptDesign and Construction of DC Motor Speed Controller Using Android.ppt
Design and Construction of DC Motor Speed Controller Using Android.ppt
EEESrproject
 
Part 2 master
Part 2 masterPart 2 master
Part 2 master
Part 2 masterPart 2 master
Android controlled robot
Android controlled robotAndroid controlled robot
Android controlled robot
Satyendra Gupta
 
Bluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project ReportBluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project Report
Simarjot Singh Kalsi
 
DTMF Based Intelligent Farming Robotic Vehicle
	 DTMF Based Intelligent Farming Robotic Vehicle	 DTMF Based Intelligent Farming Robotic Vehicle
DTMF Based Intelligent Farming Robotic Vehicle
IRJET Journal
 
Pick and Place Robotic Arm utilizing Microcontroller and Wireless Communication
Pick and Place Robotic Arm utilizing Microcontroller and Wireless CommunicationPick and Place Robotic Arm utilizing Microcontroller and Wireless Communication
Pick and Place Robotic Arm utilizing Microcontroller and Wireless Communication
IRJET Journal
 
Bluetooth controlled robot
Bluetooth controlled robotBluetooth controlled robot
Bluetooth controlled robot
UVSofts Technologies
 
Wireless robo Report
Wireless robo  ReportWireless robo  Report
Wireless robo Report
Sumit Saini
 
War robot with night vision camera android application
War robot with night vision camera  android applicationWar robot with night vision camera  android application
War robot with night vision camera android application
Dheeraj Kumar
 
Spy Robot with Wireless Camera using GSM
Spy Robot with Wireless Camera using GSMSpy Robot with Wireless Camera using GSM
Spy Robot with Wireless Camera using GSM
IRJET Journal
 
IRJET- Smart Home Automation System using 8051 Micro-Controller
IRJET- Smart Home Automation System using 8051 Micro-ControllerIRJET- Smart Home Automation System using 8051 Micro-Controller
IRJET- Smart Home Automation System using 8051 Micro-Controller
IRJET Journal
 
project report
project reportproject report
project report
Grace Bouala
 
G1(1)
G1(1)G1(1)
Android mobile phone controlled bluetooth robot
Android mobile phone controlled bluetooth robotAndroid mobile phone controlled bluetooth robot
Android mobile phone controlled bluetooth robot
Disha Akash
 
ROBOT MOTION
ROBOT    MOTIONROBOT    MOTION
ROBOT MOTION
Navyavani Yalla
 
Bluetooth controlled robot using arduino uno and HC-05
Bluetooth controlled robot using arduino uno and HC-05Bluetooth controlled robot using arduino uno and HC-05
Bluetooth controlled robot using arduino uno and HC-05
MuhammadUsman1709
 

Similar to Android Control robot using 8051 microcontroler (20)

Project_report_voice_controlling_robot
Project_report_voice_controlling_robotProject_report_voice_controlling_robot
Project_report_voice_controlling_robot
 
Automatic voice control wheelchair
Automatic voice control wheelchairAutomatic voice control wheelchair
Automatic voice control wheelchair
 
Bluetooth controlled robot
Bluetooth controlled robotBluetooth controlled robot
Bluetooth controlled robot
 
Design and Construction of DC Motor Speed Controller Using Android.ppt
Design and Construction of DC Motor Speed Controller Using Android.pptDesign and Construction of DC Motor Speed Controller Using Android.ppt
Design and Construction of DC Motor Speed Controller Using Android.ppt
 
Part 2 master
Part 2 masterPart 2 master
Part 2 master
 
Part 2 master
Part 2 masterPart 2 master
Part 2 master
 
Android controlled robot
Android controlled robotAndroid controlled robot
Android controlled robot
 
Bluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project ReportBluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project Report
 
DTMF Based Intelligent Farming Robotic Vehicle
	 DTMF Based Intelligent Farming Robotic Vehicle	 DTMF Based Intelligent Farming Robotic Vehicle
DTMF Based Intelligent Farming Robotic Vehicle
 
Pick and Place Robotic Arm utilizing Microcontroller and Wireless Communication
Pick and Place Robotic Arm utilizing Microcontroller and Wireless CommunicationPick and Place Robotic Arm utilizing Microcontroller and Wireless Communication
Pick and Place Robotic Arm utilizing Microcontroller and Wireless Communication
 
Bluetooth controlled robot
Bluetooth controlled robotBluetooth controlled robot
Bluetooth controlled robot
 
Wireless robo Report
Wireless robo  ReportWireless robo  Report
Wireless robo Report
 
War robot with night vision camera android application
War robot with night vision camera  android applicationWar robot with night vision camera  android application
War robot with night vision camera android application
 
Spy Robot with Wireless Camera using GSM
Spy Robot with Wireless Camera using GSMSpy Robot with Wireless Camera using GSM
Spy Robot with Wireless Camera using GSM
 
IRJET- Smart Home Automation System using 8051 Micro-Controller
IRJET- Smart Home Automation System using 8051 Micro-ControllerIRJET- Smart Home Automation System using 8051 Micro-Controller
IRJET- Smart Home Automation System using 8051 Micro-Controller
 
project report
project reportproject report
project report
 
G1(1)
G1(1)G1(1)
G1(1)
 
Android mobile phone controlled bluetooth robot
Android mobile phone controlled bluetooth robotAndroid mobile phone controlled bluetooth robot
Android mobile phone controlled bluetooth robot
 
ROBOT MOTION
ROBOT    MOTIONROBOT    MOTION
ROBOT MOTION
 
Bluetooth controlled robot using arduino uno and HC-05
Bluetooth controlled robot using arduino uno and HC-05Bluetooth controlled robot using arduino uno and HC-05
Bluetooth controlled robot using arduino uno and HC-05
 

Recently uploaded

Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
aryanpankaj78
 
TIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptxTIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptx
CVCSOfficial
 
Mechatronics material . Mechanical engineering
Mechatronics material . Mechanical engineeringMechatronics material . Mechanical engineering
Mechatronics material . Mechanical engineering
sachin chaurasia
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
harshapolam10
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
Call For Paper -3rd International Conference on Artificial Intelligence Advan...
Call For Paper -3rd International Conference on Artificial Intelligence Advan...Call For Paper -3rd International Conference on Artificial Intelligence Advan...
Call For Paper -3rd International Conference on Artificial Intelligence Advan...
ijseajournal
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
shadow0702a
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
Dwarkadas J Sanghvi College of Engineering
 
Bayesian Decision Theory details ML.pptx
Bayesian Decision Theory details ML.pptxBayesian Decision Theory details ML.pptx
Bayesian Decision Theory details ML.pptx
amrita chaturvedi
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
uqyfuc
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
Roger Rozario
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
Supermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdfSupermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdf
Kamal Acharya
 

Recently uploaded (20)

Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
 
TIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptxTIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptx
 
Mechatronics material . Mechanical engineering
Mechatronics material . Mechanical engineeringMechatronics material . Mechanical engineering
Mechatronics material . Mechanical engineering
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
Call For Paper -3rd International Conference on Artificial Intelligence Advan...
Call For Paper -3rd International Conference on Artificial Intelligence Advan...Call For Paper -3rd International Conference on Artificial Intelligence Advan...
Call For Paper -3rd International Conference on Artificial Intelligence Advan...
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
 
Bayesian Decision Theory details ML.pptx
Bayesian Decision Theory details ML.pptxBayesian Decision Theory details ML.pptx
Bayesian Decision Theory details ML.pptx
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
Supermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdfSupermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdf
 

Android Control robot using 8051 microcontroler

  • 1. 1 COMPLEX ENGINEERING PROBLEM (CEP) Course Title: Introduction to Embedded Systems Title: ANDROID CONTROLLED ROBOT USING MICROCONTROLLER 8051 Submitted to: Engineer: Atif Mahmood Khaki Submitted by: Sadam Hussain GCPKI-00857 Department: BEEE (4th)
  • 2. 2 ABSTARACT Many of the wireless robot using RF modules. But this project make use of android mobile phone for robotic control. The control commands are available more than modules. For this the Android mobile user has to install the application on his/her mobile phone. The user need to turn on the Bluetooth in the mobile. The wireless communication technique used to control the robot is Bluetooth technology. User can use various command like move forward, reverse, move left and move right using these commands which are sent from the android mobiles, Bluetooth has a Bluetooth receiver unit which receive the command and gave it to microcontroller circuit to control the motors. The microcontroller then transmitting the signal to the motor driver ICs to operate the motors.
  • 3. 3 OVERVIEW CONTENTS 1) INTRODUCTION-------------------------------------------------------------- 4 1.1) Problem Statement………………………………………………………….4 1.2) Objectives…………………………………………...………………………4 2) HARDWARE REQUIRED-----------------------------------------------------4 3) SOFTWRE REQUIRED--------------------------------------------------------4 4) EXPLANTION--------------------------------------------------------------------5 5) SOFTWRE CODE AND SCHEMATIC DIAGRAM---------------------5 5.1) Kiel u Vision C language code………………………………………………….5-11 5.2) Proteus schematic Diagram………………………………………………………11 6) SOFTWARE OUTPUT----------------------------------------------------------12 6.1) Kiel u Vision…………………………………………………………………….12 6.2) Proteus professional…………………………………………………………13-14 7) CONCLUSION-------------------------------------------------------------------15 8) REFRENCES---------------------------------------------------------------------15 9) FUTURE SCOPE----------------------------------------------------------------15 10) GLOSSORY----------------------------------------------------------------15-16
  • 4. 4 1) INTRODCTION. 1.1) Problem Statement: Design and Implement Android Controlled Robot Using 8051 Microcontroller.? 1.2) Objectives. Android is software stack for mobile devices that include an operating system middleware and key application. Android boast a healthy array of connectivity options, including Wi-Fi Bluetooth and wireless data over a cellular connection (for example, GPRS, EDGE (Enhanced Data rate for GSM revolution) and 3G. Android provide access to wide range of useful libraries and tools that can be used to build rich applications. In addition, Android includes a full set of tools that have been built from the ground up alongside. The plate form providing developers high productivity and deep insight their applications. The controlling device of the whole system is microcontroller, Bluetooth module, Dc motors are interfaced to microcontroller. The data received by the Bluetooth module Android smart phone as feed as input to the controller. The controller acts according on the dc motor of the Robot. The robot in the project can be made to move in all four directions using the Android phone the direction of the robot is indicated using Virtual Terminal and Motors. In achieving the task the controller is loaded with program written using embedded C language using Kiel u Vision. 2) HARDWARE REQUIRED. The following Components are required to complete the CEP. ▪ 8051 microcontroller (AT89S52) ▪ HC-05 Bluetooth module ▪ L293D Motor Driver ▪ Robot chassis ▪ DC Motors (2) ▪ Wheels (2)
  • 5. 5 ▪ Castor Wheel ▪ Jumper wires ▪ Bluetooth terminal android app 3) SOFTWARE REQUIRED ▪ Kiel u Vision ▪ Proteus professional ▪ Android App (Bluetooth App) 4) EXPLANTION The project aims in designing a robot that can be operated using Android mobile phone. The controlling of the robot is done wirelessly through Android smart phone using the Bluetooth feature present in it. Here in the project the Android smart phone is used as remote controlling for operating the robot. Here in this robot I have used a Bluetooth module to control via two motor at 100RPM approximately the robot is controlled by an Android application microcontroller used as AT89C51 from 8051 family to work in serial communication UART mode the communication is configured on 9800bps to communicate it with the Bluetooth module. The Bluetooth module used is a HC-05 in smd package which works on 3.3v and have a serial communication with any devices connected to it the communication speed can be configured on various speed via AT command. The BT module is a SPP supported profile so it can be connected easily to any Bluetooth module or phone. In this profile the data can be sent and receive to module. The BT module is connected to the RX pin of microcontroller. The L293D is a motor driver IC to operate the motor in any direction required dependent on the logic applied to the logic pin. A readymade compact size chassis I have used to avoid the chassis Assembly the chassis contain two decks the lower is used for Motors fitting the upper is used as a battery stack.
  • 6. 6 On top the plate the board is mounted by screw fitting. 5) SOFTWRE CODE AND SCHEMATIC DIAGRAM 5.1) Kiel u Vision C language code #include<reg51.h> unsigned char ch1; unsigned char s; sbit m1f=P2^0; // in1 pin of motor1 sbit m1b=P2^1; // in2 pin of motor1 sbit m2f=P2^2; // in1 pin of motor2 sbit m2b=P2^3; // in2 pin of motor2 void delay(unsigned int) ; //function for creating delay char rxdata(void); //function for receiving a character through serial port of 8051 void txdata(unsigned char); //function for sending a character through serial port of 8051 void main(void) { unsigned char i; unsigned char msg1[]={"robot is moving forward"}; unsigned char msg2[]={"robot is moving backward"}; unsigned char msg3[]={"robot is moving right"}; unsigned char msg4[]={"robot is moving left"}; unsigned char msg5[]={"robot is stopped"}; TMOD=0x20; //timer 1 , mode 2 , auto reload SCON=0x50; //8bit data , 1 stop bit , REN enabled
  • 7. 7 TH1=0xfd; //timer value for 9600 bits per second(bps) TR1=1; while(1) //repeat forever { s=rxdata(); //receive serial data from hc-05 bluetooth module if(s=='f') //move both the motors in forward direction { m1f=1; delay(1); m1b=0; delay(1); m2f=1; delay(1); m2b=0; delay(1); for(i=0;msg1[i]!='0';i++) { txdata(msg1[i]); } } else if(s=='b') { m1f=0; delay(1);
  • 10. 10 delay(1); m2b=0; delay(1); for(i=0;msg5[i]!='0';i++) { txdata(msg5[i]); } } txdata('n'); } } char rxdata() { while(RI==0); //wait till RI becomes HIGH RI=0; //make RI low ch1=SBUF; //copy received data return ch1; //return the received data to main function. } void txdata(unsigned char x) { SBUF=x; //copy data to be transmitted to SBUF while(TI==0); //wait till TI becomes high
  • 11. 11 TI=0; //mae TI low for next transmission } void delay(unsigned int z) { unsigned int p ,q; for(p=0 ; p<z ; p++) //repeat for 'z' times { for(q=0 ; q<1375 ; q++); //repeat for 1375 times } } 5.2) Proteus professional schematic Diagram:
  • 12. 12 6) SOFTWARE OUTPUT: 6.1) Kiel u Vision:
  • 14. 14
  • 15. 15 7) CONCLUSION Wireless control is one of the most important basic need of all living beings. But unfortunately due to huge amount of data and communication overheads the technology is not fully utilized. Many of the wireless-controlled robot use RF modules. But this project make use of Android mobile phone for Robotic which is very cheap and easily available. The control command available are more than RF module. For this the Android mobile user has to install the application on his/her mobile phone then the user need to turn on the Bluetooth in the mobile, the wireless communication technique used to control the robot is Bluetooth technology. User can use various command like move forward, reverse, move left and move right using these commands which are sent from the android mobiles, Bluetooth has a Bluetooth receiver unit which receive the command and gave it to microcontroller circuit to control the motors. The microcontroller then transmitting the signal to the motor driver ICs to operate the motors. 8)REFRENCES: Following are all the references used to compile this project report: ▪ https://circuitdigest.com/microcontroller-projects/bluetooth-controlled-robot-using-8051. ▪ https://youtu.be/PNm-9I9KAR8. ▪ Google Search Engine for Basic definition. 9)FUTURE SCOPE: This project will be implemented further on AVR, ARM and Microcontroller etc. More can be done in the process of UART communication control and many challenges will be carry out to increase reliability and efficiency. This system can also be developed using GSM technology. 10)GLOSOORY: Kiel u Vision: Kiel u Vision is microcontroller software used to create hex file of Assembly and C language. Proteus: proteus is electrical software used to draw and tests the completion of various electrical circuits.
  • 16. 16 Robot Chassis: Aluminium Chassis comprise the body of a robot. Roll cages, bumpers and other body accessories can also be found in this category. HC-05 Bluetooth module: HC-05 module is an easy to use Bluetooth SPP (Serial Port Protocol) module, designed for transparent wireless serial connection setup. UART. Universal Asynchronous Receiver transmitter is a physical circuit not communication protocol like SPI and I2C.