Can Not Measure Temperature!

i opened this discuss before and got nothing.
ds18b20 connection error

this time i bought lm34 an connected as advised. and upload the example code of IDE.

when i run the setup , sensor gets too high which i cant touch. have to remove then.

you guys please advise me something to run 3-4 temperature sensor with or not arduino. i am broken.

Hi
Opening more than one thread regarding the same issue is violation of the forum rules.
You should continue the discussion in the same thread, it will help the others to understand the history of the problem.

If the sensor is "hot" then there is a serious wiring problem. Most likely, the sensor is damaged.


Reference: Guide for LM35, LM335 and LM34 Temperature Sensors with Arduino | Random Nerd Tutorials

20 posts and You got "nothing". Why did it turn out that way?

What does that look like? What's the rest of the wiring? Schematics are needed.

Show it here to make sure we get the proper one.

Is it flying? Do You mean hot? Again, schematics please.

You said you have a Giga but you show a UNO?

hello railroader.
as you mention i need to fix some language:) sorry for that.

i got nothing means i got no solution.

and sensor not flying of course, its getting too hot. hot as i can not touch hot.
and i dont think you need a circuit; its just red to 5v black to gnd and yellow to A0 with arduino.
sorry again and have a nice day.

hello.
its just an img and i did not post it. but sure yes i connected as in the img

Hot usually means reverse polarity, miswire, or short. Give us a nice, close, focussed pic of your actual hardware, please.

Which img? Are you using the LM35 with a UNO or Giga? If Giga, post a clear picture of the connections and your code.

so I don't think you need a solution....

Hi,
Can you please post some images of you project?
So we can see your component layout.

Do you have a DMM?

Thanks.. Tom.. :smiley: :+1: :coffee: :australia:

hello tom.
this is the connecting i have made and the code i have uploaded.
this is the product link i bought( not in english) :https://www.motorobit.com/urun/su-gecirmez-lm35-dijital-isi-sensoru-2-metre

#include <LM35.h>

// setting the sensor in the pin A0
// Command - LM35 name_of_variable(analog_pin);
LM35 temp(A0);

// Function that will be executed once when connecting or resetting the Arduino
void setup()
{
// start the Serial communication
Serial.begin(9600);
}

// Function that will be executed continuously
void loop()
{
Serial.print("Temp - ");
//Send a text to serial
Serial.print(temp.cel());
//It gets the temperature in celcius and send to serial
Serial.print(" C - ");
Serial.print(temp.fah());
//It gets the temperature in fahrenheit and send to serial
Serial.print(" F - ");
Serial.print(temp.kel());
//It gets the temperature in kelvin and send to serial
Serial.println(" K");
// Send a text to serial and give a new line
Serial.println(" "); // Blank line

// to store the value in a variable you will use.
//float temperature = temp.cel();

//delay
delay(1000);
}

and i am just a amateur that trying to set up a baby monitor; so ; no, i dont have dmm. thnx

thx for your answer. i upload some.

thanx for your answer madmark.
i upload a pic and code.

You posted code for LM35 but a picture of DS18B20. Do you realize you have the metal tube of the DS18B20 laying across exposed connections on the circuit board? And the tube is obscuring the pin labels the wires are connected to?

You posted code for LM35 but a picture of DS18B20. Do you realize you have the metal tube of the DS18B20 laying across exposed connections on the circuit board? And the tube is obscuring the pin labels the wires are connected to?

ozcanreiz posted a link to the sensor in post #17.
It shows a sensor in the same style package as the 'waterproof DS18B20'.

That metal tube laying on the PCB could be catastrophic for the Arduino Giga.

The wiring looks correct to me.

Can't see any problems except metal casing lying in places it shouldn't be. :smiley:

you can look the link i provided, its sold to be a lm35 sensor.
of course i am not sure it is:s

and of course it is not lying when running on metal surfaces. i took that photo just to show you my connection and items.
thanx

Nothing wrong with wiring.

Dodgy sensor?

Do you have a DMM (Digital Multi Meter)? If so, connect the red wire to +5 volts, the black to GND (do not connect the yellow wire) and, with the Giga powered up, measure the voltage between black and yellow wires. Report back in less than 1 hour.