TINKER PiEDESIGN IN INDIA

4-digit display TM1637 with TinkerPie

Big bright digits: clocks, scoreboards, counters.

TypeDisplays and lights
Connect toCLK and DIO on two pins
Givesnumbers and a clock colon
SimulatorYes: a control appears under the simulated board

How it works

The TM1637 module drives four 7-segment digits and a colon. It uses two wires (CLK and DIO) with its own simple protocol, which TinkerPie handles for you.

How to wire it

OLED and LCD go into a SENSOR port (I2C). The 4-digit display and LED strips use one or two signal pins.

Code

In blocks: Accessories category in TinkerPie Studio. As code:

// JavaScript
digits.showNumber(Pin.S1, Pin.S2, 1234)
digits.showTime(Pin.S1, Pin.S2, 9, 30)

// Arduino C++
digits::showNumber(Pin::S1, Pin::S2, 1234)
digits::showTime(Pin::S1, Pin::S2, 9, 30)

Good to know

Projects with the 4-digit display TM1637

Digital clockA DS3231 clock module keeps the time; a 4-digit display shows hours and minutes. Button A sets the time.Sensor projects

Similar modules

More projects to try

Questions

Can I try the 4-digit display TM1637 without buying one?

Yes. In TinkerPie Studio the simulator shows a control for it under the board, so you can test your program before you build it.

Is the TM1637 an I2C device?

No. It uses two wires like I2C, but its own protocol, so connect CLK and DIO to any two accessory pins.