ESP8266的I/O有没有输入捕捉功能,如何测量输入信号的频率?
Re: ESP8266的I/O有没有输入捕捉功能,如何测量输入信号的频率?
Postby costaud » Wed Mar 11, 2015 2:17 am
zmh169 wrote:我想用 ESP8266的GPIO连功率计算芯片的输出,功率计算芯片输出信号是频率和功率成正比的,0.1W时频率约0.01Hz,4KW时频率约1KHz。ESP8266的GPIO能用来处理这个信号吗?查看 ESP8266数据手册和SDK编程手册,没发现有输入捕捉或外部中断之类的功能。
0.01Hz可频率可以很精确的通过GPIO的边沿触发中断来捕捉(上升沿,下降沿,双沿)
在中断中通过读取系统时间可以得到两次之间的差值。
uint32 system_get_time(void); 单位us
Who is online
Users browsing this forum: No registered users and 67 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.