Question about DS18B20 wire length

Hello, i am new here and i wanna use a DS18B20 waterproof temperature sensor for a project but the wires are too long for me in the configurations that i find online.

Can i shorten them without causing any issues? What tools would i need to do it properly? Will they require after that calibration?

Thanks in advance.

Yes you can.
With pliers for example.
Not for the shortened wire length.

2 Likes

DS18B20 info

-10°C to +85°C ±0.5°C
-30°C to +100°C ±1°C
-55°C to +125°C ±2°C

Pullup Resistor guide

    Length       5.0 Volt  3.3 Volt
    10cm (4")     10K0      6K8
    20cm (8")     8K2       4K7
    50cm (20")    4K7       3K3
    100cm (3'4")  3K3       2K2
    200cm (6'8")  2K2       1K0

A result of -127 degrees indicates a sensor error

The DS18B20_INT library is a minimalistic library for a DS18B20 sensor
and will give only temperatures in whole degrees C

1 Like

Not since DS18B20 is a digital sensor.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.