Is there anyway to reduce those spikes so that boot current stays under the 30mA pulse output of coin cells?
The application here is to clone the Amazon Product Ordering button.
Thanks for your interest in ESP8266 !
Could this API help you？
Code: Select all
Call this API before system_deep_sleep to set what the chip will do when deep-sleep wake up.
bool system_deep_sleep_set_option(uint8 option)
uint8 option :
deep_sleep_set_option(0): Radio calibration after deep-sleep wake up depends on init data byte 108.
deep_sleep_set_option(1): Radio calibration is done after deep-sleep wake up; this increases the current consumption.
deep_sleep_set_option(2): No radio calibration after deep-sleep wake up; this reduces the current consumption.
deep_sleep_set_option(4): Disable RF after deep-sleep wake up, just like modem sleep; this has the least current consumption; the device is not able to transmit or receive data after wake up.
Init data refers esp_init_data_default.bin.
true : succeed
false : fail
1) push the button
2) pushing button starts the power supply
3) ESP boots (this is where the problem is)
4) ESP sends message
5) ESP uses GPIO to turn itself off
This allows the chip to last for about 2000 button pushes spread out over up to five years on a coin cell.
Since the power is turned off the device can sit for long periods of time while not draining the battery.
So the deepsleep calibration API does not help since we have to boot each time the chip is powered.
Who is online
Users browsing this forum: No registered users and 2 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!