Design and Implementation of Digital Temperature Meter Based on RS-232

introduction

The measurement of temperature is closely related to industrial and agricultural production. For example, greenhouse vegetables, the effect of temperature on them is obvious. People can taste a variety of seasonal fruits in their lives. The reason is that the growers have made reasonable adjustments to their growing environment and provided appropriate temperature conditions. However, the existing temperature measurement system still has defects. It cannot transmit data over long distances, and the real-time effect is poor. It still needs to be strengthened. The purpose and significance of this design is to improve the existing equipment to obtain higher efficiency and improve people's Quality of Life.

1, system design

According to the preliminary assumption, the receiving end can receive the data transmitted by the transmitting end through the signal line, and display the data, and its block diagram is as shown in FIG.

Design and Implementation of Digital Temperature Meter Based on RS-232

Figure 1 Block diagram of the temperature measurement transmission system

This design decided to use the 51 series single-chip STC89C52 as the main control chip of the transmitter and receiver. The temperature is collected by the temperature sensor at the transmitting end, and displayed on the LCD1620 of the transmitter and receiver respectively. At the same time, two temperature transmissions are used. For comparison, one way can be used as a reference, and the other way to observe the effect. The level conversion is performed by MAX232, and the data is transmitted through the serial port RS-232.

2, hardware circuit design

The transmitting end uses the single chip chip STC89C52 as the control chip, and the digital temperature sensor DS18B20 collects the temperature and sends it to the MCU for storage, and displays the collected temperature by the LCD1620 connected to the single chip microcomputer. The overall design block diagram is shown in Figure 2.

Design and Implementation of Digital Temperature Meter Based on RS-232

Figure 2 system design block diagram

The main control chip uses the STC89C52 microcontroller. In order to match its internal clock signal, a 11.0592MHz crystal oscillator is connected to the 18 and 19 pins. The reset circuit allows the capacitor to go high and is connected low through a resistor. The other pins are connected to the input and output ports of the MCU by other modules.

The main control chip of the receiving end uses the single-chip STC89C52, which has a crystal oscillator circuit and a reset circuit around it, and the specific connection mode is the same as that of the transmitting end.

Lead Acid Battery For Railway

2V Lead Acid Battery,Rechargeable Lead Acid Battery,12V 60Ah Lead Acid Battery,Lead Acid Battery For Railway

Henan Xintaihang Power Source Co.,Ltd , https://www.taihangbattery.com

This entry was posted in on