is a chip designed for digital temperature measurement, and also has the function of real-time clock/calendar. The wide power supply range and extremely low power consumption of DS1629 are very suitable for battery-powered applications. Its clock function can be 12-hour or 24-hour mode, and it has AM/PM indication in the 12-hour mode. When the temperature reaches or exceeds the upper limit TH set by the program or the time reaches the moment set by the program, the chip generates an open-drain alarm output.
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 continues to convert. 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 chip configuration, such as not starting conversion immediately after power-on and continuous conversion mode, which is very beneficial for occasions that require power saving. The real-time clock/calendar provides BCD values for seconds, minutes, hours, weeks, 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 chip pin 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-digit digital tube to display data such as time, date or temperature. In order to simplify the circuit, reduce the chip 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 whole 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:Smart instrument for solar water heater based on single chip microcomputer
Next article:Automatic temperature and humidity monitoring system composed of 51 single chip
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!
- Rambus Launches Industry's First HBM 4 Controller IP: What Are the Technical Details Behind It?
- 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
- Vehicle GPS Antenna Installation Location
- MSP430F5529 generates PWM waves with CCS
- FPGA Multiplier
- Quartus2 simulation can not produce waveform
- After the microcontroller is connected to the computer via a USB cable, the problem of "unrecognized USB device" appears
- 2. GD32L233C-START environment construction
- Commonly used algorithms for drones - Kalman filter (Part 2)
- STEVAL-IDB007V1_by cruefox
- AI automatically generates Spring Festival couplets to warm up for FZ5
- STM32F407VG mount SD card