SlideShare une entreprise Scribd logo
1  sur  13
ROBOT MOTION
SUBMITTED BY :
Y.NAVYA VANI
(NIT DURGAPUR)
ROBOT MOTION
AIM:
To control the motions of a robot using a wireless communication (Bluetooth) device.
INTRODUCTION:
By using a Bluetooth we can control the actions of a robot by asking it to move forward , or backward
or even reverse by giving certain user defined commands to it. But a small drawback of using this
Bluetooth device is we cannot communicate if the distance is too long.
BLOCK DIAGRAM:
COMPONENTS REQUIRED:
 Micro controller 8051
 Lcd(liquid crystaldisplay)
 Bluetooth(represented as virtual terminal in circuit diagram)
 L293D
 Battery of 9v
 2 Motors
DESCRIPTION:
MICRO-CONTROLLER:A micro controller is a single chip VLSI unit which , although having
limited computational capabilities possess enhanced input/output capability and a number of on chip
LCD
LCD
L293D
M
1
M
2
functional units. They are particularly used in embedded systems for real time control applications
with on chip program memory and devices.
LCD: LCD is used display numbers , characters,and some special symbols also. Using its data lines
we can send our required data which has to be displayed. It consists of 16-pins.
Bluetooth: It’s a communication technology . It acts as major role in embedded systems for wireless
communication.
CIRCUIT DIAGRAM:
WORKING:
Actually we need app named ARDUINO BLUETOOTH ( in the form of app in mobile
phone)inorder to control the actions of a robot by asking it to move forward ,or backward or even
reverse by giving certain user defined commands to it. First of all, we allot the user defined
commands to that device which we define in our code. As in the given code we gave the instruction
for that particular symbol for movement of motors. Here in the lcd we can visualize the motion of
the robot on the form of motors.
RESULT:
Here we can see different kind of motion of a robot using motors.
Forward motion of a robot can be done by giving a command *f# (as we have pre mentioned
in the program)
To make the robot to move backward we shall give command*b#( as we have pre-mentioned
in the program)
To make the robot to rotate right we shall give a command as *r#(as a message)(we have pre-
mentioned it in the program)
To make the robot to rotate to its left side we can send a message *l#(as we have pre-
mentioned in the program ).
To stop the robot motion we have to send a message *s#(as we have pre-mentioned it in kthe
program).
CONCLUSION:
By using the wireless communication, we can control the movements of robot. There is no
need of any switches, ……. and so on to operate the robot.
PROGRAM:
#include<reg51.h>
#define lcd P2
sbit m1a=P1^0;
sbit m1b=P1^1;
sbit m2a=P1^2;
sbit m2b=P1^3;
sbit sw1=P1^4;
sbit RS=P2^0;
sbit EN=P2^1;
void lcdcmd(unsigned int x);
void lcddata(unsigned char y);
void display(unsigned char b[]);
void delay(unsigned int time);
void init()
{
lcdcmd(0x30);
delay(5);
lcdcmd(0x30);
delay(5);
lcdcmd(0x30);
delay(5);
lcdcmd(0x02);
delay(5);
lcdcmd(0x28);
delay(5);
lcdcmd(0x0E);
delay(5);
lcdcmd(0x06);
delay(5);
lcdcmd(0x01);
delay(5);
}
void lcdcmd(unsigned int x)
{
lcd=x;
RS=0;
delay(5);
EN=1;
delay(5);
EN=0;
delay(5);
lcd=x<<4;
RS=0;
delay(5);
EN=1;
delay(5);
EN=0;
delay(5);
}
void lcddata(unsigned char y)
{
lcd=y;
RS=1;
delay(5);
EN=1;
delay(5);
EN=0;
delay(5);
lcd=y<<4;
RS=1;
delay(5);
EN=1;
delay(5);
EN=0;
delay(5);
}
void display(unsigned char b[])
{
int i=0;
for(i=0;b[i]!='0';i++)
{
lcddata(b[i]);
}
}
void delay(unsigned int time)
{
unsigned int i,j;
for(i=0;i<=time;i++);
for(j=0;j<=1275;j++);
}
unsigned char receive();
void serinit()
{
SCON=0x50;
TMOD=0x20;
TH1=0xFD;
TR1=1;
}
/*void sertx(unsigned char *TX)
{
for( ;*TX!='0';*TX++)
{
SBUF=*TX;
while(TI==0);
TI=0;
}} */
/*void ssertx(unsigned char t)
{SBUF=t;
while(TI==0);
TI=0;
} */
unsigned char receive()
{
unsigned char rx;
while (RI==0);
rx=SBUF;
RI=0;
return rx;
}
/*void okcheck()
{
unsigned char Rx;
do
{
Rx=receive();
}while(Rx!='K');
}
void func()
{
unsigned char Rx;
sertx("AT");
okcheck();
sertx("AT+CMGD=1");
okcheck();
sertx("AT+CNMI=1,2,0,0");
okcheck();
sertx("AT+CMGS="9490660968"");
do
{
Rx=receive();
}while(Rx!='>');
} */
void main()
{
unsigned char ry[3];
int i;
P1=0x00;
init();
serinit();
lcdcmd(0x01);
lcdcmd(0x80);
display("welcome");
while(1)
{
do
{
ry[0]=receive();
}while(ry[0]!='*');
for(i=1;i<3;i++)
{
ry[i]=receive();
}
if(ry[1]=='f')
{
m1a=1;m1b=0;m2a=0;m2b=1;
lcdcmd(0x01);
lcdcmd(0x80);
display("forward");
}
else
if(ry[1]=='b')
{
m1a=0;m1b=1;m2a=1;m2b=0;
lcdcmd(0x01);
lcdcmd(0x80);
display("backward");}
else
if(ry[1]=='r')
{
m1a=0;m1b=0;m2a=0;m2b=1;
lcdcmd(0x01);
lcdcmd(0x80);
display("right");
}
else
if(ry[1]=='l')
{
m1a=1;m1b=0;m2a=0;m2b=0;
lcdcmd(0x01);
lcdcmd(0x80);
display("left");
}
else
if(ry[1]=='s')
{
m1a=0;m1b=0;m2a=0;m2b=0;
lcdcmd(0x01);
lcdcmd(0x80);
display("stop");
}
} }

