const int ledPin = 13; // on board LED... float temperature = 0.0; // variable to store reading from DS18B20 sensor... int delay_time = 2000; // variable to delay between readings... byte addr[8]; // ...
Click here for the complete tutorials on Arduino basics. In one of our previous tutorials, we have shown you how you can interface LM35 Temperature Sensor with Arduino because it's cheap, easy to use, ...
The DS18B20 is a digital temperature sensor from Dallas Semiconductors, which is now part of Maxim (https://datasheets.maximintegrated.com/en/ds/DS18B20.pdf). The ...