8 channel remote
REMOTE CODES
ORG 00H
MAIN: MOV P1 , #0FFH
MOV TMOD , #20H
MOV SCON , #50H
MOV TH1 , #0FDH
CLR TI
SETB TR1
HERE: MOV A , P1
MOV SBUF , A
HERE2: JNB TI , HERE2
CLR TI
SJMP HERE
END
IT is very simple and cheap 8051 base remote control projects . it have 8 channel mean 8 button in connected on port1 of remote and receive give the output on port 1 . it is very useful for RC project. by using long range RF module we can design a quad copter .
8051 remote receiver
8 channel receiver
RECEIVER CODES
ORG 00H
MAIN: MOV P1 , #00H
MOV TMOD , #20H
MOV SCON , #50H
MOV TH1 , #0FDH
SETB TR1
CLR RI
HERE: JNB RI , HERE
MOV A , SBUF
MOV P1 , A
CLR RI
SJMP HERE
END
No comments:
Post a Comment