I just received this receiver-transmitter module (link) and I am trying to understand how it works.
Currently I am not using arduino. I power both modules via 5V power source.
I attached the 'DATA' signal of tx to pushbutton which is normally LOW (with pulldown resistor).
I connected LED (with 220ohm) to the output of the rx.
And I soldered two antennas to both modules (as demonstrated in this tutorial).
Now, what I expect to see is when I press the button then the led goes HIGH then when I release the led goes LOW.
But infect the led really starts LOW on power-up, then after first press the led goes HIGH and LOW (as expected) BUT THEN suddenly the led goes HIGH and stays HIGH.
Then, when I press again on the button, the led goes low for a moment and then returns to HIGH.
It goes like this for another presses then in some try it goes LOW again and return to normal LOW and keep going like this in an unpredictable way.
Note that when the led is HIGH it stays there even if I disconnect the tx module from the circuit, so I suspect that the rx module I just got is broken.
Sorry for the mess, I hope I made it clear.
Here is a video of my circuit where you can clearly see the problem (link).