DIYables 4-digit 7-segment Display LED TM1637 with colon for Arduino, ESP32, ESP8266, Raspberry Pi, 2 pieces

LED Displays
Buy on Amazon
DIYables TM1637 4-digit 7-segment LED display module with colon for Arduino ESP32 Click to zoom
DIYables TM1637 4-digit 7-segment LED display module with colon for Arduino ESP32Two TM1637 4-digit 7-segment display modules showing colon separator for clock displaysClose-up of TM1637 driver integrated circuit and pin connections on display moduleSize comparison of TM1637 4-digit display module with colon next to coin

Quick Overview

The DIYables TM1637 4-digit 7-segment display module is a convenient numeric display for microcontroller projects. The built-in colon segment makes it especially useful for time formats like hh:mm and mm:ss.

The package contains two TM1637 4-digit 7-segment LED display modules with a colon.

Key Features

  • 2-Pack Included — Includes two 4-digit 7-segment LED display modules
  • TM1637 Driver — TM1637-based module for simple numeric display projects
  • Colon Segment Included — Colon-shaped programmable LED in the center works as a separator
  • Great for Clocks and Timers — Ideal for displaying time formats such as hh:mm and mm:ss
  • Wide MCU Compatibility — Works with Arduino, ESP32, ESP8266, Raspberry Pi, and other 3.3V/5V microcontrollers
  • Tutorial Support — Arduino tutorials are provided via the linked guides

SPECIFICATION

Specification Value
Product Type 4-Digit 7-Segment Display Module
Driver IC TM1637
Display Digits 4 digits
Special Segment Colon separator
Included Quantity 2 pieces

Arduino Example Code

/* * This code is created by DIYables.io * This code is released in the public domain * For more detail, visit https://diyables.io/products/4-digit-7-segment-display-led-tm1637-with-colon */ #include <TM1637Display.h> // define the connections pins #define CLK 9 #define DIO 10 // create a display object of type TM1637Display TM1637Display display = TM1637Display(CLK, DIO); unsigned long time_m = 12; unsigned long time_s = 0; unsigned long last_ms = 0; void setup() { Serial.begin(9600); display.clear(); display.setBrightness(7); // set the brightness to 7 (0:dimmest, 7:brightest) unsigned long time = time_m * 100 + time_s; display.showNumberDecEx(time, 0b11100000, false, 4, 0); } void loop() { if ((millis() - last_ms) >= 1000) { time_s++; time_m += time_s / 60; time_s = time_s % 60; unsigned long time = time_m * 100 + time_s; display.showNumberDecEx(time, 0b11100000, false, 4, 0); last_ms = millis(); Serial.println(last_ms); } }

COMPATIBLE HARDWARE

This TM1637 4-digit 7-segment display is compatible with:

  • Arduino Uno R3
  • Arduino Uno R4 WiFi
  • Arduino Nano
  • Arduino Nano Every
  • Arduino Nano ESP32
  • Arduino Mega
  • ESP32 Development Board
  • ESP32-CAM
  • ESP8266
  • Raspberry Pi Pico
  • Raspberry Pi
  • Micro:bit