Skip to content
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

请问红外学习可以自己添加模块实现433M收发么 #33

Open
4867896 opened this issue Nov 18, 2020 · 1 comment
Open

请问红外学习可以自己添加模块实现433M收发么 #33

4867896 opened this issue Nov 18, 2020 · 1 comment

Comments

@4867896
Copy link

4867896 commented Nov 18, 2020

请问,将433M接收模组信号引脚接到IR接收脚,可以做自学习收发433M信号控制么。

@Caffreyfans
Copy link
Owner

可以的,但是你需要自己重新编译固件。目前编译出来的默认是没把 433 和 315 功能打开的。你可以将淘宝上买的那种一般的几块钱的再生高频收发模块接到默认的引脚上就行了。
具体操作步骤如下:

  1. 克隆 固件仓库
  2. 安装 vscode,vscode 插件里安装 platformio
  3. 用 vscode 打开固件的目录
  4. 编辑 platformio.ini 文件,在 build_flags 下添加一行 -DUSE_RF
  5. 然后编译固件
  6. 将固件烧录到你的设备就可以使用 RF 功能了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants