Home> Blog> Dallas Semiconductor DS18B20 Temperature Sensor Projects

Dallas Semiconductor DS18B20 Temperature Sensor Projects

PCBA
PCBONLINE Team Tues, Jun 04, 2024
83
DS18B20 PCBA projects

The Dallas Semiconductor DS18B20 is a versatile digital temperature sensor. It's used in various projects for its low cost and high accuracy. Let's examine the features of the DS18B20 temperature sensor and the projects that utilize it.

Features of DS18B20 Temperature Sensor

The DS18B20 temperature sensor enables effortless measurement of the ambient temperature, as it only requires one data pin to function and has a great library that handles the complex low-level interaction between the sensor and the MCU. Multiple DS18B20 sensors can share the same data pin without interfering with one another, as each of them has its hard-coded ID. Besides, it is well suited for environmental monitoring and other purposes where temperature measurement is required.

The DS18B20 temperature sensor offers the following features:

  • Wide measurement range: Measures temperatures from -55°C to +125°C (-67°F to +257°F);
  • High accuracy: Provides ±0.5°C accuracy from -10°C to +85°C;
  • 1-Wire bus protocol support: The DS18B20 requires only one data line (and ground) for communication with the microcontroller;
  • User-programmable ADC (analog-to-digital converter) resolution: Allows the user to choose the resolution from 9 to 12 bits, allowing a trade-off between accuracy and conversion time;
  • Multiple sensor support: Each DS18B20 temperature sensor has a unique factory-coded 64-bit serial code, allowing multiple sensors to operate on the same 1-Wire bus without interfering with one another;
  • Parasite power supply support: DS18B20 can derive power directly from the data line, eliminating the need for an external power supply;
  • User-defined alarms support: Provides nonvolatile user-programmable upper and lower temperature trigger alarms (TH and TL registers);
  • Packaging variety: DS18B 20 is available in compact TO-92, SOIC (SO), and uSOP packages.

PCBA Projects Using DS18B20 Temperature Sensor

Now that you know the features that the DS18B20 temperature sensor offers, let's look at the printed circuit assembly projects that benefit from utilizing this sensor.

Graphical Weather Station

ESP32

The "Graphical Weather Station" project is an advanced weather station. It displays the measured temperature as a graph on the 2.8-inch ILI9341-controlled TFT LCD connected to the PIC18F26K22 microcontroller. The components used in this project include:

  • MH-Z19 infrared CO2 sensor,
  • GY-213V-HDC1080 high accuracy digital temperature and humidity sensor that measures the indoor temperature,
  • DS18B20 temperature sensor that measures the outdoor temperature,
  • and other components.

hese components are mounted on a custom PCB. The photo of the PCB utilized by this project opened in the CAD software is below.

graphical weather station PCB

Arduino WiFi Wireless Weather Station Wunderground

Arduino WiFi Wireless Weather Station Wunderground

The "Arduino WiFi Wireless Weather Station Wunderground" project is a sophisticated weather station. It can measure the temperature, humidity, wind, atmospheric pressure, UV index, and rainfall amount. The components used in this project include:

  • ESP8266 ESP12F microcontroller
  • Dallas DS18B20 for measuring outdoor temperature
  • Adafruit BME280 for measuring humidity and atmospheric pressure
  • ML8511 for measuring the amount of UV radiation
  • Davis 6410 for measuring wind speed and wind direction sensor
  • Ventus W174 for measuring rainfall amount

The photos of both sides of the custom PCB opened in the CAD software are shown below.

Arduino WiFi Wireless Weather Station Wunderground PCB1

Arduino WiFi Wireless Weather Station Wunderground PCB2

DIY Thermometer With TTGO T Display and DS18B20 V2

DIY Thermometer With TTGO T Display and DS18B20 V2

The "DIY Thermometer With TTGO T Display and DS18B20 V2" is a simple thermometer. The components mounted on the custom PCB include:

  • the ESP32-based LILYGO® TTGO T-Display development board,
  • Dallas DS18B20 temperature sensor,
  • and a few other components.

The photos of the sides of the printed circuit board utilized in this project are shown below.

DIY Thermometer With TTGO T Display and DS18B20 PCB

Solar Powered WiFi Weather Station V2.0

Solar Powered WiFi Weather Station V2.0

The "Solar Powered WiFi Weather Station V2.0" project is an advanced DIY solar-powered weather station. The components mounted on the custom PCB include:

  • ESP8266EX-based Wemos D1 Mini Pro development board,
  • Lithium-battery-power charger board module,
  • DS18B20 digital temperature sensor,
  • BME280 temperature, pressure,
  • humidity sensor,
  • and other components.

