Skip to main content

Temperature Sensor (one wire)

Back to article list

Note: The DS18B20 one-wire sensor can measure temperatures from -55°C to +125°C.

Sample Code

Hardware Connection: Connect the Temperature Sensor (one wire) to the Digital1 port of the MATRIX Mini R4.

Result: The temperature will be shown on OLED.