Skip to main content

Introduction

Python module for sending and receiving 433MHz LPD/SRD signals with generic low-cost GPIO RF modules on a Raspberry Pi.

Protocol and base logic ported ported from rc-switch.

Supported hardware

All generic 433MHz capable modules (cost: ~2€) connected via GPIO to a Raspberry Pi.

433modules

Compatibility

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

rfoutlet

Full list compatible devices and chips see the rc-switch Wiki

Dependencies

RPi.GPIO

Installation

On your Raspberry Pi, install the rpi_rf module via pip.

Python 3:

# apt-get install python3-pip
# pip3 install rpi-rf

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 examples (send.py, receive.py).

Open Source

Metadata

Release files for rpi-rf 0.9.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rpi-rf 0.9.5
File Size Uploaded
rpi-rf-0.9.5.tar.gz 4.5 kB Details

Release files / rpi-rf-0.9.5.tar.gz

Download URL rpi-rf-0.9.5.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9cca01e60c24bc853119a4ae331d7e55bb7ba131fca09fb3ca2b354bb4825804
BLAKE2b-256 checksum
How to use checksums
d5ca79204b2524850939cfaf9e31894757d95a4656a6e39f2597f204507eaebe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.9.7

1 release file

0.9.6

1 release file

This release

0.9.5 This release

1 release file

0.9.4

1 release file

0.9.3

1 release file

0.9.2

1 release file

0.9.1

1 release file

0.9.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page