Arduino DS18B20 Temperature Sensor Tutorial

Поділитися
Вставка
  • Опубліковано 11 гру 2024

КОМЕНТАРІ • 40

  • @softa74
    @softa74 4 роки тому

    Hi, I need help, this is a digital temperature sensor on the pellet burner electronics. Everything works well but I need a little diversion on electronics. The thing is that at some point I need to tell the electronics that some temperature has been reached and if creativity has not been reached. How to influence that temperature via a sensor. There are three wires on the sensor: green, brown and white. Green is electronically connected under one connector and brown and white are connected together under the other connector. So, three wires, two connectors. Thanks.

  • @bubba443jr4
    @bubba443jr4 3 роки тому

    How could I add a buzzer to this system? It would go off when it is between the two temperatures. Any help is appreciated.

  • @muhamadthaqifzafrancnc1071
    @muhamadthaqifzafrancnc1071 3 роки тому

    Awesome & superb explanation.

  • @tugasakhirhendro9965
    @tugasakhirhendro9965 4 роки тому

    what is the difference between sensor DS18B20, DS18S20, DS1822, DS1820?

  • @colin3108
    @colin3108 7 років тому +1

    Awesome tutorial. Just what I was looking for.

  • @ismailsmile1612
    @ismailsmile1612 7 років тому +1

    hello folks, any idea how can i hook up 15 ds18b20 to arduino mega and avoid parasite power ??

  • @joshhagen4182
    @joshhagen4182 6 років тому

    How could i add a heating element to this? Using a solid state relay keypad lcd shield i want to display current temp and set temp, thanks for any help!

  • @gtxviper
    @gtxviper 6 років тому

    THANK YOU GUS!!!
    Finally a clear and concise tutorial.
    I am the king of noobs when it comes to wiring these things and your video really helped.
    Presumably the wire going from the breadboard to Arduino 3.3Vdc and Gnd doesn't have to go to the Arduino? Would I be right in saying that it would still work if these two wires were plugged into a separate power supply and only the pin 5 wire was connected to Arduino???
    Also whats the purpose of the resistor between red and white? How did you know to use this resistor?
    Thanks again Gus... after that vid im away to have a look at your website! Keep up the good work, its much appreciated.

  • @Nsatiro
    @Nsatiro 8 років тому

    i make my first of all projects whit this vid.. thanks mate.. i love you

    • @rebihabenidiri2833
      @rebihabenidiri2833 7 років тому +1

      i made the same project but it doesnt work for me i dont knew why !! the red led works but the others (yellew and green dont

  • @balancereplays7722
    @balancereplays7722 6 років тому

    can you help me i want to do this but with 10 led bar graph segment ?
    i need coding help for the led bar graph to turn every led on different temperatures

  • @raulciprianoyahoo
    @raulciprianoyahoo 8 років тому

    Can someone help me find a sensor to read the the surface of the back of a solar panel? The back of the panel has a system that will cool the panel with water so i need it to be water resistant and to only read the surface temperature with minimal interference of the water on readings if at all possible.
    thanks for any ideas you internet geniuses.

  • @Gunchulis
    @Gunchulis 8 років тому

    Will this work within a script that uses millis()? If there is any delay() in temperature reading the millis() will not count accurately.

  • @monarulislammithu7818
    @monarulislammithu7818 5 років тому

    Is it mandatory to use Resistor???? I am facing temparature rating problem it is always showing -127 c. I hadn't used resistor,,,,

    • @Nikillem
      @Nikillem Місяць тому

      believe you do

  • @lucarignanese4797
    @lucarignanese4797 7 років тому

    Hi, can I misure temperature only using the sensor? I've bought it on ebay and i did not received the wire. Thank you!

  • @darshanrajashekhar5914
    @darshanrajashekhar5914 5 років тому

    Bro can u pls help me out with my problem, I m getting error called exit status 1 and error in compiling arduino uno and nano

  • @wrmaldonado
    @wrmaldonado 6 років тому

    Does that code work the same for a keyes sensor?

  • @ticochats2999
    @ticochats2999 5 років тому

    How to monitor an array of 35 sensors?

  • @tun581
    @tun581 8 років тому +2

    Perabens otimo projeto tem como adicionar um display a este projeto se for possivel vc.pode me dar uma dica?Obrigado..

  • @alaahalawa7050
    @alaahalawa7050 8 років тому +1

    is DS18B20 better than LM35 for tepmerature control circuits ?

    • @younisibrahim4562
      @younisibrahim4562 8 років тому

      they are almost same, BUT there are some benefits on DS over LM, such as :
      1) DS's output is Digital, it means no need to use and ADC on your MCU, but the output of LM is Analog, which means you MUST use ADC of your MCU.
      2) you can use as many DS devices on ONLY same data line
      Regards

  • @simonvoorspoels5819
    @simonvoorspoels5819 7 років тому +1

    this video is perfect and my temp sensor is working fine. thanks a lot!

    • @rebihabenidiri2833
      @rebihabenidiri2833 7 років тому +1

      it's not the same for me :-(

    • @2112user
      @2112user 7 років тому

      Same here, mine is showing a temp of -127. Anyone know whats wrong or needs to change when using a nano?

    • @collinfarrell9718
      @collinfarrell9718 6 років тому

      I also get -127 when I remove the resistor. When the resistor is placed back in I get 85. No changes regardless of temp.

    • @jesuscaceres9373
      @jesuscaceres9373 4 роки тому

      @@2112user you need a resistor of 4.7k in paralel data and 5v

  • @samuelcp100
    @samuelcp100 4 роки тому

    I used a D1 R32 and i got this error:In file included from C:\Users\samue\OneDrive\Documents\Arduino\SerialDisplay02\SerialDisplay02.ino:6:0:
    C:\Users\samue\OneDrive\Documents\Arduino\libraries\OneWire/OneWire.h:108:2: error: #error "Please define I/O register types here"
    #error "Please define I/O register types here"
    ^
    exit status 1
    Error compiling for board ESP32 Dev Module.

  • @Electromaniaworld
    @Electromaniaworld 6 років тому

    thanks for video . i also showed how to get data from ds18b20 using normal usb ttl adapter, without using any microcontroller. may be that might be of your interest.

  • @shwetasaini1229
    @shwetasaini1229 8 років тому

    if wire color is different then how will it be connected

    • @JoaquinHidalgoHx
      @JoaquinHidalgoHx 8 років тому +1

      Black is ground, Red is VCC, and Orange or yellow is data

  • @guiankarlomanalansan4994
    @guiankarlomanalansan4994 7 років тому

    what if i use a module sir ?

  • @younisibrahim4562
    @younisibrahim4562 8 років тому

    Great explaining keep it up

  • @oreopls69
    @oreopls69 7 років тому

    hi, need help with the codes, i am doing temperature sensor with buzzer, and will need to set threshold for the buzzer to sound.

  • @vikrantsulibhavi
    @vikrantsulibhavi 7 років тому

    Thank you for helping out :)

  • @irfannursalam9347
    @irfannursalam9347 7 років тому

    hello mr, i have done this but why the serial monitor showing the same temperature. It keep showing - 127 degree celsius all the time

    • @Alex-zc6bg
      @Alex-zc6bg 7 років тому

      you need to make sure all your wires are connected properly and your resistor is connected correctly

  • @irfannursalam9347
    @irfannursalam9347 7 років тому +1

    I hope u can help me sir it is for my final year project

  • @iwasthere_5050
    @iwasthere_5050 6 років тому

    It works!

  • @Maffoo
    @Maffoo 7 років тому

    "Hashtag include"