Design of electronic billboard circuit based on AT89S51 chip

Publisher:a407895356Latest update time:2009-11-25 Source: 现代电子技术 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

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.

Reference address:Design of electronic billboard circuit based on AT89S51 chip

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

Reset operation and reset circuit design of AT89S51 microcontroller
Reset is the initialization operation of the microcontroller. You only need to add a high level to the reset pin RST of the AT89S51 for more than 2 machine cycles (that is, 24 clock oscillation cycles) to reset the AT89S51. reset operation When the AT89S51 is reset, the PC is initialized to OOOOH, causing the AT89S5
[Microcontroller]
Reset operation and reset circuit design of AT89S51 microcontroller
Using the MCU's serial port to drive 74LS164
  The 8051 microcontroller serial interface is a programmable full-duplex serial communication interface. It can be used as an asynchronous communication method (UART) to connect to external devices that transmit information serially, or for full-duplex 8051 multi-machine systems using standard asynchronous communicat
[Microcontroller]
Using the MCU's serial port to drive 74LS164
A brief discussion on AT89S51 interrupt program design
  The operation of the interrupt system must be coordinated with the subroutine to be used correctly. When designing an interrupt service subroutine, you need to first clarify the following issues.   Interrupt service subroutine design tasks   The basic tasks of interrupt service subroutine design include the follow
[Microcontroller]
A brief discussion on AT89S51 interrupt program design
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
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号