Garage Door Control using a Single Push Button
Good day sir I have been trying to replicate the garage door operation with a single push button and remote fob for months now to no avail. the schematic which i have used for inspiration and gotten my direction from has the title: DC MOTOR CONTROL USING SINGLE SWITCH.
In this circuit there is one 4017 decade counter and three 555 timers used.
Could you design such a control circuit with a single push button and a remote fob with a single push button which controls the same circuit, just as how a true garage door operates?
I haven't seen a circuit online which epitomizes the garage door operation, hence my humble request.
Thank you for your time.
The suggested idea under this forum discussions was finally completed successfully by Mr. Mario. Test results can be seen in the video below:
the motor rotates in only one direction and wont be switched with the push button. posted a video on YouTube showing what is happening. it is called Remote gate trial 1.
i dont have a seperate spdt relay handy so i just used 1 of the relays of my dpdt relay as a spdt.
Can you please advise me where i might be going wrong? i cant seem to be getting the relays to work whenever i press the push button. the LEDs wont even light up either.
looking to hearing back from you.
Mario, as I mentioned in my earlier comment under one of the article posts, this circuit will work at any cost, if everything is done as per the given schematic.
Make sure your IC 4017 outputs are sequencing in response to the push button pressing.
Try connecting LEDs in series with pin#7,4,3, and increase the value of the capacitor at pin#15 to 1uF or higher. Check the response now.
Make sure the LeDs sequence up/down in response to the push button toggling.
Also be sure to check your relay contact configuration, slightest mistake can result in abnormal output conditions.
Good day sir,
Doing my best to try and connect the circuitry properly but my aptitude as a novice is surfacing and have moved 2 steps forward and one step back. I included 2 LEDs and they transitioning as follows each time the push button is pushed:
LED 1 on,then off as LED 2 is on
LED2 off as LED 1 is back on
So that portion is clear cut, that means my dpdt and spdt relay wiring is wrong. Ive released the smoke from 2 transistors already and have been working steady for hours now trying to figure out how to wire it correctly.
can i email u to get some insight in what I'm doing incorrectly with what I have wired on my relay board and how it was hooked up to the breadboard?
Hi Mario, that explains it all, your relay connections definitely have serious problems, that's another reason why your BJTs are burning.
You may refer to the following article to get an idea regarding how a relay needs to be wired correctly:
I personally prefer discussing it here so that other visitors can also benefit from our conversation. If you have further doubts please feel free to update them here, I'll make sure to answer them ASAP
thanks for your hasty responses!
The article on relays was quite insightful and proved quite useful as I haven't burnt through anymore transistors today. Still have the LEDs in series with the resistors from the IC4017 and transistors for toggle sequence identification.
i got a new 5 pin spdt relay, when the circuit is energized the relay clicks on and the motor rotates for a fraction of a second then stops. The push button does not have any effect on my relays. Got me thinking that the relay switches to the N/O position when energized which causes the instant de-energization. switched the wire from the common of the dpdt relay contact 1 from the N/C state of the spdt to N/O and the motor stays on in this case without any effect from the push button as well.
still working feverishly to get this right!
Hi Mario, I am glad the relay article helped you.
Now regarding the present circuit, I hope you have connected the diodes across the relay coils, otherwise the transistors will instantly burn due to the relay coil's back emf.
If the LEDs are sequencing correctly to your push button pressing then you can be sure your circuit is working fine.
Here's another possibility which could be making things confusing for you. Remember the 4017 IC has many unused outputs, which we haven't used since we don't need them. Due to spikes from the motor coil, the IC might be getting disturbed and the logic sequence could be jumping out to one of those unused outputs which then becomes unnoticeable, and this sequence could then be bouncing across all the unused pins in response to the push button pressing giving an impression that the IC isn't working...until ofcourse the logic returned back to pin#4 or 7. If your relays are operating correctly without the motor connected, then the cause could be surely the inductive spikes from motor rotation. You can try connecting 0.1uF capacitors from each of the motor leads to its body metal, and see if that helps.
did you connect a diode across the relay coil, otherwise your transistor will blow of at the first attempt and then the motor will never respond.
The LEDs at the bases of the transistor will give you a clear indication regarding the sequencing and the working of the circuit.
Connect capacitor across motor wires and its body to suppress transients and causing interference for the IC.
make sure to have all the parts included in the circuit as given in the diagram
I am happy to report that i got the circuit working. You sir are awesome!
there were 2 things that was incorrect about my set up, namely
1) The transistors were not in the right orientation
2)The used one of the relays from the DPDT relays which i had and seemed not to have wired something correctly. however, i got a spdt relay yesterday and used those.
I posted a video on YouTube titled:
Garage door circuit with limit switches
I'd like to thank you again for the time and help you have afforded me.
I still have a few questions about the current setup
Firstly, the sequence jumps a random amount of steps at times or doesn't respond at times when the push button is pressed. Is there an easy fix for this?
Secondly, I added a 2 magnetic switches to act as lower and higher limits. When the motor is in motion and finally reaches one of the limits, the push button has to be pressed twice to get in motion again. Is there a solution for this that after it hits the upper or lower limit switch and the motor stops, pressing the push button will immediately change the direction?
Thirdly, if there isn't a simple modification to achieve immediate direction change after reaching the upper and lower limit with single push of the button,how would the circuit look to have the motor change direction with only one push button changing directions immediately. That is, just forward, flip direction to reverse with no stops in between when the push button is pressed
Finally, I added a remote control in parallel to the circuit. when the remote button is pressed it toggles on and off, switching between the N/O and N/C state. The issue is that when it changes state that is an extra press of the button exerted that doesn't function to change the direction of the motor. How is it possible to have the remote that each press of the single button changes the motor direction?
Leave a reply