i´ve decided to work on some home automation project with raspberry pi, i want to controll all kind of 433MHz Devices like power plugs.
I´ve got no expirience in working with 433MHz senders or receivers and RPi cabling so i decided to do a simple test setup before i start with the real project. I´ll document the test setup here and later the real automation project.
Test Setup
Simple 433MHz send and receive with the RPi
Hardware:
- RPi Rev. B
- 433MHz Modules FS1000A XY-FST XY-MK-5V
- GPIO Breakout Kit, Breadboard and cables
Wiring:
RPi GPIO PINS (Revision 2):

GPIO and PIN descriptions here
Breadboard setup

Please note that my breakout P0 is PIN 11 on Raspberry and P1 is PIN12
Connect sender Module FS1000A:
ADATA: Pin 11 which is BCM GPIO 17 and WiringPi Pin 0
VCC: +3,3V on my breakout (without Breakout use Pin 1 on RPi)
GND: GND on my breakout (without Breakout use Pin 6 on RPi)
Connect receiver Module XY-MK-5V:
DATA: Pin 12 which is BCM GPIO 18 and WiringPi Pin 1 (Dosnt matter which of the both data pins you use)
VCC: +3,3V on my breakout (without Breakout use Pin 1 on RPi)
GND: GND on my breakout (without Breakout use Pin 6 on RPi)
Software Setup & Test:
0. Logon your rpi with ssh or open terminal
1. First we need "wiringPi" from gordon (needed by the pilight),m run following commands to install
Code: Select all
sudo apt-get install git-core
git clone git://git.drogon.net/wiringPi
cd wiringPi
./build
Code: Select all
sudo apt-get install build-essential dialog cmake git
git clone --depth 5 -b master https://github.com/pilight/pilight.git
cd pilight
chmod +x setup.sh
sudo ./setup.sh
4. After the installation is completed there is a configuration file that configures GPIOs which pilight uses. If you dont used my wiring on wiringPi PIN0 & PIN1 just update this file with your WiringPI PINs
Code: Select all
sudo nano /etc/pilight/hardware.json
Code: Select all
sudo pilight-daemon
Code: Select all
sudo pilight-receive
Code: Select all
sudo pilight-send -p kaku_switch -i 123456 -u 0 -t
Code: Select all
pi@raspberrypi ~/pilight $ sudo pilight-receive
{
"origin": "sender",
"protocol": "arctech_switches",
"code": {
"id": 123456,
"unit": 0,
"state": "on"
},
"repeat": 1,
"uuid": "0000-00-00-8f-2748a1"
}
- pilight wiki and documentation
- wiringPi pin documentation
- The receiver normaly needs 5V to operate over a wide range, for the test setup i used 3,3V because we cant use 5V directly on the GPIOs
Next Steps:
- Control this 433MHz power plugs
- Create a tool that controls the plugs from my 19'' touch screen on my RPi (for details of the touchsee my other post)
Have Fun!