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

    • Big and Small Contest

      Big and Small Contest
    • PCB Contest

      PCB Contest
    • First Time Author

      First Time Author

    2 Discussions

    0
    None
    DiegoP140

    4 months ago

    Hi Guys
    I'm wondering if you could give me a hand with the following issue:
    After running Receive, there is a strange flow of unexpected data, what could it be?:
    2018-07-24 13:18:29 - [INFO] receive: 4 [pulselength 1032, protocol 2]

    2018-07-24 13:18:29 - [INFO] receive: 513 [pulselength 1383, protocol 4]

    2018-07-24 13:18:29 - [INFO] receive: 24 [pulselength 1331, protocol 4]

    2018-07-24 13:18:29 - [INFO] receive: 6152 [pulselength 2024, protocol 4]

    2018-07-24 13:18:29 - [INFO] receive: 128 [pulselength 1363, protocol 2]

    2018-07-24 13:18:30 - [INFO] receive: 512 [pulselength 1234, protocol 2]

    2018-07-24 13:18:30 - [INFO] receive: 128 [pulselength 1754, protocol 4]

    2018-07-24 13:18:30 - [INFO] receive: 32 [pulselength 1216, protocol 4]

    2018-07-24 13:18:30 - [INFO] receive: 8 [pulselength 854, protocol 4]

    2018-07-24 13:18:30 - [INFO] receive: 64 [pulselength 1303, protocol 4]

    2018-07-24 13:18:31 - [INFO] receive: 1184 [pulselength 875, protocol 4]

    2018-07-24 13:18:31 - [INFO] receive: 128 [pulselength 1384, protocol 2]

    2018-07-24 13:18:31 - [INFO] receive: 4104 [pulselength 1417, protocol 2]

    2018-07-24 13:18:31 - [INFO] receive: 80 [pulselength 1172, protocol 4]

    2018-07-24 13:18:32 - [INFO] receive: 8 [pulselength 1491, protocol 4]

    2018-07-24 13:18:32 - [INFO] receive: 516 [pulselength 1416, protocol 4]

    0
    None
    EnricoI

    8 months ago on Step 4

    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?