Dependancies
Pre-requisites
Buy the components
Use RTC memory, instead of EEPROM, in ESP8266 because it survives deep sleep mode to reduce power consumption even further
Write a simple number to RTC Memory, deep sleep it and then wake it up again to read the same number! Use the number of count, when to turn on the radio to process something.
Example of RTC Memory read
bool system_rtc_mem_read (
uint32 src_addr,
void * des_addr,
uint32 save_size
)
Example of RTC Memory write
bool system_rtc_mem_write (
uint32 des_addr,
void * src_addr,
uint32 save_size
)