Search found 19 matches

by yangtao
Mon May 09, 2016 4:57 pm
Forum: ESP8266 SDK
Topic: HELP: UART Not Working & Clock Not Accurate after deep-sleep
Replies: 2
Views: 2789

Re: HELP: UART Not Working & Clock Not Accurate after deep-sleep

Hi Alfred, Thanks. 1) How to fix the UART issue after deep-sleep? > if you use add_low-power_deepsleep_cmd.py file to change your bin file, the UART couldn't print chip init logs. because UART FIFO is be cleaned in init process. [YT]: Yes. I am using "add_low-power_deepsleep_cmd.py" and ge...
by yangtao
Mon May 09, 2016 12:19 pm
Forum: ESP8266 SDK
Topic: esp-12e flashing but cannot boot
Replies: 1
Views: 1937

Re: esp-12e flashing but cannot boot

I used attached configuration, and it works. The bash file: #!/bin/bash make clean echo "gen_misc.sh version 20150511" echo "" echo "Compile for Ai-Thinker Module with 4MByte DIO-Flash" boot=new app=1 spi_speed=40 spi_mode=DIO spi_size_map=6 echo "spi size: 4096KB&...
by yangtao
Sun May 08, 2016 10:46 am
Forum: ESP8266 SDK
Topic: How to turn on WIFI circurit after deepsleep
Replies: 1
Views: 1864

Re: How to turn on WIFI circurit after deepsleep

I am also searching similar solution, but no luck.

For your case, I think you can call "system_deep_sleep_set_option(1)" and reboot to go to normal mode. You can use RTC memory to store the status / operation-mode.
by yangtao
Sat May 07, 2016 11:16 am
Forum: ESP8266 SDK
Topic: HELP: UART Not Working & Clock Not Accurate after deep-sleep
Replies: 2
Views: 2789

HELP: UART Not Working & Clock Not Accurate after deep-sleep

I studied "ESP8266 Sleep Mode & Low-Power Solutions" and followed the instructions to set ESP8266 to deep-sleep mode "system_deep_sleep_set_option(4)". However, the device's UART does not work properly after sleep via command "system_deep_sleep(200)". 1) How to fix ...
by yangtao
Thu May 05, 2016 5:38 pm
Forum: ESP8266 SDK
Topic: 请教: ESP8266 (GPIO15)红外载波信号PWM生成
Replies: 3
Views: 5235

Re: 请教: ESP8266 (GPIO15)红外载波信号PWM生成

Adam,
谢谢。

GPIO14 可以用。 (这个pin也用在I2C,有点可惜了)
by yangtao
Wed May 04, 2016 11:53 am
Forum: ESP8266 SDK
Topic: 请教: ESP8266 (GPIO15)红外载波信号PWM生成
Replies: 3
Views: 5235

请教: ESP8266 (GPIO15)红外载波信号PWM生成

我需要生成红外载波信号,频率从32KHz到56KHz不等。 我测试了两种方法:Delta-Sigma和I2S 如果使用“delta sigma”,duty cycle太小了,为了增加距离,我需要更高的duty cycle,例如35%或者50%。 如果使用"I2S"模式,GPIO2可以达到我的要求,可是,GPIO12默认是pull-up(高电平),而在我们的系统中,高电平是发射红外,所以GPIO2不能用。 GPIO15,看似不错,可是,频率最低40.3KHz,不能达到我的要求。 可不可以修改I2S的前端clock divider? 我不介意用80MHz的CPU频率来运行系统。...
by yangtao
Wed May 04, 2016 11:40 am
Forum: ESP8266 SDK
Topic: 请教: ESP8266 启动后如何关闭RF(电流<~15mA)
Replies: 2
Views: 2798

请教: ESP8266 启动后如何关闭RF(电流<~15mA)

根据ESP8266文档"9B-ESP8266-Sleep_Mode_Low_Power_Solutions",ModemSleep模式下,ESP8266应该消耗15mA的电流。 基于1.5.2SDK,我发现一个问题(可能是我的代码的问题),第一次系统上电,电流消耗是72mA,如果RESET(但是不掉电),电流变成17mA(正常)。 我调用的是“system_deep_sleep_set_option(4);”函数。 我猜这是为什么RESET后,系统把RF关掉了。所以才低功耗。 但是,我的代码中,在user_init函数里,调用了“wifi_set_sleep_type(MO...
by yangtao
Tue Feb 02, 2016 3:04 pm
Forum: Sample Codes
Topic: [ESP8266] UART-TCP Passthrough Demo
Replies: 4
Views: 20337

Re: [ESP8266] UART-TCP Passthrough Demo

This is in AP mode.

Will espressif provide station TCP-UART passthrough?

Go to advanced search