【文件属性】:
文件名称:rpi-ir-remote:将Raspberry Pi用作IR遥控器的说明和代码
文件大小:50KB
文件格式:ZIP
更新时间:2021-02-05 23:05:24
go golang raspberry-pi raspbian lirc
Raspberry Pi红外遥控器
目标:
使用Raspberry Pi和IR LED,发送IR代码以控制音频/视频设备。
通过Google Home通过语音命令控制Raspberry Pi。
互联网上有许多类似的项目。 对我和其他人来说,最困难的部分是IR驱动程序/库配置,因此该项目记录了结合我的硬件和软件对我有用的内容。
使用IR LED发送IR代码
我的设置:
Raspberry Pi 3模型B
Raspbian Stretch Lite,发布日期2017-09-07
步骤0:设置硬件
设置LED驱动器电路的方法有很多。 我使用了一种基本晶体管电路,如所示的电路。
记下连接
【文件预览】:
rpi-ir-remote-master
----.gitignore(226B)
----README.md(15KB)
----.gcloudignore(644B)
----irsend()
--------irsend.go(171B)
----go.mod(762B)
----irremotepb()
--------irremote.proto(395B)
--------irremote.pb.go(12KB)
----web()
--------main.go(2KB)
--------status.go(433B)
--------templates()
--------actionhandler.go(4KB)
----app.yaml(217B)
----config()
--------cambridge_cxa.pb.json(555B)
--------systemd()
--------lirc()
----remote()
--------remote.go(780B)
----go.sum(55KB)
----Makefile(1KB)
----auth()
--------auth.go(726B)
----cmd()
--------makereq()
--------server()
--------cli()