Contenu connexe

Tendances

Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controllerRkrishna Mishra
 
automation of street light using 8085 microprocessor
automation of street light using 8085 microprocessorautomation of street light using 8085 microprocessor
automation of street light using 8085 microprocessorshubham9929
 
Torque controlled servo stationary screwdriver
Torque controlled servo stationary screwdriverTorque controlled servo stationary screwdriver
Torque controlled servo stationary screwdriverKudamm_Corporation
 
Android Control robot using 8051 microcontroler
Android Control robot using 8051 microcontrolerAndroid Control robot using 8051 microcontroler
Android Control robot using 8051 microcontrolerSadamHussainkhan
 
Micro c lab6(lcd)
Micro c lab6(lcd)Micro c lab6(lcd)
Micro c lab6(lcd)Mashood
 
DOUBLE HEAD LABEL PRINTING MACHINE
DOUBLE HEAD LABEL PRINTING MACHINEDOUBLE HEAD LABEL PRINTING MACHINE
DOUBLE HEAD LABEL PRINTING MACHINEKudamm_Corporation
 
LG master k10-S1 wiring conection cable
LG master k10-S1 wiring conection cableLG master k10-S1 wiring conection cable
LG master k10-S1 wiring conection cablequanglocbp
 
Traffic Light Controller using 8255
Traffic Light Controller using 8255Traffic Light Controller using 8255
Traffic Light Controller using 8255Amit Kumer Podder
 
Wireless data logger using rf communication
Wireless data logger using rf communicationWireless data logger using rf communication
Wireless data logger using rf communicationPvrtechnologies Nellore
 
Arduino uno lcd display 16x2
Arduino uno lcd display 16x2Arduino uno lcd display 16x2
Arduino uno lcd display 16x2Robomart India
 
Design of vga based pong game using fpga
Design  of vga based pong game using fpgaDesign  of vga based pong game using fpga
Design of vga based pong game using fpgaRamanan Rajaraman
 
