Python module for sending and receiving 433/315MHz LPD/SRD signals with generic low-cost GPIO RF modules on a CHIP Computer for Next Thing Co (NTC). This was ported from rpi-rf module
Protocol and base logic ported from rc-switch.
Most generic 433/315MHz capable modules (cost: ~2€) connected via GPIO to a CHIP computer.
Generic RF outlets and most 433/315MHz switches (cost: ~15€/3pcs).
Chipsets:
- SC5262 / SC5272
- HX2262 / HX2272
- PT2262 / PT2272
- EV1527 / RT1527 / FP1527 / HS1527
For a full list of compatible devices and chipsets see the rc-switch Wiki
CHIP_IO.GPIO
you can find information here CHIP_IO
On CHIP, install the CHIP-rf module:
git clone git://github.com/nunojusto/CHIP-rf.git
cd CHIP-rf
sudo python3 setup.py install
cd ..
sudo rm -rf CHIP-rf
CHIP:
- TX:
- GND > PIN (GND)
- VCC > PIN (5V)
- DATA > PIN (XIO-P1)
- RX:
- VCC > PIN (5V)
- DATA > PIN (XIO-P0)
- GND > PIN (GND)
NOTE: DATA only works on pins XIO-P0 to XIO-P7, AP-EINT1, and AP-EINT3. All the other pins are unable to cause an interrupt.
See scripts (chip-rf_send, chip-rf_receive) which are also shipped as cmdline tools.
Example:
sudo ./chip-rf_receive -g XIO-P0
2017-01-02 18:51:48 - [INFO] chip-rf_receive: Listening for codes on GPIO XIO-P0
- The code is licensed under the BSD Licence
- The project source code is hosted on GitHub
- Please use GitHub issues to submit bugs and report issues