Тёмный

Interfacing Multiple DS18B20 Temperature Sensor to Arduino/Microcontroller 

How To Electronics
Подписаться 75 тыс.
Просмотров 36 тыс.
50% 1

In this project we will learn about Interfacing Multiple DS18B20 Temperature Sensors to Arduino or Microcontroller. Simply we will connect Multiple DS18B20 Temperature Sensors to Arduino/Microcontroller and display the temperature values of all the sensors in degree celsius or Fahrenheit. Only one digital pin of Arduino or Microcontroller ATmega328 is required to connect several temperature sensor.
We can connect maximum of 1024 sensors using I2C Communication Protocol. But here i have shown connecting 2 or 3 Dallas DS18B20 1 wire Temperature Sensors to Arduino or Microcontroller. According to the code you can connect 8 temperature Sensor to one Arduino/Microcontroller.
Source Code Link to Interface Multiple DS18B20 to Arduino: how2electronic...
Source Code Link to Interface Multiple DS18B20 to Microcontroller: how2electronic...
Drop a like if you liked this video.
Don't forget to subscribe our channel for more Electronics project and tutorials.
Website: how2electronic...
Facebook: / electronicsbyalex

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

 

13 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 48   
@PauloSantos-bk3op
@PauloSantos-bk3op 4 года назад
Hello, congratulations for this fantastic project! It works smoothly and precise.
@velizarivanov9934
@velizarivanov9934 2 года назад
Best video ever! Thank you for sharing!
@hardikshah1792
@hardikshah1792 3 года назад
can you make video of circuit connection in detail please?
@axelgaard1
@axelgaard1 4 года назад
Hello great project, is there a way to make them show the temperature side by side instead of switching between the sensors? i just need it to show from 2 different temperature sensors
@suleymanuzunkaya2871
@suleymanuzunkaya2871 3 года назад
Hello this is a super ongoing project. I need something to expand on this project temp sen 1 = Temp sen 2 led 1 temp sen 1 Temp sen 2 led 3 temp sen 2 = Temp sen 3 led 4 temp sen 2 Temp sen 3 led 6 temp sen 4 = Temp sen 5 led 7 temp sen 4 Temp sen 5 led 9 temp sen 6 = temp sen 7 led 10 temp sen 6 Temp sen 7 led 12 how can I insert this program
@suleymanuzunkaya2871
@suleymanuzunkaya2871 2 года назад
gibts keine antwort
@nickbrown3868
@nickbrown3868 2 года назад
how hard would it be to display all of the sensor readings on the main screen?
@tubeDude48
@tubeDude48 Год назад
If you had used I2C on the display, this would have been GREAT.
@electronic7979
@electronic7979 5 лет назад
Nice
@mariaalexandrapoliquit848
@mariaalexandrapoliquit848 5 лет назад
Hello sir, i would like to ask help from you regarding about our arduino project which is a water quality monitor
@juliofernandes9994
@juliofernandes9994 4 года назад
Thanks!
@sanjaybatra6593
@sanjaybatra6593 2 года назад
nice
@odonodesign
@odonodesign 4 месяца назад
Learn how to build this at odonodesign
@MohammedRiyaz3143
@MohammedRiyaz3143 5 лет назад
hello sir i have bakery ovens with oven one temperature digital meter i won't one display in office cabin it's possible please suggestion
@HowtoElectronics
@HowtoElectronics 5 лет назад
Yes possible via lcd multiplexing.
@lucasbrenna2
@lucasbrenna2 4 года назад
Hello and congratulations. I am struggling with a network consisting of 15 ds18b20 sensors, where I monitor the temperature of the home. I connected most of the sensors with individual telephone cables ( 5 to 20 meters long each). In 3 cases I connected 2 sensors to a single cable. I tried to monitor them through the wemos d1 version 3 and connected all according to the rule, gnd to gnd, vcc to the 3v3 of the wemos and the data to the pin d7 of the wemos with resistance from 4k7 between data and 3v3. I can read up to 6/7 sensors at the same time, if I connect further ones, it returns -127 on all of them. I also tried to lower the resistance value to 1k given the length of the sections but I do not solve. I measured the current that supplies the wemos and it is 3.27v. How can I solve it?
@HowtoElectronics
@HowtoElectronics 4 года назад
Hi, I have only tried the up to 8 sensors and it worked fine for me. I can't say anything about 15 sensors. Can you check the current, may be you need some high current rating supply. Resistor is used as a pull up resistor, so 4.7K doesn't make any difference to current rating.
@lucasbrenna2
@lucasbrenna2 4 года назад
@@HowtoElectronics thanks for your pront replay. I tried with 5 volts from wemos d1 but i have the same result. I also tried to create 2 instance of onewire and dallas temperature using 2 different digital pin of the wemos witht he arduino sketch. I can read 6/7 sensor from one digital pin but I have 0.0 from all other sensors connected in the other digital pin.
@St0nE_fLy
@St0nE_fLy 4 года назад
can i give every sensor a own name? if how...
4 года назад
Hello there. Thank you for sharing. I'm using arduino nano. But I have a problem. The program runs when i give the feed via USB. It reads the sensors. But it does not read the sensors when externally supplying 5 volts. what do you think what is problem?
@HowtoElectronics
@HowtoElectronics 4 года назад
Check the current of the external usb adapter. Use 5V, 1A adapter.
4 года назад
​@@HowtoElectronics i am using 5V 1A adapter. LCD is running program is running. Just does not read the sensors. I see Temp : -127 on the LCD screen.
4 года назад
@@HowtoElectronics One wire i use pin 13. Do you think that's a problem?
4 года назад
@@HowtoElectronics I made connection via external 5v 1A adapter via vin and gnd.
@HowtoElectronics
@HowtoElectronics 4 года назад
Change the digital pin to some other pin both in code and hardware connection. Do not use pin 13 as it has a pull up resistor
@navdeepsingh4152
@navdeepsingh4152 5 лет назад
How much sensors can Arduino support reply pls
@HowtoElectronics
@HowtoElectronics 5 лет назад
127
@navdeepsingh4152
@navdeepsingh4152 5 лет назад
Thanks brother
4 года назад
Hi again. I have new problem. This code works well for 3 sensors when i try to use more than 3 sensors. But when i connect the 4th sensor it says no sensor was found. You think what is problem ?
@HowtoElectronics
@HowtoElectronics 4 года назад
May be one of your sensor is damaged or may be connection is loose. Check with other sensor or try with 5 sensors.
4 года назад
the sensors work one by one. But it doesn't work when you connect them all. İ tried with five sensor and it wrote no sensor was found on the screen
@yiannossofocleous114
@yiannossofocleous114 4 года назад
Anyone knows how to display an average value from the 3 sensors???
@kunalburman2895
@kunalburman2895 5 лет назад
Hello, can we connect around 15-20 temperature sensors with ESP32?
@HowtoElectronics
@HowtoElectronics 5 лет назад
Only 8 according to code.
@kunalburman2895
@kunalburman2895 5 лет назад
@@HowtoElectronics But in general, if i need 15 -20 temperature sensors then is it possible?
@yasmineyachmina8898
@yasmineyachmina8898 4 года назад
hello sir, I have a problem that my Ds18b20 sensor always displays on the serial monitor -127.00 and I don't know where the fault is
@HowtoElectronics
@HowtoElectronics 4 года назад
Connect 4.7K resistor between DS18B20 output pin & VCC.
@yasmineyachmina8898
@yasmineyachmina8898 4 года назад
@@HowtoElectronics even if i put the resistance the same results if you want can i send you my work
@guruk5
@guruk5 4 года назад
I had the same problem. I found out that the data pin connected on the Arduino was not the same in my code. I changed the pin connection to the one written in the code and it worked. See if its the same with you.
@hummingbird2520
@hummingbird2520 3 года назад
I have one question that are these components China product?
@davidhead6549
@davidhead6549 2 года назад
duh
@clientesym
@clientesym 5 лет назад
Are you freelancer i need someone to do me a proyect in arduino
@HowtoElectronics
@HowtoElectronics 5 лет назад
Contact me via fb page
@tequilajack8741
@tequilajack8741 2 года назад
I'm new to Arduino and I wanted to use your project but your accent is so thick that I can't understand you. You also don't offer any CC so I can read what you are trying to say. You also don't offer any instruction on how to install any of the libraries. So this tutorial gets a big, big thumbs down.
@davidhead6549
@davidhead6549 2 года назад
Shame on him for not know knowing the world revolves around Tequila Jack. There is a line in Counting Crows song Omaha that states "get your money back at the door"
Далее
#28 DS18B20 Temperature Sensor and CAP1188 Touch Board
25:54
5 temperature sensors for arduino projects
16:34
Просмотров 11 тыс.
Почему не Попал?!
00:15
Просмотров 67 тыс.
УДОЧКА ЗА 1$ VS 10$ VS 100$!
22:41
Просмотров 410 тыс.
#20 Tutorial: Multiple Devices on One Arduino I2C Bus
7:42
DS18B20 Temperature Sensor with Arduino Uno
8:13
Просмотров 4,1 тыс.
How to use DS18B20 Temperature sensor with arduino
8:37