VFFS ( VERTICAL FORM FILL SEALING MACHINE )
VFFS ( VERTICAL FORM FILL SEALING MACHINE )VFFS ( VERTICAL FORM FILL SEALING MACHINE )
VFFS ( VERTICAL FORM FILL SEALING MACHINE )Kudamm_Corporation
 

Tendances (20)

Traffic light control
Traffic light controlTraffic light control
Traffic light control
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controller
 
automation of street light using 8085 microprocessor
automation of street light using 8085 microprocessorautomation of street light using 8085 microprocessor
automation of street light using 8085 microprocessor
 
Switches and LEDs interface to the 8051 microcontroller
Switches and LEDs interface to the 8051 microcontrollerSwitches and LEDs interface to the 8051 microcontroller
Switches and LEDs interface to the 8051 microcontroller
 
Torque controlled servo stationary screwdriver
Torque controlled servo stationary screwdriverTorque controlled servo stationary screwdriver
Torque controlled servo stationary screwdriver
 
pandu-vivek (1)
pandu-vivek (1)pandu-vivek (1)
pandu-vivek (1)
 
Android Control robot using 8051 microcontroler
Android Control robot using 8051 microcontrolerAndroid Control robot using 8051 microcontroler
Android Control robot using 8051 microcontroler
 
LG Cable
LG CableLG Cable
LG Cable
 
Micro c lab6(lcd)
Micro c lab6(lcd)Micro c lab6(lcd)
Micro c lab6(lcd)
 
DOUBLE HEAD LABEL PRINTING MACHINE
DOUBLE HEAD LABEL PRINTING MACHINEDOUBLE HEAD LABEL PRINTING MACHINE
DOUBLE HEAD LABEL PRINTING MACHINE
 
LG master k10-S1 wiring conection cable
LG master k10-S1 wiring conection cableLG master k10-S1 wiring conection cable
LG master k10-S1 wiring conection cable
 
Traffic Light Controller using 8255
Traffic Light Controller using 8255Traffic Light Controller using 8255
Traffic Light Controller using 8255
 
Wireless data logger using rf communication
Wireless data logger using rf communicationWireless data logger using rf communication
Wireless data logger using rf communication
 
Arduino uno lcd display 16x2
Arduino uno lcd display 16x2Arduino uno lcd display 16x2
Arduino uno lcd display 16x2
 
pdf
pdfpdf
pdf
 
Mini project
Mini projectMini project
Mini project
 
Design of vga based pong game using fpga
Design  of vga based pong game using fpgaDesign  of vga based pong game using fpga
Design of vga based pong game using fpga
 
Chapter5 dek3133
Chapter5 dek3133Chapter5 dek3133
Chapter5 dek3133
 
LUMOS
LUMOSLUMOS
LUMOS
 
VFFS ( VERTICAL FORM FILL SEALING MACHINE )
VFFS ( VERTICAL FORM FILL SEALING MACHINE )VFFS ( VERTICAL FORM FILL SEALING MACHINE )
VFFS ( VERTICAL FORM FILL SEALING MACHINE )
 

En vedette

En vedette (20)

Robot motion planning
Robot motion planningRobot motion planning
Robot motion planning
 
ROBO VS HUMAN loupe article
ROBO VS HUMAN loupe articleROBO VS HUMAN loupe article
ROBO VS HUMAN loupe article
 
MULTI-AGENT MANIPULATOR CONTROL AND MOVING OBSTACLE AVOIDANCE
MULTI-AGENT MANIPULATOR CONTROL ANDMOVING OBSTACLE AVOIDANCEMULTI-AGENT MANIPULATOR CONTROL ANDMOVING OBSTACLE AVOIDANCE
MULTI-AGENT MANIPULATOR CONTROL AND MOVING OBSTACLE AVOIDANCE
 
Robot Motions
Robot MotionsRobot Motions
Robot Motions
 
Robot Classification
Robot ClassificationRobot Classification
Robot Classification
 
plc introduction
plc introductionplc introduction
plc introduction
 
Robotics lec 6
Robotics lec 6Robotics lec 6
Robotics lec 6
 
