Introduction
Python module for sending and receiving 433/315MHz LPD/SRD signals with generic low-cost GPIO RF modules on a Raspberry Pi.
Protocol and base logic ported ported from rc-switch. The libgiod-python library is required to access the GPIO pins. Therefore, the GPIO character device is used instead of the old GPIO sysfs interface.
Supported hardware
Most generic 433/315MHz capable modules (cost: ~2€) connected via GPIO to a Raspberry Pi.
Compatibility
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
Dependencies
libgiod-python (available through most package managers as python3-libgpiod)
Installation
On your Raspberry Pi, install the rpi_rf-gpiod module via pip.
Debian/Ubuntu:
# apt-get install python3-pip python3-libgpiod
Fedora/CentOS:
# dnf install python3-pip python3-libgpiod
With pip installed:
# pip3 install rpi-rf-gpiod
Wiring diagram (example)
Raspberry Pi 1/2(B+):
RPI GPIO HEADER
____________
| ____|__
| | | |
| 01| . x |02
| | . x__|________ RX
| | . x__|______ | ________
| | . . | | | | |
TX | ____|__x . | | |__|VCC |
_______ | | __|__x . | | | |
| | | | | | x____|______|____|DATA |
| GND|____|__| | | . . | | | |
| | | | | . . | | |DATA |
| VCC|____| | | . . | | | |
| | | | . . | |____|GND |
| DATA|_________| | . . | |________|
|_______| | . . |
| . . |
| . . |
| . . |
| . . |
| . . |
| . . |
39| . . |40
|_______|
TX:
GND > PIN 09 (GND)
VCC > PIN 02 (5V)
DATA > PIN 11 (GPIO17)
RX:
VCC > PIN 04 (5V)
DATA > PIN 13 (GPIO27)
GND > PIN 06 (GND)
Usage
See scripts (rpi-rf_send, rpi-rf_receive) which are also shipped as cmdline tools.
Open Source
The code is licensed under the BSD Licence
The project is forked from the GPIO sysfs interface implementation of milaq
The project source code is hosted on GitHub
Please use GitHub issues to submit bugs and report issues
Metadata
Release files for rpi-rf-gpiod 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| rpi-rf-gpiod-0.1.0.tar.gz | 5.7 kB | Without provenance | Details |
Release files / rpi-rf-gpiod-0.1.0.tar.gz
| Download URL | rpi-rf-gpiod-0.1.0.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b772dced068715de67fc25b425f0ced8e6cc093347d16692cf6a9ae2dd92c4ee
|
|
BLAKE2b-256 checksum How to use checksums |
8e5951c9b94a4d0285e504d619fb974db2b005c4cab11ebe2b92399d50da0c77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for rpi-rf-gpiod 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.