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.

[SOLVED] problem in multiplexing 7 seg led

Status
Not open for further replies.

vinay bs

Member level 3
Joined
May 22, 2012
Messages
65
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,751
hi can anyone help me out to solve the issue in multiplexing 7 seg led using pic 16f83....
its a 10min timer counts from 0 00 to 9 59
i got output but the numbers are fluctuating...
i attached code and proteus design file....
 

Attachments

  • Trial timer.zip
    14.7 KB · Views: 40
  • trial timer.zip
    30.9 KB · Views: 42

as far as i can see there is issue with delay
The visual cortex of human eye holds onto one image for about one-fifteenth of a second
the numbers are fluctuating because multiplexing delay is more than 1/15th of sec
try and reduce the delay and you will be fine
 

hi chaitanya...
i tried out for less than 1/15th of sec... but still its fluctuating .... any errors still...

- - - Updated - - -

its urgent guys... help me out on this
 

sometimes it might be possible that proteus will not show you the real time simulation ......
it might work perfectly on actual hardware
coding wise i don't see any issue
 

in my view try 3.2 ms refresh....to avoid the flicker... As if you look at tft it has refresh rate of 60Hz i.e. 16.66 millisecond per frame ....But when it comes to emissive display like Seven Segment it is required have less refresh time than that of traditional TFT bcz of mainly two reasons - one is area of the pixel is much more less for TFT as compare to Seven Segment display... Second is TFT is shutter display mostly tuned with gray level difference of +/- 1% where as in case of Seven segment it can be in the order of 2.5% or more....

Good Luck
 

My suggestions:

Code:
....
            for(l=0;l<66;l++)     // 66 for appr 1 sec/count
              {
                PORTA = 0b111;    // switch off all digits
                PORTB=bcdto7[k];  // update segment values
                PORTA = 0b110;    // switch on the rightmost digit
                Delay_ms(5);      // time to see it

                PORTA = 0b111;
                PORTB=bcdto7[j];
                PORTA = 0b101;
                Delay_ms(5);

                PORTA = 0b111;
                PORTB=bcdto7[i];
                PORTA = 0b011;
                Delay_ms(5);
              }
....

And play with the animation options to decrease flickering:
ISIS menu System > Set Animation Options > "Frames per Second" and "Timestep per Frame"

zuisti
 

thank u guys for your valuable suggestions its working fine on real hardware....:smile:
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top