The system structure is shown in Figure 1. The 51 series single-chip microcomputers AT89C55 and AT89C51 produced by ATMEL are used as the core, of which the host uses AT89C55 and the slave uses AT89C51. The slave is responsible for 64-point data detection. The temperature and humidity of each detection point are converted into voltage signals through temperature and humidity sensors and their conversion circuits; the signal is selected through the matrix network, and the obtained signal is sent to the corresponding signal amplification and sorting circuit for amplification, and then enters the A/D converter for analog-to-digital conversion, and the digital quantity is sent to the slave, and then processed by the slave, sent to the LED for display, and transmitted to the host AT89C55 at regular intervals; the host is responsible for collecting data in each granary (50~100 granaries can be monitored), realizing data storage, printing and calling historical data, and can display the timely temperature, humidity and alarm status of each granary on a roving basis.
AT89C55/51 chip is a 51 series 8-bit single-chip microcomputer launched by ATMEL. The AT89C55 chip mainly has 20KB Flash memory, 256 bytes of on-chip RAM, 4 8-bit bidirectional addressable I/O ports, 1 full-duplex UART (universal asynchronous receiver transmitter) serial interface, 3 16-bit timers/counters, multiple priority nested interrupt structures, and an on-chip oscillator and clock circuit.
In this system, the host uses the rich 20KB flash memory resources of AT89C55 to permanently save real-time measurement information, historical measurement data and other key results, and the slave completes data collection and transmission. The host is located in the monitoring room, and the slave is located in each granary. There is a certain distance between the master and the slave. The signal transmission adopts serial asynchronous communication. The UART module integrated in the AT89C55/51 single-chip microcomputer is suitable for communicating with other computer systems and external peripheral chips of the single-chip microcomputer, and can realize three working modes: full-duplex asynchronous, half-duplex synchronous master control and half-duplex synchronous slave control. In this system, the UART module is used to work in full-duplex asynchronous communication mode, where TX is the transmit line and RC is the receive line. RS-422 drivers and receivers, such as MC3487 and MC3486 chips, are used to achieve stable signal transmission.
The matrix measurement network is composed of multi-way analog switches CD4051, CD4052, temperature sensor AD590, and humidity sensor IH-3602, and its connection is shown in Figure 2. The temperature (humidity) measurement matrix is composed of 8 analog switches of CD4051, 4 analog switches of CD4052 and 32 AD590 (32 IH-36021). The selection of each measuring element is controlled by the address code. In the matrix network composed of CD4051, CD4052, AD590, and IH-3602, the 4 input lines A and B of the two CD4052 and the 3 input lines A, B, and C of CD4051, a total of 7-bit address codes, are provided by the P0 port of AT89C51. The INH of CD4052 is directly connected to the high level, while the INH of CD4051 is provided by the P2 port. The temperature and humidity output signals, i.e., the OUT of CD4052, are respectively connected to the temperature and humidity amplifier circuits.
Previous article:Grating digital display system based on single chip microcomputer AT89S51
Next article:Design of touch screen controller based on AT89C2051 single chip microcomputer
Recommended ReadingLatest update time:2024-11-16 20:52
- Popular Resources
- Popular amplifiers
- 西门子S7-12001500 PLC SCL语言编程从入门到精通 (北岛李工)
- Siemens Motion Control Technology and Engineering Applications (Tongxue, edited by Wu Xiaojun)
- MCU C language programming and Proteus simulation technology (Xu Aijun)
- 100 Examples of Microcontroller C Language Applications (with CD-ROM, 3rd Edition) (Wang Huiliang, Wang Dongfeng, Dong Guanqiang)
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
- EE Hangzhou netizens have a dinner date! Anyone interested on October 22 (Thursday) evening?
- What is the difference between an IoT gateway and an industrial router?
- EMI Issues in Power Converters - Radiated Emissions
- I am working on a paper on an anti-lost device based on 51 and 52 microcontrollers. Can anyone help me?
- [SC8905 EVM Review] + Unboxing test and driver installation
- Optimizing EMC and Efficiency in High Power DC/DC Converters Part 2
- [McQueen Trial] + Line-following Driving + Ultrasonic Obstacle Avoidance
- Can the freewheeling diode be omitted when the MOS tube controls the solenoid valve?
- STEVAL-MKSBOX1V1 (SensorTile.box) firmware download via USB
- HP Prime G2 calculator with MicroPython support