wire less robotic control ppt

28
P.Prashanth (08AG1A0456) P.Srikanth (08AG1A0448) ROBOTIC ARM WITH WIRELESS CONTROL

Upload: punnamrajuprashanth-prashanth

Post on 15-Oct-2014

83 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Wire Less Robotic Control Ppt

P.Prashanth (08AG1A0456)P.Srikanth (08AG1A0448)

ROBOTIC ARM WITH WIRELESS CONTROL

Page 2: Wire Less Robotic Control Ppt

CONTENTS

Introduction Aim of the project Block diagram Description Microcontroller Schematic Power supply Software Advantages Result Conclusion Bibliography

Page 3: Wire Less Robotic Control Ppt

INTRODUCTION Every system is automated in order to face new challenges

in the present day situation.

Automated systems have less manual operations, so that the flexibility, reliabilities are high and accurate.

Hence every field prefers automated control systems.

Especially in the field of electronics automated systems are doing better performance.

Page 4: Wire Less Robotic Control Ppt

The main aim of this project is to develop a system which uses RF Technology that controls units of the Automobiles, which executes with respect to the signal sent by the RF TX.

The motion of the robot can be controlled through

RF remote.

AIM OF THE PROJECT

Page 5: Wire Less Robotic Control Ppt

BLOCK DIAGRAM

Page 6: Wire Less Robotic Control Ppt

BLOCK DIAGRAM

Page 7: Wire Less Robotic Control Ppt

Transmitter section:

Transmitter sections contains rf transmitter module,matrix keypad,microcontroller,transistors,resistors,capacitors,crystal oscillator&power source.

RF remote can be used as the transmitter. Receiver section:

Receiver section comprises of RF receiver module, motors, motor driver IC, microcontroller, devices ,power source etc.

RF receiver:

RF receiver section will receive the RF signals from the RF remote and provides it to the microcontroller.

DESCRIPTION

Page 8: Wire Less Robotic Control Ppt

MICRO CONTROLLER (AT89S51)

The AT89S51 is a low-power, high-performance CMOS 8-bit microcontroller with 4K bytes of in-system programmable Flash memory.

32 Programmable I/O Lines.

Three-level Program Memory Lock.

4.0V to 5.5V Operating Range.

Figure: micro controller

Page 9: Wire Less Robotic Control Ppt

SCHEMATIC

RF TRANSMITTER

Page 10: Wire Less Robotic Control Ppt

RECEIVER(ROBO)

Page 11: Wire Less Robotic Control Ppt

POWER SUPPLY The power supplies are designed to convert high voltage AC mains electricity to a suitable low voltage supply for electronics circuits and other devices.

For example a 5V regulated power supply system as shown below:

Page 12: Wire Less Robotic Control Ppt

TRANSFORMER:

A transformer is an electrical device which is used to convert electrical power from one Electrical circuit to another without change in frequency. An Electrical Transformer

Turns ratio = Vp/ VS = Np/NS

Power Out= Power InVS X IS=VP X IP

Vp = primary (input) voltageNp = number of turns on primary coil

Ip  = primary (input) current    

Page 13: Wire Less Robotic Control Ppt

RECTIFIER:

A circuit which is used to convert a.c to dc is known as RECTIFIER. The process of conversion a.c to d.c is called “rectification”

TYPES OF RECTIFIERS:

•Half wave Rectifier•Full wave rectifier

1. Centre tap full wave rectifier.2. Bridge type full bridge rectifier.

Fig(A)

Fig(B) Fig(C)

Page 14: Wire Less Robotic Control Ppt

Filter:

A Filter is a device which removes the a.c component of rectifier output  but allows the d.c component to reach the load.

Capacitor Filter:

We have seen that the ripple content in the rectified output of half wave rectifier is 121% or that of full-wave or bridge rectifier or bridge rectifier is 48% such high percentages of ripples is not acceptable for most of the applications.

To calculate the value of capacitor(C), C = ¼*√3*f*r*Rl

Where, f = supply frequency, r = ripple factor, Rl = load resistance

Page 15: Wire Less Robotic Control Ppt

Regulator:

