The 7-Segment Digit Clock Unit from M5Stack is a 2.1′ 4-digit 7-segment display module.
There are decimal points on each digit and an extra wire for colon-dots in the center, which can display Decimals and Clocks. This module adopts the TM1637 as the driver IC and STM32F030 as I2C communication.
The I2C address can be modified per 4-bit dip switch. The red LED supports 8 brightness. Four fixing holes are included for mounting.
Features
- 4-digit red display
- I2C port, adjustable I2C address
- 8 brightness
- Low power consumption
- 4 fixing holes for multiple installations
Package Contents
- 1x Red 7-Segment Digit Clock Unit
- 1x HY2.0 4-pin Cable (20cm)
Specifications
| MCU | STM32F030 |
| Driver IC | TM1637 |
| Communication | I2C, addr: 0x30 |
| Power Supply | 5V DC |
| Net Weight | 12.5g |
| Gross Weight | 17.8g |
| Product Dimension | 50 * 31 * 14mm |
| Package Dimension | 136 * 92 * 15mm |
Resources
- Product Documentation
- Schematic
- Datasheet
- Arduino Example
Arduino Example
#include 'M5Stack.h'#include 'M5UNIT_DIGI_CLOCK.h'M5_DIGITAL_CLOCK Digiclock;void setup() { M5.begin(1, 0, 1); M5.dis.fillpix(0XFFFFFF); delay(50); M5.dis.fillpix(0X000000); delay(500); /* Digital clock init */ if (Digiclock.begin(&Wire, 26, 32)) { Serial.println('Digital clock init successful'); M5.dis.fillpix(0x00FF00); } else { Serial.println('Digital clock init error'); M5.dis.fillpix(0XFF0000); while (1); } char buff[] = ' '; Digiclock.setString(buff); delay(2000);}void loop() { char buff[] = '8.8.:8.8.'; Digiclock.setString(buff); delay(500);}



Reviews
There are no reviews yet.