I'm very new to coding and using the Arduino Uno. I purchased the Keyfob 4-Button RF remote Control - 315 MHz along with the Simple RF M4 Receiver - 315 MHz Momentary Type from Adafruit.
I am planning on controlling a push pull solenoid with the key fob. With each button doing of the key fob doing something different (ie. button A causes the solenoid to push, Button B causes the solenoid to Pull, etc.).
I have searched for about 2 weeks now on how to write a code to use the Keyfob and receiver, as well as how to write a code so the buttons do different actions. This is the only thing I have found that is using the keyfob and receiver: Source Code | Making Adabot: Part 2 | Adafruit Learning System however I am still confused on what commands to use to use the buttons to control the push pull solenoid, and what commands to use to make all 4 buttons do something different. Could anyone help me out with what commands to use?
mill510:
I'm very new to coding and using the Arduino Uno. I purchased the Keyfob 4-Button RF remote Control - 315 MHz along with the Simple RF M4 Receiver - 315 MHz Momentary Type from Adafruit.
I am planning on controlling a push pull solenoid with the key fob. With each button doing of the key fob doing something different (ie. button A causes the solenoid to push, Button B causes the solenoid to Pull, etc.).
I have searched for about 2 weeks now on how to write a code to use the Keyfob and receiver, as well as how to write a code so the buttons do different actions. This is the only thing I have found that is using the keyfob and receiver: Source Code | Making Adabot: Part 2 | Adafruit Learning System however I am still confused on what commands to use to use the buttons to control the push pull solenoid, and what commands to use to make all 4 buttons do something different. Could anyone help me out with what commands to use?
Welcome to the Arduino forum.
That is quite a project for someone new to coding and new to the Arduino. Are you also new to anything electronic, as well?
At this point, forget about commands, etc. and concentrate on getting the receiver to work with the Arduino and proving that you can detect when the FOB sends anything.
As a hint, the FOB will send a different code for each push button and will continue to send that code as long as that button is pressed. But first things first, get the receiver working!
Good luck,
Paul