Working with the SparkFun ESP8266 Thing, basic setup, just using the thing, and RHT03. I have the libraries downloaded, the code compiles, and does not return any data from rht.update(), MOST of the time. Output is to the serial console, and maybe one out of 250 reads, it returns valid data. I tried different versions of the libraries, Tried 5V vs 3.3V power, swapped out ALL of the components, and still not getting a good stream of data back.
Nearly 100% no return, maybe one or two sporadic replies. swapped out ALL parts, even the breadboard. Even tried the pull up resistor option. Ideas? Thanks!
using this code as a test:
#include <SparkFun_RHT03.h>
const int RHT03_DATA_PIN = 4; // RHT03 data pin
RHT03 rht; // This creates a RTH03 object, which we’ll use to interact with the sensor
void setup()
{
Serial.begin(9600); // Serial is used to print sensor readings.
rht.begin(4);
}
void loop()
{
// Call rht.update() to get new humidity and temperature values from the sensor.
int updateRet = rht.update();
Serial.println(updateRet);
Serial.println(“…”);
delay(1000);
}