Decode Custom RF ASK Signal with Arduino & RadioHead Answered
I have a remote that sends out a preamble, a pause and then a long code where a 0 is encoded as 100 and 1 is encoded as 110. I used an RTL-SDR to decoded the aforementioned ASK signal. I know the code is correct because I can simulate the signal using an Arduino and FS1000A. I simply connected the FS1000A's data pin to a digital pin and then I send out the signal.
What I want to do is actually receiving the signal on the Arduino, i.e. which button was pressed on which remote (there are multiple remotes). For that I am using an XY-MK-5V and the Radiohead library. I used the RH_ASK driver sample code. However, it doesn't receive anything at all, meaning nothing is printed to the serial monitor.
I think there are a couple of issues, i.e. it seem the Radiohead library expects a different preamble then what my remote sends and it also expects a checksum which my remote also doesn't seem to send. I haven't found a way to configure Radiohead so it can deal with my remote code. Is such a configuration possible. If not, what are the alternatives?