0 Introduction
Nowadays, neon lights are still used to decorate various buildings in cities. However, neon lights have the disadvantages of high heat generation, low brightness, dark colors, high prices and high power consumption, and are no longer the main choice for decoration. Dot matrix screens have the advantages of low price, long visibility, high brightness, low energy consumption, small size, and can be combined into a larger area of dot matrix blocks by several small dot matrix screens according to actual conditions. Here we mainly introduce the use of AT89S51 as the control chip, and the use of 4 8×8 dot matrix screens to cascade to achieve a 16×16 dot matrix screen, which can be used for billboard display, etc.
1 System Design
In view of the fact that the designed dot matrix screen is a 16×16 monochrome display, it can be realized by cascading 4 8×8 dot matrix screens. At this time, the rows and columns of the dot matrix screen are 16 pins each, and an expansion port is required. The 74LS164 serial input and parallel output are used to achieve it. The entire system uses AT89S51 as the control chip, P0/P2 port as row control, P3 port as the input of the chip 74LS164, and two 74LS164 chips are cascaded for column control. Different codes are called through the software program to display characters or text.
2 Components Introduction
2.1 Introduction to AT89S51 MCU
AT89S51 has 4 KB of programmable flash memory (FLASHProgrammahle AND Erasable Read Only Memory). The on-chip flash memory allows reprogramming in the system, making it very easy to modify the program during system development, and even if there is a program error, it will not become a waste. Because the 8-bit CPU and flash memory are included in the single-chip integrated circuit, AT89S51 becomes a powerful controller, which provides an efficient and flexible solution for many embedded systems. Based on the above reasons, AT89S51 was selected.
2.2 Introduction to 74LS164 Chip
In a single-chip microcomputer system, if the parallel port I/O resources are insufficient and the serial port has no other functions, then 74LS164 can be used to expand the parallel I/O port and save single-chip microcomputer resources. 74LS164 is a serial input/parallel output shift register with a clear terminal.
3 Hardware Design
The circuit in Figure 1 is a connection diagram of an 8×8 dot matrix display circuit.
(1) Connect the P1 port in the "MCU System" area to the "DR1~DR8" ports in the "Dot Matrix Module" area using an 8-pin row;
(2) Connect the P3 port in the "MCU System" area to the "DC1~DC8" port in the "Dot Matrix Module" area using an 8-pin row. If you want to display a large image, you can put multiple dot matrices together, connect the rows and columns in series, and use 741S164 to control a single row.
4 Part of the source code
Some source code is as follows:
SEND: MOV A, R1; send the table first address
ACALL TAB1 ; Check list
5 Conclusion
This paper studies the use of AT89S51 as the control chip and 8×8 dot matrix screen to realize the scrolling display of advertising words, which is of great significance to environmental protection and energy saving.
Previous article:Design of Solar Energy Environmental Parameters Tester Based on AT89S52 Single Chip Microcomputer
Next article:Design of fan temperature control system based on single chip microcomputer
Recommended ReadingLatest update time:2024-11-16 22:46
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- 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
- Full range of solutions for embedded cash registers (tax control cash registers) and POS machines (tax control POS machines)
- 【micropython】STM32 will support arbitrary FS
- Global variables in embedded system programming
- MM32F031 Development Board Evaluation 003 FreeRTOS Porting
- PWM generated voltage calculation table
- Help, I need to exchange an E coin, I still need one
- The official WeChat group of the community has been established: you can chat about Microchip live broadcast and PIC microcontrollers
- C6000 Code Generation Tools - Compiler
- Analog Electronics Technology (US) Boylstad
- A graphic guide to UWB's counterattack