How to use HTU21D and HTU21DF Humidity and Temperature Sensor with Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 เม.ย. 2024
  • Learn how to use HTU21D-F Humidity and temperature sensor with code and demonstration
    The best thank you for me is to not to skip ads and Subscribe 🔔 to my channel, like 👍 the video It is greatly appreciated. 🔔 😊.
    I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe and enable the bell 🔔.😊
    00:00 Introduction
    01:45 Hardware explained
    03:45 Wiring explained
    04:33 Code Explained (basic code)
    09:04 Demonstration of basic code
    10:04 Custom Code explained
    13:04 Demonstration of custom code
    Download code and resources for this video: robojax.com/L/?id=274
    Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135
    Tutorial by Ahmad Shamshiri form Canada
    ****************************
    Learn Arduino from a proven instructor with 100s of projects, code, wiring diagram in structured course in one place. Purchase Arduino Course at Udemy.com : robojax.com/L/?id=153
    ****************************
    If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link paypal.me/robojaxTV
    Get early access to my videos by becoming my Patreon and and have your name mentioned at end of very videos I publish on TH-cam: robojax.com/L/?id=97
    If you want to learn Arduino from proven instructor on **Udemy**: bit.ly/rj-udemy
    Follow me on Facebook robojaxTV
    Follow me on Twitter: / robojaxtv
    Follow me on Instagram: / robojax
    Tutorial by Robojax.com
    Get other projects code and learn Arduino
    robojax.com/learn/arduino
    #robojax #robojax_HTU21D #robojax_temperature
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 18

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

    my aliexpress HTU21D has a deviation of 2 ° at 24.5 ° C (reports 26.7 ° C) compared to my exact DS18B20
    both without activated pullups and with activated ones

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

      in that case correction is needed.

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

    Do you know the difference between HTU21DF and HTU21D? at aliexpress i only find the HTU21D. HTU21D-F is from Adafruit and HTU21D an chineese version with less features?

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

      the F refers to filter which this one doesn't have. However code is the same it is just physical filter that makes it different. The one I shown has no "F". I have updated the page where the code is the created image explaining that. See the links.

  • @7skies246
    @7skies246 3 ปีที่แล้ว

    How could i use this sensor (HTU21D) with an Attiny85 board? The i2c scanner for attiny doesn't recognize the sensor...

    • @robojax
      @robojax  3 ปีที่แล้ว

      Here use this for I2C scanner for digispark: th-cam.com/video/4HWkUrehXbY/w-d-xo.html and I have shown how to use I2C display: th-cam.com/video/U95hw-ec6nY/w-d-xo.html learn and use it. good luck.

  • @OMARSANCHEZ-cm4mf
    @OMARSANCHEZ-cm4mf 3 ปีที่แล้ว

    How would be the programming using two HTU21D sensors?

    • @robojax
      @robojax  3 ปีที่แล้ว

      Hi, I just wrote code to use 2 more of HTU21D sensor the link is in the description and here for you robojax.com/L/?id=274 for I2C, you need to take wires from A4 and A5 and share it with both sensors. I will try to put an image if I can.

  • @johanjoju3801
    @johanjoju3801 3 ปีที่แล้ว

    How yo interface this sensor with pic microcontroller

    • @robojax
      @robojax  3 ปีที่แล้ว

      Hopefully someone will replay. I have no experience that PIC. (yet)

  • @fatimamgaedeh4082
    @fatimamgaedeh4082 3 ปีที่แล้ว

    Can I have four of HTU21D sensors at same time with one Mega Arduino?

    • @robojax
      @robojax  3 ปีที่แล้ว

      Yes you can. You may learn it from different item but principles is the same th-cam.com/video/L6ekl2ABcuY/w-d-xo.html

  • @adamwalter2573
    @adamwalter2573 3 ปีที่แล้ว

    Is it really so good module that I paid for it $14 or was it overpriced ?
    Is there a simple python/C code I can use without adafruit sh...t ?

    • @robojax
      @robojax  3 ปีที่แล้ว

      get the datasheet and write your own code.

  • @deleted8961
    @deleted8961 2 ปีที่แล้ว +1

    Download link not working

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

      we are sorry, today we are migrating to a new system and many links are dead. I've just fixed this link. try it and if you faced problem, try it later today or tomorrow. We do our best to fix this issue.

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

    lol minus 6% humidity. But the device is impressively low power and accurate. Except for the humidity calculation...

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

      Yes. If I used absolute value, then we didn't know if it was actual 6% or some incorrect value.