MAX7219 is a serial-in and parallel-out common cathode LED digital tube display driver, each of which can drive 8-bit LED digital tube display. It only needs 3 lines with the interface of the single-chip microcomputer, with BCD decoder and display test. Shift, latch, etc., the output current is up to 40mA, and only one brightness adjustment resistor is needed on the periphery.
MAX7219 pin diagram
2, pin function description 1) pin functionDIN: serial data input, data is loaded into the internal 16-bit shift register on the rising edge of CLK
CLK: serial clock input, up to 10MHz
LOAD: Chip select terminal, low level receives data from DIN terminal, data is stored when high level
DIG0~7: LED control terminal A~DP: LED terminal control terminal
DOUT: serial data output for cascading of chips
ISET: hardware brightness adjustment terminal, a resistor is connected between the pin and VCC, the brightness of the LED can be adjusted by the resistor, and the average current flowing through the segment of the LED is 100 times of the current flowing through the resistor. The resistance value ranges from 10 to 80K.
2) Internal register descriptionA, decoding mode selection register address: 09H
Assignment: FFH indicates the use of the BCD decoder inside the MAX7219
00H means not using the BCD decoder inside the MAX7219
B, brightness adjustment register address: 0AH
Assignment: 00H~0FH can change the brightness of the LED driven by the MAX7219, which varies from 1/32 to 31/32.
C, scan digit setting register address: 0BH
Assignment: 00H All bits are not displayed
01H~07H corresponds to 1~8 digits and all the previous digits are displayed (the bit to be displayed should be "1")
D, standby mode switch register address: 0CH
Assignment: 00H LED is completely off
01H LED display normally
E, display test register address: 0FH
Assignment: 00H LED is in normal display state
01H LED test status, that is, LED is fully illuminated
F, 8-bit LED display data register address: 01H~08H
Assigning values ​​to these registers (that is, what needs to be displayed) will be displayed on the corresponding 1~8-digit LED digital tube.
Due to noise in the power supply or nearby electromagnetic interference signals, the MAX7219 does not display or display after power-on; to eliminate this phenomenon, a 104pf ceramic capacitor should be connected between the VCC terminal of the MAX7219 and ground. Connect a 10K resistor to the ground. The most is also a high-frequency inductor between the power supply and the VCC end of the MAX7219.
In terms of power supply, it is best to use a transformer to supply power instead of a switching power supply.
The serial data added to the DIN pin must be shifted to 1 bit of data on every rising edge of the SCK pin signal when the LOAD pin is low, once every 2 bytes, and the high bit is at the previous low bit, then at The rising edge of the LOAD signal is stored in the MAX7219.
3, LED digital tube pin diagram is as follows:The segment code table is displayed as follows:
The Hydrogel Screen Protector is made of imported material with TPU as the base material and is combined with hydrogel. It has super ductility and retractability, and can perfectly adapt to curved screens and screens with excessively curved edges, so as to fit perfectly without leaving white edges, and basically does not affect the touch experience. It has a strong and effective self-healing function, is impact-resistant, durable, and has better toughness, and has a certain buffering effect on the collision of sharp objects.
The Hydrogel Screen Protector uses glue and hydrogel to activate the stickiness to ensure a perfect fit without warping and leaving blanks, which is more beautiful. The Hydrogel Film is very thin. The responsive, ultra-thin design gives you a bare-bones experience. It's not as thick as a Tempered Glass Screen Protector, so the hydrogel screen protector won't affect the weight and feel of the phone.
In terms of hand feel, the Hydrogel Screen Protective Film has a hydrophobic and oleophobic treatment, so it slides relatively smoothly, and there is no problem in using APP or playing games. In addition, the liquid spilled on it can be slipped off by just tilting it, which is very easy to clean and maintain.
Mobile Screen Protectors,Matte Hydrogel Protector,Anti Blue-Ray Hydrogel Film,Anti-Spy Hydrogel Film,Uv Curing Glass Film
Shenzhen TUOLI Electronic Technology Co., Ltd. , https://www.szhydrogelprotector.com