
1. Introduction
A 4-digit 7-segment display is composed of a 12-pin 4-digit common anode 7-segment display and a control chip TM1650.This product can be used on devices that display numbers.
2. Schematic
TM1650 four-digit seven-segment display - HS-F14A schematicClick to view
Module Parameters
Pin Name | description |
|---|---|
VCC | VCC (Positive Power Input) |
GND | GND (Negative Power Input) |
SDA | Bidirectional Data Communication Pin |
SCL | Clock Signal Communication Pin |
Power Supply Voltage: 3.3V / 5V
Connection Type: 2.54mm Header
Installation Method: Double Screw Fixed
4, Circuit Board Size

5 of Arduino IDE example program
Attention: If prompted with an error message about the library file during program upload, please import the library file first!
Arduino IDE Library Download and Import Tutorial:Click to view
Example program (UNO development board):
#include <Wire.h>
#include <TM1650.h>
#include <SimpleTimer.h>
volatile int item;
TM1650 tm_4display;
SimpleTimer timer;
void Simple_timer_1() {
tm_4display.displayString(String(item));
item = item + 1;
}
void setup(){
item = 0;
//IICๆฅๅฃ่ฟๆฅTM1650ๆฐ็ ็ฎก\nๆฏ้ไธ็งๆพ็คบๆฐๅขๅ 1
Wire.begin();
tm_4display.init();
timer.setInterval(1000L, Simple_timer_1);
}
void loop(){
timer.run();
}6, ESP32 Python Example (for Mixly IDE/Misashi)
Choose the development board Python ESP32 [ESP32 Generic(4MB)] and upload in code mode
Attention: If prompted with an error message about the library file during program upload, please import the library file first!
Download and import tutorial for Mixly IDE ESP32 library:Click to view
Example program (ESP32-Python):
import machine
import tm1650
import time
i2c_extend = machine.SoftI2C(scl = machine.Pin(22), sda = machine.Pin(21), freq = 100000)
disp = tm1650.TM1650(i2c_extend)
i = 0
while True:
disp.shownum(i)
i = i + 1
time.sleep(1)7, Mixly example program (graphical language)
Example program (UNO development board):Click to download
Attention: If prompted with an error message about the library file during program upload, please import the library file first!
Download and import tutorial of Mixly IDE Arduino library:Click to view

Example Program (ESP32 Development Board):Click to download
Attention: If prompted with an error message about the library file during program upload, please import the library file first!
Download and import tutorial for Mixly IDE ESP32 library:Click to view

8. Setting up the Test Environment
Arduino UNO Test Environment Setup
Prepare Components:
HELLO STEM UNO R3 PRO DEVELOPMENT BOARD *1
USB TYPE-C DATA CABLE *1
TM1650 4-digit LED digital tube module (HS-F14A) *1
1P female-to-female Dupont wire *4 pieces or 4P female-to-female Dupont wire *1 piece
Circuit wiring diagram:

ESP32 Test Environment Setup
Prepare Components:Pending update...
Circuit wiring diagram:Pending update...
9, Video tutorial
Video tutorial:Click to view
10, Test results
Arduino UNO test results:
After the device is connected to the line, after the above program is burned to the Arduino UNO development board, after the U+ program cartoon electricity is applied, it will be found that the digital tube displays the number automatically +1 every second.

ESP32 Test Results:
Pending update...