I am planning a project using an Arduino Nano and Neopixel Light strip. I would like to be able turn it off/on with a mini RF Wireless Switch like this one: https://a.co/d/cvHqkc3
I would appreciate any advice, wiring help and programming that may need to be done.
Split the projects into 2 parts. One is controller running the Neopixel.
The other part is communicating using RF.
When You master both You can start building the final code.
Use Google for those two parts. Lots have been done on that area already.
Watch out for the power needed.
The very first thing to do and does NOT relate to the Arduino is to teach the receiver to respond to each of the key fobs. Did you get the instructions on how to do that? If not get them from the seller.
Then the output of the receiver part is a RELAY. Write code identical to that for a push button switch and you are ready to go! Connect the common of the relay to the Arduino ground. connect the NO connection to the Arduino pin of your choice. Code that pin as input pullup. The pin will be high normally and low when you press the fob button.
I'm sorry, I'm just not all that profecient in this. Still trying to learn. Ultimately I want to turn off and on a Light Strip with the remote. I watched many videos on how to wire the WS2812B Light strip and program it. I'm just not clear where to put the remote relay in the circuit.
If we had seen your picture before this, that would have saved a lot of back and forth question and answer exchanges.
Your device does not have a relay output. It has a MOSFET transistor. Just use a relay of your choice to replace the LED Light in the drawing. The relay coil must match the voltage you are using to power the board.
Can I just add the WS2812B Light strip (+/-) in that part (the part with the LED Light in the drawing?) of the circuit without necessarily tying the Receiver to the Nano?
Yes, but only if the Arduino ground and the wireless switch ground are connected. Can't tell from the pictures, but a separate direct wire from the Arduino to the LED device would not hurt.
In order for the wire with the 330 Ohm resistor to do anything, it needs a COMPLETED circuit. You do that by connecting the Arduino ground to the ws2812B LED device. The ground from the RF switch may or may NOT be connected to the Arduino ground. The wire will ensure the ground connection is really there.
@Paul_KD7HB are you sure that the grey wire is at ground?
I am thinking of what the MOSFET switch circuit might consist in, w/o a schematic or at least some ohmmeter probing I'd hold off on testing.
I have a few control boards with (+) and (-) labeled through-holes; it is Vcc on these that is brought out on (+) and the switch effect is to ground (-).