Skip to content
  • Blog
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Community Forum

  1. Home
  2. Categories
  3. TH02
  4. Issues about TH02 with NODEMCU V1.0

Issues about TH02 with NODEMCU V1.0

Scheduled Pinned Locked Moved TH02
4 Posts 3 Posters 3.3k Views 3 Watching
  • 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 PiaoZ Offline
    Zemin Piao
    wrote on last edited by
    #1

    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
    • CharlesC Offline
      CharlesC Offline
      Charles
      wrote on last edited by
      #2

      @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
      • GĂ©rard VidalG Offline
        Gérard VidalG Offline
        Gérard Vidal
        wrote on last edited by
        #3

        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
        • CharlesC Charles

          @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 Offline
          Gérard VidalG Offline
          Gérard Vidal
          wrote on last edited by Gérard Vidal
          #4

          @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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          3

          Online

          5.8k

          Users

          565

          Topics

          5.3k

          Posts

          Top Topics

          Popular Tags

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

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Blog
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups