inverted LEDs

Thread Starter

duxbuz

Joined Feb 23, 2014
133
Hi

I am using this common anode 7 segment display:
http://www.us.kingbright.com/images/catalog/spec/SA08-11EWA.pdf

I have it connected to this decoder:
http://www.farnell.com/datasheets/1700457.pdf

I eventually realised that the logic is good it's just that all the led's are inverted!

So a number 3 looks like a number 1, but aligned to the left!! The number 4 was just seemingly random leds, but I have realised that its just that the LEDs are inverted.

I said the same thing twice. Anyway...

Could anyone take a guess why all LEds are inverted?

I can probe the pins and all the logic seems sound, highs and lows where expected.
 

BillB3857

Joined Feb 28, 2009
2,570
Look at page 1, lower right just above the chip outline. You are using LEDs with a chip designed to drive Liquid crystal displays. It will work but you need a transistor driver for each segment which will invert the output signal from the decoder. Look at the truth table for the various digits and this will become more clear.
 

ericgibbs

Joined Jan 29, 2010
18,849
Legend thanks

sorted
Hi,
This image shows the result of connection to High of the phase.

You have used the internal XNOR to invert the output, the same as adding an external inverter.:)

E
EDIT: The Phase pin is normally switched by the Back Plane oscillator when driving an LCD, as the LCD segments require an 'AC' waveform drive.
 

Attachments

ericgibbs

Joined Jan 29, 2010
18,849
hi,
The HC04 can sink/source a max of 25mA on any one pin, but you would have to ensure that the max Wattage did not exceed the rating of the IC.

The ULN would easily sink the LED segment current, that would have been my choice.
E
 
Top