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.

i need your help urgently for digital clock

Status
Not open for further replies.

sazy

Newbie level 2
Joined
Dec 30, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,296
please guys, i need for circuit diagram of digital clock with the pcb lay out and HEX code.
please

THANKS
 

Clock generation is performed just by hardware built-in module, and configuration registers.
PCB layout guidelines are provided on datasheet by uC manufacturers.

Que question is a little bit generic.

+++
 

please, could you help me with the schematics, pcb lat out and HEX code of tha digital clock? i want to build it. please i need it urgently. thanks
 

Hi,

All you have to do is google 'pic clock project' there are many such complete ones out there - spoilt for choice.
 

there is a ton of this project on the net...from 7 segment type display to graphic LCD one..
google is your friend...don't be lazy...:D
 

Here a code for hi-tech compiler..................
just connect the pins from ports to bcd to 7-seg display njoy

#include<htc.h>

__CONFIG(HS & BORDIS & PWRTEN & WDTDIS & LVPDIS);
__EEPROM_DATA(0,1,2,3,4,5,6,7);
__EEPROM_DATA(8,9,0,0,0,0,0,0);


int min_t, min_o, sec_t, sec_o, hr_t, hr_o;

void delay_Nms(int n )
{
while(n>0)
{
TMR1H=0xEC; // EC77H=60535d
TMR1L=0x77;

T1CKPS1=0;
T1CKPS0=0;

TMR1CS=0;
TMR1IF=0;
TMR1ON=1;
while(!TMR1IF) { }
TMR1IF=0;
n--;
}
}

void main()
{

TRISB=0x00;
PORTB=0x00;

TRISD=0x00;
PORTD=0x00;

TRISC=0x00;
PORTC=0x00;

while(1)
{
for(hr_t=0;hr_t<=1;hr_t++)
{
PORTB=eeprom_read(hr_t)<<4;
for(hr_o=0;hr_o<=2;hr_o++)
{
PORTB=eeprom_read(hr_t)<<4 | eeprom_read(hr_o);
for(min_t=0;min_t<=5;min_t++)
{

PORTC=eeprom_read(min_t)<<4 | eeprom_read(min_t);
for(min_o=0;min_o<=9;min_o++)
{
PORTC=eeprom_read(min_t)<<4|eeprom_read(min_o);
for(sec_t=0;sec_t<=5;sec_t++)
{
PORTD=eeprom_read(sec_t)<<4 | eeprom_read(sec_o);
for(sec_o=0;sec_o<=9;sec_o++)
{
PORTD=eeprom_read(sec_t)<<4|eeprom_read(sec_o);
delay_Nms(1000);
}
}

}
}
}
}
}

}
 

Sazy, maybe this will help, **broken link removed**
 

Sazy, maybe this will help, **broken link removed**

you need elektor credit to download complete article with PCB layout...:)

salken bro...sama2 dari bandung...hehehehe
 

you need elektor credit to download complete article with PCB layout...:)

salken bro...sama2 dari bandung...hehehehe

Just register on elektor.com, you'll get 10 point, enough to download article. I make the pcb from the article.
Salken kembali bro.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top