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.
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.
// 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
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.
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.