Hi all,
I have a RF Transmitter with four buttons on it which I would like to be controlled using an Arduino.
I have soldered two wires to each button on the pins that connect up when you press the button, and when you join these wires, the button is "pushed"
However when I put these two wires into pins 22 and 23 of the Arduino Mega they connect up, even thought the pins have all been set to 'LOW' in the sketch during void setup()
If anyone could tell me how I could fix this I would be very thankful
Use a small telecom type relay to short the pins together.
This one is low current enough that a Low IO pin can sink current thru the coil to turn it on.
Put a small diode across the coil (cathode to +5, anode to Arduino pin) to dissipate any coil current generated when the Arduino pin stops sinking current.
Thanks for the help,
I am just wondering if it can be done just using the Arduino pins, as I don't have a diode, can you not just make one of the two pins 'HIGH' to create the link?