Тёмный
No video :(

Arduino DS18B20 temperature sensor tutorial 

DPV TECHNOLOGY
Подписаться 23 тыс.
Просмотров 130 тыс.
50% 1

check out our website to buy electronics components, projects,
sensors, modules at best price:
www.dpvtechnol...
Buy DS18B20 at best price:
goo.gl/MgHtzw
Buy Arduino Uno from DPV TECHNOLOGY at the best price:
goo.gl/G47iXD
Buy 16x2 LCD:
goo.gl/pdB4pi
Buy 4.7k Resistor from DPV TECHNOLOGY at Best Price:
goo.gl/KKCdqf
Breadboard 840 points from DPV TECHNOLOGY at the best price::
goo.gl/uMv2eN
breadboard 170 points from DPV TECHNOLOGY at the best price::
goo.gl/4aKfDx
learn how to use DS18B20 temperature sensor with Arduino mega/UNO/NANO.
The DS18B20 temperature sensor is a 1-wire digital temperature sensor. This means that you can read the temperature with a very simple circuit setup. It communicates on common bus, which means that you can connect several devices and read their values using just one digital pin of the Arduino.
Buy at the best price:
www.dpvtechnol...
Link to download:
goo.gl/1ZzxLJ
DPV technology is a platform where people will be able to learn about Electronics, Robotics, various types of electronic projects, Software, Mobile Applications, Software Solutions, Projects solutions. We also deal with various types of electronic projects and circuits.Our team also help to bring your ideas into reality.
Our 'DPV technology' RU-vid channel provides a Platform where viewers will find various types of electronic component's details, circuit's details, project's details, how to make those,how do they work,what technologies are used,also viewers will find Educational lectures of different topics and various tips and tricks to learn faster and easier.You will get a platform to know about new technology, Innovations, software, documents etc..
Feel free to contact us:
www.dpvtechnol...
Our email address:
dpvtechnology@gmail.com
Like our facebook page:
/ dpvtechnology
Subscribe us on youtube:
www.youtube.co...

Опубликовано:

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 83   
@arunpatil7936
@arunpatil7936 3 года назад
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??
@ellseliow3855
@ellseliow3855 3 года назад
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
@lmeb83 3 года назад
I have the same output: -127.00 C -196.60 F
@ellseliow3855
@ellseliow3855 3 года назад
@@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
@hendrik727
@hendrik727 3 года назад
I have the same problem.
@arduino4569
@arduino4569 2 года назад
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.
@zmk55
@zmk55 Год назад
I had the same issue. I was accidentally using 4.7 ohm and not 4.7k …..
@topfundus1093
@topfundus1093 3 года назад
Sehr gut! Funktioniert alles. Vielen Dank!
@dogeeatsveggies
@dogeeatsveggies 3 года назад
you make good tutorials
@johnbenedictdivinagracia4866
@johnbenedictdivinagracia4866 5 месяцев назад
Thank you so much!
@alzbert6853
@alzbert6853 3 года назад
Good video man. Thank you!
@tugasakhirhendro9965
@tugasakhirhendro9965 4 года назад
what is the difference between sensor DS18B20, DS18S20, DS1822, DS1820?
@gameeducation1343
@gameeducation1343 3 года назад
Hello. you putted data wire into digital output pin.... but data wire should be connected with analog input...!!!
@tamgaming9861
@tamgaming9861 5 лет назад
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 :-)
@DPVTECHNOLOGY
@DPVTECHNOLOGY 5 лет назад
Please read the datasheet of the sensor. It is written there.
@tamgaming9861
@tamgaming9861 5 лет назад
@@DPVTECHNOLOGY i got today 3 of them - but there was no datasheed, because this i ask here :-)
@idvfpv
@idvfpv 4 года назад
why thanks, the program is broken!
@dooooood600
@dooooood600 Год назад
where is the dallas tmep library?
@shantosutradhar1365
@shantosutradhar1365 5 лет назад
thank you
@beebzyful
@beebzyful 4 года назад
Is there a way to use this sensor with an arduino one wifi rev 2 board? I could really use help with this
@dattasaicharanaddaguduru728
@dattasaicharanaddaguduru728 3 года назад
Yes
@wahyum.s1143
@wahyum.s1143 3 года назад
thanks. what if we dont use resistor?
@shathaan1763
@shathaan1763 4 года назад
thank you bro
@arthurberkouwer7123
@arthurberkouwer7123 4 года назад
The video looks nice, but where can I download the code?
@ABDULBASIT-po2lv
@ABDULBASIT-po2lv 3 года назад
in the description
@emilep.3803
@emilep.3803 4 года назад
Thank you very much for this tutorial, it helped me a lot !!
@ayyubbelchguer5456
@ayyubbelchguer5456 4 года назад
But if i use a grove arduino and not a breadboard where i connect the resistor ? please
@KhianVictoryDCalderon
@KhianVictoryDCalderon 4 года назад
Bro is the resistor between positive and analog pin?
@SashiRockzz
@SashiRockzz 3 года назад
How many temperature sensor can be connect to this arduino????
@alirezaaraby
@alirezaaraby 4 года назад
Good Job
@muhammadalfian4762
@muhammadalfian4762 4 года назад
can help me, how to make this with two multi sensors? please..
@DPVTECHNOLOGY
@DPVTECHNOLOGY 4 года назад
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.
@howtodo8094
@howtodo8094 4 года назад
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)
@quentinsadler1243
@quentinsadler1243 4 года назад
Nice video
@warrenwalter1448
@warrenwalter1448 5 лет назад
your code is full of mistakes - not including { and therafter using } etc. frustrated now cause im trying to learn !
@DPVTECHNOLOGY
@DPVTECHNOLOGY 5 лет назад
Let me check.
@umikalsumkalsum131
@umikalsumkalsum131 5 лет назад
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
@romankotsiurko
@romankotsiurko 4 года назад
@@umikalsumkalsum131 according to this tutorial, you must connect your sensor to 8th analog pin (input) (see line 4 in the code)
@failtv5442
@failtv5442 4 года назад
@@romankotsiurko he says digital pin, also pin8 is a analog pin.. i have the same problem with -127 C
@idvfpv
@idvfpv 4 года назад
@@failtv5442 i also have that problem
@ivanmartinez-om2lq
@ivanmartinez-om2lq 4 года назад
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!
@firozdang
@firozdang 4 года назад
your terminals are swapped
@industron22
@industron22 Год назад
showing wrong temperature ... 10 degree more than actual temperature
@rajipanicker624
@rajipanicker624 4 года назад
Hi If its is aurdino mega how do i connect the wires
@muhammedimdaad
@muhammedimdaad 3 года назад
same
@rezarizkiyanto4606
@rezarizkiyanto4606 4 года назад
wheres the code
@mvigno2
@mvigno2 3 года назад
#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); }
@abhiramshetty9302
@abhiramshetty9302 5 лет назад
iam getting values in minus degress
@umikalsumkalsum131
@umikalsumkalsum131 5 лет назад
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?
@FallingofHeroes
@FallingofHeroes 5 лет назад
@@umikalsumkalsum131 more than likely you are not connected to the right pin in your code, or on your breadboard
@umikalsumkalsum131
@umikalsumkalsum131 5 лет назад
@@FallingofHeroes but now I can solve it
@markhamclorado8391
@markhamclorado8391 5 лет назад
how did you solve sir?
@markhamclorado8391
@markhamclorado8391 5 лет назад
@@umikalsumkalsum131 how did you solve sir???
@gjhgkyunygukngugnyugnyugyg6743
resistor nominal?
@DPVTECHNOLOGY
@DPVTECHNOLOGY 5 лет назад
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.
@techsecret6474
@techsecret6474 4 года назад
How to on off light with arduino when temp high low For incubator can u show that???
@muhammedimdaad
@muhammedimdaad 3 года назад
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.
@roshanchandana8058
@roshanchandana8058 3 года назад
Sir , may i get code for this project
@sarankumar8043
@sarankumar8043 3 года назад
Where is the code ?
@daddythreelegs4113
@daddythreelegs4113 5 лет назад
need subtitles
@choichifaijasonccf2536
@choichifaijasonccf2536 3 года назад
It keeps showing -127.00 C and -196.60 F any suggestion?
@alifmohd7371
@alifmohd7371 3 года назад
Your 5V wire was not attached properly, or another wire was not fit well..check it again
@yudirudiat6499
@yudirudiat6499 3 года назад
Source code please
@alexcarvajal3005
@alexcarvajal3005 4 года назад
Hello, I want to take the temperature every half hour and not every second, how do I do it?
@blvck_nth356
@blvck_nth356 4 года назад
1 second = 1000ms 60 seconds = 60000ms = 1min 1800 seconds = 1800000ms = 30min So put the delay on to 1800000ms
@gabrielmilanesi6341
@gabrielmilanesi6341 3 года назад
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.
@abdul-aziztiblan2339
@abdul-aziztiblan2339 4 года назад
Thanks for the video. But how to contact 3 sensor using 1 arduino?
@failtv5442
@failtv5442 4 года назад
are u dumb?
@rathanshidling9832
@rathanshidling9832 4 года назад
Connect to another analog pins. A0, A1..
@adam03957
@adam03957 4 года назад
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
@failtv5442
@failtv5442 4 года назад
@@adam03957 i connected it to another pin, it worked, so do that...
@chichinra6916
@chichinra6916 3 года назад
Can we replace 4.7 k resistance with other resister
@shreenachiaarpalanikumar2113
@shreenachiaarpalanikumar2113 10 месяцев назад
S
@bob-ny6kn
@bob-ny6kn 2 года назад
Why the annoying audio?
@idvfpv
@idvfpv 4 года назад
this program does't work!
@charlessamwel6318
@charlessamwel6318 4 года назад
Always receive -127 plz help
@DPVTECHNOLOGY
@DPVTECHNOLOGY 4 года назад
Use 4.7k resistor as shown in the video. That is most important.
Далее
arduino DS18B20 temperature sensor tutorial with LCD
3:29
How to use DS18B20 Temperature sensor with arduino
8:37
버블티로 체감되는 요즘 물가2
00:15
Просмотров 2,5 млн
Кого из блогеров узнали?
00:10
Просмотров 699 тыс.
DS18B20 Arduino Temperature Sensor - How to Tutorial
13:37
Arduino DS18B20 Temperature Sensor Tutorial
9:16
Просмотров 83 тыс.
Temperature Sensor DS18B20 with ARDUINO
11:31
Просмотров 30 тыс.
DS18B20 Temperature Sensor Needs No Resistor
18:38
Просмотров 12 тыс.