RF 433 MHZ (Raspberry Pi)

Published

Introduction: RF 433 MHZ (Raspberry Pi)

About: the Raspberry Pi is Awesome!

Basic tutorial of how to setup a generic 433 MHZ transmitter/reciever with the Raspberry Pi.

Step 1: Parts

PARTS:

RPI 3 – https://goo.gl/CdVNoH

4 Amp Power Adapter – https://goo.gl/js4Uc7

16GB Micro SD – https://goo.gl/FDqZal

120 pcs jumper cable: https://goo.gl/spWoaC

433 MHZ TX/RX kit: https://goo.gl/jxFhWc

RF Outlet Set: https://goo.gl/PL4ryu

Step 2: Setup

rpi-rf: https://pypi.python.org/pypi/rpi-rf

SSH into Raspberry Pi

1. "sudo apt-get install python3-pip"

2. "sudo pip3 install rpi-rf"

Step 3: Code

*Note use python3

1. Run recieve.py and note code, pulselength, protocol

2. Run send.py with code, pulselength, and protocol arguments

Step 4: Additional Info

Share

    Recommendations

    • Creative Misuse Contest

      Creative Misuse Contest
    • Clocks Contest

      Clocks Contest
    • Water Contest

      Water Contest

    Discussions

    I have a problem:
    `$ python3 rpi-rf_send -g 17 -t 3 -p 101 15194300` so:

    `2018-04-01 14:31:47 - [INFO] rpi-rf_send: 15194300 [protocol: 3, pulselength: 101]` is the code I'm sending, BUT, this is what I receive:

    `2018-04-01 14:31:47 - [INFO] rpi-rf_receive: 15063220 [pulselength 521, protocol 5]`


    Playing around with pulselength I realised that any `pulselength < 140` with basically make me receive close-to-random stuff. If I use `pulselength > 140` things are fine............but I need to send `pulselength == 101`......do you have any hints on what could be wrong here?