[SOLVED] Strange behavior after AT+SLEEP=1

kelcon
Posts: 5
Joined: Tue Apr 26, 2016 5:49 pm
Contact:

[SOLVED] Strange behavior after AT+SLEEP=1

Postby kelcon » Fri Nov 04, 2016 7:27 pm

Hi,

I am using Huzzah as development platform. I installed AT command firmware from SDK 2.0.0.

My command set is simple:

AT+CWMODE_CUR=1
AT+CWJAP_CUR="bitoad","ropuchabi2"
AT+SLEEP=1

I have found that after AT+SLEEP=1 ESP is less responsible then without it.
I need to try AT\r\n several time to trigger OK. ESP ignores that commands and react after 2-6 retries.

I am testing on FTDI with Rx/Tx/VCC/GND connected on Putty and terminal emulator on Mac.

Is it normal behavior? Why?

Thank you in advance for help.

Best regards

pratik

Re: Strange behavior after AT+SLEEP=1

Postby pratik » Thu Nov 10, 2016 1:06 pm

The ESP8266 shuts down internal clocks to save power. Please use a GPIO trigger to wake the chip up from light sleep before resuming with operations. Try AT+WAKEUPGPIO command before sleep mode.
Also, take a look at the attached guide to understand sleep modes better.
Attachments
9b-esp8266_sleep_function_description_en_v1.0.pdf
(322.73 KiB) Downloaded 749 times

kelcon
Posts: 5
Joined: Tue Apr 26, 2016 5:49 pm
Contact:

Re: Strange behavior after AT+SLEEP=1

Postby kelcon » Thu Nov 24, 2016 11:39 pm

It helped. Thank you.

Best regards!

Who is online

Users browsing this forum: No registered users and 2 guests