概述:
ESP8266 IO脚外接一个IR接收管,当有红外信号接收到,则会触发IO进入中断(边沿触发)。
测试方法:
在IO中断里面对另一个IO做电平翻转,利用示波器抓取波形
遇到问题:
示波器抓取红外接收管的波形,与IO翻转的波形,有时候会出现波形少了的现象,即是红外接收管的信号有些没有触发到IO进入中断。
官方的demo,基于RTOS的,只有发射代码,没有接收。
http://bbs.espressif.com/viewtopic.php?f=31&t=1199
[求助]ESP8266利用IO中断接收红外,有时候会出现漏触发中断
Re: [求助]ESP8266利用IO中断接收红外,有时候会出现漏触发中断
Postby Her Mary » Tue Apr 14, 2020 3:12 pm
看看这个示例呢,既有 IR TX,也有 IR RX https://github.com/espressif/ESP8266_RT ... eripherals
Who is online
Users browsing this forum: No registered users and 4 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.