pseudo - EN: Arduino and temperature sensor DS18B20

In my project I'm using temperature sensor DS18B20:
  - digital
  - waterproof
  - accuracy 0.2 °
  - range from -55 to +125 °C


We will need 4 700 ohm resistor for connection to Arduino. Communication will be provided by OneWire bus. There are two libraries that we have to import: OneWire.h and DallasTemperature.h. Both are available on Arduino IDE.

Very basic implementation:


Code:


This is simple tutorial, but there will be more interesting projects! 😅

Do You like this kind of articles and videos? Let me know!

Good luck with your projects! 😎

Komentáře

Populární příspěvky z tohoto blogu

První Arduino program a.k.a. "rozblikejme LED diodu" + desert ve formě tlačítka

CZ: Arduino a teplotní senzor DS18B20