Help with Arduino Leonardo, RWS-371 RF Receiver, and 12-Button RF Remote Setup

I am working on a project using an Arduino Leonardo board, an RWS-371 RF receiver, and a 12-button RF remote. I have made all the necessary connections and tried running the ReceiveDemo_Advanced example from the RCswitch library.

Initially, the Serial Monitor successfully displayed the decimal codes of the buttons when pressed a couple of times. However, subsequent attempts have not been successful, and I am no longer able to receive any codes.

Here are the steps I followed:

  1. Connected the RWS-371 RF receiver to the Arduino Leonardo.
  2. Installed the RCswitch library.
  3. Uploaded the ReceiveDemo_Advanced example code to the Arduino.
  4. Opened the Serial Monitor to view the received codes.

Despite following these steps, the Serial Monitor stopped showing the codes after a few successful attempts. I am not sure what went wrong or how to troubleshoot this issue.

Could anyone please help me resolve this problem or provide suggestions on what I might be doing wrong?

Your topic has been moved. Please do not post in "Uncategorized"; see the sticky topics in Uncategorized - Arduino Forum.

Please provide your sketch; not everybody has every library installed so might not know what the example is. Don't forget to use code tags as described in How to get the best out of this forum.
Please provide info where we can find the library.

Schematics might be valuable.

Check the 5 volt from the UNO.
DC characteristics for the circuit specifies minimum 4.9 volt. It's not uncommon that USB 5 volt don't manage that depending on low PC output.

I have also tried using an external power source, but there is no change in the behavior. I am still only occasionally receiving signals.

Did You check the voltage?

Whats the distance between transmittier and receiver?
Very short distance might be overloading the receiver.

I don't have equipment to measure the voltage. I only connected a 5V 1A adapter to the Arduino.

I tried the transmitter remote at various distances.

No more suggestions.

It looks like you've done everything right - especially as you are getting some signals output. Your RF module (whilst it doesn't look like an RWS-371) does appear to be one of the more traditional designs using an R/L/C tuned circuit. I found this type of module often to be slightly off-frequency and have since only used crystal based modules like the SYN480R. You might just be unlucky enough to have a RX module that is slightly off-frequency in one direction and/or a transmitter that's slightly off in the other direction which might make the setup very unreliable. My first action would be be to try another RX module or a different transmitter, but I realise that's no help if you have neither available. (Have you checked the battery in the transmitter too?)

A couple of other things... check all the wired connections between the Arduino and the RX module, I've had a few problems with those Dupont style connectors, make sure they feel solid and aren't loose - maybe unplug and re-plug them all a few times just to "clean" the contacts.

Lastly, if you don't have any alternative RX modules or transmitters, the small black screw in the middle of the green coil enclosure can be used to trim the receiver's frequency. I'm not sure I'd recommend trying this but if you have no other options...

Mark the current position before you change it, then turn the screw VERY slightly in either direction then re-test. If the results are the same try turning the screw a little bit more. If the results get worse, turn it back to the start position you marked and try the other direction. (If you use a metal screwdriver make sure it is well away from the coil before re-testing.)

Hopefully one direction will improve your results. No guarantees though...