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

แชร์
ฝัง
  • เผยแพร่เมื่อ 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

  • @sudheepsudheer3997
    @sudheepsudheer3997 2 ปีที่แล้ว

    How can I pause the temperature reading without disconnect the wire

  • @fatimasajid1692
    @fatimasajid1692 3 ปีที่แล้ว +1

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

  • @lou7229
    @lou7229 หลายเดือนก่อน

    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  หลายเดือนก่อน +1

      welcome!
      Yes you can do that. Use if else statements.
      Use this as reference, instead of LED you can connect buzzer: th-cam.com/video/Wj9KBcNQwaA/w-d-xo.html

    • @lou7229
      @lou7229 หลายเดือนก่อน

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

  • @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: th-cam.com/video/lg-QUBLm9eU/w-d-xo.html

  • @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 : th-cam.com/video/iy3nXFh__rg/w-d-xo.html

  • @user-zy1ji7bw5w
    @user-zy1ji7bw5w 8 หลายเดือนก่อน

    I am getting the serial monitor output as negative value

    • @user-zy1ji7bw5w
      @user-zy1ji7bw5w 8 หลายเดือนก่อน

      any suggestion please ,I have even changed the resistor

  • @itsr.k6249
    @itsr.k6249 หลายเดือนก่อน

    Can we measure temperature of soil

    • @techathome
      @techathome  หลายเดือนก่อน +1

      Yes you can

    • @itsr.k6249
      @itsr.k6249 หลายเดือนก่อน

      @@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 .

  • @Tamansh
    @Tamansh 9 หลายเดือนก่อน +1

    Is it possible to run without resistor

  • @shivufpv6248
    @shivufpv6248 4 ปีที่แล้ว

    Nice

  • @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 :th-cam.com/video/u0QOf-uMD3U/w-d-xo.html

  • @anonimsaja4103
    @anonimsaja4103 9 หลายเดือนก่อน

    What is resistor function in here

    • @techathome
      @techathome  9 หลายเดือนก่อน

      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 9 หลายเดือนก่อน

      @@techathome thanks for the reply, understandable

    • @techathome
      @techathome  9 หลายเดือนก่อน

      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 🙏