LED digital tube dynamic driving experiment

Publisher:TranquilOasisLatest update time:2011-12-23 Source: 21ICKeywords:LED Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Now let's use the two digital tubes on the experiment board to do an experiment to display the numbers 00 to 99 in a loop. First, complete the necessary hardware part.

Digital tubes are divided into common cathode and common anode types. Both can be driven by microcontrollers, but the driving methods are different, and the corresponding display codes of 0 to 9 are exactly the opposite.

First, let's introduce the single-chip microcomputer driving method of two common anode digital tubes. The circuit is as follows:

Netizens can see that: P2.6 and P2.7 ports control the power supply of tens and ones of the digital tube respectively. When the corresponding port becomes a low level, the corresponding transistor will be turned on, and +5V will supply power to the corresponding bit of the digital tube through the IN4148 diode and the driving transistor. At this time, as long as the P0 port sends out the digital display code, the digital tube can display the number normally.

Because two different digits need to be displayed, a dynamic scanning method must be used. That is, the ones digit is displayed for 1 millisecond first, and then the tens digit is displayed for 1 millisecond, and this cycle continues. In this way, as long as the scanning time is less than 1/50 second, the two different digits will be stably displayed due to the visual residual effect of the human eye.

Next, we will introduce a single-chip microcomputer driving method for common cathode digital tubes. The circuit is as follows:

Netizens can see that +5V directly supplies power to the 8 segments of the digital tube through a 1K resistor, and the P2.6 and P2.7 ports control the power supply of the tens and ones of the digital tube respectively. When the corresponding port becomes low level, the corresponding bit can absorb current. The data output by the P0 port of the microcontroller is equivalent to short-circuiting the digital segments that the digital tube does not want to display to the ground, so that the digital tube will display the required numbers.

Netizens can see that the hardware of common cathode digital tubes is simpler, so in mass production, the hardware overhead is small, PCB area is saved, welding workload is reduced, and overall cost is reduced. Therefore, the use of common cathode digital tubes is more conducive to mass production. The test boards sold now all use common cathode digital tubes.

Keywords:LED Reference address:LED digital tube dynamic driving experiment

Previous article:Introduction to the working principle and key technologies of LED light sources
Next article:8X8LED dot matrix display principle and programming technology

Recommended ReadingLatest update time:2024-11-16 16:56

Introduction to LED display grayscale knowledge
1. Grayscale Grayscale is also called color scale or grayscale, which refers to the degree of brightness . For digital display technology, grayscale is the determining factor of the number of displayed colors. Generally speaking, the higher the grayscale, the richer the displayed colors, t
[Power Management]
A few simple tips to teach you how to identify high-power LED chips
 In view of the chaotic market competition in the LED lighting market, many businesses have adopted a vicious price war. It is also very difficult for consumers to understand LED chips as they have little time.    The main reasons are:   1. No professional equipment   2. All products purchased are finished produc
[Power Management]
A few simple tips to teach you how to identify high-power LED chips
Optimizing design to increase LED lamp life
LED market analysis data Shows that in 2011, the global LED market output value reached 16.6 billion US dollars, and the scale of the entire industry is still expanding. In the entire product system, more than 60% of production failures and more than 70% of market returns are caused by component fa
[Power Management]
Let you further understand "LED driver power supply"
  LED driver power supply is a voltage converter that converts power supply into a specific voltage andcurrent to drive LED to emit light. Under normal circumstances: The input of LED driver power supply includes high-voltage industrial frequency AC (i.e., mains), low-voltage DC, high-voltage DC, low-voltage high
[Power Management]
Jufei Optoelectronics: Focusing on LED, and looking at the expansion of semiconductor packaging and film materials industry
  On May 10, Xing Mei, chairman of Jufei Optoelectronics, said in the 2019 online performance briefing held recently that the company is not considering developing into the chip field. At this stage, the company's development strategy is to deepen the LED industry, relying on backlight LED and lighting LED, and expan
[Semiconductor design/manufacturing]
Jufei Optoelectronics: Focusing on LED, and looking at the expansion of semiconductor packaging and film materials industry
LED epitaxial wafer substrate materials basic knowledge
Substrate materials are the cornerstone of the technological development of the semiconductor lighting industry. Different substrate materials require different epitaxial growth technologies, chip processing technologies, and device packaging technologies. Substrate materials determine the development path of semi
[Power Management]
Safety Specification Requirements for LED Energy-Saving Lamps
There are many types of energy-saving lamps on the market, and LED energy-saving lamps are the most advanced and environmentally friendly. Data shows that LED energy-saving lamps save 80% more electricity than incandescent lamps and 50% more electricity than fluorescent energy-saving lamps. LED lamps have
[Power Management]
Engineers share the design and implementation of wireless remote control LED billboards
introduction LED billboards are a kind of information display terminal for the public, which has a wide range of civil and commercial values. However, most of the information displayed on LED billboards is solidified in the system in advance, which loses the real-time nature of the info
[Power Management]
Engineers share the design and implementation of wireless remote control LED billboards
Latest Power Management Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号