Raspi

In this configuration we either connect our Module which is on a break out board, the Standard Version, to the GPIO pins on the Pi or we attach the HAT Version directly on to the Pi.

                   Standard Version

                     HAT Version

The 3.3v pin must be attached to pin D10 for this configuration only.

How does it work?

You may connect as many Raspberry Pi GPIO pins as you like to pins D2 to pin D9 on our module. You don't have to use all eight.

In the HAT version the following are the GPIO connections to our Module

GPIO Our Module

4 D2

17 D3

27 D4

22 D5

18 D6

23 D7

24 D8

25 D9

Each of the pins D2 to D9 on our Module can be paired to a separate electrical device (RF socket or RF relay). So if say, pin D2 is made to go HIGH (3.3v) it transmits a 433MHz radio signal to the device that is paired with it turning it ON. As long as pin D2 remains HIGH the device it is paired with will stay ON. When pin D2 is made to go LOW our Module sends a signal turning the device OFF.

By connecting the Pi GPIO pins to our Module's pins the Pi can control up to 8 RF devices remotely. It is then possible to control the Raspberry Pi GPIO pins from anywhere in the world using software like the free TeamViewer or VNC.

It's important to note that you can also connect the outputs of any microcontroller or PIC to our Module once the outputs don't go above 5v. Make sure the microcontroller or PIC has a common ground with our Module.

Also note that in this configuration our Module doesn't require a separate power supply. It is powered from the Pi.

PAIRING THE RF SOCKETS OR RELAYS TO PINS D2 TO PIN D9

We'll describe how to pair a RF socket or relay to pin D2 on our Module and it will be the same procedure for pins D3, D4, D5, D6, D7, D8 and D9 if you need to use them all.

You basically need to set the target RF socket or relay in pairing mode by pressing a button on it for a specified period of time and it will usually then start flashing. You then make pin D2 go HIGH by connecting it to the 3.3v pin on the Standard Module or the 5v pin of the LDR on the HAT Version. You keep pin D2 HIGH for a couple of seconds then disconnect it from the HIGH voltage source and you socket or relay will be paired with our Module. 

Now every time pin D2 goes HIGH the socket or relay it is paired with will turn ON and when pin D2 goes LOW it will turn the socket or relay  OFF. You then repeat this process for however many other sockets or relays you want to control with the remaining pin D3 to D9 on our Module.

See a video showing the process here. (It was not directed by Stephen Spielberg!)