This door controller circuit works in this way: Initially the door is in the closed state. When a push button is pressed, the door begins opening until it reaches the end of the course. When it reaches the end, it automatically reverses its direction and now the door begins closing. It keeps moving until it is fully closed and the whole circuit shuts off.
The circuit was requested by Mr. David.
Here's the specifications of the circuit, as required by Mr. David.
Circuit Objective
I'm searching for a circuit design that can automatically open and close a door with a single button press. Imagine if your garage door opener could begin its opening cycle with a push of a button, and as soon as the door reaches its completely open position, immediately reverse course to close it. To close the door, there would be no need to use a different button.
How the Circuit Works
If you do not want to read the whole description below, you can watch the following video instead:
At the initial resting state, the door is in the closed state. In this state the Limit#1 switch is depressed causing the latch circuit formed by T1 and T2 to remain disabled.
The T1, T2 latch circuit remains turned off simply because, in the closed state the door mechanism keeps Limit#1 switch closed, causing T3 to remain switched ON.
With T3 switched ON, causes the feedback voltage between R3 to R5 to cut off so that the T1, T2 latch cannot work.
In this condition, the Relay#2 remains switched OFF with its contacts resting in the N/C position. Due to this, the supply to the motor via the DPDT relay#1 is cut-off, and the motor cannot operate.
Also, the DPDT relay in this position has its pair of contacts towards the N/C points. The motor is wired to the DPDT relay contacts, such that, the N/C contacts of the relay keeps the motor configured to move towards the opening mode.
However, since relay#2 is at the N/C contacts the motor supply remains cut-off and the entire circuit along with the motor remains deactivated.
T4 is also switched OFF because the limit#2 switch which is at the other end is deactivated, so T4 cannot conduct and it remains shut off.
So, all in all the whole door controller circuit is disabled, but in a standby mode.
Now, if the push button is pressed, it forces T1 and T2 to conduct, but T1, and T2 still cannot latch up, because the door is still pressing the limit#1 switch causing T3 to remain turned ON and keep the R5, R3 feedback disabled.
However, within a second after the push button is pressed, T1, T2 are forced to turn ON causing the relay#2 to activate (contacts to N/O), which allows the motor to start moving.
This instantly releases limit#1 switch, allowing T1, T2 to latch, so that now relay#2 can remain turned ON even if the push button is released.
The motor now keeps moving the door until the door is fully open. At this point limit#2 switch is depressed by the door mechanism.
This turns ON T4 via R8, causing relay#1 to flip to its N/O pair of contacts, which in turn causes the motor to automatically reverse its rotation. The door now starts closing.
However at this point, limit#2 switch is quickly released, which means the T4 could turn off causing the motor to halt abruptly. But this does not happen due to the presence of R8 and C2 which work like a delay OFF timer and holds T4 turned ON until the door has finished closing fully.
Once the door is fully closed, limit#1 switch is pressed turning ON T3, which yet again breaks the latch causing T1, T2 and the relay#2 to shut off. Relay#2 contacts now move towards its N/O points cutting off power to the motor.
The door halts completely, and settles down at its initial closed position, until the push button is pressed again.
However, at this point when the door has just closed, there might be a possibility of T4 still remaining turned ON for a couple of seconds, because of some charge left inside C2.
In this position the DPDT relay contacts are still at its N/O position, which means the motor wires are still configured to be in the closing mode. So in this position the motor will not respond to the push button.
Therefore, once the door has closed, please do not press the push button immediately. Wait for a couple of seconds and then you can press the push button to open the door again, if required.
The LED1 is actually positioned exactly for this indication. As long as LED1 is ON, it shows that T4 and the DPDT relay#1 are still ON, and the motor is not ready for the opening the door in response to the push button pressing.
Also, make sure to dimension the R8, C2 values such that it turns OFF relay#1 after the door is fully closed, maybe a couple of seconds after the door is fully closed, as indicated by LED1.
Circuit Diagram
Parts List
- All resistors are 1/4 watt CFR.
- R1, R9 = 1k
- R3, R8 = 100k
- R2, R4, R5, R6, R7 = 10k
- Capacitors
- C1 = 0.47uF
- C2 = 2200uF / 25V (needs adjustment as explained in the above explanation)
- Semiconductors
- D1, D2, D3 = 1N4007
- T1, T3 = BC547
- T2 = 2N2907
- T4 = TIP122
- LED1 = Red LED 5mm 20 ma.
- Relay#1 = 12V DPDT relay 40 amp contacts.
- Relay#2 = 12V SPDT relay, 40 amp contacts.
- Limit switches can be magnetic reed switches.
- Push button can be any small push button