With the rapid development of science and technology, LED display screens have become a new type of electronic screen advertising media. Compared with traditional inkjet and photo advertising images that are rigid and inactive billboards and advertising light boxes, LED display screens bring people clear, fresh and lively advertising effects. At the same time, LED display screens can be controlled by computers throughout the process, and screen resources can be reused, which improves the economic benefits of many companies.
At present, most of the LED display screens on the market are large-area flat panel display screens composed of dot matrix modules or pixel units composed of light-emitting diodes. The screen uses fast row scanning or column scanning to form text or patterns. One prominent feature of scanning display is that only one column of LEDs is lit at any time. From the left, the position selection end of each column is controlled, and the display is displayed from the first column to the last column. Based on this, only one column of LEDs can be used to form an equivalent dot matrix by rotation, and the position of the LED can be changed by software program to simulate the column scanning of the dot matrix, that is, the so-called LED rotating screen. Especially in the current context of low-carbon energy saving and environmental protection, how to design a display screen that can achieve the same effect with less materials has certain exploratory significance.
1 System Hardware Design
The system block diagram of the LED rotating screen display system is shown in Figure 1. The AVR main control chip is the core of the entire display system. Since the system needs to use the infrared control unit to update the display content, and the system's later scalability, after comprehensive consideration of application requirements and costs, the high-performance, low-power AVR microprocessor ATmega16L is selected as the core chip of the main control unit. The operating voltage of ATme-gal6L is 2.7~5.5 V, so a 3.7 V lithium battery is used to independently power the AVR chip and the column LED display unit, which solves the power supply problem in the design process of the rotating screen.
1.1 AVR basic peripheral circuit design
The basic hardware circuit of AVR microcontroller includes reset circuit, crystal oscillator circuit, A/D conversion filter circuit, ISP download interface and other parts.
1.1.1 Reset Circuit
The design of the reset circuit is shown in area ① in Figure 2. ATmega16L has built-in power-on reset design, and the extra time during reset can be controlled in the fuse position, so the power-on reset circuit outside the AVR can be designed very simply: just connect a 10 kΩ resistor (R17) to Vcc. For reliability, add a 0.1μF capacitor (C1) to eliminate interference and clutter. In the figure, D17 (IN4148) has two functions: one is to clamp the highest voltage of the reset input to about Vcc+0.5 V; the other is to short-circuit the R17 (10 kΩ) resistor when the system is powered off, so that C1 can be discharged quickly, so that an effective reset can be generated when the next call comes. When the AVR is in working state, press switch S1, the reset pin RESET becomes low level, triggering the AVR chip reset.
1.1.2 Clock Circuit
The design of the clock circuit is shown in area ② in Figure 2. The RC oscillator circuit is built in and can generate oscillation frequencies of 1 MHz, 2 MHz, 4 MHz, and 8 MHz. However, when a more accurate baud rate is required, it is recommended to implement it through an external circuit, such as the circuit shown in area ② in Figure 2. In the figure, 22 pF capacitors are connected to both ends of the crystal oscillator. When ATmega16L is actually used, these two small capacitors can work normally without being connected. However, it is still recommended to connect them for the standardization of the circuit.
The clock unit in FIG1 includes not only the clock circuit of ATmega16L, but also the circuit for realizing the real-time time display on the rotating screen, that is, a clock chip such as DS1302 is connected to the D interface of the ATmega16L main control chip, so that the rotating screen can display the time values such as year, month and day before 2100 in real time.
1.1.3 ISP Download Interface
The ISP download interface is shown in area ③ of Figure 2. This interface does not require other devices. A double-row 2×5 socket is used here to access the interface. The use of the socket form also provides convenience for upgrading the software in the AVR in the future. Since there are no peripheral devices, the PB5 (MOSI), PB6 (MISO), PB7 (SCK), and RESET pins can still be used normally without interference from the ISP.
1.1.4 A/D conversion filter circuit
The A/D conversion filter circuit is shown in Figure 3. To reduce the power supply interference of A/D conversion, the ATmega16L chip has an independent A/D power supply. A 10μH inductor L1 is connected in series with Vcc, and then a 0.1μF capacitor C5 is connected to GND. The 2.56 V standard reference voltage built into the ATmega16L is used, and the reference voltage can also be input from an external circuit, such as the TL431 reference voltage source can be connected externally, and a 0.1μF capacitor C3 is connected to GND at the AREF pin.
1.2 Infrared receiving/transmitting control unit
When the LED rotating screen is rotating, the displayed content and images can be updated at any time with the help of infrared sensing technology. The infrared transmitting module is a circuit device similar to a remote control and independent of the rotating screen. The infrared receiving module (irDA) is fixed on the top of the cylindrical rotating screen.
1.3 Hall sensor unit
In order to make the displayed content smooth and flicker-free during the rotation of the LED rotating screen, the key issue to be addressed is to make the starting point of the displayed content the same for each rotation of the rotating screen, which is the so-called synchronization. In actual operation, it is necessary to use the induction signal to identify the starting position of the rotating screen after one rotation, and then trigger the corresponding program to keep the displayed content stable. This design uses the Hall sensor to obtain the induction signal, thereby realizing synchronous processing.
2 System Software Design
The software program design of the LED rotating screen mainly includes the multi-content and multi-form pattern display realized by two interrupts. After the system is powered on, the infrared signal is detected first. If the infrared signal is received, the content to be displayed is first determined, and then the Hall element installed at the bottom of the system detects the switch signal to determine the starting position of the column LED when rotating. After obtaining the corresponding signal, the AVR chip processes the data and sends the data of each column to the rotating column LED in turn, and then displays the corresponding content in the form of a dot matrix screen. The main flow chart of the system is shown in Figure 4.
3 Key issues to be addressed during the design process
3.1 Power Issues
Based on the working voltage of ATmega16L, a 3.7 V lithium battery is used to independently power the main control system. The lithium battery is fixed on the rotating base to coordinate the entire control system and rotate with the motor rotor. The reserved interface can be used to charge the battery at any time.
3.2 Balance Issues
The display system based on SMD devices is smaller in size than the system composed of DIP devices, but the mechanical structure of the whole machine is still a problem that cannot be underestimated. In the design, the symmetrical structure is used to balance the base design and device placement to minimize the negative impact caused by mechanical vibration. Figure 5 (a) is a structural diagram of the LED rotating screen in a static state; Figure 5 (b) is a screenshot of the rotating screen in working state.
3.3 Synchronization Issues
To make the rotating screen display stable and clear images, the speed of the DC motor is the biggest key. When a fixed voltage source is used to power the motor, the motor can be controlled to reach the optimal speed through a voltage divider resistor. During the debugging stage, this design uses an adjustable voltage-stabilized power supply, which is relatively easier to operate.
3.4 Latency Issue
The system mainly showed two display problems during the debugging process. One is that there is a string of garbled characters after a round of display content, and the other is that the display content has horizontal smearing, making the text unclear. For the former, the delay sub-function can be used to give a suitable delay time. For the latter, one or more columns of inverse level can be added during the column scanning process to increase the time gap between characters.
4 Conclusion
The LED rotating screen designed based on AVR chip technology and SMD technology is a row of SMD LEDs installed on a bracket. It rotates under the drive of a DC motor and uses people's visual persistence effect to display complete text or patterns. Because the screen is a rotating display, the display content can be viewed from a 360° full range. At the same time, the rotating screen uses a small number of light-emitting diodes to achieve a display screen that requires a large number of light-emitting diodes in traditional methods, and the design of SMD devices also makes the system more compact in size. After completing the corresponding software and hardware debugging, the results show that the design can achieve low-cost and high-quality display and publicity effects, and has certain practical value.
Previous article:Causes and solutions to the three main problems in LED display applications
Next article:Design of a large LED screen control system based on MCU+FPGA
Recommended ReadingLatest update time:2024-11-16 19:31
- Popular Resources
- Popular amplifiers
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- [Anxinke UWB indoor positioning module NodeMCU-BU01] 05. Transplantation preparation: ranging function code analysis
- What does a 5G base station look like? What is the difference between it and a 4G base station?
- A low-power, wireless sensor network design
- [TI millimeter wave radar evaluation]_6_AWR1843BOOST UART output data analysis 1
- PA Design Principles and Practice - PA Design Based on MRF8P9040N - Personally Tested ADS2011
- There are 5 Bing Dwen Dwen waiting for you to win in the forum: DIY Bing Dwen Dwen together!
- [Mill Edge AI Computing Box FZ5 Review] Handwritten digit recognition - pytorch network builds Lenet network
- Does anyone have the Chinese operating instructions for the Agilent E4408B spectrum analyzer?
- 【IoT Graduation Project. Part 2】STM32+Gizwits AIoT+Laboratory Safety Monitoring System
- Is it necessary to pull up the data line and pull down the clock line in SWD mode for the burning port?