My project has multiple problem. DS18B20 Doesn't show proper temparature. It shows -127 degree celsius. By googling, i found that this is a wiring issue. I am checking all the wiring multiple time. But, problem is still not solved. My diagram is given below as an image.
Please NO images of code, it's unreadable.
In the IDE click on Edit, then click on Copy for Forum. That will copy your code for this Forum.
Then come back to the Forum and just do a simple paste.
Sensor signal will swing between 0V and 3.3V. The Arduino UNO's VIH = 3.0 V which means that UNO will always recognize 3.3V as HIGH. Thereore, DS18B20 will work on either 3.3V or 5V.