Skip to main content
Seven segment LED display module with TM1637 4-wire interface

Pin names

CLK
pin
Clock input
DIO
pin
Data input (also used for acknowledging data received)
VCC
pin
Supply voltage
GND
pin
Ground
The DIO pin is also used for acknowledging the data received from the microcontroller, by pulling it down at a specific clock cycle.

Attributes

color
string
default:"red"
The color of the segment LEDs

Using the 7-segment display

This variant of the seven segment display uses the TM1637 chip. You’ll only need 2 microcontroller pins to communicate with it. The TM1637 communication protocol is non-standard. It resembles the I2C protocol, but it is simpler and incompatible with I2C. Luckily, you can use a library and not worry about the implementation of the protocol. Here are some TM1637 libraries you can use on Arduino: RT1637_RT(https://github.com/RobTillaart/TM1637_RT), Grove 4-Digit Display.

Simulator examples

Build docs developers (and LLMs) love