Community Forum
    • Blog
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Issues about TH02 with NODEMCU V1.0

    Scheduled Pinned Locked Moved TH02
    4 Posts 3 Posters 2.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Zemin PiaoZ Offline
      Zemin Piao
      last edited by

      Hello Hallard! 🙂

      Recently I met up with a problem. I found when I run the sample program from the TH02 library on NODEMCU 1.0, the results are always null(-50 temperature and -24 humidity). I think it is some problem with I2C. I just use Wire.begin(4, 5) to make GPIO4 the SDA and GPIO5 the SCL.

      I hope you will see this and reply to me soon! Thanks!!!

      1 Reply Last reply Reply Quote
      • CharlesC Offline
        Charles
        last edited by

        @Zemin-Piao
        I'm sorry but I switched my temp/hum sensor chip, now I'm using SI7021 sensors because TH02 is not full I2C compliance, IE it can't be on the same I2C bus with other I2C devices, that's the thing I saw later (I should have read carefully datasheet before) so the reason of my change.

        By the Way I had some issue with also with SI7021 and NodeMCU because it seems clock stretching may sometimes cause issue, so may be it's the issue you have also.

        I'm sorry I won't be able to investigate on this issue since I do not use these sensors anymore but you can have some si7021 cheaper and better then th02 here 5V and 3V3 compatible for $3 😉

        Gérard VidalG 1 Reply Last reply Reply Quote
        • GĂ©rard VidalG Offline
          Gérard Vidal
          last edited by

          Hello,
          I have the same problem with an Arduino breakout with Intel Edison. Charles observation can be the explanation because on the breakout bus 6 is only available and INTEL might have used the I2C for other purposes preventing the TH02 from working properly.

          1 Reply Last reply Reply Quote
          • GĂ©rard VidalG Offline
            Gérard Vidal @Charles
            last edited by Gérard Vidal

            @Charles
            Thanks for the explanation I'll cross check with other Edison users but I am sure that is the reason. We have also checked the sensor HTU21DF that works properly.
            Thanks again for the job

            1 Reply Last reply Reply Quote
            • First post
              Last post

            3

            Online

            5.7k

            Users

            534

            Topics

            5.0k

            Posts

            Top Topics

            • Denky 4 - Domoticz - TriphasĂ© -
              Nicolas BernaertsN
              Nicolas Bernaerts
              0
              7
              249

            • Denky D4 et Linky Standard TInfo Rx Non ConfigurĂ©
              CharlesC
              Charles
              0
              5
              282

            • CC1101
              CharlesC
              Charles
              0
              2
              117

            Popular Tags

            teleinfo
            24 topics
            arduino
            19 topics
            remora
            16 topics
            esp8266
            10 topics
            arduipi
            10 topics
            wifinfo
            7 topics
            raspberry
            7 topics
            broadcast
            7 topics
            Copyright © 2022 Charles-Henri Hallard | Return to blog page | Powered by NodeBB