At present, the use of LED bulletin boards on campus is increasing, and they are used for the promotion and dissemination of various notifications. However, the control is still dominated by the control of a single LED bulletin board, and it is very inconvenient to operate and update the information on the display screen. In this context, this design studies and improves the current LED bulletin board system on campus, adds a ZigBee transceiver module to the original LED bulletin board, and designs a campus LED bulletin board system based on ARM devices, using touch screen technology and ZigBee wireless transmission technology.
1 Hardware Design of Control System
1.1 S3C2440 processor main control board module
The Linux real-time operating system is embedded in this hardware platform to manage and control the entire campus LED bulletin board system. The S3C2440 chip supports the touch screen interface, which includes a touch screen controller, four external transistors, and an external voltage source. The touch screen interface control selects the control signals (nYPON, YMON, nXPON, XMON) and analog pins connected to the pins of the touch screen panel and the external transistors.
1.2 PS2 Keyboard Module
The PS2 keyboard transmission protocol uses the following data format for data transmission: 1 start bit (always logic 0), 8 data bits (low bit first), 1 parity bit (odd parity), 1 stop bit (always logic 1), 1 response bit (only used in host-to-device communication). The keyboard transmission timing is shown in Figure 2.
1.3 LCD Module
A 7-inch LCD screen is used, and its video color format is: PAL/NTSC; high definition, wide viewing angle, 16:9 and 4:3 can be switched arbitrarily; optimal resolution: 800×480; contrast: 200:1; the 7-inch LCD screen is mainly used for displaying the main control interface and the input update text.
1.4 Four-wire resistive touch screen module
The four-wire resistive touch screen is the most widely used and popular type of resistive touch screen. Its structure consists of a lower conductive ITO layer and an upper conductive ITO layer, separated by fine insulating dots. When there is no pressure on the touch screen surface, the upper and lower lines are in an open circuit state; once pressure is applied to the touch screen, the upper and lower lines are connected, and the controller applies a driving voltage in the X-coordinate direction through the lower conductive ITO layer, and detects the voltage in the X direction through the probe on the upper conductive ITO layer, thereby calculating the X coordinate of the contact point. By changing the direction of the applied voltage through the controller, the Y coordinate of the contact point can be measured in the same way, thereby clarifying the position of the contact point. Its equivalent circuit is shown in Figure 3.
Figure 3 Equivalent circuit of four-wire resistive touch screen. 1.5 ZigBee wireless transmission module
The ZigBee communication module uses the SZ05 module of Shunzhou Technology. The processor and the communication module are connected through the RT1_TX and RT1_RX pins. The communication module used in the calling terminal uses the terminal node working mode (that is, the DS pin on the communication module is grounded). The connection between the ZigBee wireless transmission module and the main control board is shown in Figure 4.
Figure 4 Connection diagram of ZigBee wireless module and main control circuit.
Here ZigBee forms a star network type, the transmission mode is set to master-slave mode, the baud rate is selected to 9600, and the data bit is set to 8+0+1.
The ZigBee wireless transmission module is used to realize wireless data display information transmission and update, avoiding the additional cost of information update caused by data transmission based on the GSM/GPRS communication network of China Mobile operators.
2 System Software Design
2.1 Design of ZigBee wireless communication protocol
Since the ZigBee wireless transmission module uses serial communication, it is necessary to design a communication protocol for the LED display operating system to ensure accurate operation and update of each LED display. Therefore, its frame format is specified, as shown in Table 1.
Table 1 Frame format of ZigBee communication protocol
① Frame header: indicates the beginning of a frame, the content is FFAA, and the frame header length is 2 bytes.
②Frame length: Indicates the length of the frame data of the data packet excluding the frame header. The frame length is 2 bytes.
③Address identification: The physical address of each ZigBee wireless module, including the destination address and source address, is 1 byte in length.
④Data: The content of the data packet, the length is 0byte~256byte.
⑤ Parity check: In order to reduce the bit error rate in communication, this protocol uses a parity check method. If the number of 1s in the data bit is an even number, the check bit is 1; if the number of 1s in the data bit is an odd number, the check bit is 0.
2.2 Design of the main interface of the QT4 development software based on Linux
QT software is a cross-platform C++ graphical user interface application framework developed by Nokia. It provides application developers with the functions required to build state-of-the-art graphical user interfaces. QT is fully object-oriented, easily extensible, and allows true component programming. Since QT entered the commercial field in early 1996, it has become the basis of thousands of successful applications around the world. QT is also the basis of the popular Linux desktop environment KDE. Basically, QT is the same type of thing as Motif, Openwin, GTK and other graphical interface libraries on Window and MFC, OWL, VCL, ATL on the Windows platform, but QT has the advantages of excellent cross-platform characteristics, object-oriented, rich API, and a large amount of development documentation.
The main interface of the system mainly includes the following aspects:
①The main switch button icon of the entire LED display system;
②Select the interface for operating the LED display screen;
③The window showing the contents on the selected LED display;
④ The switch button icon and send button icon of a single display screen of the selected LED display screen.
3 Conclusion
After adopting this system, the four-wire touch screen technology makes the control main interface more user-friendly. The operator can update the display content of multiple LED bulletin boards and control the switch of each LED bulletin board in the office through the touch screen display main interface. The ZigBee communication module used in smart homes in the Internet of Things is used to realize the remote control and display update of multiple LED display screens on campus, forming a small LED display screen control system.
Previous article:Interpretation of 51 single chip microcomputer LED system circuit
Next article:Feature-rich LED driver ICs for high-power automotive LEDs
Recommended ReadingLatest update time:2024-11-16 17:49
- 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
- USB Type-C interface desktop monitor dedicated solution - single interface solution
- How is this switching transformer wound?
- How to delete products on Pingtouge's scenario-based Bluetooth Mesh cloud platform
- [Sipeed LicheeRV 86 Panel Review] IV. Failure to compile system image: Struggle and clear direction
- He works overtime, so I work too. I can't run away even if I want to. Have you ever seen such an overtime slogan?
- F28335 PWM trigger ADC sampling code + comments
- 【TouchGFX Design】Installation and simple experience
- How is the output V0 of this op amp derived?
- How to configure AFE940? Does anyone have the documentation?
- The LCD screen uses the ILI9325 screen controller, and the 32-bit board is STM32F103ZET6. After burning the program, only the background is lit,...