Arduino Nano: Connect a Mini RF Wireless Switch

Which is why I wrote the code you could test the thing with…

here is a simple sketch to just turn on the first LED Red.

You aren't thinking that your sketch shoukd be controlling an LED on the strip, I hope. Because it isn't, no way.

What it does do is print forever 0 or 1 depending on the rf signal received. So you have to watch the serial monitor for the results of this experiment.

So, you have it wired correctly, and so forth.

And by "doing nothing" I am sure you just mean "keeps printing the same number, no matter I press the button".

Unless you have the baud rate in the serial monitor set incorrectly.

If still no joy,

can you try using the rf switch as it is intended, that is without the Arduino at all, just controlling something, or do you already know the thing works at all, never mind when hooked up the way you have it?

Use the manufacturer's circuit in #28 above. You can use any voltage as stated, and an appropriate light bulb that will take that voltage, or an LED with a series limiting resistor, probably easiest.

If you use 5 volts, an LED and 1K revistor, and make sure you've not got the LED wired backwards, you should be able to turn that LED on and off… remotely.

After that I got nothin' except coming over to your house and making trouble in person. :wink:

a7