How to use DS18B20 Temperature sensor with arduino
Вставка
- Опубліковано 12 лют 2021
- DS18B20 is one of the popular temperature sensors because it is cheap, easy to use, and also waterproof. It is a very cheap waterproof temperature sensor we can get from the market.
In this video, we will learn how to use it with Arduino.
You can support us and unlock premium projects code by joining our membership by clicking the link below:
/ @miliohm
Download sketch and wiring diagram :
miliohm.com/how-to-simply-use... - Наука та технологія
what all u said worked out perfect.first i thought my display had prob then changed contast and wroked perfect. never thought i will be able to something llike this for my school project. thanks man
Thanks for the vid. i would only recommend installing the OneWire library since it is actually required in the example.
I've check the code you gave that is so detailed, to be a primer I learned a lot from it, I'll be guilty if I dont hit a like on this video.
Thanks!
@@miliohm what happens if no resistor is added to the circuit?
Thank you so much for this video👍
Is it possible to add an battery voltage sensor along with the temperature sensor in the same Arduino , How can we combine the both programs
Valeu amigo. Ótimo vídeo
Único vídeo que encontrei na internet que realmente explica como faz. Parabéns e Obrigado. Ganhou meu like 👏
how much of this sensors you can use parallel on a androinu? i need a system with 8-16
thank you so much for the help, you saved me
Hi, i'm having some problems with this sensor when i try to heat the water until it evaporates, my sensor can't read a temperature above 100°C or equal. My programation sketch is similar
is it accurate to measure a room temperature below -10 to -25 degrees Celcius?
Thank you for the wonderful programs for Arduino for beginners.
Nice video, thanks :)
Thank you.
have u done this with a battery? What battery it might need do u know?
good day would like to ask why my serial monitor shows the device cannot be found that show error results
thanks a lot for the tutorial sir, could u also make the one wire version tutorial of this sensor? thanks!
can we add more than one DS18B20 sensor wire on same bus/pin
what type of jumoer wire sis you use?
Hello, can you do one with the VISA LabVIEW?
I was looking for polarity and colours, can it die if I confuse yellow and red?
Hey brother can you tell me the code for my project . ds18b20 temperature sensor , LCD 16×2 , arduino UNO & fan , all connected .
As the temperature rises , fan goes fast or Start rotating and if temperature goes low , fan slows or stops down...
hey, why my (tempC != DEVICE_DISCONNECTED_C) at line 56 is error, it said "'DEVICE_DISCONNECTED_C' was not declared in this scope" i hope u can help me with that
nice video
Hi , I am your new subscriber, can u make a video or explain to build a SMD reflow with Nextion display?
If people are getting strange results disconnect the power line to the sensor if using parasitic power from the arduino. just run 5v thro the resistor to the signal wire in yellow. This is what the datasheet says
what happens if no resistor is added to the circuit?
Looks like better than lm35
The first sketch worked on my set up but in the serial monitor I got the temperature about every 1/10 of a second. any ideas.
add delay(1000); to the loop
why on my PC not showing the COM2 window?
i have an adruino mega were do i place the SDA & de SCL of ic2? couze the A4 & a5 dont work
SDA - 20
SCL - 21
Do you guys have same method on raspberry pi pls
i followed your diagram and download the code you have posted but still my lcd 168b20 doesn't display anything except for block bars. pls help.....
You may need to adjust the contrast on the back of the display.
Can you type the name of the display screen please?
Hey. I tried the code ,it is working on serial monitor, but when I copy pasted your other coder for LCD ,lcd Is on but not showing anything, need help !!!!
Where did you ordered the tools bro?
is the temperature sensor robust for 1 year usage?
YES
Can you use it for water temperature? Like dip the sensor in it?
You should watch at 5:29
@@miliohm thanks man I didn''t actually watch it all
What to do if temperature data cannot be read?
What is the type of the lcd?
it's 20x4 LCD
im new to to arduino project. why dos it have an error LiquidCrystal_I2C.h: No such file or directory
. pls help :)
You need to download the library first, watch again carefully
how about accuracy is better than themocouple ?
Make thermocouple accurate is sometimes complex since it has so small signal. So I think this sensor can be more accurate but, thermocouple has wider range. It can measure up to thousands degrees of celcius.
@@miliohm thank you for the answer
What is the purpose of the register
Can the sensor be connected directly to the board ?
What register?
The breadboard just help us to put the resistor
@@miliohm Sorry . i meant resistor
@@AneeshPradeep it's pull up resistor. It's from datasheet.
My ds18b20 is not giving me results it only shows -127.00c and -196.6f it is not changing even if I put it on hot water can you please help me?
Use resistor
can i use a 4.7k resistor also i am getting -127° reading what can be my solution
It should works, check your wiring again.
i have same -127°... but ho to resolved it ?
@@axel_72 Check your wiring and make sure that it’s getting proper power supply
When I connect this to my esp32 it was not working properly for me but Aurdino uno board gave me proper output
im sorry,can i get code for lcd1602 :(
You should read the description
Why u use this resistor with the temp. Sensor i need this one?
It's for pull up
It is a 4.7k ohm resistor
Is it possible to do this without a breadboard?
Sure
@@miliohm Does it require calibration?
@@musicalmusician8019 it is factory calibrared. But if you still need adjusment you can also calibrate it.
the temperature values that I am getting is not accurate. my room is abou5 celcius but I am seeing 85 degrees Celsius
Did it change?
good video, but all i get is this in the serial monitor:
Locating devices...Found 0 devices.
Parasite power is: OFF
Unable to find address for Device 0
Device 0 Address: 0000000000000000
Device 0 Resolution: 0
Requesting temperatures...DONE
Error: Could not read temperature data
Can you give me the code of it??plz I need urgent.
You should read the description
The link is not working there,please give me the code of it,i need it very urgently,i must submit my portable refrigerator project 🙏
@@tanjimulislamdip2338 maybe you click the wrong link. The second one. Still work here miliohm.com/how-to-simply-use-ds18b20-temperature-sensor-with-arduino/
Hey brother can you tell me the code for my project . ds18b20 temperature sensor , LCD 16×2 , arduino UNO & fan , all connected .
As the temperature rises , fan goes fast or Start rotating and if temperature goes low , fan slows or stops down...