Arduino Due with DS18B20

Hello,

i am trying to connect a DS18B20 to the due-board without results. I have the DS18B20 connect to the 3.3 Volt of the due. Also i have try parasite and normal mode with different code/librarys.

The same connection(with 5 Volt ) and code works on a Uno without problems.

I thanks for any suggestion. Gerd

did you check the datasheet for the device, to see if it is specified to work with 3.3 V ?

Did you use a 4.7 k ohm pullup resistor on the data pin ?

Gerd111: Also i have try parasite and normal mode with different code/librarys.

The same connection(with 5 Volt ) and code works on a Uno without problems.

There is no connection between the code/libraries and the methods of applying power. The DS18B20 is kosher for 3.0 to 5.5v, so that should not be the problem per se, but I get the impression that that using parasite power with 3v brings its own problems. In short, parasite power is a not a good idea, and is more likely than ever to be the kiss of death if you do it from 3.3v. I bet you haven't got a good reason to use parasite power, and it would be best avoided to solve this problem. I believe others have used the Due OK.