树莓派获取发送433信号

安装wiringpi

sudo apt install swig python-dev git python-pip python3-pip -y
git clone --recursive https://ghproxy.com/https://github.com/neuralpi/WiringPi-Python.git
cd WiringPi-Python/WiringPi
sudo ./build
cd ..
swig -python wiringpi.i
sudo python setup.py install
sudo python3 setup.py install

一通操作之后,gpio终于有了响应

安装433Utils

由于我买的是个433MHz的控制器,所以直接git上面下载一个就是了,好在这个433Utils比较方便一下子就找到了

git clone --recursive https://ghproxy.com/https://github.com/ninjablocks/433Utils.git
cd 433Utils/RPi_utils
make

https://zhuanlan.zhihu.com/p/34219448

 

重点是不要修改默认的pin值

 

https://damaoooo.github.io/2020/05/06/%E6%A0%91%E8%8E%93%E6%B4%BE%E6%8A%98%E8%85%BE%E8%AE%B0%E2%80%94%E2%80%94%E5%B0%84%E9%A2%91%E6%8E%A7%E5%88%B6%E5%BC%80%E5%85%B3/

https://bbs.hassbian.com/thread-1314-1-1.html

https://bbs.hassbian.com/thread-1110-1-1.html

 

Decode 433 MHz signals w/ Raspberry Pi & 433 MHz Receiver

树莓派GPIO引脚图,详解查看和调试树莓派引脚

 

 

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注