With the continuous improvement of people's living standards, MCU control is undoubtedly one of the goals pursued by people. The convenience it brings is also undeniable. The digital thermometer is a typical example, but people are demanding it. The higher the need to work, research, live, and provide better and more convenient facilities for modern people, it is necessary to start with digital single-chip technology, and everything is moving toward digital control and intelligent control.
1 Overall design block diagram
The overall design block diagram of the thermometer circuit design is shown in Figure 1. The controller uses the single-chip AT89S52, the temperature sensor uses DS18B20, and the 4-digit LED digital tube transmits data through the serial port to realize the temperature display.
1.1 system hardware design
The hardware circuit consists of four parts: temperature data acquisition part, instant temperature display drive part, temperature data storage part and upper PC data processing part. The overall hardware design schematic is shown in Figure 2.
Figure 2 hardware principle block diagram
Figure 3 AT89S52 microcontroller minimum system
The AT89S52 has the following standard features: 8k byte Flash, 256 byte RAM, 32 bit I/O line, watchdog timer, 2 data pointers, three 16-bit timer/counters, one 6-vector level 2 interrupt Structure, full-duplex serial port, on-chip crystal and clock circuit. In addition, the AT89S52 can be reduced to 0Hz static logic operation and supports two software selectable power save modes. In idle mode, the CPU stops working, allowing RAM, timer/counter, serial port, and interrupt to continue to work. In the power-down protection mode, the RAM contents are saved, the oscillator is frozen, and all operations of the microcontroller are stopped until the next interrupt or hardware reset.
The material of this product is PC+ABS. All condition of our product is 100% brand new. OEM and ODM are avaliable of our products for your need. We also can produce the goods according to your specific requirement.
Our products built with input/output overvoltage protection, input/output overcurrent protection, over temperature protection, over power protection and short circuit protection. You can send more details of this product, so that we can offer best service to you!
Lcd Adapter,Mini Size Lcd Adapter,Security Lcd Adapter,Waterproof Lcd Adapter
Shenzhen Waweis Technology Co., Ltd. , https://www.szwaweischarger.com