SEN-11050 RoHS - Temperature Sensor - Waterproof (DS18B20)

Am unable to get the SEN-11050 RoHS temperature sensor to read .

Am using Arduino software

Sparfun Black Board controller

Temperature sensor is power on red wire from 5vDC pin

Temperature sensor ground in black wire connected to GND

Temperature sensor white wire is connected to pin 3 (and have tried pin 10)

Have a 4.7k ohm pull up connect to 5vDC and white signal as detailed in documentation

Have installed libraries for sensor and one wire

Have attempted to use Dallas Temperature sketch for address finder

Have attempted to use one wire sketch for address finder

Need assistance for next step to be able to read data from sensor in serial monitor

Your help and guidance is very much appreciated

Thanks

Hello!

Sorry to hear you’re having trouble. It could be a connection issue or a code issue. (or both)

Can you try the code and connections found in the Arduino tutorial below and let us know if that works for you?

https://create.arduino.cc/projecthub/Th … ino-9cc806

If it doesn’t, you might have a bad sensor. Give that link a try and if you’re still having trouble, PM me and I’ll get you setup.

Very nice and detailed response! Appreciate the quick guidance. My problem was the code, your recommendation is great.

Thank you very much!!!