visheshwar oraon robotics presentation
visheshwar oraon   robotics presentationvisheshwar oraon   robotics presentation
visheshwar oraon robotics presentation
 
Humanoid robots - stability analysis and robustness
Humanoid robots - stability analysis and robustnessHumanoid robots - stability analysis and robustness
Humanoid robots - stability analysis and robustness
 
Tushar ppt
Tushar pptTushar ppt
Tushar ppt
 
Industrial Robotics Chap 01 Fundamentals
Industrial  Robotics  Chap 01  FundamentalsIndustrial  Robotics  Chap 01  Fundamentals
Industrial Robotics Chap 01 Fundamentals
 
Robot Configuration - 1
Robot Configuration - 1Robot Configuration - 1
Robot Configuration - 1
 
Robotics
RoboticsRobotics
Robotics
 
Robot Configuration - 2
Robot Configuration - 2Robot Configuration - 2
Robot Configuration - 2
 
Robotics: 2-Link Planar Manipulator
Robotics: 2-Link Planar ManipulatorRobotics: 2-Link Planar Manipulator
Robotics: 2-Link Planar Manipulator
 
Robotics by rk mittal
Robotics by rk mittalRobotics by rk mittal
Robotics by rk mittal
 
Robotics: Forward and Inverse Kinematics
Robotics: Forward and Inverse KinematicsRobotics: Forward and Inverse Kinematics
Robotics: Forward and Inverse Kinematics
 
Robotics: Introduction to Kinematics
Robotics: Introduction to KinematicsRobotics: Introduction to Kinematics
Robotics: Introduction to Kinematics
 
Humanoid robots
Humanoid robotsHumanoid robots
Humanoid robots
 
Fundamental of robotic manipulator
Fundamental of robotic manipulatorFundamental of robotic manipulator
Fundamental of robotic manipulator
 

Similaire à ROBOT MOTION

Arduino bluetooth controlled robot
Arduino bluetooth controlled robotArduino bluetooth controlled robot
Arduino bluetooth controlled robotUVSofts Technologies
 
Robo wireless controll
Robo wireless controllRobo wireless controll
Robo wireless controllSumit Saini
 
Mechatronic Workshop Arduino
Mechatronic Workshop ArduinoMechatronic Workshop Arduino
Mechatronic Workshop ArduinoArifKamaruddin1
 
Android Operated Wireless Robot Using 8051 MCU
Android Operated Wireless Robot Using 8051 MCUAndroid Operated Wireless Robot Using 8051 MCU
Android Operated Wireless Robot Using 8051 MCUKamal Pradhan
 
Cell operated land rover robot
Cell operated land rover robotCell operated land rover robot
Cell operated land rover robotChetan Kataria
 
Wireless stepper motor control using zigbee
Wireless stepper motor control  using zigbeeWireless stepper motor control  using zigbee
Wireless stepper motor control using zigbeesavan Darji
 
Project_report_voice_controlling_robot
Project_report_voice_controlling_robotProject_report_voice_controlling_robot
Project_report_voice_controlling_robotamjadali492
 
Automatic voice control wheelchair
Automatic voice control wheelchairAutomatic voice control wheelchair
Automatic voice control wheelchairMohit Nagar
 
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-05MuhammadUsman1709
 
Development Of An Internet Controlled Surveillance Mobile Robot Part1
Development Of An Internet Controlled Surveillance Mobile Robot Part1Development Of An Internet Controlled Surveillance Mobile Robot Part1
Development Of An Internet Controlled Surveillance Mobile Robot Part1mimi
 
Gsm robot with cctv camera
Gsm robot with cctv cameraGsm robot with cctv camera
Gsm robot with cctv cameraashutoshsahu2908
 
BLUETOOTH CONTROLLED ROBOCAR
BLUETOOTH CONTROLLED ROBOCARBLUETOOTH CONTROLLED ROBOCAR
BLUETOOTH CONTROLLED ROBOCARPulkit Singhal
 
Android/GUI Controlled Bluetooth Spy Robot (SPY-BOT)
Android/GUI Controlled Bluetooth Spy Robot (SPY-BOT)Android/GUI Controlled Bluetooth Spy Robot (SPY-BOT)
Android/GUI Controlled Bluetooth Spy Robot (SPY-BOT)IJERA Editor
 
