QB051/QB090 4-Digit Tube Display Module
1.Product Introduction
The four-bit ninumber module is a module for displaying digits, which integrates a 4-bit common-anode ninumber module, and uses the driver chip TM1650 to reduce the difficulty of wiring.
Each digit of the digital tube is composed of eight leds (including decimal points), by controlling the different positions of the LED light, you can make it display numbers, characters and symbols.
Application reference: Numerical visualization projects, such as temperature, humidity, counting and other scenes requiring digital display.
2.Parameter Specification
Parameter |
Value//Description |
---|---|
Operating voltage |
3.3V~5V |
Operating temperature |
-40°C~+85°C |
Display color |
Red |
Communication mode |
IIC |
Size |
4.72cm*2.38cm |
3.Wiring Diagram
4-Digit Tube Display Module |
UNO |
---|---|
VCC |
5V |
GND |
GND |
CLK |
Digital Pin 2 |
DIO |
Digital Pin 3 |
4.Sample Code
1//www.acebott.com
2#include "TM1650.h"
3#define CLK 2
4#define DIO 3
5TM1650 DigitalTube(CLK,DIO);
6void setup(){
7 DigitalTube.setBrightness(7);
8//Set the brightness of the digital tube from 1 to 7, with 7 being the brightest
9 DigitalTube.displayOnOFF(1);
10 //Set the opening and closing of the nixie tube, 0 is off, 1 is on
11 for(char b=1;b<5;b++){
12 DigitalTube.clearBit(b); // Clear the specified bit on the TM1650 display
13 }
14 DigitalTube.displayDot(4,1); //Turn on the decimal point for the first digit
15}
16void loop(){
17 DigitalTube.displayBit(1,4); //Display the number 4 on the first digit
18 DigitalTube.displayBit(2,3); //Display the number 3 on the second digit
19 DigitalTube.displayBit(3,2); //Display the number 2 on the third digit
20 DigitalTube.displayBit(4,1); //Display the number 1on the fourth digit
21}
5.Test Result
After uploading the code to the controller board, the four-digit nixie module will display 4321 in sequence.
6.Related Resources
7.Get One Now
B2B Business: info@acebott.com