DS1629 consists of six parts: digital temperature sensor, real-time clock, two-wire serial interface, data register, temperature and clock alarm comparator, clock divider and buffer. The
temperature sensor calibrated by the manufacturer does not require external devices. The chip starts temperature conversion as soon as it is powered on, and then converts continuously. The host (usually a single-chip microcomputer) can periodically read the latest converted temperature value in the temperature register, and since the conversion is performed in the "background", reading the data does not affect the conversion process. The host can modify the configuration of the chip, such as not starting conversion immediately after power-on and continuous conversion mode, which is very beneficial for occasions requiring power saving. The real-time clock/calendar provides BCD values for seconds, minutes, hours, days of the week, dates, months, and years, which requires an internal oscillator/divider and an external 32.768kHz crystal. Months with less than 31 days are automatically adjusted at the end of the month, and leap year compensation is not until 2100. The real-time clock can be turned off by clearing the control bit in the clock register. The clock alarm output can be turned off by reading/writing the clock register or the clock alarm register.
Binary data is read/written via a two-wire bus, with the high bit first, and each register is accessed using an 8-bit command protocol. The functions of each pin of the chip are shown in Table 1.
From the previous discussion, it can be seen that DS1629 has the functions of digital temperature sensor and real-time clock/calendar, and the working voltage is 2.2~5.5V. Therefore, it can be combined with the single-chip microcomputer to design a digital temperature meter with digital clock function. The single-chip microcomputer adopts AT89C2051, which is packaged as 20DIP and has an operating voltage range of 2.7~5.5V. The display part uses a 6-bit digital tube to display data such as time, date or temperature. In order to simplify the circuit, reduce the number of chips and reduce power consumption, the display part adopts a dynamic cycle scanning method and is driven by a 4~7 segment decoder CD4543. The working voltage of CD4543 is 3~18V, and the entire circuit is powered by two dry batteries. The hardware structure of the system is shown in Figure 1. In the figure, the SCL and SDA terminals of DS1629 are connected to P3.0 and P3.1 of the microcontroller respectively, R1 and C1 form a power-on automatic reset circuit, P3.2~P3.4 are connected to 3 buttons, C2, C3 and a 6MHz crystal oscillator form an oscillation circuit, P3.5, P3.7, P1.0~P1.3 are connected to the common terminals of the 6-digit digital tubes (the 3 digital tubes LED2~LED4 are not drawn in the figure) as bit selection signals, P1.4~P1.7 are connected to the BCD code input terminal of CD4543, and the data input terminals a~g of the 6 digital tubes are connected in parallel to the data output terminals a~g of CD4543.
Previous article:Design of single chip microcomputer in welding temperature measuring instrument
Next article:Analysis of the advantages of single chip microcomputer in power supply design application
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Microchip Accelerates Real-Time Edge AI Deployment with NVIDIA Holoscan Platform
- Microchip Accelerates Real-Time Edge AI Deployment with NVIDIA Holoscan Platform
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- 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
- Apple faces class action lawsuit from 40 million UK iCloud users, faces $27.6 billion in claims
- Apple faces class action lawsuit from 40 million UK iCloud users, faces $27.6 billion in claims
- The US asked TSMC to restrict the export of high-end chips, and the Ministry of Commerce responded
- The US asked TSMC to restrict the export of high-end chips, and the Ministry of Commerce responded
- Using Ginkgo USB-ADC and heart rate sensor to implement a heart rate tester with Android APP source code
- EMI noise suppression in harsh environments
- Signal Chain Design Considerations for Ultrasound Systems
- PlanAhead14.7
- Is this a capacitor explosion or something else? It's out of warranty.
- Introduction to TI_DSP link command file (*.cmd)
- TI CC1310 sub1G SDK development unique identification number MAC address reading
- FPGA Implementation of ECT Image Reconstruction Algorithm
- Why does the AD21 shortcut key not work after modification?
- [ESP32-Audio-Kit Audio Development Board Review] Basic Use of the Development Board