Hello all,
I'm struggling here with an DIY project where I use single button in my car to open 2 different garage doors.
I already have an additional remote for that purpose.
So, I have 1 button in my car that I never use. And I'm thinking of using it as hidden garage door opener.
The problem is I have two garage gates to open. (inside and outside of the apartment)
And it is not possible to set those garages to use single frequency.
So my solution is to have some kinds of flip-flop circuit where it will simulate button 1 and after a few seconds will simulate button 2 of the remote.
There is no problem if it click on button 1 or 2 more than once, because each button is only programmed to open. The close command is not available, as garage door will close automatically.
So far I found a Latching Relay flip flop:
And also Flip Flop Dual LED Flasher circuit (using transistors):
Final note, the circuit will be powered by the remote control battery (3v) and the circuit will be only active when button on my car is pressed.
I will appreciate any guidance.
Thank you
And of course another challenge for this is to maintain costs low, as simple circuit as possible and as low energy consumption.
So you want to make one button activate both garage open commands in sequence?
In discrete logic I'd use a clock generator (1Hz?) and a 2 bit counter at least. Count 3 stops the generator, the button resets the counter. In state 0 the first button is "pressed", state 1 is a pause, state 2 presses the other button, until the counting stops again at state 3.
A shift register could be used as well, provided that only 1 bit is set when the button is pressed. Then this bit activates the buttons when reaching output 1 and 3.
That is exactly what I'm trying to do.
I do not have any experience with clocks and bit registers (although I have studying them in university). Can you please point me towards some links?
Thank you.
I think you are overthinking this. DrDiettrich definitely is.
How are you "simulating" the 2-button remote? Do you mean to connect a relay to the button contacts?
If so, then it's pretty simple for Arduino.
Close button 1 for 50ms, open button 1, delay 1 second, close button 2 for 50ms, open button 2.
It's possible that you can close the buttons with a transistor if they share a common ground.
SteveMann:
I think you are overthinking this. DrDiettrich definitely is.
How are you "simulating" the 2-button remote? Do you mean to connect a relay to the button contacts?
If so, then it's pretty simple for Arduino.
Close button 1 for 50ms, open button 1, delay 1 second, close button 2 for 50ms, open button 2.
It's possible that you can close the buttons with a transistor if they share a common ground.
Arduino is a good solution. But it seems little bit overkill for this case. Also, it should be as small as possible.
And since the power supply I'm thinking of being 3V remote control battery it will not work very well with arduino.
Two buttons indeed share the same ground.
It's a perfect job for an ATtiny. Small package, few pins, operating from 1.8V to 5.5V as any AVR controller. Discrete logic will be composed of many more parts.