How to use DS18B20 Temperature sensor with arduino

  Рет қаралды 132,157

miliohm

miliohm

Күн бұрын

Пікірлер: 80
@bb4853
@bb4853 3 жыл бұрын
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.
@miliohm
@miliohm 3 жыл бұрын
Thanks!
@shogunvanrepi3555
@shogunvanrepi3555 Жыл бұрын
​@@miliohm what happens if no resistor is added to the circuit?
@maxwellvinimax68
@maxwellvinimax68 2 жыл бұрын
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
@AirisSafiyyah-n3d
@AirisSafiyyah-n3d 3 ай бұрын
Hi , can you list all the things that you use for making this temperature sensors?
@mikevez6639
@mikevez6639 2 жыл бұрын
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
@rafaellouish.odrada4183
@rafaellouish.odrada4183 2 жыл бұрын
good day would like to ask why my serial monitor shows the device cannot be found that show error results
@tosc4goro711
@tosc4goro711 10 ай бұрын
thanks a lot for the tutorial sir, could u also make the one wire version tutorial of this sensor? thanks!
@Earthstoriesbydev
@Earthstoriesbydev Жыл бұрын
have u done this with a battery? What battery it might need do u know?
@GaneshPawar-gs6ee
@GaneshPawar-gs6ee 2 жыл бұрын
can we add more than one DS18B20 sensor wire on same bus/pin
@Alshafi
@Alshafi Жыл бұрын
Thanks for the vid. i would only recommend installing the OneWire library since it is actually required in the example.
@marbella-elviria
@marbella-elviria Жыл бұрын
I was looking for polarity and colours, can it die if I confuse yellow and red?
@sheenamarietongol4367
@sheenamarietongol4367 Жыл бұрын
what type of jumoer wire sis you use?
@ajith6840
@ajith6840 2 жыл бұрын
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
@jyaniharshil5585
@jyaniharshil5585 2 жыл бұрын
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...
@BerndJTHIEL
@BerndJTHIEL 2 жыл бұрын
how much of this sensors you can use parallel on a androinu? i need a system with 8-16
@gernandoregobionejunior3794
@gernandoregobionejunior3794 2 жыл бұрын
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
@syukorburger9699
@syukorburger9699 2 жыл бұрын
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
@shijumax1
@shijumax1 Жыл бұрын
Hi , I am your new subscriber, can u make a video or explain to build a SMD reflow with Nextion display?
@AneeshPradeep
@AneeshPradeep 2 жыл бұрын
What is the purpose of the register Can the sensor be connected directly to the board ?
@miliohm
@miliohm 2 жыл бұрын
What register? The breadboard just help us to put the resistor
@AneeshPradeep
@AneeshPradeep 2 жыл бұрын
@@miliohm Sorry . i meant resistor
@miliohm
@miliohm 2 жыл бұрын
@@AneeshPradeep it's pull up resistor. It's from datasheet.
@mend17
@mend17 2 жыл бұрын
i have an adruino mega were do i place the SDA & de SCL of ic2? couze the A4 & a5 dont work
@miliohm
@miliohm 2 жыл бұрын
SDA - 20 SCL - 21
@josielsoaresfarias1760
@josielsoaresfarias1760 Жыл бұрын
Valeu amigo. Ótimo vídeo Único vídeo que encontrei na internet que realmente explica como faz. Parabéns e Obrigado. Ganhou meu like 👏
@chandra7734
@chandra7734 3 жыл бұрын
is it accurate to measure a room temperature below -10 to -25 degrees Celcius?
@gasko2762
@gasko2762 2 жыл бұрын
Thank you for the wonderful programs for Arduino for beginners.
@hondat7435
@hondat7435 3 жыл бұрын
Hello, can you do one with the VISA LabVIEW?
@battlecampkhimmay2981
@battlecampkhimmay2981 3 жыл бұрын
Do you guys have same method on raspberry pi pls
@chris9yearsago698
@chris9yearsago698 3 жыл бұрын
Can you use it for water temperature? Like dip the sensor in it?
@miliohm
@miliohm 3 жыл бұрын
You should watch at 5:29
@chris9yearsago698
@chris9yearsago698 3 жыл бұрын
@@miliohm thanks man I didn''t actually watch it all
@bradley9856
@bradley9856 Жыл бұрын
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
@musicalmusician8019
@musicalmusician8019 2 жыл бұрын
Is it possible to do this without a breadboard?
@miliohm
@miliohm 2 жыл бұрын
Sure
@musicalmusician8019
@musicalmusician8019 Жыл бұрын
@@miliohm Does it require calibration?
@miliohm
@miliohm Жыл бұрын
@@musicalmusician8019 it is factory calibrared. But if you still need adjusment you can also calibrate it.
@shogunvanrepi3555
@shogunvanrepi3555 Жыл бұрын
what happens if no resistor is added to the circuit?
@gouthamas7265
@gouthamas7265 2 жыл бұрын
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 !!!!
@AnimeTv-us8gk
@AnimeTv-us8gk 2 жыл бұрын
Where did you ordered the tools bro?
@TheWareek
@TheWareek 3 жыл бұрын
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.
@mikevez6639
@mikevez6639 2 жыл бұрын
add delay(1000); to the loop
@SpAk_XD
@SpAk_XD 2 жыл бұрын
why on my PC not showing the COM2 window?
@christophercabanbanalvarad2241
@christophercabanbanalvarad2241 3 жыл бұрын
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.....
@chrisheaps9893
@chrisheaps9893 3 жыл бұрын
You may need to adjust the contrast on the back of the display.
@chojix6394
@chojix6394 Жыл бұрын
What to do if temperature data cannot be read?
@wisnuindrawan6496
@wisnuindrawan6496 3 жыл бұрын
how about accuracy is better than themocouple ?
@miliohm
@miliohm 3 жыл бұрын
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.
@wisnuindrawan6496
@wisnuindrawan6496 3 жыл бұрын
@@miliohm thank you for the answer
@pearlydanahambayen3939
@pearlydanahambayen3939 Жыл бұрын
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?
@jovanadiyatma_6934
@jovanadiyatma_6934 Жыл бұрын
Use resistor
@Imaangrycat
@Imaangrycat 2 жыл бұрын
can i use a 4.7k resistor also i am getting -127° reading what can be my solution
@miliohm
@miliohm 2 жыл бұрын
It should works, check your wiring again.
@axel_72
@axel_72 2 жыл бұрын
i have same -127°... but ho to resolved it ?
@Imaangrycat
@Imaangrycat 2 жыл бұрын
@@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
@xarek24g
@xarek24g 2 жыл бұрын
Why u use this resistor with the temp. Sensor i need this one?
@miliohm
@miliohm 2 жыл бұрын
It's for pull up
@Saini_Ayush07
@Saini_Ayush07 2 жыл бұрын
It is a 4.7k ohm resistor
@arthurmarcolan9722
@arthurmarcolan9722 2 жыл бұрын
thank you so much for the help, you saved me
@Myb.pranoto
@Myb.pranoto 3 жыл бұрын
What is the type of the lcd?
@miliohm
@miliohm 3 жыл бұрын
it's 20x4 LCD
@chickenz4604
@chickenz4604 3 жыл бұрын
is the temperature sensor robust for 1 year usage?
@lovarajukommoju1896
@lovarajukommoju1896 2 жыл бұрын
YES
@pew1472
@pew1472 3 жыл бұрын
im new to to arduino project. why dos it have an error LiquidCrystal_I2C.h: No such file or directory . pls help :)
@miliohm
@miliohm 3 жыл бұрын
You need to download the library first, watch again carefully
@TopOneTime
@TopOneTime 3 жыл бұрын
Can you type the name of the display screen please?
@williampowell7518
@williampowell7518 2 жыл бұрын
the temperature values that I am getting is not accurate. my room is abou5 celcius but I am seeing 85 degrees Celsius
@miliohm
@miliohm 2 жыл бұрын
Did it change?
@KonselorSekolah1407
@KonselorSekolah1407 3 жыл бұрын
Looks like better than lm35
@RixtronixLAB
@RixtronixLAB 2 жыл бұрын
Nice video, thanks :)
@tanjimulislamdip2338
@tanjimulislamdip2338 3 жыл бұрын
Can you give me the code of it??plz I need urgent.
@miliohm
@miliohm 3 жыл бұрын
You should read the description
@tanjimulislamdip2338
@tanjimulislamdip2338 3 жыл бұрын
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 🙏
@miliohm
@miliohm 3 жыл бұрын
@@tanjimulislamdip2338 maybe you click the wrong link. The second one. Still work here miliohm.com/how-to-simply-use-ds18b20-temperature-sensor-with-arduino/
@noraimanazmi1190
@noraimanazmi1190 3 жыл бұрын
im sorry,can i get code for lcd1602 :(
@miliohm
@miliohm 3 жыл бұрын
You should read the description
@raajnivas2550
@raajnivas2550 2 жыл бұрын
Thank you.
@raphaelnazareth486
@raphaelnazareth486 Жыл бұрын
nice video
@jyaniharshil5585
@jyaniharshil5585 2 жыл бұрын
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...
Measuring Temperature with Arduino - 5 Sensors
29:55
DroneBot Workshop
Рет қаралды 145 М.
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2,2 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 17 МЛН
RFID Locks are way too easy to "Hack"! Let me show you!
11:41
GreatScott!
Рет қаралды 1,3 МЛН
1-WIRE DS18B20 TEMPERATURE SENSOR - Arduino tutorial #6
10:02
Bas on Tech
Рет қаралды 26 М.
You can learn Arduino in 15 minutes.
16:34
Afrotechmods
Рет қаралды 10 МЛН
OLED Displays with Arduino - I2C & SPI OLEDs
41:41
DroneBot Workshop
Рет қаралды 1,1 МЛН
Make an Arduino Temperature Sensor (Thermistor Tutorial)
6:36
Circuit Basics
Рет қаралды 746 М.
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 220 М.
Arduino DS18B20 temperature sensor tutorial
3:47
DPV TECHNOLOGY
Рет қаралды 138 М.
DS18B20 Arduino Temperature Sensor - How to Tutorial
13:37
Gadget Reboot
Рет қаралды 53 М.
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2,2 МЛН