engwas
Member level 1
- Joined
- Mar 7, 2013
- Messages
- 37
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,525
A scope would diagnose this pretty fast such as tracing back OE.dear SunnySkyguy
i notice that same problem not on 7 segment and multiplexing it take very small time the problem in fetch data from ds1307 i make it fetch every 1 minute it blink at that moment
so how to fix it
the multiplexing as below
View attachment 109976
Thanks
- - - Updated - - -
Dear
i measure the time of get data from the ds1307 it only 3.28 ms as the function Get_DS1307_RTC_Info();
kindly need any help
- - - Updated - - -
Dear I think the blink from my pc sometimes happen and sometimes not so i attached the circuit kindly if anyone try it and tell me it blink or not
and i need solution for the led that indicate the PM time
Thanks
Normally when something does not work, you compare your timing diagram with the IC Spec. The HC595 is a fast chip. Everything happens well under 100ns.As i see in most sites the OE connect to ground as i do with my circuit, so what your idea about it, kindly explain.i need help, more details, anyone have done this digital clock with LEDs and 7 segment with 8051, anyone have any idea, i reached the limit of saturation
void select_display(int digit,select1,select2)
{unsigned char i,value;
Latch=0;
value=Seven_Segment_Selector[select2];
for(i=0;i<8;++i)
{Data=value&0x01;
Clock=0;
Clock=1;
value>>=1;}
value=Seven_Segment_Selector[select1];
for(i=0;i<8;++i)
{Data=value&0x01;
Clock=0;
Clock=1;
value>>=1;}
value=Seven_Segment_Digit[digit];
for(i=0;i<8;++i)
{Data=value&0x01;
Clock=0;
Clock=1;
value>>=1;}
Latch=1;}
for(i=0;i<170;++i){
select_display( pInfoArray[0]/10,0,8 );//Seconds higher nibble
select_display( pInfoArray[0]%10,1,8 );//Seconds lower nibble
select_display( pInfoArray[1]/10,2,8 );//min MSB
select_display( pInfoArray[1]%10,3,8 );//min LSB
if(pInfoArray[2]/10==0);else select_display( pInfoArray[2]/10,4,8 );
select_display( pInfoArray[2]%10,5,8 );
if(pInfoArray[4]/10==0);else select_display( pInfoArray[4]/10,6,8 );
select_display( pInfoArray[4]%10,7,8 );
if(pInfoArray[5]/10==0);else select_display( pInfoArray[5]/10,8,0 );
select_display( pInfoArray[5]%10,8,1);
select_display( pInfoArray[6]/10,8,2 );
select_display( pInfoArray[6]%10,8,3 );
select_display( 2,8,4 );
select_display( 0,8,5 );
if(pInfoArray[7]==1)select_display(0,8,6 );//select pm led
}
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?