Abstract: Proteus can realize single-chip microcomputer simulation, provide software debugging function, and support third-party software compilation and debugging environment, such as Keil C51 uVision2. This design uses 89C51 single-chip microcomputer as the control unit, establishes the coordinates of dot matrix LCD12864 and lights up the matrix points, so as to realize the synchronous display of nuclear signals on dot matrix LCD12864 and character LCD1602. The simulation was carried out in Proteus software and the expected results were obtained.
Keywords: Proteus; nuclear signal; single-chip microcomputer; LCD; display
Proteus ISIS is a simulation software developed by Labcenter, a British company, which integrates single-chip microcomputer and SPICE analysis. It is extremely powerful. The features of this software are: it realizes the combination of single-chip microcomputer simulation and SPICE circuit simulation; it supports the simulation of mainstream single-chip microcomputer systems; it has powerful schematic drawing function; it provides software debugging function, and it also supports third-party software compilation and debugging environment, such as Keil C51 uVision2 and other software.
The nuclear signal is the output signal of the nuclear radiation detector. Since its signal is relatively weak, it must be amplified by the preamplifier and amplifier before processing. Most of the existing nuclear signals displayed on LCD are numerical displays, and the changes of nuclear signals cannot be observed intuitively. This design uses the Proteus software to synchronously display nuclear signals through dot matrix LCD12864 and character LCD1602, and provides a basis for the multi-screen synchronous display of multiple nuclear signals.
1 Hardware Design
The hardware block diagram of this design is shown in Figure 1. The movement of the sliding rheostat is used to realize the change of the input signal, which is used to simulate the nuclear signal as input; ILC2543 performs analog-to-digital conversion on the input signal; AT89C51 is used as a microprocessor to realize control, and the change curve of the nuclear signal is displayed on LCD12864, and real-time digital display is performed on LCD1062. Among them, KS0108 and HD44780 are used as controllers of LCD12864 and LCD1602 respectively.
TLC254
3 is a 12-bit serial analog-to-digital converter from TI, which uses switched capacitor successive approximation technology to complete the A/D conversion process. 12864 is a graphic dot matrix LCD, which is mainly composed of row driver/column driver and 128x64 full dot matrix LCD. It can complete graphic display and can also display 8x4 (16x16 dot matrix) Chinese characters. 1602 character LCD is divided into two types: with backlight and without backlight. Its main technical parameters and pin functions can refer to its manual. Most of its commonly used controllers are HD44780.
2 Software Design
This design program is written in C language. The main program flow chart and dot matrix LCD12864 curve display flow chart are shown in Figure 2 and Figure 3 respectively.
According to the pin functions of each chip, the relevant timing diagram and flow chart, the main program is written as follows:
3 Simulation in Proteus software
In order to verify the correctness of the hardware circuit and program function, simulation is performed in Proteus ISIS software. The simulation steps are as follows:
1) Select the 1602 character LCD of LM016L model and the 12864 dot matrix LCD of LGM12641BS1R model, and draw the schematic diagram corresponding to the hardware block diagram Figure 1 in Proteus, as shown in Figure 4.
2) Import the main program and the programs corresponding to the three header files into the Keil software for compilation. After success, a hex file is generated, as shown in Figure 5.
3) Import the generated hex file into AT89C51 of Proteus ISIS to realize the connection between hardware and software, as shown in Figure 6.
4) Click the button to start the simulation, adjust the sliding resistor to simulate the change of the nuclear signal, and the simulation diagram is shown in Figure 7.
4 Conclusion
By adjusting the sliding rheostat in Proteus ISIS, the function of synchronously displaying the input analog signal change curve and real-time value on the dot matrix LCD12864 and the character LCD1602 is realized. The correctness of the hardware circuit and software design of this design is verified, that is, the real-time display function of the nuclear signal can be realized. This design fails to realize the nuclear signal processing display of multi-channel input and multi-screen LCD display, which needs further research.
Previous article:Experimental Loading Closed-Loop Control System Based on AVR Microcontroller
Next article:Using PIC MCU HT1621 LCD display controller principle
- Popular Resources
- Popular amplifiers
- Molex leverages SAP solutions to drive smart supply chain collaboration
- Pickering Launches New Future-Proof PXIe Single-Slot Controller for High-Performance Test and Measurement Applications
- CGD and Qorvo to jointly revolutionize motor control solutions
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Nidec Intelligent Motion is the first to launch an electric clutch ECU for two-wheeled vehicles
- Bosch and Tsinghua University renew cooperation agreement on artificial intelligence research to jointly promote the development of artificial intelligence in the industrial field
- GigaDevice unveils new MCU products, deeply unlocking industrial application scenarios with diversified products and solutions
- Advantech: Investing in Edge AI Innovation to Drive an Intelligent Future
- CGD and QORVO will revolutionize motor control solutions
- 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
- What are the step-down chips that can reduce 18V to 12V and achieve an output power of at least 30W?
- Which is more resistant to interference: an equipotential signal or a signal with voltage bias?
- EEWORLD University Hall----Live Replay: TI DLP? Products Empower Industrial Light Control Field and Innovation
- Help with two solidification methods in micropython
- MSP430F5438A Series Serial Communication
- LPS22HH Threshold Interrupt
- Live presentation: Fujitsu FRAM and glasses-free 3D video technology
- [Submission Instructions] 2020-2021 ON Semiconductor and Avnet IoT Creative Design Competition
- Recruitment information of Beijing Chuangxin Micro Technology Co., Ltd.
- Wireless transmission network combining zigbee and GPRS