Re: Help with esp8266 sketch please: SHT21 temp/humid sensor
Posted: Sun Jul 19, 2015 1:53 pm
Strange that SHT2x.GetHumidity() did not cause the watchdog timer error, or a hang
What happens if you switch the order (call GetTemperature before GetHumidity) in the loop? Does the error follow GetTemperature?
You can add print statements to your library to track the problem.
You might want to double-check your wiring first, though. Are you using an external power supply? I don't have an ESP-01 to test, but my ESP-12 can't do much more than blink when it's powered through my USB-serial cable - it resets as soon as it can't get enough current.
ETA: Also, are you sure you need those pull-ups on your I2C lines?