Go Down

Topic: Can't decode a 433MHZ RC (Read 398 times) previous topic - next topic

Nayyar

Jan 02, 2019, 10:21 pm Last Edit: Jan 02, 2019, 10:24 pm by Nayyar
Hello, first of all I would like to thank every one in this forum for trying hard to help us by answering our questions to make us learn more and more, so thank you all so much.

I have a problem in decoding signals of remote control of Automatically door-lock.
Before I bought this product, I've asked the seller about the frequency of the RC, and his answer was 433MHZ, but I am not sure if it really is.


I found another website that wrote some description about this product as below.
** Accept frequency: 433MHz (+ - 500KHz)



When I tried to decode the signals by using Arduino, nothing as output was showing up.
The code I use is working fine because I've tried RC of another products and I could decode it.

So what I am thinking about is either the RC frequency is not 433MHZ, or the code can't handle with this RC.

So my question is, is there a way to know the frequency of the RC without buying frequency reader?
Here is a picture of the RC from inside.




This is the code I use to decode.
Code: [Select]
#include <RCSwitch.h>

RCSwitch mySwitch = RCSwitch();

void setup() {
  Serial.begin(9600);
  mySwitch.enableReceive(0);  // Receiver on interrupt 0 => that is pin #2
}

void loop() {
  if (mySwitch.available()) {
    output(mySwitch.getReceivedValue(), mySwitch.getReceivedBitlength(), mySwitch.getReceivedDelay(), mySwitch.getReceivedRawdata(),mySwitch.getReceivedProtocol());
    mySwitch.resetAvailable();
  }
}



Any help.

jremington

#1
Jan 03, 2019, 01:34 am Last Edit: Jan 03, 2019, 01:35 am by jremington
The RCSwitch library can decode only a very few remotes.

A door lock is likely to use a completely different, encrypted transmission protocol, so that thieves can't imitate it and break into buildings.

But you can try to determine the protocol by following the approach in this tutorial.

Go Up