Tuesday, July 19, 2011

RF Based Bot (Extension for Cell Phone operated land rover)

OVERVIEW:
This project is a extension for the project cell phone operated land rover where mobile is use to control the bot
Which not all ways possible to operate the bot with the cell ,so i use the RF Tx and RX to control in such
a way that we can operate the bot with a cell or by Tx ,the Tx side micro AT89S52 is used which generates
the code which are required to drive the bot forward,left etc....

CODE:
In the code i have used 5 pins of p1 to control the bot and the other 3 pins i have keeped for late modification
the o/p signal of the 3 pins not use so even though it press no effect on bot
The equivalent signal which is required for atmega16 to drive the motor via L293d is o/ped by the Tx micro


Encoder/Decoder pair: HT12E and HT12D

IF U HAVE MADE THE PROJECT CELLPHONE OPERATED LAND ROVER WITH OK TESTED ,THEN MAKE THE RX ON THE SEPARATE PCB AND JUST CONNECT THE DECODER O/P TO THE PORTA OF ATMEGA16
YOU HAVE TO MANAGE THE POWER SUPPLY FOR THE MAIN BOARD AND THE Rx AS U WISH AND IF THERE IS SOME PROBLEM FOR SUPPLY THEN MAKE A SEPARATE SUPPLY FOR Rx AND (note:if 2 separate power supplys r used then common both the GND ) FOR THE MAIN BOARD


Transmitter


















Receiver



















Complet Ckt and Code



Thursday, January 27, 2011

Motorbike Gear Indicator



Here is the simple code for this project :

org 0000h
mov 2fh,#54h
mov p2,#54h
mov 30h,#06h
mov 31h,#0dbh
mov 32h,#4fh
mov 33h,#66h
mov 34h,#6dh
mov r1,#2fh

main:
mov a,p0
cjne a,#0feh,main2
acall delay
inc r1
mov p2,@r1
sjmp main
main2:
cjne a,#0fdh,main
acall delay
dec r1
mov p2,@r1
sjmp main
delay:
MOV R3,#8
MOV R2,#8
MOV R0,#236
Delay2:
DJNZ R0,Delay2
DJNZ R2,Delay2
DJNZ R3,Delay2
RET
END

THE PCB IS OK TESTED,
U can use a Reed switch instead of a hall sensor

Complete source with Proteus simulator ckt

http://www.megafileupload.com/en/file/299016/moter-bike-gear-indicator-rar.html