I'm trying to decode a remote switch with the RCSwitch Lib. As a receiver I'm using an MX-05V on pin 2 of my Uno, but didn't get any serial response.
To try if the MX-05V is brocken, I wired the data pin to an analog pin A0 and read and printed them the serial. I got a wired response with values from 0 to 765 even without pressing on the remote switch. I use the following code for that.
unsigned int data = 0; // variable used to store received data
void setup(){
Serial.begin(9600);
}
void loop(){
data=analogRead(A0); //listen for data on Analog pin 0
Serial.println(data);
}
They are cheap receiver modules and tend to put out random data unless it picks up a signal so it's probably not broken.
What remote switch are you trying to decode as RCSwitch might not work with your remote.
Unfortunately I didn't get any of the sketches from the HomeEasy playground working. So I starte to low level read the the data from RF433. I found the pattern and was able to isolate them.