hiee bro i need your help. I am using this sensor, for the first time it worked perfectly but after that, I had cut the wire to solder jumper wires but after soldering it is showing -126 degree celcius only. How to resolve this??
Hi Guys, i unable to get the result....it still on -127.00 C -196.60 F -127.00 C -196.60 F any idea? I had try to get to changed all the cable and resistor...
@@lmeb83 ya. I dunno why the water resister temp not working all time...I had even tried use the new temp water resister sensor. But it provide me same result. But when I use the non water resistant temp sensor no problem at all
Check the code, The wires, The connections, Otherwise the sensor is defect, not working. Always keep more than one piece of each part, Arduino to wires.
Hi, I´m running the code, and it´s working, but my temperature began at 50 C, and is increasing, without heat... my environmental heat is 18 C. Can it be the resistor? The sensor is heating increasingly. Thank you!
video is already on our channel. It is shown by using non waterproof version. but everything will be same. Search like multiple ds18b20 sensor with arduino by dpv technology on youtube.
You can also try using the millis function of the arduino that counts the milliseconds. Then you make it measure the temperature every time when the time in milliseconds is divisible by 1800000.
I have been using Arduino 1.8.5 for Windows 8 for years now without any problems. I followed the instructions in this video and that's the last thing I ever did with Arduino, now it won't start whatever I do. I even tried uninstalling completely and re-installing the exact same version of arduino for IDE but the problem persists. Is anybody else having the same problem? Because of the problems I am having with arduino right now, I say be careful, make sure you can backtrack to the current state where you computer is at before trying. When I run arduino_debug what I am getting is shown below: C:\Program Files (x86)\Arduino>arduino_debug Looking for library 'user32' Adding paths from jna.library.path: null Trying user32.dll Found library 'user32' at user32.dll DPI detection failed, fallback to 96 dpi Looking for library 'shell32' Adding paths from jna.library.path: null Trying shell32.dll Found library 'shell32' at shell32.dll Looking for library 'Ole32' Adding paths from jna.library.path: null Trying Ole32.dll Found library 'Ole32' at Ole32.dll Loading configuration... Initializing packages... java.lang.NullPointerException at cc.arduino.contributions.packages.ContributionsIndexer.parseIndex(Con tributionsIndexer.java:123) at processing.app.BaseNoGui.initPackages(BaseNoGui.java:487) at processing.app.Base.(Base.java:261) at processing.app.Base.main(Base.java:144)
there is an alarm system in the sensor. when the temp goes higher or lower below a threshold it will set a flag and by checking it you can make your decisions.
Do u have a solution for that? I have a problem like u, and i can't solve it, in the serial monitor the temperature is -127 C, can u help me why it done?
Rathan Shidling That wouldn’t work, a ds18b20 is a digital input. You can actually connect multiple ds18b20’s to the same Digital input as long as you still have voltage and current to spare, so you might want to implement a 5V source externally. So you can either connect them to different digital inputs but if you’re running short you can have them all on 1 digital pin and modify your code to address each one for temp first
hiee bro i need your help. I am using this sensor, for the first time it worked perfectly but after that, I had cut the wire to solder jumper wires but after soldering it is showing -126 degree celcius only. How to resolve this??
Hi Guys, i unable to get the result....it still on
-127.00 C -196.60 F
-127.00 C -196.60 F
any idea?
I had try to get to changed all the cable and resistor...
I have the same output: -127.00 C -196.60 F
@@lmeb83 ya. I dunno why the water resister temp not working all time...I had even tried use the new temp water resister sensor. But it provide me same result. But when I use the non water resistant temp sensor no problem at all
I have the same problem.
Check the code,
The wires,
The connections,
Otherwise the sensor is defect, not working.
Always keep more than one piece of each part, Arduino to wires.
I had the same issue. I was accidentally using 4.7 ohm and not 4.7k …..
Sehr gut! Funktioniert alles. Vielen Dank!
I dont understand, why do we connect the resistor terminals from the Vcc to the data line ? Why not from the arduino gpio pin to the data line ?
you make good tutorials
Thanks a lot for your video! Why do you need a resistor and how do you calculated how high he has to be? Thanks in advance :-)
Please read the datasheet of the sensor. It is written there.
@@DPVTECHNOLOGY i got today 3 of them - but there was no datasheed, because this i ask here :-)
why thanks, the program is broken!
Is there a way to use this sensor with an arduino one wifi rev 2 board? I could really use help with this
Yes
where is the dallas tmep library?
Good video man. Thank you!
The video looks nice, but where can I download the code?
in the description
thanks. what if we dont use resistor?
Bro is the resistor between positive and analog pin?
But if i use a grove arduino and not a breadboard where i connect the resistor ? please
Hi, I´m running the code, and it´s working, but my temperature began at 50 C, and is increasing, without heat... my environmental heat is 18 C. Can it be the resistor? The sensor is heating increasingly. Thank you!
your terminals are swapped
Thank you so much!
How many temperature sensor can be connect to this arduino????
can help me, how to make this with two multi sensors? please..
video is already on our channel. It is shown by using non waterproof version. but everything will be same. Search like multiple ds18b20 sensor with arduino by dpv technology on youtube.
what is the difference between sensor DS18B20, DS18S20, DS1822, DS1820?
Hi If its is aurdino mega
how do i connect the wires
same
your code is full of mistakes - not including { and therafter using } etc. frustrated now cause im trying to learn !
Let me check.
Can anyone help me, i try it but in the serial monitor the temperature is -127 C, why it done? I don't know how to solve the problem
@@umikalsumkalsum131 according to this tutorial, you must connect your sensor to 8th analog pin (input) (see line 4 in the code)
@@romankotsiurko he says digital pin, also pin8 is a analog pin..
i have the same problem with -127 C
@@failtv5442 i also have that problem
Thank you very much for this tutorial, it helped me a lot !!
resistor nominal?
According to data sheet, it should be 4.7k . but you try with a value close to it. I did not test with other value.
Sir , may i get code for this project
Hello.
you putted data wire into digital output pin....
but data wire should be connected with analog input...!!!
Hello, I want to take the temperature every half hour and not every second, how do I do it?
1 second = 1000ms
60 seconds = 60000ms = 1min
1800 seconds = 1800000ms = 30min
So put the delay on to 1800000ms
You can also try using the millis function of the arduino that counts the milliseconds. Then you make it measure the temperature every time when the time in milliseconds is divisible by 1800000.
wheres the code
#include
#include
#define ONE_WIRE_BUS 8
OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&oneWire);
float Celsius = 0;
float Fahrenheit = 0;
void setup() {
sensors.begin();
Serial.begin(9600);
}
void loop() {
sensors.requestTemperatures();
Celsius = sensors.getTempCByIndex(0);
Fahrenheit = sensors.toFahrenheit(Celsius);
Serial.print(Celsius);
Serial.print(" C ");
Serial.print(Fahrenheit);
Serial.println(" F");
delay(1000);
}
I have been using Arduino 1.8.5 for Windows 8 for years now without any problems.
I followed the instructions in this video and that's the last thing I ever did with Arduino, now it won't start whatever I do.
I even tried uninstalling completely and re-installing the exact same version of arduino for IDE but the problem persists.
Is anybody else having the same problem?
Because of the problems I am having with arduino right now, I say be careful, make sure you can backtrack to the current
state where you computer is at before trying.
When I run arduino_debug what I am getting is shown below:
C:\Program Files (x86)\Arduino>arduino_debug
Looking for library 'user32'
Adding paths from jna.library.path: null
Trying user32.dll
Found library 'user32' at user32.dll
DPI detection failed, fallback to 96 dpi
Looking for library 'shell32'
Adding paths from jna.library.path: null
Trying shell32.dll
Found library 'shell32' at shell32.dll
Looking for library 'Ole32'
Adding paths from jna.library.path: null
Trying Ole32.dll
Found library 'Ole32' at Ole32.dll
Loading configuration...
Initializing packages...
java.lang.NullPointerException
at cc.arduino.contributions.packages.ContributionsIndexer.parseIndex(Con
tributionsIndexer.java:123)
at processing.app.BaseNoGui.initPackages(BaseNoGui.java:487)
at processing.app.Base.(Base.java:261)
at processing.app.Base.main(Base.java:144)
How to on off light with arduino when temp high low For incubator can u show that???
there is an alarm system in the sensor. when the temp goes higher or lower below a threshold it will set a flag and by checking it you can make your decisions.
iam getting values in minus degress
Do u have a solution for that? I have a problem like u, and i can't solve it, in the serial monitor the temperature is -127 C, can u help me why it done?
@@umikalsumkalsum131 more than likely you are not connected to the right pin in your code, or on your breadboard
@@FallingofHeroes but now I can solve it
how did you solve sir?
@@umikalsumkalsum131 how did you solve sir???
showing wrong temperature ... 10 degree more than actual temperature
It keeps showing -127.00 C and -196.60 F
any suggestion?
Your 5V wire was not attached properly, or another wire was not fit well..check it again
Where is the code ?
Thanks for the video. But how to contact 3 sensor using 1 arduino?
are u dumb?
Connect to another analog pins. A0, A1..
Rathan Shidling
That wouldn’t work, a ds18b20 is a digital input.
You can actually connect multiple ds18b20’s to the same Digital input as long as you still have voltage and current to spare, so you might want to implement a 5V source externally.
So you can either connect them to different digital inputs but if you’re running short you can have them all on 1 digital pin and modify your code to address each one for temp first
@@adam03957 i connected it to another pin, it worked, so do that...
Can we replace 4.7 k resistance with other resister
S
thank you bro
thank you
Source code please
Good Job
need subtitles
this program does't work!
Always receive -127 plz help
Use 4.7k resistor as shown in the video. That is most important.
Why the annoying audio?
Nice video