# 1. Digital Tube Module Manual ## 1.1 Digital Tube Module ### 1.1.1 Sensor Introduction LED digital tube is a 4-digit red LED digital tube used to display numbers, decimal points and some special characters. It features a compact, user-friendly design for displaying sensor values like speed, time, score, temperature, and distance in robotics projects. ### 1.1.2 Working Principle It has 4 digital tubes, each of which has 8 LED lights. By controlling these 8 lights, you can make a digital tube display numbers, decimal points and part of the letters. ## 1.2 Notice 1. Do not exceed the rated voltage range during use. 2. Handle with care during use. ## 1.3 Specifications For more information, you may refer to "**[Digital tube sensor schematic](https://drive.google.com/drive/folders/1e4hyrV5j96fYs93Wj5IVg0-WDs9dq7Wf?usp=sharing)**" ### 1.3.1 Pin Instruction | **Pin** | **Instruction** | | :-----: | :-------------: | | 5V | Power Input | | GND | Ground | | DIN | Data Input | | CLK | Clock input | ### 1.3.2 Specifications

Digital Tube Sensor

Parameter

Specification

Power Supply

DC 5V

Communication

Dual Digital Control

Indicator Light (PWR) Description

The PWR LED lights up when powered.

Connector Type

5264-4AW

Product Dimensions

50mmx20mm

Modular installation, compatible with Lego series.

Four red LEDs, each including a decimal point

Adjustable display brightness

### 1.3.3 Project Outcome You can refer to the case tutorials and programs for different platforms in the same directory as this tutorial. This section will demonstrate the testing effect using Arduino IDE as an example. By using the TM1640 chip to set the LED matrix in the four digital tubes to achieve the effect of displaying numbers, decimal points and some letters. And the final effect of the digital tube is: "**1234**" are displayed on the four-digit digital tube.