ESP8266 Developer Zone The Official ESP8266 Forum 2015-04-15T19:32:59+08:00 https://bbs.espressif.com:443/feed.php?f=66&t=358 2015-04-15T19:32:59+08:00 2015-04-15T19:32:59+08:00 https://bbs.espressif.com:443/viewtopic.php?t=358&p=1343#p1343 <![CDATA[Re: Current spikes during chip boot]]>
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.

Statistics: Posted by jonsmirl — Wed Apr 15, 2015 7:32 pm


]]>
2015-04-15T14:09:09+08:00 2015-04-15T14:09:09+08:00 https://bbs.espressif.com:443/viewtopic.php?t=358&p=1334#p1334 <![CDATA[Re: Current spikes during chip boot]]>
Thanks for your interest in ESP8266 !

Could this API help you?

Code:

Function:

Call this API before system_deep_sleep to set what the chip will do when deep-sleep wake up.
Prototype: 

bool system_deep_sleep_set_option(uint8 option)
Parameter: 

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. 
Note:

Init data refers esp_init_data_default.bin.
Return:    

true  : succeed

false : fail

Statistics: Posted by ESP_Faye — Wed Apr 15, 2015 2:09 pm


]]>
2015-04-14T19:47:51+08:00 2015-04-14T19:47:51+08:00 https://bbs.espressif.com:443/viewtopic.php?t=358&p=1321#p1321 <![CDATA[Current spikes during chip boot]]>
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.
http://www.esp8266.com/viewtopic.php?f=6&t=2240

Statistics: Posted by jonsmirl — Tue Apr 14, 2015 7:47 pm


]]>