Skip to content
Resinchem edited this page Oct 19, 2022 · 7 revisions

Overview and Features

TM1638_03

The TM1638 Display module is an eight digit, 7-segment display with eight independent LED indicators and eight independent push buttons. It needs only three wires for complete control, meaning only 3 GPIO pins are needed from your microcontroller. While the module will work with many different microcontrollers, such as Arduino boards, Raspberry Pi, etc. This library is designed to work with the ESP8266, like the Wemos D1 Mini. If you wish to use an ESP32, some of the libraries in the sketch will also need to be updated.

A full parts list, wiring details and more can be found at Resinchem Tech Blog.

A YouTube video of the build and library use (vs. ESPHome): TM1638 Display with ESPHome and MQTT for Home Assistant

Key Features:

  • MQTT commands to display up to eight chars, or individual characters
  • MQTT commands to individually control (and optionally blink) each LED
  • Built-in clock and date modes as examples
  • Supports over-the-air (OTA) updates - after initial installation
  • Button presses can be used locally or will return values via MQTT for automation use
  • Simple wifi and MQTT setup via credential and settings file (no need to modify Arduino code)

See the other wiki pages for details on setup, installation, configuration and use.

*Note: Product links provided in this repo may be Amazon affliate links. While use of these links will not impact your cost, Resinchem Tech may earn a small commission from your purchase for use in future projects.

Clone this wiki locally