Sensor DS18B20

Hola!
Alguno sabe por qué mi sensor DS18B20 marca siempre la temperatura "-127"? Tengo algún problema en las conexiones?
Gracias

Colocaste una resistencia de 4k7 en pullup con la salida del DS18B20 ?

Hi!
I´m trying to use my DS18B20 but the serial monitor always shows -127 ° C. My code and connections are correct (I think). How can I solve this problem?
Thank you.

Hi!
I´m trying to use my DS18B20 but the serial monitor always shows -127 ° C. The code and connections are correct (I think). Is the sensor broken? or maybe it could be a library problem (Dallas temperature and oneWire). I don´t know. How can I solve this problem?
Thank you!

What made you think that your question has anything to do with the Website and Forum section which is clearly stated to be for "Improvements for the web system, applications to moderator, spam, etc."? I have suggested to the Moderator to move it to the Programming section.

This sort of carelessness makes unnecessary work for the Moderators.

And in view of the fact that your project is not working this statement cannot possibly be correct

My code and connections are correct

Please post both your program and a photo of a simple diagram showing how you have everything connected. See this Simple Image Posting Guide

...R

Triple post.
Reported

That error indicates you are not communicating with the sensor. Load and run a scan program to find out if it is there. If it does not find it you are not connected properly. Also be sure you have the pull up resistor in the circuit.

To get the best and fastest help:

Please read the Read this before posting a programming question ... post. It makes it easier on every one if we don't have to waste time finding out fundamental information.

Post a schematic and a clear photo of your wiring.

Read the how to use this forum-please read sticky to see how to properly post code. Remove useless white space and format the code with the IDE autoformat tool (crtl-t or Tools, Auto Format) before posting code.

How shall we know what is causing this problem with such a short description?
There are a dozen different reasons possible to get this result of only showing -127

Post pictures of your hardware where connections can be seen easily
Post your complete sketch

best regards Stefan

@valentin2865, do not cross-post. Threads merged.