RF 315 MHz Modules + E27 Wireless Sockets

Hi all,

First post ever, but after struggling with my RF modules for far too long, I decided it was time to ask the smart people on the Arduino forums instead of letting my brains fry for far too long again. :slight_smile: I have two wireless power (socket) switches from the brand 'elro', it's pretty much the same as this:

Ebay wireless power switch (socket)

The remote works on 433 MHz and I have used the RCswitch library to 'hack' the remote. With the RCreceive example I was able to get all the codes I needed and by rewriting RCsend example I could use the power sockets in my project however I wanted it to. Because I found this really awesome, I also wanted to switch my lights on and off in regular lamps that use light bulbs. Therefore I bought this:

Ebay wireless power switch (light bulb)

The description said it worked on 315 MHz, so I also bought a new set of wireless 315 MHz modules; exactly these ones:

Ebay 315 MHz wireless modules

BUT - of course there is a but... - it didn't work. I hooked it up the right way, because I was able to let two Arduinos communicate with each other. One said "hello sir" while the other one said "I received your message old chap!" (i.e. send an integer (3000) on one Arduino, looked on the other one if the integer (3000) was received, both using the Serial Monitor).

So here are my questions:

Do you guys think the modules are wrong? Because I personally don't think so. The crystal on the send module says 315 and I tried a lot of different combinations between send and receive. One thing I found odd though, is that the back of the receiving module of both the 315 and 433 MHz says 315, 330 and 433 (see picture). So I figured that it should work on all those frequencies but that is not the case, it only works on the predetermined frequencies.

Or do you think the manufacturer is wrong and that the 315 MHz is actually not 315 MHz?

Or do you think the RCswitch library is not reading out the 'code' of the remote? If so, does anyone knows some other library or code I can use to see if anything at all is coming trough?

Or do you guys think I did something wrong somewhere? 433 MHz works properly (also with the remote), when replaced by 315, they can communicate between each other but the receiving module doesn't 'see' the remote. I used an Arduino Uno for receiving (pin 2) and an Arduino Mega for sending (pin 10).

Hope that anyone has some suggestions or that anyone has had the same problem but was able to solve it!

Cheers

The RCswitch code relies on the device being read having a SC2262 or one of its equivalent clones.
These devices are commonly used in things like remote power points, but not all use them.
If the remote lights dont work, then the best thing to do is pull apart the remote or its transmitter and try and identify the ICs inside.
If you cant do this, then it gets harder, as reverse engineering the data protocol will be needed.
This requires a CRO or some way of displaying the data format so you can identify the timing and the data format.