- Connects to the MX-05V RF transmitter.
- Button connected to detect the press.
- Connects to the MX-04V RF receiver.
- Relay controlled by the Arduino.
- VCC to 5V on Arduino A.
- GND to GND on Arduino A.
- Data to any digital pin on Arduino A (let's say D3).
- VCC to 5V on Arduino B.
- GND to GND on Arduino B.
- Data to any digital pin on Arduino B (let's say D2).
- One terminal to GND.
- Other terminal to D4 on Arduino A.
- Signal pin to D5 on Arduino B.
- Make sure the relay is rated to handle the load and voltage of whatever you're switching.