-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP8266 cannot run Deep Sleep function #13
Comments
Hi, |
I use the ADC functionality to monitor the battery voltage, so I don't need the external ADC pin. I removed the two resistors that form the voltage divider for the ADC pin and soldered a little jumper from the reset pad of the ESP to the resistor pad that connects to the external ADC pin. Much cleaner and less prone to mechanical failure than soldering a pin to the reset switch (which I tried earlier). |
Maybe I should mention that I did this because I use an ADXL345 acceleration sensor to wake up the ESP in case of movement. It is possible to program the ADXL interrupt pin to active low, so it can be used to drive the reset pin of the ESP. |
I have been trying to enter a sleep mode and reduce the battery consuption. |
According to the documentation, to turn the module A9G off you have to pull the power off pin of the A9g high for 3 seconds and then pull it LOW for 5 seconds. The code could look something like:
|
Hi, I tried this sketch: #define DEBUG TRUE /***********************************/ SoftwareSerial swSer(14, 12, false); void setup() { // A9G control pins delay(5000); delay(3000); Serial.println("Setup ended"); void loop() { }` Thanks in advance |
https://github.com/IOT-MCU/ESP-12S-A9-A9G-GPRS-Node-v1.0 there are some examples of how to turn off the module. |
Hi, I do it like this: if ( millis()-lastmove > 15*60000 ) { |
Hi @gaijinsr, |
Hi, I use |
Hi, Thanks for the info. Have you guys measured the power consuption of the board? |
Could you please share the functions for movement detection interrupts? |
Hello every body,
|
I was trying to run the Deep Sleep function of the ESP8266 to save energy between GPS readings. The problem is that according to Espressif specifications pin GPIO16 of the ESP should be tied to RST pin, but in IOT-MCU board GPIO16 is already connected to A9G PWRKEY (pin 9). This makes impossible to use deep sleep in this module.
Am I right?
The text was updated successfully, but these errors were encountered: