Garage and Gate Opener

Hi All,

Im a newbie to arduino in general but get the basics. I would like to create a connection between my arduino Uno and a 4 button remote control that i have. (See attached Photo) I have confirmed which pins trip each button. My thoughts are the top right hand pin of each button would be connected to an output and the bottom right hand to GND. What is everyone's thoughts on this and any thoughts on what th programming would look like?

My aim is to connect this remote via the Arduino to my OpenHab server.

Thanks in advance
George

When you post an image in a PDF file it is not possible to have it display on the Forum. Post the image as a JPG or PNG file and see this Image Guide

...R

Apologies didnt realise that wouldn't work when resizing the pic. i have uploaded it in PNG format now.

The next step is to measure the voltage on the switch pin to the board ground. And determine if the switches connect the control line to ground or to 5 volts.

Paul

Image from Original Post so we don't have to download it. See this Image Guide

...R

Sorry for the delayed response i had to get my hands on a multimeter. The reading i recieve from the remote is 6.1V. THe remote uses 2 x 3v batteries

Paul_KD7HB:
The next step is to measure the voltage on the switch pin to the board ground. And determine if the switches connect the control line to ground or to 5 volts.

Paul

Been so long, I forgot the question.

And the switches do what according to your meter?

Paul

I am trying to work out how i can connect the four button remote to the arduino and allow the arduino to control the remote. Once this is accomplished i will connect the arduino to my openhab system.

Sorry in reference to what the switches do, i am newbie to electronics so the only reading i got from my multi was the 6.1v. Should i be looking for something else?

Thanks for your patience, i appreciate this is probably basic stuff for you.

You now have to figure out whether those switches connect the controller's input to the +6V or the GND (0V).

So hold positive pin of your multimeter to one side of the switch, the negative to the battery - side.
Then press the switch.
If nothing happens, take the other side of the switch and the battery -.
Press the switch.
One of the two should give you a response: you should see the voltage go up or down, one of the two. That's the response you're going to simulate with the Arduino. How - that's going to depend on the response you see.

Thanks for the response.

So following your instructions the top right hand pin provides a response when pressed and returns to zero each time.

DOes this mean i am to connect this pin to the 5v arduino output and the other to the ground?

I like the current status of my gate very much in OpenHAB.
May reconsider to place an esp8266 at the gate, and sense the state. You could then also just interface the motor directly, there is usually a connection for a switch.

Why not use the receiver that comes with the FOB? Or if you haven't got it, you can buy tx/rx four button fob systems very cheaply.

Allan

AutoMan:
So following your instructions the top right hand pin provides a response when pressed and returns to zero each time.

What response do you get when pressed? One side going high (to what level?) or one side going low (to zero)? the other side of the button normally stays at the same level (either a high or low voltage) when pressed.

Alternative - buy some tact switches ( 100 for a quid last time I looked) and use 4 of them connected to digital inputs of an arduino.........

Allan

wvmarle:
What response do you get when pressed? One side going high (to what level?) or one side going low (to zero)? the other side of the button normally stays at the same level (either a high or low voltage) when pressed.

When pressed one side displays a reading of ~50 whilst the other pin displays a reading of ~4 when pressed. Just to confirm i have removed the batteries when completing this test.

allanhurst:
Alternative - buy some tact switches ( 100 for a quid last time I looked) and use 4 of them connected to digital inputs of an arduino.........

Allan

Thanks Allan. Again a simple question but the idea is to have the arduino replicate the button press without the button press occurring physically. The Tact Switches are button switches are they not?

Sorry - misunderstood.

In which case some analog switches eg a 4066 would work fine.

Allan

50 and 4 of what unit?

Why remove the battery when looking for a signal? It's the battery that gives the signal you're looking for!

wvmarle:
50 and 4 of what unit?

Why remove the battery when looking for a signal? It's the battery that gives the signal you're looking for!

OK rookie error.. :slight_smile:

So i have attached the battery and put the multi meter into Voltage measuring mode...

When i attached the negative (Black COM) and the red to the pins (all 4 pins) i receive a voltage reading of ~2.9V... Is this right?

When in continuity mode there is a closed loop when the top right and bottom left are connected..

You have to be more explicit in your description: where is one and where is the other lead of your multimeter connected?

What four pins? (four buttons makes for eight pins: one on either side of the button, plus the battery poles themselves).

Button pressed or not pressed?