I think the 4,7k resistor is supposed to be between sensor pin 2 and 5v+

Please check my thinking.

Arrgghhh yes, sorry that diagram was done in a rush and is, as you pointed out incorrect. My resistor is actually between pin 2 and +5v however....

As I was in the process of putting a new diagram together I happen to notice that I am indeed being dim, I appear to have ordered 4R7 not 4K7 resistors which one would assume is the reason things are not working.

I do not have any 4K7 resistors (anything common I could rob one of these from?) so cannot confirm until I have one.

I also didn't have 4k7 available for my last test (too lazy to get one from the attic), but 4x1K in series worked perfectly. 4r7 will indeed cause problems, but as pull up I guess 4k7 isn't really a critical value. It wouldn't surprise me if anything between 3k3 and 10k works.You should be able to find resistors in the right range in most electronic equipment.

The schematics given (with resistor connected to data and +5v) is exactly what tells me it's 21.87C/71.37F in my room right now.

Having the same problem, the ds18b20 is not found, this is my first arduino project, but checked sevral times, and pretty sure wiring is correct(used this as ref for wiring http://bildr.org/blog/wp-content/uploads/2011/06/DS18S20-hookup.png) . also measured resistor got (4.66 k ohms) voltage on chip was about 4.9 tried all codes I could find for example:

Got another four and they are working - the sensor was bad. Coincidence that it was with first thing I tried to connect to arduino, and I spent a lot of time trying to figure out what I did wrong. Thanks for trying to help