DS18B20 Not showing anything

I thought it would a simple case to make a thermometer using DS18B20 sensor but so far I've got absolutely nothing.
Depending on the program I've found on the internet I get eiter 0 or -1000 (depends of the calculation). With LM36 this was easily done, but for the digital sensor...no such luck.

I've tried with three different programs, one with onewire.h and one with both onewire.h and dallassomething.h. I've tried this with different pins and three different arduino boards and with three different sensors (all same model). So have I been superlatively unlucky to have three dud sensors or what the heck am I doing wrong?!

Is there a pullup resistor on the data line?

Wiper:
So have I been superlatively unlucky to have three dud sensors

Probably not. They aren't known for unreliability and can even take abuse.

This tutorial is the best I know. Note that it consists of two programmes.

Look at this example with multiple sensors daisy chained

And you should use the pullup between signal and power unless using parasitic mode.

http://smartgreenhouse.org/images/downloads/projectvault/Sketches/DualDSwithFanLCD.pdf

and you can use this lib to make live easy - GitHub - milesburton/Arduino-Temperature-Control-Library: Arduino Temperature Library -

:blush: ermm...kinda little bit skipped reading the manual somewhat... I completely skipped the part you needed to find out the address of the sensor first...sorry folks 8)