Help Needed to create a tele remote

Status
Not open for further replies.
Joined
May 1, 2010
Messages
119
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,308
Location
India, Kerala, Moolamattom
Visit site
Activity points
0
Hi good evening everybody...
I have circuit and i want to change some connection in this circuit.......

My recomedation is as follows

When the Dispaly is 0, only the LED 1 ON
When the Dispaly is 1, the LED 1 and 2 ON
When the Dispaly is 2, the LED 1,2 and 3 ON
When the Dispaly is 3, the LED 1,2,3 and 4 ON
When the Dispaly is 4, the LED 1,2,3,4 and 5 ON
When the Dispaly is 5, the LED 1,2,3,5 and 6 ON
and again the Dispaly is 0, only the LED 1 ON

I am not familier to programe or write the code....
So i need a help from somebody

Please help me and thank you everybody
 

Attachments

  • Tele remote.rar
    34.1 KB · Views: 78

It seems you are suing 8051 family microcontroller, the information made available could be made clear and explicit for others to come up with useful suggestions. Please include circuit and related details.
 

It seems you are suing 8051 family microcontroller, the information made available could be made clear and explicit for others to come up with useful suggestions. Please include circuit and related details.



Thanks to your replay

This is the Schematic and the code here....


******************************************************************
ORG 00H
START: MOV DPTR,#TABLE
MOV R0,#00H
MOV P0,#00H
MOV P2,#3FH ; initial display count 0
S1: INC R0
CJNE R0,#6,S2 ; switch press 6 then reset display to 0
MOV R0,#00H
S2: JB P3.7,$
LCALL DELAY
JB P3.7,S2
S3: MOV A,R0
MOV B,#10
DIV AB

MOVC A,@A+DPTR
MOV P0,A
MOV A,B
MOVC A,@A+DPTR
MOV P2,A

JB P3.7,S1
LJMP S3

DELAY: MOV R5,#20
D1: MOV R6,#250
DJNZ R6,$
DJNZ R5,D1
RET

TABLE: DB 3FH,06H,5BH,4FH,66H
DB 6DH,7DH,07H,7FH,6FH
END


*********************************************************************

Schematic Diagram




Again thanks to your replay
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…