Raspberry Pi DS18B20 Sensor

  Переглядів 21,023

Izzy Analytics

Izzy Analytics

День тому

The ds18b20 Sensor Raspberry Pi connection is fairly simple to perform. The ds18b20 is a waterproof one-wire digital temperature sensor with a fair degree of precision.
DataSheet: cdn.sparkfun.com/datasheets/S...
Buy a pack of 5 sensors on Amazon -- good deal: amzn.to/2JUBIEK
PYTHON CODE
----------------------------------
Single sensor: github.com/israel-dryer/Raspb...
One or more sensors: github.com/israel-dryer/Raspb...
One or more sensors with a CSV logger: github.com/israel-dryer/Raspb...
Code from the tutorial site (can only be used with a single sensor):
www.waveshare.com/wiki/Raspbe...

КОМЕНТАРІ: 47
@user-cj9tn4sl7j
@user-cj9tn4sl7j Місяць тому
Dude youre not part of Marvels or DC Comics but just know this, YOU ARE A SUPER HERO
@sodapop.cigarettes91
@sodapop.cigarettes91 2 роки тому
Explanation was straight to the point.Thanks for the useful tutorial! Sensor works :)
@dphair3805
@dphair3805 4 місяці тому
Once I changed Thonny from micropython to python3 everything worked like you said. Thanks for the code and explanation.
@charleslandis8313
@charleslandis8313 3 роки тому
Thanks! Great info! Have mine up and running. Thanks!
@izzyanalytics4145
@izzyanalytics4145 3 роки тому
Glad it helped!
@sokoloft3
@sokoloft3 2 роки тому
This would be great to monitor my well house temperature.
@raysrcsandtech
@raysrcsandtech 3 роки тому
The only tutorial that worked and was explained correctly :)
@izzyanalytics4145
@izzyanalytics4145 3 роки тому
glad to hear!
@yugendravenkatadurgamruthk7797
@yugendravenkatadurgamruthk7797 3 роки тому
Everything worked like a charm. Thanks for a wonderful Video .
@izzyanalytics4145
@izzyanalytics4145 3 роки тому
Great to hear!
@espukiberdy
@espukiberdy Рік тому
Wow thank you so much, fast and understandable
@crabsodyinblue
@crabsodyinblue 4 роки тому
thanks, fab info.
@Amine-gz7gq
@Amine-gz7gq 4 місяці тому
Thanks from Tunisia
@danielrdugan
@danielrdugan 4 роки тому
Great video man!
@izzyanalytics4145
@izzyanalytics4145 4 роки тому
Thanks!
@pubanz8
@pubanz8 2 роки тому
Hi, thank you for the video. I would be interested in connecting upto 50 devices in a chain. Is that possible? Will there be congestion on the bus? The conversion time is ~90 ms (upto ~800 ms depending on the bit resolution). Does it mean the cycle time for the whole bus would be 50 times 90ms? Or is there a way to send some kind of strobe / sync signal, so that they would all start their measurement at the same time and than read them out sequentially? Thank you.
@subukai
@subukai 3 роки тому
I already have a Raspbery Pi near the attic from another project (Piaware SDR) and wanted to add another project to it. I was curious to compare attic temperature vs outside. Thanks for producing the straight forward tutorial. It was easy follow.
@izzyanalytics4145
@izzyanalytics4145 3 роки тому
Glad it was helpful.
@AcvaristulLenes
@AcvaristulLenes 8 місяців тому
Can you connect it to rpi without extension board?
@sfrooze
@sfrooze 2 роки тому
Hello, good video, what if i want to connect two sensors for two diferent ambients, is it possible?
@osmankhalid2005
@osmankhalid2005 2 роки тому
I want to collect temperature and switch off a relay on certain temperature limit. What should be next steps.
@ObsesiontecnologicaBlogspot
@ObsesiontecnologicaBlogspot 3 роки тому
thanks a lot. It's work perfectly.
@izzyanalytics4145
@izzyanalytics4145 3 роки тому
You're welcome!
@bonefletch2010
@bonefletch2010 2 роки тому
Can I ask a tutorial on how to incorporate it to Spreadsheet then to SMS for a threshold alert?
@netsfear4227
@netsfear4227 4 роки тому
hi there, does its need to be a 4.7ohm resistor or could I use a 10k one instead? (Great video)
@izzyanalytics4145
@izzyanalytics4145 4 роки тому
10k should work
@Yaswanth_Rayana
@Yaswanth_Rayana Рік тому
Hello Izzy, the sensor which I am using is not getting registered on the PI. everytime there is a different device name in the "/sys/bus/w1/devices"
@Jamesb1735
@Jamesb1735 3 роки тому
can this be done with 13 temp sensors?
@bonefletch2010
@bonefletch2010 2 роки тому
How can I send notifications to my SMS if the temperature surpasses the threshold? Can you help me sir? :(
@guilhermefranco2386
@guilhermefranco2386 3 роки тому
Hello, First of all I would like to thank you for the video, it was a great help for my college work. How would I be able to export all temperature readings to a log file, instantly? It could be .csv or .txt. Would you have a code like that?
@izzyanalytics4145
@izzyanalytics4145 3 роки тому
ukposts.info/have/v-deo/b4p6e5Bqb5d_snk.html
@izzyanalytics4145
@izzyanalytics4145 3 роки тому
Let me know if this is what you're looking for. If not, there are many ways to do this; I can probably put together a few other examples of needed.
@guilhermefranco2386
@guilhermefranco2386 3 роки тому
@@izzyanalytics4145 Yes, that's what I'm looking for, but in the video you capture the internal readings of the raspberry, right? I look for how to insert the DS18b20 temperature readings into the open file. thank you for your attention
@izzyanalytics4145
@izzyanalytics4145 3 роки тому
It's been a while since I've looked at this, but I believe I did something like that here: github.com/israel-dryer/Raspberry-Pi-Sensors/blob/master/ds18b20_logger.py
@izzyanalytics4145
@izzyanalytics4145 3 роки тому
I'm using f-string formatting, so you'll need to have python 3.6+. Otherwise, all you'd need to do is change the f-string formatting to the `format()` method.
@robertreimann1846
@robertreimann1846 Рік тому
There was no explanation for the resistor.
@matthewbalbis1629
@matthewbalbis1629 Рік тому
hello what can i do, because whenever i typed cd /sys/bus/w1/devices (enter) then ls the value showed is 00-200000000000? pls help me
@crashhhhhhh3068
@crashhhhhhh3068 Рік тому
I have the same problem, and when I type in those numbers in the next step it says no such file or directory. Did you find a solution to this problem?
@karejonsson8264
@karejonsson8264 3 роки тому
Is this done with Raspberry 3? Will 3B+ work this way?
@izzyanalytics4145
@izzyanalytics4145 3 роки тому
I used the 3b. Should work fine on the b+
@synonymiumone1003
@synonymiumone1003 3 роки тому
I am sending a weatherballon into the statosphere and want to use two sensors to measure the temperature inside and outside of the payload-box :D i just tried soldering the necessary wires and resistors and since it was my first time soldering at all it turned out to be a complete abomination xD But hey, as long as it works
@izzyanalytics4145
@izzyanalytics4145 3 роки тому
How it turn out?
@izzudinihsanm.2445
@izzudinihsanm.2445 Рік тому
i can't find w1_slave :(
#369 Definitive Guide to Attaching Sensors to the Raspberry Pi (Tutorial)
13:22
A Simple Guide to Get the DS18B20 Running on Your Pi
9:59
Maker Jake
Переглядів 19 тис.
船长被天使剪成光头了?#天使 #小丑 #超人不会飞
00:28
超人不会飞
Переглядів 24 млн
4 channel temperature logger based on the DS18B20 sensors
36:41
Curious Scientist
Переглядів 11 тис.
Victron VenusOS Raspberry Pi | 1-Wire DS18B20 Temperature | Installation and Configuration
12:39
Tobi's Real Life Skills (with Tobi)
Переглядів 4,3 тис.
9 ways to drive a MOSFET, with examples
8:10
krakkus
Переглядів 20 тис.
Network of Raspberry Pi Temperature Sensors | GIT TECH'D
7:40
InitialStateTech
Переглядів 50 тис.
Trying To Escape a Drone Using An Invisibility Shield
4:44
The Action Lab
Переглядів 120 тис.
Raspberry Pi GPIO - Getting Started with gpiozero
48:40
DroneBot Workshop
Переглядів 428 тис.
12 NEW Raspberry Pi Projects you must try!!!
8:38
ToP Projects Compilation
Переглядів 523 тис.
Raspberry Pi Workshop - Chapter 4 - Your First GUI with TkInter and Python
16:14
MLX90614 Thermal Sensor Raspberry Pi Tutorial
5:26
Danny Murray
Переглядів 17 тис.
HUAWEI БЕЗ GOOGLE: ЕСТЬ ЛИ ЖИЗНЬ? | РАЗБОР
11:49
Broken Flex Repair #technology #mobilerepair
0:55
ideal institute aligarh
Переглядів 16 млн
Первые продажи Ryzen на Ozon и первый возврат! 😱
13:17
Герасимов Live
Переглядів 33 тис.
Первые продажи Ryzen на Ozon и первый возврат! 😱
13:17
Герасимов Live
Переглядів 33 тис.