Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[need help] digital clock using 89c51

Status
Not open for further replies.

erodeboy

Member level 5
Member level 5
Joined
Nov 15, 2005
Messages
80
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Location
India
Activity points
1,987
89c51 clock circuit

i designed a digital clock using keil c for 89c51. i planned to use 74ls47 for each display and programmed and now i planned to reduce the circuit such that i connect all the 7-segment display parallely in a single port and refreshing it.

when i program for this option only the last segment glows. if i give some time delay to refresh then it works but the time is now not readable ie one comes after another.


help me with this problem.what should i do for this.
 

Ctrl

Newbie level 4
Newbie level 4
Joined
Feb 7, 2006
Messages
5
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,283
Activity points
1,311
digital clock using 89c51

I need see the schematic, maybe I can help you.
 

sn_burki

Full Member level 5
Full Member level 5
Joined
Feb 18, 2003
Messages
260
Helped
16
Reputation
32
Reaction score
11
Trophy points
1,298
Location
Pakistan
Activity points
1,623
pcf8583p + 8951

hi
I am working on the same project that will show time as well as Temperature, but as it is a big project, still I am working on it. When i complete it I will upload on form. I will request other to plz suggest me in adding simple temperature measuring circuit. I am using AT89c2051 and PCF8583P.
regards
 

jatinfultaria

Newbie level 1
Newbie level 1
Joined
Mar 14, 2006
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
8951 timer clock

erodeboy said:
i designed a digital clock using ke*il c for 89c51. i planned to use 74ls47 for each display and programmed and now i planned to reduce the circuit such that i connect all the 7-segment display parallely in a single port and refreshing it.

when i program for this option only the last segment glows. if i give some time delay to refresh then it works but the time is now not readable ie one comes after another.


help me with this problem.what should i do for this.

why r u giving some time delay? put one mux and select 7 segment one by one and give corresponding BCD data on output port. do this repeatedly. if some delay is required then give small delay.

still if you have put your schematic with this problem then it is easy to give answer for anyone.
 

LBdgWgt

Member level 5
Member level 5
Joined
Mar 6, 2006
Messages
83
Helped
5
Reputation
10
Reaction score
0
Trophy points
1,286
Activity points
2,066
how to calculate delay in 89c51 using c

jatinfultaria said:
why r u giving some time delay? put one mux and select 7 segment one by one and give corresponding BCD data on output port. do this repeatedly. if some delay is required then give small delay.

still if you have put your schematic with this problem then it is easy to give answer for anyone.

Yes jatinfultaria is right, try to multiplex the display. I did it with 89C51 for 4 seven segment display, and even without the BCD to 7seggment decoder, I program it inside the uC for the 7segment decoder using the uC port.

in order to make the display maybe you should consider that one loop of multiplexing requires about 30 Hz.

regards,
 

erodeboy

Member level 5
Member level 5
Joined
Nov 15, 2005
Messages
80
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Location
India
Activity points
1,987
7 segment dengan 89s51

i am herwith attaching the schematic of my design. kindly kelp me with the c source.
 

electronicus

Full Member level 4
Full Member level 4
Joined
Aug 19, 2005
Messages
221
Helped
36
Reputation
72
Reaction score
19
Trophy points
1,298
Location
Romania
Activity points
2,427
89c51 clock

A good clock schematic and source code. The clock use AT89C2051 micro, and work wery well.
 

vpshivakumar.77

Newbie level 3
Newbie level 3
Joined
Mar 15, 2006
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,317
digital clock schematic

Hi,

I had worked in this project, I had the same problem as what u told, r u using shift registers, ok. Now the problem is with the refreshing time, use timer routine to solve this problem. every time u refresh the seven segment LED's:!:

Shiva
 

erodeboy

Member level 5
Member level 5
Joined
Nov 15, 2005
Messages
80
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Location
India
Activity points
1,987
clock using timer 89c2051 keil

in the schematic given by mr.electronicus
a 2051 controller is used but the size of the attached hex file is 2.25 kb. is it possible to fuse it into the chip. if yes how.
 

silvio

Advanced Member level 3
Advanced Member level 3
Joined
Dec 31, 2001
Messages
715
Helped
105
Reputation
210
Reaction score
17
Trophy points
1,298
Location
Romania
Activity points
11,468
digital clock circuit using 89c51

erodeboy said:
in the schematic given by mr.electronicus
a 2051 controller is used but the size of the attached hex file is 2.25 kb. is it possible to fuse it into the chip. if yes how.

The size of the hex file is 2314 bytes, but the binary code image has a size of 831 bytes (0x33E).
Thus, it will fit into 2048 (0x07FF) bytes of AT89C2051 flash memory.

You can read the all page from which the files has been extracted:
**broken link removed**
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top