Skip to content
forked from milaq/rpi-rf

Sending and receiving 315MHz/433MHz signals with cheap GPIO RF modules on a CHIP computer from NTC

License

Notifications You must be signed in to change notification settings

nunojusto/CHIP-rf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHIP-rf

Introduction

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.

Supported hardware

Most generic 433/315MHz capable modules (cost: ~2€) connected via GPIO to a CHIP computer.

433modules

Compatibility

Generic RF outlets and most 433/315MHz switches (cost: ~15€/3pcs).

rfoutlet

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

Dependencies

CHIP_IO.GPIO

you can find information here CHIP_IO

Installation

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

Wiring diagram (example)

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.

Usage

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

Open Source

About

Sending and receiving 315MHz/433MHz signals with cheap GPIO RF modules on a CHIP computer from NTC

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%