Skip to content

dominik-schmid/DS18B20_Get_Temp_without_Delay

Repository files navigation

Sample project to get temperatures from a DS18B20 temperature sensor

Usage

You can adjust the "constants" at the top according to your needs (e.g. lower bit rate, other pin number, etc.). The address of the temperature sensor is ascertained inside of the "findAndSetupTempSensor()" function and the "waitForConversion" is set to "false". This enables a much faster request of the temperature from the sensor.

Stripped version

Is basically the same as the other version but without some additional info. You just get the temperature printed to the serial monitor.

About

Get the temperature of a DS18B20 digital 1-wire sensor without a noticeable delay/blocking.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages