What is DS18B20?

DS18B20 is a semiconductor temperature sensor by Maxim Integrated that provides 9-bit to 12-bit Celsius temperature measurements. This small temperature sensor provides can be easily connected to an Arduino digital input or your raspberry pie through an ADC.

Features:

  • Unique 1-wire interface, requires only one port pin for communication
  • Integrated Temperature Sensor and EEPROM
  • Measures temperatures from -55°C to +125°C. Celcius to Fahrenheit being -67°F to +257°F
  • Parasitic Power Mode that only requires DQ and GND pins for operation
  • Multidrop Capability that simplifies distributed temperature-sensing applications
  • Alarm search command for identification of devices whose temperature is outside of programmed limits

What makes the DS18B20 special?

Cost savings:

  • Able to operate without an external power supply as power is derived from the data line, saving the need for additional electrical cost

Pure convenience:

  • No external components needed allow for usage convenience

Scalable for bigger usages:

  • Thanks to its 1-wire bus functionality and each product having its unique 64-bit serial code, it only takes one microprocessor to control it all. This allows for bigger scale usages such as temperature monitoring systems in buildings, equipment, machinery, HVAC environmental controls, etc.

What can the DS18B20 be used for?

Thermostatic controls, industrial systems, consumer products, thermometers, thermally sensitive systems

How does the DS18B20 fair among its competitors (LM35, DHT22)?

Key Indicators LM35 DS18B20 DHT22
Maximum Measurement Error ±0.5 ±0.5 ±0.5
Operating Temperature Range -55 to +150°C -55 to +125°C -40 to +80°C
Voltage Level 4-30V 3-5.5V 3.3-6V
Waterproofing No Yes No

As you can see, the LM35 sensor operates within the widest temperature range (-55 to +150°C ). However, it’s voltage output ranges from 4-30V, making photon chips not acceptable (minimum requirement of 3.3V).

Verdict: DSIB20. The compatibility of photon chips and waterproofing allows for better integration into solutions that require working with more extreme conditions.

Start measuring temperatures with these recommended pairings

Seeeduino Nano: 

Since Arduino boards are compatible with DS18B20, the Seeeduino Nano would do the same as well but for a cheaper price tag.

It can be connected to the DS18B20 with the following things:

Summary

The DS18B20 is a good option to pick up considering its compatibility with Arduino boards. Furthermore, the convenience and usability that the 1-wire feature brings unravel its competition.

Please follow and like us:
error