DS18B20 waterproof temperature sensor with(code explained) | Arduino tutorial 13

Поделиться
HTML-код
  • Опубликовано: 14 июн 2020
  • Part 13 :
    * Introduction to ds18b20
    * Code tutorial
    Code and Circuit : drive.google.com/file/d/1jfTU...
    Libraries :
    drive.google.com/drive/folder...
    Learn Arduino programming even without components (Online Arduino Simulator) :
    Tutorial video - • How to learn Arduino u...
    -*-*-*-*-*-*-*-*-*-*
    Product Links:
    Arduino Uno : amzn.to/3C1vKxF
    ds18B20 Temperature Sensor :amzn.to/3PfkZwi
    *-*-*-*-*-*-*-*-*-*-*
    Follow us on Instagram :
    / tech_at_home
    Like us on Facebook :
    / tech-at-home-220885266...
    #ArduinoTutorials#ds18b20#techathome
    Thanks for watching!
    *Like Share and Subscribe
  • НаукаНаука

Комментарии • 40

  • @fatimasajid1692
    @fatimasajid1692 3 года назад +1

    Thankyou. Very helpful . After searchig alot, finally i got the easiest code of this sensor.

  • @sudheepsudheer3997
    @sudheepsudheer3997 3 года назад

    How can I pause the temperature reading without disconnect the wire

  • @ajith6840
    @ajith6840 Год назад

    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 program codes

    • @techathome
      @techathome  Год назад

      Yes, you can add in same code.
      Connect sensor output to A0 pin and use analogRead(A0)
      Reference for using analog devices: ruclips.net/video/lg-QUBLm9eU/видео.html

  • @lou7229
    @lou7229 2 месяца назад

    Hi! Thank you for this helpful video, can i ask if it's possible to use a ds18b20 with a buzzer? for ex, the buzzer will activate when it reaches a certain temp. just curious.

    • @techathome
      @techathome  2 месяца назад

      welcome!
      Yes you can do that. Use if else statements.
      Use this as reference, instead of LED you can connect buzzer: ruclips.net/video/Wj9KBcNQwaA/видео.html

    • @lou7229
      @lou7229 2 месяца назад

      thank you sm I appreciate it!! ​@@techathome

  • @gameeducation1343
    @gameeducation1343 3 года назад

    Hello bro
    why you put data wire into digital output....
    i think data wire should be put in analog input.....!!please tell me

    • @techathome
      @techathome  3 года назад +1

      Actually it's a digital temperature sensor.
      It communicates using single wire,.its communication protocol is like that.
      So connected to digital pin.

  • @hirdeshbajwa8906
    @hirdeshbajwa8906 3 года назад

    How do i make it work for AC? I wanted to plug a small fridge and a 40W heater into it to control the temperature of about 13L of liquid sitting inside the fridge.

    • @techathome
      @techathome  3 года назад

      Instead of connecting to Laptop, use mobile charger to power the Arduino

    • @hirdeshbajwa8906
      @hirdeshbajwa8906 3 года назад

      @@techathome i did not mention anything about a laptop. I know DC and AC are different circuits. I was hoping to learn how to use it with AC current. Instead of buying the inkbird temperature controller, I want to make my own

  • @erintrolinger1891
    @erintrolinger1891 2 года назад +1

    Im getting a consistent reading of -127. any suggestions?

    • @techathome
      @techathome  2 года назад +1

      May be because of resistor
      Did you refer the circuit i have given?

  • @shivufpv6248
    @shivufpv6248 4 года назад

    Can you make a video of how to make an esc for DC motor using Arduino plll pll

  • @Meeshow44
    @Meeshow44 Год назад

    How do you then control a relay with this temp sensor?

    • @techathome
      @techathome  Год назад

      You can check temperature value using IF statements
      Relay tutorial : ruclips.net/video/iy3nXFh__rg/видео.html

  • @user-zy1ji7bw5w
    @user-zy1ji7bw5w 9 месяцев назад

    I am getting the serial monitor output as negative value

    • @user-zy1ji7bw5w
      @user-zy1ji7bw5w 9 месяцев назад

      any suggestion please ,I have even changed the resistor

  • @shivufpv6248
    @shivufpv6248 4 года назад

    Nice

  • @Tamansh
    @Tamansh 10 месяцев назад +1

    Is it possible to run without resistor

  • @itsr.k6249
    @itsr.k6249 2 месяца назад

    Can we measure temperature of soil

    • @techathome
      @techathome  2 месяца назад +1

      Yes you can

    • @itsr.k6249
      @itsr.k6249 2 месяца назад

      @@techathome Sir, We got a project of automated plant watering project in college can you give some idea or help us to make it a little complex project than your video .

  • @user-uq9eu5pf5h
    @user-uq9eu5pf5h 2 года назад

    Mine is -127 even I followed a 4.7k resistor

  • @shivufpv6248
    @shivufpv6248 4 года назад

    Because esc for DC motor well cost 1.5k to 2k that's why

    • @techathome
      @techathome  4 года назад

      Watch my video about ESC under 1000 rupees :ruclips.net/video/u0QOf-uMD3U/видео.html

  • @anonimsaja4103
    @anonimsaja4103 10 месяцев назад

    What is resistor function in here

    • @techathome
      @techathome  10 месяцев назад

      When there is data from the sensor, that will be in active Low state(means logic 0).
      So by default we have to pull up that pin to logic 1 using pull up resistor.
      Otherwise we cannot see the data.

    • @anonimsaja4103
      @anonimsaja4103 10 месяцев назад

      @@techathome thanks for the reply, understandable

    • @techathome
      @techathome  10 месяцев назад

      Welcome

  • @First.Last.99
    @First.Last.99 Год назад

    why making code in RAR? will not downalod lol

    • @techathome
      @techathome  Год назад

      There is code and circuit inside the folder.
      Download and extract it using 7zip/ winRar software.

  • @shivufpv6248
    @shivufpv6248 4 года назад

    PL PL do video of that bro PL 🙏