The custom PCB opened in the CAD software is below.

Solar Powered WiFi Weather Station PCB

Arduino Based Wireless (RF) Weather Station Network

Arduino Based Wireless Weather Station Network

The "Arduino Based Wireless (RF) Weather Station Network" project is a simple weather station. The components mounted on the custom PCB include:

  • AtMega328P microcontroller,
  • DHT-22 temperature/humidity sensor,
  • Dallas Semiconductor DS12B20 digital temperature sensor,
  • the 16x2 LCD to show the ambient temperature and the air humidity,
  • and other components.

The custom PCB opened in the CAD software is below.

Arduino Based Wireless Weather Station Network PCB

Low Power Weather Station

Low Power Weather Station

The "Low Power Weather Station" project is a DIY solar-powered weather station. The components mounted on the custom PCB include:

  • Arduino MKR1300 LORAWAN,
  • BME280 temperature,
  • barometric pressure,
  • humidity sensor,
  • Dallas DS18B20 temperature probe,
  • A100LK anemometer,
  • W200P wind vane,
  • and other components.

The photos of the assembled weather station PCBA and the custom PCB opened in the CAD software are shown below.

Low Power Weather Station PCBA

Low Power Weather Station PCB

Analog IN-13 bargraph Nixie tube thermometer

Analog IN-13 bargraph Nixie tube thermometer

The "Analog IN-13 Bargraph Nixie Tube Thermometer" is a simple thermometer that employs the IN-13 Bargraph Nixie tube paced along the transparent scale to show the ambient temperature.

The project's PCBA has the DS18B20 temperature sensor, capacitors, resistors, ICs, and other elements placed on it.

Analog IN-13 bargraph Nixie tube thermometer PCBA

Binary Thermometer USB Powered

Binary Thermometer USB Powered

The "Binary Thermometer USB Powered" project is a thermometer that utilizes the Dallas Semiconductor DS18B20 temperature sensor to measure the room temperature, a microcontroller, and 8 LEDs to display the measured temperature in the binary format.

Dual PIC Thermometer

The "Dual PIC Thermometer" project is a simple thermometer that shows the temperature inside the refrigerator and one of its compartments. The project benefits from the PIC16F886 MCU, custom PCB, two DS18B20 digital temperature sensors, and two common cathode 4-digit 7-segment displays.

The photo of both sides of the PCBA is shown below.

Dual PIC Thermometer

One-Stop PCBA Manufacturer for DS18B20 Projects

To have your DS18B20 PCBA project manufactured from design to real devices, you can work with PCBONLINE. PCBONLINE provides affordable and high-quality PCBA and box-build assembly under one roof.

Founded in 1999, PCBONLINE has two large advanced PCB manufacturing bases, one PCB assembly factory, stable supply chains, and an R&D team.

DS18B20 PCBA manufacturer

Advantages of working with PCBONLINE for DS18B20 PCBA:

PCBONLINE provides DS18B20 PCB fabrication, PCB assembly, component sourcing, PCBA value-added, and box-build assembly from prototypes to bulk production.

Besides electronics manufacturing for your DS18B20 project, PCBONLINE provides R&D and can improve your design without function and quality sacrifice.

PCBONLINE has powerful PCB and PCBA manufacturing capabilities to meet any requirements of DS18B20 projects.

Provides cost-effective DS18B20 PCBA manufacturing as PCBONLINE is a source factory manufacturer, and it can source components at lower prices from original factories and first-class suppliers.

All components, materials, and electronics manufacturing are traceable, and PCBA manufacturing is certified with ISO 9001:2015, IATF 16949, RoHS, REACH, UL, and IPC-A-610 Class 2/3.

Whether you need engineering support or want to get a quote for your project, you can email PCBONLINE at info@pcbonline.com. We will provide one-on-one engineering support throughout your project.

Conclusion

The Dallas Semiconductor DS18B20 is a versatile and convenient digital temperature sensor. This blog introduces its features and some PCBA projects using this temperature sensor. As you can see, the DS18B20 temperature sensor is widely used for applications that require measuring the temperatures accurately. To turn your DS18B20 PCBA from design to reality, work with PCBONLINE for one-stop electronics hardware building with hassle.


View and save our product information
PCB assembly at PCBONLINE.pdf

GET A FREE QUOTE

File Upload