DS18B20 Arduino Temperature Sensor - How to Tutorial

Gadget Reboot
Gadget Reboot
48 هزار بار بازدید - 6 سال پیش - Using the DS18B20 one wire
Using the DS18B20 one wire digital temperature sensor is easy with some Arduino libraries to provide a simplified interface.   Configuring the device and retrieving temperature data are very fast and simple.

The waterproof probe version is tested here and we compare the probe against a K type thermocouple in ice water, hot water, and at room temperature in air.

Sketch and Schematic:  https://github.com/GadgetReboot/Ardui...
There are 2 versions of the sketch, one using OLED display and one just using serial monitor if you just want to get the sensor working.

Required DS18B20 libraries for OLED, OneWire Bus and DallasTemperature Sensor:
https://github.com/adafruit/Adafruit_...
https://github.com/PaulStoffregen/One...
https://github.com/milesburton/Arduin...

DS18B20 Datasheet:
https://datasheets.maximintegrated.co...

Patreon:  Patreon: gadgetreboot
Pinterest:  https://www.pinterest.ca/GadgetReboot
Twitter:    @GadgetReboot  Twitter: gadgetreboot
6 سال پیش در تاریخ 1397/07/06 منتشر شده است.
48,073 بـار بازدید شده
... بیشتر