Light Meter on 2 digit display using PIC16F506 does'nt work

Thread Starter

nestbulala

Joined Dec 12, 2015
111
Thank you Albert, it worked as you described. I will start to play with this until I get my result. Again, my heartfelt thanks.
 
FWIW:

With multiplexing, you have to turn the digit select completely off, then set the segments and turn on the digit select to eliminate ghosting. It's called "inter-digit blanking".
 

Thread Starter

nestbulala

Joined Dec 12, 2015
111
It is not the PIC problem Albert, it is in the code. You have showed me that my wiring were correct but not the code for the light meter. What does it mean by the inter digit blanking.
 

AlbertHall

Joined Jun 4, 2014
12,345
If you are displaying the ONES digit and then set up the 7 segment data for the TENS digit, and then change the digit drive, the ONES digit will the TENS digit data for a brief period, which means you will see a dim version of the wrong data on the ONES digit and likewise for the TENS digit.

Your original code does do interdigit blanking. Before it sets up the new digit data it blanks the display, sets up the new digit data, then turns on the transistor for that that digit.
 
Top