China Digital Temperature Sensor DS18B20 Supplier
Most traditional temperature detection uses thermistors as sensors, which can meet the measurement range of 40°C to 90°C. However, the thermistor has poor reliability and low temperature measurement accuracy. It is not applicable to temperature signals less than 1°C, and must be converted into digital signals through a special interface circuit before they can be processed by a microprocessor.
Currently, the commonly used serial buses for data communication between microcomputers and peripherals mainly include I2C bus, SPI bus, etc. The I2C bus communicates in a synchronous serial 2-wire manner (one clock line, one data line). The SPI bus communicates in a synchronous serial 3-wire manner (one clock line, one data input line, and one data output line). These buses require at least two or more signal lines. The single bus (1-wire bus) uses a single signal line to transmit data, and the data transmission is bidirectional. The CPU only needs one port line to communicate with many single-bus devices, occupying fewer ports of the microprocessor and saving a large number of leads and logic circuits. Therefore, this single bus technology has the advantages of simple circuit, low hardware overhead, low cost, simple software design, and easy bus expansion and maintenance. At the same time, single-bus technology can better solve the common shortcomings of traditional identifiers such as inconvenience to carry, easy to be damaged, susceptible to corrosion, and susceptible to electromagnetic interference. Therefore, the single bus has broad application prospects and is a development area worthy of attention.
A single bus means that there is only one data line, and all data exchange and control in the system are completed by this line. The master or slave is connected to the data line through an open-drain or tri-state port, allowing the device to release the bus when it is not sending data and allow other devices to use the bus. A single bus usually requires an external pull-up resistor of about 4.7K, so that when the bus is idle, its state is high.
The DS18B20 digital temperature sensor is different from the traditional thermistor in that it uses an integrated chip and uses single bus technology, which can effectively reduce external interference and improve measurement accuracy. At the same time, it can directly convert the measured temperature into a serial digital signal for microcomputer processing. The interface is simple, simplifying data transmission and processing. The integration of some functional circuits makes the overall hardware design simpler, can effectively reduce costs, build circuits and weld circuits faster, and make debugging more convenient and simple, which also shortens the development cycle.
DS18B20 single-line digital temperature sensor, that is, "one-line temperature measurement element", has unique advantages:
(1) When connecting to the microprocessor using a single bus interface, only one port line is needed to achieve two-way communication between the microprocessor and DS18B20. The single bus has the advantages of good economy, strong anti-interference ability, suitable for on-site temperature measurement in harsh environments, and easy to use. It allows users to easily build sensor networks and introduces new concepts to the construction of measurement systems.
(2) Wide measurement temperature range and high measurement accuracy. The measurement range of DS18B20 is -55℃~+125℃; in the range of -10~+85℃, the accuracy is ±0.5℃.
(3) Temperature measurement can be achieved without any external components during use.
(4) Multi-point networking function. Multiple DS18B20 can be connected in parallel on the only three lines to achieve multi-point temperature measurement.
(5) Flexible power supply method. The DS18B20 can draw power from the data lines through internal parasitic circuits. Therefore, when the timing on the data line meets certain requirements, no external power supply can be connected, thus making the system structure simpler and more reliable.
(6) Measurement parameters are configurable. The measurement resolution of DS18B20 can be set to 9~12 bits through the program.
(7) Negative pressure characteristics. When the polarity of the power supply is reversed, the thermometer will not burn due to heat, but it will not work properly.
(8) Power-down protection function. DS18B20 contains an EEPROM inside, which can still save the resolution and alarm temperature settings after the system is powered off.
DS18B20 has smaller size, wider applicable voltage, more economical, optional smaller package, and wider voltage applicable range. It is suitable for building your own economical temperature measurement system, so it is favored by designers.
China DS18B20 digital temperature sensor | Special temperature sensor 18B20 for temperature and humidity collection |
Currently, the commonly used serial buses for data communication between microcomputers and peripherals mainly include I2C bus, SPI bus, etc. The I2C bus communicates in a synchronous serial 2-wire manner (one clock line, one data line). The SPI bus communicates in a synchronous serial 3-wire manner (one clock line, one data input line, and one data output line). These buses require at least two or more signal lines. The single bus (1-wire bus) uses a single signal line to transmit data, and the data transmission is bidirectional. The CPU only needs one port line to communicate with many single-bus devices, occupying fewer ports of the microprocessor and saving a large number of leads and logic circuits. Therefore, this single bus technology has the advantages of simple circuit, low hardware overhead, low cost, simple software design, and easy bus expansion and maintenance. At the same time, single-bus technology can better solve the common shortcomings of traditional identifiers such as inconvenience to carry, easy to be damaged, susceptible to corrosion, and susceptible to electromagnetic interference. Therefore, the single bus has broad application prospects and is a development area worthy of attention.
A single bus means that there is only one data line, and all data exchange and control in the system are completed by this line. The master or slave is connected to the data line through an open-drain or tri-state port, allowing the device to release the bus when it is not sending data and allow other devices to use the bus. A single bus usually requires an external pull-up resistor of about 4.7K, so that when the bus is idle, its state is high.
The DS18B20 digital temperature sensor is different from the traditional thermistor in that it uses an integrated chip and uses single bus technology, which can effectively reduce external interference and improve measurement accuracy. At the same time, it can directly convert the measured temperature into a serial digital signal for microcomputer processing. The interface is simple, simplifying data transmission and processing. The integration of some functional circuits makes the overall hardware design simpler, can effectively reduce costs, build circuits and weld circuits faster, and make debugging more convenient and simple, which also shortens the development cycle.
DS18B20 single-line digital temperature sensor, that is, "one-line temperature measurement element", has unique advantages:
(1) When connecting to the microprocessor using a single bus interface, only one port line is needed to achieve two-way communication between the microprocessor and DS18B20. The single bus has the advantages of good economy, strong anti-interference ability, suitable for on-site temperature measurement in harsh environments, and easy to use. It allows users to easily build sensor networks and introduces new concepts to the construction of measurement systems.
(2) Wide measurement temperature range and high measurement accuracy. The measurement range of DS18B20 is -55℃~+125℃; in the range of -10~+85℃, the accuracy is ±0.5℃.
(3) Temperature measurement can be achieved without any external components during use.
(4) Multi-point networking function. Multiple DS18B20 can be connected in parallel on the only three lines to achieve multi-point temperature measurement.
(5) Flexible power supply method. The DS18B20 can draw power from the data lines through internal parasitic circuits. Therefore, when the timing on the data line meets certain requirements, no external power supply can be connected, thus making the system structure simpler and more reliable.
(6) Measurement parameters are configurable. The measurement resolution of DS18B20 can be set to 9~12 bits through the program.
(7) Negative pressure characteristics. When the polarity of the power supply is reversed, the thermometer will not burn due to heat, but it will not work properly.
(8) Power-down protection function. DS18B20 contains an EEPROM inside, which can still save the resolution and alarm temperature settings after the system is powered off.
DS18B20 has smaller size, wider applicable voltage, more economical, optional smaller package, and wider voltage applicable range. It is suitable for building your own economical temperature measurement system, so it is favored by designers.