Go Down

Topic: DS18B20 & Arduino Uno in Proteus Isis (Read 8218 times) previous topic - next topic

robtillaart

Thanks Ivo,

that info is worth resurrecting an old thread :).

(and your English is no problem!)
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

wbadry

Hi,
Since this is one of the major posts to appear on Google about Proteus and DS18b20. I want to share that DS18b20 sensors are very buggy on Proteus simulation.

You may check it yourself. If you try to compile any shipped example from DallasTemperature library, you will almost always get -127 degree and occasional good readings (once every 20 to 30 readings).

If someone has a complete example using the mentioned library and has been tested on Proteus, I would be happy to get acquainted with.

THanks

Nick_Pyner

you will almost always get -127 degree and occasional good readings
I submit that that implies sloppy wiring, and DS18B20 is innocent. It may also suggest inadequate power - caused by something else

wbadry

I submit that that implies sloppy wiring, and DS18B20 is innocent. It may also suggest inadequate power - caused by something else
Thanks for your answer. I believe neither of your suggestions is correct. I was seeking assistance from someone who tried that out on Proteus using Arduino and DallasTemperature library.


AbdalrahmanAmer

Hi,

I confirm that this code from https://simple-circuit.com/arduino-ds18b20-temperature-sensor/
is working like charm!

The Arduino Library from https://www.theengineeringprojects.com/2015/12/arduino-library-proteus-simulation.html

Hope it helps

Regards,

Go Up