Company Details

  • Xi'an Gavin Electronic Technology Co., Ltd

  •  [Shaanxi,China]
  • Business Type:Manufacturer , Trade Company
  • Main Markets: Africa , Americas , Asia , Caribbean , East Europe , Europe , Middle East , North Europe , Oceania , West Europe , Worldwide
  • Exporter:61% - 70%
  • Certs:ISO9001, CE, RoHS
Inquiry Basket ( 0 )

Xi'an Gavin Electronic Technology Co., Ltd

Home> Industry Information> Temperature sensor design based on single chip microcomputer

Temperature sensor design based on single chip microcomputer

March 23, 2022

Through the analysis of the principle of AT89C2051 single-chip microcomputer, a design scheme for environmental Temperature Measurement and control is studied, which realizes the purpose of using AT89C2051 single-chip programming to achieve control temperature and accurate measurement.

In modern industrial production, temperature measurement and control are extremely common. The advantages of single-chip microcomputer are very detailed. It has many advantages such as small size, powerful function, low power consumption, high cost performance, etc. It is widely used in the field of automatic control, and the application of single-chip microcomputer can effectively improve The control quality and automation level of the product, and the technology of measuring and controlling the temperature by using the single chip microcomputer are increasingly widely used.

1 AT89C2051 component technical parameters

The AT89C2051 is a model of the 51 series MCU. It is a low voltage, high performance CMOS 8-bit MCU that is compatible with the MCS-51 instruction system. The MCU has an 8-bit CPU and flash memory unit, which makes the MCU powerful. . Can provide users with more complex control functions and implementation methods.

2 hardware design

(1) overall design

The system uses the AT89C2051 model single-chip microcomputer as the processor to realize its temperature control. The system has added the serial port, which can conveniently convert the data collected by the single-chip microcomputer and send it to the computer through the RS422 serial port to carry out real-time monitoring work. At the same time, our system uses a seven-segment digital tube to display the collected temperature values in real time, so that the actual temperature can be conveniently displayed.

(2) Design of human-machine communication

The man-machine interface control panel in the man-machine communication system is composed of three parts: display screen, keyboard and alarm circuit. The display part is the decimal digital display of the LED, which can be easily monitored by manual means; the main functions of the keyboard part are used for starting, stopping, resetting, and temperature setting of the system.

(3) Design of communication interface

The data communication between the human-machine communication system and the computer is realized by level conversion through the data interface RS485. This level shifting is implemented using a more common level shifting chip that includes a chip of two receivers and drivers as an interface. This article uses the ADM2490EBRWZ chip produced by MAXIM.

3 software design and development

(1) Development tools used

After selecting the hardware, we will start the software development work. This system uses assembly language as the development tool. After the source program is written, it must be compiled into the machine language that the microcontroller can execute to perform related operations. We can There are two ways to write assembly statements. One is based on the 51 single-chip assembly language. The second is to write in a high-level language. With the continuous development and development of microcontroller development technology, we have gradually used high-level languages to replace assembly language to develop microcontroller applications.

(2) overall system design

The overall design of the system is actually software design. We can make the corresponding changes according to the different requirements put forward by software development. At present, the research and development of related technologies of MCU has become increasingly mature, and the corresponding color design changes are relatively convenient. For example, we can design several or more temperature sensors to collect related data according to the needs of the system.

The above is the Temperature sensor design based on single chip microcomputer we have listed for you. You can submit the following form to obtain more industry information we provide for you.

You can visit our website or contact us, and we will provide the latest consultation and solutions

Share to:

Send Inquiry

Home> Industry Information> Temperature sensor design based on single chip microcomputer
Communicate with Supplier?Supplier
Coco Ms. Coco
What can I do for you?
Contact Supplier