• Stars
    star
    494
  • Rank 88,497 (Top 2 %)
  • Language
    Python
  • License
    BSD 3-Clause "New...
  • Created over 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Sending and receiving 433MHz signals with cheap GPIO RF modules on a Raspberry Pi

rpi-rf

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.

Supported hardware

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

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

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 scripts (rpi-rf_send, rpi-rf_receive) which are also shipped as cmdline tools.

Open Source

More Repositories

1

XMousePasteBlock

Userspace tool to disable middle mouse button paste in Xorg
C
369
star
2

YCast

Self hosted vTuner internet radio service emulation
Python
240
star
3

libstrangle

Frame rate limiter for Linux/OpenGL
C
89
star
4

steamlink_VirtualHereFreeInstaller

Custom native Steam Link application to install the free edition of VirtualHere
C
50
star
5

kodi-headless

A headless, dockerized Kodi instance for a shared MySQL database
Shell
48
star
6

graph89

A fork of Graph89 with UI and UX tweaks and fixes for modern Android versions. Graph89 is an emulator targeting the Android platform for TI89, TI89T, TI92, TI92+, V200, TI84+, TI84+SE, TI83, TI83+ and TI83+SE calculators.
C
33
star
7

kodi_addon_blackbarsremover

Kodi addon to automatically fit the video to screen, removing all black bars
Python
10
star
8

ouya_bootmenu

bootmenu for ouya. utilises kexec to boot images from system and datamedia.
C
10
star
9

android_device_lge_p940

LG P940/Prada 3.0 device tree
C
9
star
10

openwrt_knockd

up-to-date knockd for OpenWrt/LEDE
Makefile
8
star
11

android_kernel_lge_p940

LG P940/Prada 3.0 kernel repository
C
4
star
12

openwrt_wireguard-watchdog

Shell
3
star
13

openOBD

C++
3
star
14

scantool.net

C
2
star
15

android_packages_providers_ApplicationsProvider

Java
2
star
16

firefox_proton_inhibitor

Tweaks to remove Mozilla's fuckups from Firefox to make it usable again
JavaScript
2
star
17

arma3_timemarkers

Arma 3 mod/script for appending timstamps to user placed map markers
SQF
2
star
18

android_vendor_lge_p940

LG P940/Prada 3.0 vendor blobs
Perl
1
star
19

cm4mm-updater-manifest

CM4MM Updater update-site
1
star
20

compat-drivers-3.9-rc4-2

C
1
star
21

osmonitor-ng

A fork of the excellent OSMonitor by eolwral
Java
1
star
22

android_vendor_boxer8_ouya

Ouya vendor repo
Shell
1
star
23

oculus_nano_runtime

Oculus Runtime w/o bloat
NSIS
1
star
24

android_vendor_samsung_maguro

1
star
25

android_toolchains

external android toolchains
C
1
star
26

android_kernel_htc_kovsky

Sony Ericsson Xperia X1 kernel repository
C
1
star
27

android_packages_providers_UserDictionaryProvider

Java
1
star
28

kodi_repository_milaq

milaq's Kodi repository for addons
Shell
1
star
29

android_external_wpa_supplicant_6_compat

C
1
star
30

CSipSimple

CSipSimple is an open-source native SIP client for Android
Java
1
star
31

cm4mm-updater

CM4MM Updater core project
Java
1
star
32

mcabber_loudmouth

loudmouth for mcabber with support for building under cygwin
C
1
star
33

culfw

Firmware for the CUL family of devices
C
1
star
34

maverick_et-733_rf

Forked from https://www.grillsportverein.de/forum/threads/wlan-maverick-bbq-thermometer-raspberry-pi-edition.232283/
C
1
star