Voltage regulator ICs is available with fixed (typically 5, 12 and 15V) or variable output voltages. The maximum current they can pass also rates them. Negative voltage regulators are available, mainly for use in dual supplies.

78XX:

The Bay Linear LM78XX is integrated linear positive regulator with three terminals. The LM78XX offer several fixed output voltages making them useful in wide range of applications.

Page 16: Wire Less Robotic Control Ppt

SOFTWARE #include <reg51.h> #include <stdio.h>

#include <mylcd.h>

sbit C1 = P1^4;sbit C2 = P1^5;sbit C3 = P1^6;sbit tb1 = P3^7;

char code NAME[] = " LAND ROVER ";char code NAME1[] = " ";

char code CITY[] = "ACE ENGG.COLLEGE";char code LOC[] = " HYDERABAD ";char code SUBT[] = "SUBMITTED BY.. ";char code NAMES1[] = "P.SRIKANTH ";char code NAMES2[] = "P.PRASANTH ";

char code GUIDE[] = "GUIDED BY.. ";char code GUIDEN[] = "Mr.APPALA RAJU ";

Software Program :

char code HOD[] = "OUR HOD.. ";char code HODN[] = "Mr.SURYANARAYANA";char code MSG1[] = "MOVING FORWARD ";char code MSG2[] = "MOVING BACKWARD ";char code MSG3[] = "MOVING LEFT ";char code MSG4[] = "MOVING RIGHT ";char code MSG7[] = "IDLE CONDITION ";char code PRSK[] = "PRESS ANY KEY.. ";char code BLNK[] = " ";

void delay();void delay();char getkey();char cnt = 0;bit lock = 0;

Page 17: Wire Less Robotic Control Ppt

void timer0 (void) interrupt 1 using 0 { cnt++;

if(cnt >= 20){

cnt = 0;lock = 0;

}}void main (void) {

char ch=0xFF,pch=0xFF;

bit PL_RE = 1;TMOD = 0X11;IE = 0X82;TR0 = 1;

P0 = 0xFF;P1 = 0xFF

P2 = 0xFF;P3 = 0xFF;SP = 0x55;

init_LCD();disp_L1(NAME);disp_L2(NAME1);delay();disp_L1(CITY);disp_L2(LOC);delay();disp_L1(SUBT);disp_L2(BLNK);delay();disp_L1(NAMES1);disp_L2(NAMES2);delay();disp_L1(GUIDE);disp_L2(GUIDEN);delay();

disp_L1(HOD);

Page 18: Wire Less Robotic Control Ppt

disp_L2(HODN);delay();sendcom(0x01);disp_L1(PRSK);disp_L2(BLNK);

TMOD = 0X21;IE = 0X00;TH1 = 0xE8;SCON = 0x50;PCON &= 0x7F;TR1 = 1;

while (1) {

tb1 = !tb1;ch = getkey();SBUF = 0X55;while(TI != 1);TI = 0;delay();SBUF = 0X55;while(TI != 1);TI = 0;delay();SBUF = 0XAA;while(TI != 1);TI = 0;delay();

Page 19: Wire Less Robotic Control Ppt

SBUF = ch;while(TI != 1);TI = 0;delay();SBUF = (0XAA ^ ch);while(TI != 1);TI = 0;delay();if(ch == 2)

disp_L1(MSG1);if(ch == 8)

disp_L1(MSG2);if(ch == 6)

disp_L1(MSG3);if(ch == 4)

disp_L1(MSG4);if(ch == 5)

disp_L1(MSG7);// if(ch == 10)disp_L2(MSG8);// if(ch == 11)disp_L2(MSG9);

delay(); }}

delay(){

int di = 0;for(di = 0;di < 2000;di++);

}void delay(){

long int di = 0;for(di = 0;di < 50000;di++);

}

Page 20: Wire Less Robotic Control Ppt

