RF based Wireless Robot using 8051 Microcontroller

28
Presentation On Microcontroller 8051 Presented By - Rahul Kumar Department Of ECE Shaheed Udham Singh College of Engg. & Tech

Transcript of RF based Wireless Robot using 8051 Microcontroller

Page 1: RF based Wireless Robot using 8051 Microcontroller

Presentation On

Microcontroller 8051

Presented By - Rahul Kumar B.Tech /ECE 1325271

Department Of ECE Shaheed Udham Singh College of Engg. & Tech.

Page 2: RF based Wireless Robot using 8051 Microcontroller

EMBEDDED SYSTEM• Special-purpose computer system designed

to perform a dedicated function.• Performs one or a few pre-defined tasks,

usually with very specific requirements, and often includes task-specific hardware and mechanical parts not usually found in a general-purpose computer.

Page 3: RF based Wireless Robot using 8051 Microcontroller

INTRODUCTION TO 8051

• 4K bytes internal ROM• 128 bytes internal RAM• Four 8-bit I/O ports (P0 - P3).• Two 16-bit timers/counters• One serial interface

MicrocontrollerA single chip

RAM

I/O Port Timer

Serial COM Port

CPU ROM

Page 4: RF based Wireless Robot using 8051 Microcontroller

Pin Description of the 8051

Page 5: RF based Wireless Robot using 8051 Microcontroller

Inside Structure of 8051 Microcontroller

Page 6: RF based Wireless Robot using 8051 Microcontroller

Software Used

• KEIL uVISION

Page 7: RF based Wireless Robot using 8051 Microcontroller

PROJECT :- RF Based Car

Team Members :- Rahul Kumar Sahil Kumar Karan Dhall

Page 8: RF based Wireless Robot using 8051 Microcontroller

Components

• AT89c51• Battery• LED(6)• HT12E• HT12D• L293D• Resistors

1 k ohm(7) 10 k ohm 50 k ohm 100 k ohm

• Xtal – 11.0592 KHz• Tectile switch (5)• DC motors• Voltage Regulator(IC7805)• Wheels and chechis• Capacitors

1 n f 10 uf1uf33pf(2)

Page 9: RF based Wireless Robot using 8051 Microcontroller

Introduction of IC HT12E• HOLTEK Semiconductor.• HT12E is a encoder integrated circuit that

belongs to 212 series of encoders.• They are paired with 212 series of decoders

for use in remote control system applications.

• HT12E converts the parallel input into serial outputs. It encodes the parallel data into serial for transmission through an RF transmitter.

Page 10: RF based Wireless Robot using 8051 Microcontroller

Pin Diagram:

Page 11: RF based Wireless Robot using 8051 Microcontroller

Introduction of IC HT12D• HT12D is a decoder integrated circuit that

belongs to 212 series of decoders.• This series of decoders are mainly used for

remote control system applications.• HT12D converts the serial input into parallel

outputs. It decodes the serial addresses and data received by an RF receiver, into parallel data and sends them to output data pins.

Page 12: RF based Wireless Robot using 8051 Microcontroller

Pin Diagram:

HT12D

Page 13: RF based Wireless Robot using 8051 Microcontroller

Pin No Function Name

1

8 bit Address pins for input

A02 A13 A24 A35 A46 A57 A68 A79 Ground (0V) Ground

10

4 bit Data/Address pins for output

D011 D112 D213 D314 Serial data input Input15 Oscillator output Osc216 Oscillator input Osc117 Valid transmission; active high VT18 Supply voltage; 5V (2.4V-12V) Vcc

Pin Description of both: 

Page 14: RF based Wireless Robot using 8051 Microcontroller

HT12E/HT12D FEATURES:• Operating voltage: 2.4V~12V• Low power and high noise immunity.• Low standby current.• Capable of decoding 12 bits of information.• Binary address setting.• Received codes are checked 3 times.• 8 address bits and 4 data bits.• Built-in oscillator needs only 5% resistor.• Valid transmission indicator.

Page 15: RF based Wireless Robot using 8051 Microcontroller

RF Transmission and Reception

Page 16: RF based Wireless Robot using 8051 Microcontroller

RF Transmitter

1 2 3 4

Block Diagram Of RF Transmitter RF Transmitter Module

Page 17: RF based Wireless Robot using 8051 Microcontroller

RF Receiver

1 2 3 4 5 6 7 8

RF Receiver ModuleBlock Diagram of RF Receiver

Page 18: RF based Wireless Robot using 8051 Microcontroller

Interfacing Of HT12E with RF Tx

Page 19: RF based Wireless Robot using 8051 Microcontroller

Interfacing Of HT12D with RF Rx

Page 20: RF based Wireless Robot using 8051 Microcontroller

L293D• L293D is a motor driver. As its name

suggests it can drive a motor . • Since the output voltage of 8051 is

limited to 5V only thus motors with higher required voltage need some drivers to provide them their desired input voltage.

• What L293D does is, it takes the (0/5v) input from the output pins of 8051 microcontroller and forwards the output through itself of higher voltage.

• Connecting a DC motor directly to the pins of 8051 would not work. It may even damage the microcontroller.

Page 21: RF based Wireless Robot using 8051 Microcontroller

Interfacing of 8051 with L293D

Page 22: RF based Wireless Robot using 8051 Microcontroller

Transmitter Hardware

Remote

Page 23: RF based Wireless Robot using 8051 Microcontroller

Receiver Hardware

CAR

Page 24: RF based Wireless Robot using 8051 Microcontroller

PROGRAM CODE #include<reg51.h>sbit sw1=P1^4;sbit sw2=P1^5;sbit sw3=P1^6;sbit sw4=P1^7;

sbit m1=P1^0;sbit m2=P1^1;sbit m3=P1^2;sbit m4=P1^3;void main(){m1=m2=m3=m4=0;while(1){if(sw1==1){

m1=1;}else{ m1=0;} if(sw2==1){m2=1;}else{m2=0;} if(sw3==1){

m3=1;}else{m3=0;} if(sw4==1){m4=1;}else{m4=0;}} }

Page 25: RF based Wireless Robot using 8051 Microcontroller

WORKING VIDEO

Page 26: RF based Wireless Robot using 8051 Microcontroller

Applications of RF Module

• Data Communication

• Escalators & Elevators

• Military• Security Monitoring• Unmanned Vehicles

Receiver Transmitter

Page 27: RF based Wireless Robot using 8051 Microcontroller

Future Developments

• Spy cameras can be added for security purpose.

• GPS Module can be added to get the location or to move the car to a specific location.

• For Military , Remote weapons can be added to use as fighter Robo car.

Page 28: RF based Wireless Robot using 8051 Microcontroller

THANKS FOR YOUR PRECIOUS TIME