Looking to build a small project that will trigger a servo by the press of a button on a FOB. Purchased a FOB and receiver on Amazon. May of been faulty. Failure.
Any recommendations for the hardware? This will be used in a lecture setting, so I will be within 20 ft of the receiver. Hope to trigger by having the FOB in my pocket and just press a button.
Just need something very simple, straight forward and reliable.
I’m a complete newby.
I will say I already have written a sketch using IR, so I understand the basics and know I need a different library for RF. Just stuck on the hardware side right now.
Thanks in advance.
Try out Adafruit's RF keyfobs and matching receivers.
To increase the range, you may need to open the keyfob and add an antenna. About 24 cm of straight wire will work.
This looks great. Since I am a novice, my concern is the output voltage of the receiver. If I connect one of the receiver output pins to the Uno pin 2, am I good? I don’t know what the pin is expecting or can handle.
Actually not sure if I’m even asking the question correctly.
Thank you for the help and direction.
The receiver is intended to be powered by 5V and is directly compatible with 5V Arduinos. Connect the data output pins directly to input pins on the Arduino, and be sure to connect receiver ground and Arduino ground. The receiver can be powered from the 5V Arduino output.
If you push one of the buttons on the keyfob, the corresponding output pin on the receiver goes HIGH (5V). Some are latching (stay HIGH until another button is pressed), others are momentary and go LOW (0V) when the button is released.
Spend some time with the product pages, videos, etc. There might be other tutorials on line.
Thanks. I’ll order a set and play around.