Getting our hands dirty at last

A project log for Electronics Workshops Resources

Project where I put logs and other useful informations from past workshops

Yann Guidon / YGDES 01/19/2017 at 01:120 Comments


The character display project requires many red LEDs so I brought some.

Like, I dusted off my stock and brought whatever reference where I have a few thousands... Don't people LOVE LEDs ? :-D

I also checked my stock for 74HC595 : 120pcs (from another failed display project) is just enough for this project, niiiiiice.

But the LEDs and the driver have intricate electrical interactions that we have to prevent by testing, measuring, The 74HC595 is not a "power driver" : per the datasheets, the absolute maximum current per data output pin is 35mA, and the current must not exceed 70mA on the ground pin or the +Vcc pin.

One consequence : because of the 70mA limit, we can ensure that the board consumes at most 70×2=150mA per display. Under 5V, that's 750mW max. If you want 20 letters, get a 20 Watts power supply and you're done.

Since there are 8 outputs, each can at most supply about 70/8=8mA per pin to the respective segment. But it's a very conservative estimate.

Anyway the point is to design a text scroller, not a lighting fixture :-)

The most fun part of the day, however, is selecting which LED reference to use for the rest of the project. I've brought several types :

The test systems were : 3 parallel strings of 2 LEDs and one 1K resistor, powered by a Lithium battery (6V). This allows the simultaneous measurement of the current and voltage and compare the performances.

The jury is still out on which of these to choose.

The "flat top" is alluring but it will not be possible to make strings with 3 LEDs in series. OTOH, a string of 3 older 3mm and the Avago SMT LEDs draws about 2mA under 5V.

The LEDs are nice, but the placement matters a lot too. So we used standard predrilled prototyping boards to arrange and see how it would look in reality.

We used 5mm (collarless) LEDs because 3mm LEDs can fit but not vice versa.

The long/vertical segments use 6 LEDs, the short horizontal segments use 4 LEDs, but the pitch made it hard to fit 6 LEDs in the diagonal segments. 5 LEDs is a problematic number because it does not let us create nice pairs of LEDs.

Hopefully, the final PCB will allow us to make a slightly denser diagonal with 6 LEDs because they will not be forced into a fixed grid. Pythagora's theorem says that we should ideally be able to fit 7.2 LEDs in the diagonal but there are subtle details that reduce this number.

For the first prototype, we count 80 LEDs (84 if we manage to have 6 LEDs per diagonal). That means 40 resistors, as well...

Some room must be left free for the driving circuitry (DIPswitches and shift registers).

Meanwhile, Adam is already preparing a virtual mock-up with Minecraft...

I guess it will be finished long before our material circuits :-D

About the resistors :

Reading I find the following data:

The output pins have their own significant impendance and the voltage drops near our LED's level when there is sufficient load. The drop ranges from 0.2V to 0.6V... Balancing between the strings requires some resistance, probably 50 to 100 ohms, the value is to be determined with experiments before ordering the suitable resistors.

Note for later : request a black varnish for the final PCB, to increase the contrast.