4″ 7-segment/The board in your hand/04. What is on the board
The board in your hand · 04 of 15

What is on the board

Two chips, a handful of resistors and a three-part switch, met in the order the signal meets them. What each part is for, which ones are not on the board at all, and why the ten pads are not for wiring.

In the order the signal meets them

The circuit board has two faces. The one with the white printing faces outward, and it carries the holes you wire and one solder pad, the PWM pad. Every other part is on the other face, the one the display sits on, in the space under it. The drawing below is the printed face as if the board were glass: parts where they really sit, small ones drawn bigger so a thumb can find them. Press one. To see the real thing, open the module in 3D and lift the display off.

What is on the board
U2
Press a part
Part
U2
It is
ULN2803A, eight sinking drivers
On the board
fitted
U2. A high on one of its inputs lets that segment's current flow to GND. It is what lets a chip that can carry about 6 mA per pin run a 12 V segment.

The header. Your six signal wires and two power wires arrive at the IN holes. The headers are not fitted; the next article is about them.

U1, the 74HC595. A shift register: three wires in, eight outputs. It takes the data, clock and latch, and holds a byte, one bit for each segment. It runs from the 3V3/5V pin directly, so it is the part the logic rail feeds. Chapter 3 is about what it does with the bits.

U2, the ULN2803A. Eight drivers in one chip, each a switch to GND that closes when its input is high. U1's eight outputs go into U2's eight inputs, so that U1's first output (QA) switches segment A's channel and its last (QH) the point's. It is what carries the segments' current, which U1 could not.

The resistors. Between each output of U2 and the display sits one resistor: 75 ohm for each of segments A to G, 510 ohm for the point. They set how hard a segment is driven, and the point gets the larger one. The warning on the back is about the ten pads, which are on the display's side of them.

The display. Its ten pins are soldered to the ten pads along the top and bottom edges. Two of them, the anode pins, are one wire, and each of the others is one segment. The display is on the other face of the board, and these pads are where its pins come through. They are not for you to wire to.

The dimmer, in two paragraphs

The common anode is not tied to the 12 V supply. Between them sits Q2, an AO3407A P-channel MOSFET: its source is the 12 V and its drain is the anode. R9, 5.1 k, pulls Q2's gate up to 12 V, so Q2 is off unless something pulls the gate down. That something is Q1, an S8050 NPN transistor: when it conducts it pulls the gate low and Q2 turns on.

Q1 is driven from the PWM pad through R11, 220 ohm, and D1, a Schottky diode, in series. R12, 10 k, holds Q1's base to GND, so a PWM pin left floating means Q1 off, Q2 off and the whole digit dark. A pair of capacitors sits on each rail, 0.1 uF and 10 uF, to keep it steady. Chapter 4 follows this branch, in how the dimmer works.

What is not on the board

The net list the board was made from has two more parts, D2 and R10. They are not in the bill of materials, so they are not fitted, and nothing in this book depends on them. The four header positions are not fitted either: H1 and H7 on the IN edge have male footprints, U3 and U14 on the OUT edge have female ones, and the strips and sockets are loose in the bag.

The ten pads are on the board and they are not for wiring. They are the display's own pins, and a voltage applied to one goes straight to an LED with no resistor in front of it.

When it does not work

The design files list parts I cannot find on the board

D2 and R10 are in the net list and not in the bill of materials, so they are not fitted. The four header positions (H1, H7, U3, U14) are not fitted either; the headers are loose in the bag. Everything else in the figure is on the board.

Can I swap a resistor to make it brighter?

Brightness is the PWM pin's job, and the board is built around it. The current in a segment was not measured here, so there is no figure to tune a resistor from, and a smaller resistor is a risk to the display.

A resistor on my board reads a different value

Read it off the part, not off this page. The values here come from the bill of materials: 75 ohm for segments A to G, 510 ohm for the point, then 5.1 k, 220 ohm and 10 k in the dimmer.

I cannot find the chip on my board

From the front there is only the display, and from the back only the printing, the holes and the PWM pad. The parts sit on the display's face of the board, in the space under it. The 3D page can lift the display off so you can see them.

Where this goes next

The headers are in the bag, not on the board, and pressing a wire into a bare hole is not a connection.

Solder the headers first →

Edit this page — content/books/seg4/whats-on-the-board.mdx

Community

Questions about this product

See what other owners have asked, and read their solutions.

Ask a question ↗

4″ 7-Segment LED Display with 74HC595

Loading discussions…

Discuss this article

Ask about this page. The answer stays here, on the page it belongs to, for whoever hits the same wall next.

Browse Modules and blocks on the forum →