XY-MK-5V suddenly stops working

arduinoraspberry piRF

I have a situation that just baffles me here…

I bought these cheap XY-MK-5V RF receivers with FS1000A transmitters. I fitted the receiver to an Arduino UNO connected to an 8-channel relay board, ready to go. The transmitter is attached to an Arduino UNO that would be connected to a home automation control system of some sort.

The transmitter has a single-core 17.2 cm insulated wire attached as an antenna. Same goes for the receiver, except that I accidentally pulled of the insulation and now it's just a single-core 17.2 cm "naked" wire. I use RadioHead (successor to VirtualWire) to handle the comms between the RF units.

And suddenly the receiver just stops working. Here's how it went:

  1. Tested Arduino-to-Arduino transmission using VirtualWire, it works.
  2. Tested Arduino-to-Arduino transmission using RadioHead, it works.
  3. Boosted transmitter operating voltage to 12V to increase range, it still works. (I used a XTW-SY-8 unit here)
  4. Modified transmitting Arduino to act as MQTT client (I also added an Ethernet shield at this point), and tested sending messages via MQTT broker installed on my RaspberryPi unit; it still works.
  5. I modified my MQTT broker to be a little bit more secure by adding a username and password, it still works.
  6. I installed OpenHAB on my RaspberryPi, configured some stuff, and got it to send messages via my MQTT broker. It FAILS! Note: The MQTT message topic, format, and content, are exactly the same.
  7. I went back to sending direct messages from MQTT without using OpenHAB, and it still won't work.
  8. I tried reprogramming the receiver Arduino, still won't work.
  9. I tried switching the receiver unit with a new one, and it still won't work.

Has anyone ever experienced the same thing? I'm really baffled here. Both the receiver and transmitter is in my room, about 5 feet apart from each other, if that matters.

I'm really out of ideas, and any help would be much appreciated.

Best Answer

I did what Dave Tweed suggested: retraced my steps back to #1, and it still doesn't work. So I got curious and checked my voltage converter, which turned out to be dead. Replaced the XTW-SY-8 unit and I'm back on track.