DHT11 + SD Card Module w/ RTC + Arduino + ESP8266


I am working a project which I would like to send the surrounding temperature and humidity to Thinger.io while having a SD card module + RTC as a redundancy (internet maybe unstable at time). May I know how can I write the code for this scenario?

my understanding is that I shouldn’t use loop() for the SD logging, may I know what is the other approach? Thanks


It is possible to implement such use case. The loop can be used perfectly for SD logging, as long as the loop does not take several seconds to complete. Do you have a basic working sketch? Maybe we can start from there and integrate thinger connection.