TM1637 display/What is in your box/04. The board, pin by pin
What is in your box · 04 of 13

The board, pin by pin

Four pins at one end, four bare pads at the other carrying the same four signals, and every part hidden under the display. No pad is square, so the names printed on the back are the only guide to which pin is which.

Four pins, in this order

The back of the TK51: a black board with GND, VCC, clock and data printed beside four gold pads at each end, a right-angle four-pin header standing off the right-hand end, TK51 TM1637 4-DIGIT DISPLAY and lonely binary in the middle, two rows of six solder joints from the display, the line FOR CLOCK DISPLAY, DECIMAL POINTS ARE REPLACED BY COLON across the top and DISPLAYS CAN BE CHAINED, SHARING THE SAME CLOCK LINE BUT SEPARATE DATA LINES across the bottom.
The back, which is where the names are. Turned over, the header is on the right; GND is still the top pin.

GND and VCC are power. CLOCK and DATA are the two signal wires from the last article. The back prints them in lower case, clock and data; the library and the chip's datasheet call them CLK and DIO. Same wires, three habits.

The order is the same at both ends, GND at the top. That is worth reading off the back rather than guessing, because nothing else on the board marks it: all eight header pads are the same oval, so there is no square pin 1 to count from.

The board, to scale
The four pins
Show me
Where
GND, VCC, CLOCK, DATA — top to bottom, and the same order on both ends
Pin pitch
2.54 mm
The four pins. No pad is square, so go by the names printed on the back. CLOCK and DATA are what the library calls CLK and DIO. Every part on this board sits on the display side, and most of it under the display itself — so the back carries the silkscreen, the model number and nothing to solder.

What is under the display

Everything. The TM1637 is a surface-mount chip on the display side, in the gap under the display's body, with two 10 kΩ resistors and two capacitors beside it.

The resistors are the pull-ups that hold CLOCK and DATA high, and they go to VCC. That is the most consequential fact on this board: the voltage you feed VCC is the voltage those two wires sit at, and so the voltage your board's pins see. 3.3 V or 5 V is about nothing else.

The capacitors, 100 nF and 10 µF, are across the supply. The chip lights one digit at a time, so the display takes its current in short bursts, and the capacitors keep those bursts from showing up as dips on the supply wire.

The pads at the other end

The four pads at the far end are the same four nets as the header: GND, VCC, CLOCK, DATA. No header is fitted there. They are not a pass-through to a second address (the protocol has none), just the same wires brought out again.

They are useful for passing power and clock along a row of displays. They are also how people build a row of displays that all show the same number, which more than one display goes through.

The TK51 from the front: a black board 62 by 22 millimetres almost covered by a four-digit seven-segment display, a right-angle four-pin header sticking out of the left edge, four bare gold pads at the right edge, and a large mounting hole at each corner. The model draws a decimal point after each digit.
62.3 × 22.4 mm, with a 4.6 mm mounting hole at each corner. The 3D model uses a stock display with points; the TK51 itself has the colon.

The enclosure in each six-pack wraps the board and leaves the pins out of one end. The smoked film goes between the display and the window, and it makes unlit segments disappear into the black instead of showing as grey bars.

When it does not work

The back of my board has no components on it

Correct. The chip, the two resistors and the two capacitors are surface-mount parts on the display side, under the display itself. The back carries the silkscreen, the solder joints of the display's twelve pins, and nothing else.

Which pin is pin 1? None of them is square

None of them is: all eight header pads on this board are the same oval. Go by the names printed on the back. Seen from the display side with the header on the left, the top pin is GND and the bottom one is DATA.

Which end do I plug into?

The end with the pins. The four pads at the other end are the same four signals brought out again, so either end works electrically, but only one has a header, and fitting one to the other end means soldering.

The pins are at the wrong end for my layout

Solder a 4-pin header into the spare pads and use that end instead. The order is identical, GND at the top, because the two connectors are wired in parallel to the same four nets.

What are the four big holes for?

Mounting. They are 4.6 mm, 56 mm apart along the board and 16 mm across it, which is the spacing the TinkerBlock base plate and the enclosure use. They are not plated and nothing is connected to them.

Where this goes next

Four wires, one library and a sketch that puts 1234 on the display.

The first number →

Edit this page — content/books/tm1637-display/the-board-pin-by-pin.mdx

Community

Questions about this product

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

This page covers several products. Choose yours to see the right 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 →