IRJET- IOT Based Surveillance Robotic Car using Raspberry PI
IRJET- IOT Based Surveillance Robotic Car using Raspberry PIIRJET- IOT Based Surveillance Robotic Car using Raspberry PI
IRJET- IOT Based Surveillance Robotic Car using Raspberry PIIRJET Journal
 
DTMF BASED MOBILE CONTROLL ROBOT SYSTEM
DTMF BASED MOBILE CONTROLL ROBOT SYSTEMDTMF BASED MOBILE CONTROLL ROBOT SYSTEM
DTMF BASED MOBILE CONTROLL ROBOT SYSTEMiindranilsarkar
 

Similaire à ROBOT MOTION (20)

Arduino bluetooth controlled robot
Arduino bluetooth controlled robotArduino bluetooth controlled robot
Arduino bluetooth controlled robot
 
Robo wireless controll
Robo wireless controllRobo wireless controll
Robo wireless controll
 
Mechatronic Workshop Arduino
Mechatronic Workshop ArduinoMechatronic Workshop Arduino
Mechatronic Workshop Arduino
 
Bluetooth controlled robot
Bluetooth controlled robotBluetooth controlled robot
Bluetooth controlled robot
 
Android Operated Wireless Robot Using 8051 MCU
Android Operated Wireless Robot Using 8051 MCUAndroid Operated Wireless Robot Using 8051 MCU
Android Operated Wireless Robot Using 8051 MCU
 
Cell operated land rover robot
Cell operated land rover robotCell operated land rover robot
Cell operated land rover robot
 
Wireless stepper motor control using zigbee
Wireless stepper motor control  using zigbeeWireless stepper motor control  using zigbee
Wireless stepper motor control using zigbee
 
Project_report_voice_controlling_robot
Project_report_voice_controlling_robotProject_report_voice_controlling_robot
Project_report_voice_controlling_robot
 
Automatic cargo handler.pdf
Automatic cargo handler.pdfAutomatic cargo handler.pdf
Automatic cargo handler.pdf
 
Automatic voice control wheelchair
Automatic voice control wheelchairAutomatic voice control wheelchair
Automatic voice control wheelchair
 
project report
project reportproject report
project report
 
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
 
Development Of An Internet Controlled Surveillance Mobile Robot Part1
Development Of An Internet Controlled Surveillance Mobile Robot Part1Development Of An Internet Controlled Surveillance Mobile Robot Part1
Development Of An Internet Controlled Surveillance Mobile Robot Part1
 
Part 2 master
Part 2 masterPart 2 master
Part 2 master
 
Gsm robot with cctv camera
Gsm robot with cctv cameraGsm robot with cctv camera
Gsm robot with cctv camera
 
Part 2 master
Part 2 masterPart 2 master
Part 2 master
 
BLUETOOTH CONTROLLED ROBOCAR
BLUETOOTH CONTROLLED ROBOCARBLUETOOTH CONTROLLED ROBOCAR
BLUETOOTH CONTROLLED ROBOCAR
 
Android/GUI Controlled Bluetooth Spy Robot (SPY-BOT)
Android/GUI Controlled Bluetooth Spy Robot (SPY-BOT)Android/GUI Controlled Bluetooth Spy Robot (SPY-BOT)
Android/GUI Controlled Bluetooth Spy Robot (SPY-BOT)
 
IRJET- IOT Based Surveillance Robotic Car using Raspberry PI
IRJET- IOT Based Surveillance Robotic Car using Raspberry PIIRJET- IOT Based Surveillance Robotic Car using Raspberry PI
IRJET- IOT Based Surveillance Robotic Car using Raspberry PI
 
DTMF BASED MOBILE CONTROLL ROBOT SYSTEM
DTMF BASED MOBILE CONTROLL ROBOT SYSTEMDTMF BASED MOBILE CONTROLL ROBOT SYSTEM
DTMF BASED MOBILE CONTROLL ROBOT SYSTEM
 

ROBOT MOTION