Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By kas
#60878
So my goal is to bring the full session time (wake up, data acquisition, router connection, ThingSpeak connection, deep-sleep) below 800ms for
- 1-wire 18B20 (possibly 2 sensors at FULL 12 bits resolution)
- BMP180 temperature - BMP180 pressure
- battery voltage
- timing info


Success: 700ms (full session time, with two 18B20 at full resolution)

Image
The trick is to work in masked time and avoid the 750ms delay per sensor specified in the official example
User avatar
By al1fch
#60968 I tried a kind of 'publish and sleep' code with the new Thingspeak MQTT API.
Not faster than Http get in my case :( (.....no permanent connection to ThingSpeak MQTT broker )
PubSubClient 2.6.0 used
You do not have the required permissions to view the files attached to this post.