In this video, we will display the readings of the DS18B20 sensor, i.e. temperature in degrees Celsius, on a 4segment LED display.
But, first, let's optimize the basic sketch code from the OneWire library examples, removing all unnecessary things so that it takes up minimal memory space. And then add the code to work with the LED indicator and load it into the Arduino UNO.
Next, let's put together a circuit of our homemade electronic thermometer based on Arduino UNO on a breadboard.
And after that, let's conduct an experiment by lowering our homemade digital thermometer on the Arduino into a jar of ice and a jar of hot water.
Sketch for creating an electronic thermometer on Arduino https://drive.google.com/file/d/15tEY...
Arduino LED indicators connection table https://drive.google.com/file/d/1LF9h...
DS18B20 sensor description https://drive.google.com/file/d/1XPx0...
0:00 DS18B20 and LED indicator
0:46 DS18x20_Temperature sketch code optimization
9:34 am Assembling the circuit on a breadboard
10:21 Sketch for displaying DS18B20 readings on the LED indicator
13:37 Arduino digital thermometer test