Skip to datasheet
Six-digit LED driver with key scanning

TM1637 Specifications

Review TM1637 electrical specifications, operating conditions and package details.

Package view

Key specifications

The host writes one segment byte per grid position. The internal oscillator scans the digits, PWM controls brightness and the shared segment outputs also scan the optional key matrix.

Display capacity6 digits × 8 segments
Example supply5 V
Key matrix16 keys · one reported at a time
PWM settings8 non-linear levels

Operating profile

Supply, signals and operating conditions

TM1637 operating profile
ParameterValueConditions / notes
PackageDIP-2020 leads · common physical numbering
Operating temperature−40 to +85°CCheck dissipation and display current
Serial example100 kHzLSB first · START / STOP / ACK
Use these values with the stated grade and test conditions.

Package details

TM1637 · DIP-20

Selected package
Selected TM1637 physical package
PropertyDetails
ManufacturerTitan Micro Electronics
Part numberTM1637
PackageDIP-20
Connections20 pins
MountingThrough-hole
Lead pitch2.54 mm
Package codeDIP-20
Thermal referenceSee operating and package limits

Supply and electrical conditions

Distinguish operating conditions from absolute limits

Scroll sideways to see all columns.

ParameterValueConditions / notes
Nominal application supply5 VV2.4 reference circuit
Electrical/timing test supply4.5–5.5 VPublished characteristics use this range
Input HIGH / LOW≥0.7 × VDD / ≤0.3 × VDDAt 5 V: ≥3.5 V HIGH, ≤1.5 V LOW
Operating temperature−40 to +85°CBoard and LED heating must remain within limits
No-load current, display OFF5 mA maximumNot total LED supply current
Internal oscillator450 kHz typicalRC oscillator; display scan is automatic
Bypass example100 nF ceramic + 100 µF bulkPlace close to VDD16 / GND1
Absolute limits7 V supply; 400 mW dissipationDamage limits, not recommended operating settings

Use a compatible host or proper level translation; a 3.3 V HIGH is not guaranteed at a 5 V supply.

Display and key commands

Each command byte is sent LSB first

Scroll sideways to see all columns.

ParameterValueConditions / notes
0x40Write display, auto incrementNormal mode; addresses advance through six bytes
0x44Write display, fixed addressSend the chosen address and one byte
0x42Read key-scan codeRelease DIO for IC-to-host transfer
0xC0–0xC5Set display addressGRID1 through GRID6 respectively
0xC6 and higherOutside display RAMData ignored until a valid address is selected
0x80Display OFFOutput blanking command
0x88–0x8FDisplay ON + brightnessLow three bits select the PWM setting
Test mode bitKeep clearedReserved for manufacturer testing

There is no I²C slave address or decimal-to-segment decoder.

Segment bytes and example digits

Example wiring: SEG1…SEG8 = A, B, C, D, E, F, G, DP

Scroll sideways to see all columns.

ParameterValueConditions / notes
Byte D0…D7SEG1…SEG8A set bit enables its segment
Blank / dash0x00 / 0x40Dash uses only segment G
Digits 0, 1, 2, 30x3F, 0x06, 0x5B, 0x4FFor the stated segment wiring
Digits 4, 5, 6, 70x66, 0x6D, 0x7D, 0x07No automatic font decoding
Digits 8, 90x7F, 0x6FDecimal point remains off
Decimal pointOR the byte with 0x80Some modules wire this output to a colon instead
Six-digit example 12345606 5B 4F 66 6D 7DSend after 0xC0 with auto increment enabled

A breakout module can have a different digit or colon map; check its wiring.

Eight PWM brightness settings

Duty applies during the selected digit slot

Scroll sideways to see all columns.

ParameterValueConditions / notes
0x88 / level 01/16Display ON; minimum PWM
0x89 / level 12/16
0x8A / level 24/16
0x8B / level 310/16The step from level 2 is intentionally large
0x8C / level 411/16
0x8D / level 512/16
0x8E / level 613/16
0x8F / level 714/16Maximum PWM setting

PWM duty is not the complete per-LED average duty: digit multiplexing also applies.

Two-wire timing

Use the conservative 100 kHz example for both writing and key reads

Scroll sideways to see all columns.

ParameterValueConditions / notes
START / STOPDIO falls / rises while CLK HIGHKeep DIO stable during ordinary HIGH clock periods
Bit orderLeast-significant bit firstDifferent from many SPI devices
AcknowledgeNinth clock; DIO pulled LOWHost releases DIO after bit 7
Write clock upper specification500 kHz at 50% dutyElectrical table maximum, subject to timing limits
Key-read clockBelow 250 kHzAdditional instruction in the key-read section
Clock pulse widthAt least 400 nsObserve all other timing constraints too
Data setup / holdAt least 100 ns / 100 nsRelative to CLK
Waiting timeAt least 1 µsCLK rising to falling in the timing table

The 100 kHz demonstration provides margin for pull-ups, wiring capacitance and host timing.

Key scan and output loading

Optional 8 × 2 matrix shares the segment scan lines

Scroll sideways to see all columns.

ParameterValueConditions / notes
K1 / K2 contactsPins 19 / 20Two key-return inputs
Idle key code0xFFNo key reported
Simultaneous keysNot supportedDo not assume rollover or independent key bits
Key input bias10 kΩ nominal internal pull-downUnused K1/K2 can remain unconnected
Segment sink capability20 / 30 / 50 mA min / typ / maxAt VO=0.3 V in the electrical table
Grid source capability80 / 120 / 180 mA min / typ / maxAt VO=VDD−2 V
Current interpretationThese are output-characteristic test valuesNot a guaranteed constant-current setting or a free current budget
Display loadingCheck LED pulse limits and IC dissipationUse segment resistors when required by the selected display/current design

Unlike MAX7219, TM1637 has no external RSET pin; do not copy the MAX7219 current-setting circuit.

Connections by function

Select a pin for its function, connection guidance and electrical notes.

Ground1 pin

Segments / key scan8 pins

Common-anode digits6 pins

Supply1 pin

Two-wire controls2 pins

Key inputs2 pins

Read the conditions with every value

Typical values describe stated test conditions. Absolute maximum ratings are stress limits, not operating targets.

Official PDF datasheet

Component view