Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

In an optimistic mood I bought this one, it's a wireless transmitter 433.92Mhz

enter image description here

At home I have a set like this that uses 433Mhz to remotely switch devices on and off.

enter image description here

Before the Pi I was programming on the Fez Panda and for that device I have found some code how to control the wireless transmitter. I couldn't find it for the Pi.

Now my question is: is it even possible to control this transmitter via the Pi?

share|improve this question
    
The answer is Yes. The Pi can transmit data using that. The problem is what data? Did you ever get the remote switch to turn on and off using a Fez Panda ? –  ppumkin Feb 19 '13 at 16:56
    
Well, to be honoust, i didn't try it via the Fez Panda, it's now in use in my living room doing measurements. But to answer your question: the sample code (wiki.tinyclr.com/index.php?title=FEZ_RF433) sends a arrayList of integers to a OutputCompare, which is, from the docs: "OutputCompare (OC) is non-blocking digital waveform generator. When you need to generate a digital waveform, you need the state of a pin to change very quickly and this has to be done in real time. " –  Michel Feb 19 '13 at 20:29
    
OK. So what what do you need to send to turn 1 remote switch ON. What command, string, integer array of waveform will turn Switch 1 ON? If you do not know the answer to that then you cannot achieve your goal ever. Remember some of these switches use DES/AES encryption and just seeing the signal will be different each time. But most of the time they are unencrypted. –  ppumkin Feb 19 '13 at 22:56
add comment

1 Answer

up vote 3 down vote accepted

Well I can't make any guarantees but it looks very much like the stuff used in this article .

In my case the transmitter was this one and the receivers were these. (unfortunately all in Swedish) But it seems like many of these devices behave similarly and with minor modifications can be controlled from Pi.

share|improve this answer
    
Please embed links into the text. As an active user you should already know about this. –  ppumkin Feb 19 '13 at 16:55
    
So in short: i first receive the data with a receiver, see what it's like, and the send that same data. The 'Audacity' is new for me, so i'm not sure if i can get that to work to read data from the gpio... –  Michel Feb 19 '13 at 20:31
    
Yes, that's correct. The idea to use audacity as an oscilloscope was new to me also, but was not that hard to get working. –  Kennet Feb 19 '13 at 21:35
    
Eventually i found this code pastebin.com/aRipYrZ6 which worked –  Michel Feb 28 '13 at 8:09
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.