As with all good projects, this one has finally worked in the early hours of the morning, so it doesn't have much of a write-up yet...
...but if you're interested in home automation, I've managed to port some Arduino code to control Maplin remote mains switches with a £5 RF transmitter module.
The project is hosted on github https://github.com/dmcg/raspberry-strogonanoff.
Re: Remote mains switching
Did something similar, but used a bitbanging kernel driver (rfbb) to get more accurate timing.
See https://github.com/tandersson/rf-bitbanger for additional details.
What decoder chip is used in the Maplin sockets?
See https://github.com/tandersson/rf-bitbanger for additional details.
What decoder chip is used in the Maplin sockets?
Be nice to your fellow threads!
Re: Remote mains switching
Uf, very nice idea! But more details would make this a superb post. Like how did you connect the transmitor and the range of control, some details and your motivation for doing this project. Please write more 
I've done remote mains controlling via an USB relay, check it out:
http://myraspi.tumblr.com/post/26217760 ... of-concept
This was not done with a RPi, but is all Python driven.

I've done remote mains controlling via an USB relay, check it out:
http://myraspi.tumblr.com/post/26217760 ... of-concept
This was not done with a RPi, but is all Python driven.
Re: Remote mains switching
Great idea for controlling mains. Can you share more information how to connect transmitter to Pi?
Re: Remote mains switching
Now that's a lot more hardcore than my effort - I'll be stealing ideastand wrote:Did something similar, but used a bitbanging kernel driver (rfbb) to get more accurate timing.
See https://github.com/tandersson/rf-bitbanger for additional details.
I don't know - the original source reverse engineered the protocol with an oscilloscope.tand wrote: What decoder chip is used in the Maplin sockets?
Re: Remote mains switching
I'll post some follow up, including the circuit, on github soon. But if you're motivated - there's really only one way to wire the transmitter - it has VCC, GND, ANT and DATA - VCC accepts 3.3V, and so does DATA.
Re: Remote mains switching
I guess the Maplin sockets (http://www.maplin.co.uk/remote-controll ... ack-348217) are the same as mine.tand wrote:Did something similar, but used a bitbanging kernel driver (rfbb) to get more accurate timing.
See https://github.com/tandersson/rf-bitbanger for additional details.
What decoder chip is used in the Maplin sockets?
Look at this ones I have - they are the same, except the socket type:
http://www.conrad.de/ce/de/product/6464 ... ifeld-30-m (Site is German, but just take a look at those pictures)
So if the IC is called SC5262S then it should work with rfbitbanger:
See http://www.raspberrypi.org/phpBB3/viewt ... 58#p133558
Re: Remote mains switching
I've got some Maplin remote-controlled sockets - the decoder is an SC2272 chip. The data sheet at
http://electronics-diy.com/download.php ... 72_eng.pdf
details the data format. The transmitter is an SC2262 - see
http://chipcan.com/en/sc2262.pdf
although the hand-held transmitter doesn't follow the given application circuit (the buttons used actually have three sets of contacts - each one connects several of the IC pins to ground when pressed).
http://electronics-diy.com/download.php ... 72_eng.pdf
details the data format. The transmitter is an SC2262 - see
http://chipcan.com/en/sc2262.pdf
although the hand-held transmitter doesn't follow the given application circuit (the buttons used actually have three sets of contacts - each one connects several of the IC pins to ground when pressed).