Python script for sending 433MHz signals with generic low-cost GPIO RF modules on a Raspberry Pi.
I first sniffed remote controler signal with gqrx with my rtl-sdr USB key (820T2) tuned around 433MHz.
Once the acquisition were right, I retroengineered the protocol with audacity which happened to be a simple on-off keying modulated signal.
Lastly, I implemented this into a python script using my Raspberry Pi 1 GPIOs.
Most generic 433MHz capable modules connected via GPIO to a Raspberry Pi.
This is compatible with my garage barrier.
RPi.GPIO
On your Raspberry Pi, clone this repository.
Raspberry Pi 1/2(B+):
RPI GPIO HEADER
____|__
| | |
01| . x |02
| . . |
| . . |
| . . |
TX | ____
_______ | | __
| | | | | . . |
GND__| | | . . |
| | | | . . |
VCC | | . . |
| | | . . |
DATA | . . |
- | . . |
. . |
. . |
. . |
. . |
. . |
. . |39| . . _______|
- TX module:
GND > PIN 09 (GND) VCC > PIN 02 (5V)
DATA > PIN 11 (GPIO17)
Once you entered the right code and configured the script, you can open the barrier by running:
# python3 TX.py open_code
- The code is licensed under the GPLv3 Licence