Hi all. I'm trying to clone a remote of garage door using arduino with 433MHz transceiver and receiver. All fine, but i can`t get raw code using the rc-switch (just no output), however rfcontrol showed me only this:
Looking at the RFControl library and it has a couple of routines to transmit the received code you show above.
If you connect a transmitter module to a suitable Arduino pin and after a successful capture of the RF code you try transmitting it, does it work? If RFControl cannot capture the code correctly then you need to find another way to do so. If it does work then putting the captured numbers into an array and sending them should be easy.
Riva:
If you connect a transmitter module to a suitable Arduino pin and after a successful capture of the RF code you try transmitting it, does it work?
Thank you very much for your response. I have`t tried this, cos I do not know how to do it. Please can you show sketch for example?
TomSam:
Thank you very much for your response. I have`t tried this, cos I do not know how to do it. Please can you show sketch for example?
Once you have read the RF signal an got the number sequence you posted in #1 you then use the procedure (substituting the correct variable names) to send out the signal to a transmitter.
As mauried says this will only work if the transmitter is not using a rolling code.
sendByTimings(int transmitterPin, unsigned int *timings, unsigned int timings_size, unsigned int repeats = 3);
If the remote uses rolling code receiver, is possible to save the transmission from the remote to the receiver (if the garage door did not receive them) and use in the future?
Two approaches are suggested in the linked methods.
If you know the jamming signal, you can subtract it directly from the received sum signal (an arbitrary multiplicative constant would have to be determined). Waves obey the superposition principle, which means that they add and subtract linearly.
The jamming signal is created on a slightly different frequency than the keyfob transmitter. The door lock receiver is cheap, and consequently too wide band to discriminate the two, so fails to decode the signal. However, you can use a narrow band notch filter to remove the jamming signal, leaving only the original keyfob signal.