char getkey(){

char key, rkey = 0xFF;

C1 = 0;key = P1;C1 = 1;if ((key&0x0F) == 0x0E)rkey = 1;if ((key&0x0F) == 0x0D)rkey = 6;if ((key&0x0F) == 0x0B)rkey = 7;if ((key&0x0F) == 0x07)rkey = 10;

#include <reg51.h> /*define 8051 registers */#include <stdio.h> /*define I/O functions */

sbit tb1 = P3^7;sbit tb2 = P1^0;sbit tb3 = P1^1;

sbit MC1A = P2^0;sbit MC1B = P2^1;sbit MC2A = P2^2;sbit MC2B = P2^3;sbit FIRE = P3^2;sbit IRS = P2^4;sbit LDR = P2^5;sbit MODE = P3^5;

void delay();void delay();

Page 21: Wire Less Robotic Control Ppt

C2 = 0;key = P1;C2 = 1;if ((key&0x0F) == 0x0E)rkey = 2;if ((key&0x0F) == 0x0D)rkey = 5;if ((key&0x0F) == 0x0B)rkey = 8;if ((key&0x0F) == 0x07)rkey = 12;C3 = 0;key = P1;C3 = 1;if ((key&0x0F) == 0x0E)rkey = 3;if ((key&0x0F) == 0x0D)rkey = 4;if ((key&0x0F) == 0x0B)rkey = 9;if ((key&0x0F) == 0x07)rkey = 11;return rkey;

}

char cnt = 0, scnt = 0, temp1, csum, cmd;bit lock = 0;

void timer0 (void) interrupt 1 using 0 {

cnt++;if(cnt >= 30){

cnt = 0;lock = 0;

}}void SERL (void) interrupt 4 using 0 {

Page 22: Wire Less Robotic Control Ppt

if(RI == 1){

RI = 0;cnt = 0;if(scnt == 2){

csum = SBUF;scnt = 0;if(csum == (temp1 ^

0xAA)){

cmd = temp1;

tb2 = !tb2;lock = 1;

}}if(scnt == 1){

temp1 = SBUF;scnt = 2;

}if(scnt == 0){

if(SBUF == 0xAA){

scnt = 1;tb3 = !tb3;

}}if(SBUF == 0x55)scnt = 0;

}}void main (void) {

bit AMS;

P3 = 0xFF;P0 = 0xFF;P1 = 0xFF;P2 = 0xFF;SP = 0x55;

Page 23: Wire Less Robotic Control Ppt

TMOD = 0X21;SCON = 0X50;PCON &= 0X7F;TH1 = 0XE8;IE = 0X92;TR0 = 1;TR1 = 1;MODE = AMS;

while (1) {

tb1 = !tb1;if(lock == 1){

lock = 0;

switch (cmd){

case 0x2:

P2 = 0x05;break;case 0x8:

P2 = 0x0A;break;case 0x4:

P2 = 0x0D;break;case 0x6:

P2 = 0x07;break;case 0x5:

P2 = 0xFF;break;}

Page 24: Wire Less Robotic Control Ppt

} }}void delay(){

int di = 0;for(di = 0;di < 5000;di++);

}void delayl(){

long int di = 0;for(di = 0;di < 50000;di++);

}

Page 25: Wire Less Robotic Control Ppt

Revolution in Medical science and Health care systems.

New & wide scope in Education & Training.

A good help in Nuclear industry.Used tremendously in Sports activities.Play the role of an efficient assistance in

Research and Development sciences.Can very well handle household business.

ADVANTAGES

Page 26: Wire Less Robotic Control Ppt

RESULT:Hence by using this project we can control the robo arm through wireless technology i.e., through RF.

CONCLUSION or SYNOPSIS:-•The project “ land rover that is remotely controlled by hand held RF transmitter” has been successfully designed and tested.

•Finally we conclude that “robotic technology” is an emerging field and there is a huge scope for research and development.

Page 27: Wire Less Robotic Control Ppt

BIBLIOGRAPHY:-

The 8051 Micro controller and Embedded Systems -Muhammad Ali Mazidi-Janice Gillispie Mazidi

The 8051 Micro controller Architecture, Programming & Applications

-Kenneth J.Ayala

Fundamentals of Micro processors and Micro computers -B.Ram

Micro processor Architecture, Programming & Applications -Ramesh S. Gaonkar

Electronic Components -D.V. Prasad

Wireless Communications - Theodore S. Rappaport

Mobile Tele Communications - William C.Y. Lee

Page 28: Wire Less Robotic Control Ppt