I have been trying to decode a 433MHz remote using the RC-Switch library. I have been able to receive and generate a wave, however I am having difficulty creating a protocol/decoding the wave. To make sure all my hardware works, I successfully decoded wall plug in that has a remote that simply turns the plug in on or off.
I have attached an image of what the wave generated looks like. The thing that is really puzzling me is the two abnormally sized waves on the far left. Any help whats going on here or how to decode the remote/create protocol, would be great.! Pool remote decoded|690x137
His process makes sense, unfortunately I need to essentially replicate the wave from, which he doesn't exactly touch on. I am looking to get rid of the remote and control using arduino w transmitter. It is starting to seem RC-Switch may not be useful for my remote.
The Audacity trace allows you to deduce the signal timing, and to reproduce it.
From the Audacity trace, you can certainly determine whether the remote uses the basic RC-Switch protocol, or not. Keep in mind that there are many RC-Switch protocol variants. They differ in the bit and sync pulse timing.
Once you have determined the timing, you can add that protocol to the RC-Switch library code.
If it is not RC-Switch, you have to write your own encoder.
Right, I have gotten the timing both from a scope and from the add_new_remote in the wiki of rc-switch. The issue I'm having with designing the protocol is that there isn't 2 specific patterns, ie. (1 pulse lengths low, 2 pulse lengths high for a 0 and 2 pulse lengths low, 1 pulse lengths high for a 1). I found a different remote that took me about 10 minutes to decode and control with the arduino and transmitter, so I can confirm my hardware is working.
Can you not see a pattern there? Keep in mind, the receiver may convey some edges a little inaccurately... that would give you bits, but the protocol is probably proprietary, so good luck with that.