<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Misbehaving garage door opener/closer - Help Wanted				            </title>
            <link>https://forum.dronebotworkshop.com/help-wanted/misbehaving-garage-door-opener-closer/</link>
            <description>Discussion board for Robotics, Arduino, Raspberry Pi and other DIY electronics and modules. Join us today!</description>
            <language>en-US</language>
            <lastBuildDate>Thu, 11 Jun 2026 19:32:49 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Misbehaving garage door opener/closer</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/misbehaving-garage-door-opener-closer/#post-48663</link>
                        <pubDate>Wed, 07 Aug 2024 13:41:53 +0000</pubDate>
                        <description><![CDATA[Long story short: I want my garage to close automatically when I drive away. This was working before, but now it&#039;s not. The previous circuit might have been functioning despite being incorre...]]></description>
                        <content:encoded><![CDATA[<p class="whitespace-pre-wrap break-words">Long story short: I want my garage to close automatically when I drive away. This was working before, but now it's not. The previous circuit might have been functioning despite being incorrectly designed. I have limited knowledge about circuits and I'm learning as I go through this project.</p>
<p class="whitespace-pre-wrap break-words">I apologize if this post isn't well-structured. I've spent the entire day working on this and now have a bad headache and a lot of built-up frustration. A schematic will be provided below.</p>
<p class="whitespace-pre-wrap break-words">My garage door motor setup:</p>
<ul class="-mt-1 list-disc space-y-2 pl-8">
<li class="whitespace-normal break-words">Two wires connect to a normally open switch</li>
<li class="whitespace-normal break-words">24 volts potential difference across the open switch</li>
<li class="whitespace-normal break-words">Voltage drops to 0 when the switch closes, triggering the garage door</li>
<li class="whitespace-normal break-words">A Meross garage door opener is connected to the same terminals</li>
<li class="whitespace-normal break-words">It's also normally open (non-conductive, as I've learned)</li>
<li class="whitespace-normal break-words">This works fine alongside the switch, as neither allows current flow unless triggered</li>
</ul>
<p class="whitespace-pre-wrap break-words">My Arduino setup:</p>
<ul class="-mt-1 list-disc space-y-2 pl-8">
<li class="whitespace-normal break-words">Connected to several sensors to detect when a car is leaving</li>
<li class="whitespace-normal break-words">Uses a MOSFET with its gate connected to an Arduino pin (driven LOW)</li>
<li class="whitespace-normal break-words">Positive wire from the garage door opener connected to the MOSFET's drain</li>
<li class="whitespace-normal break-words">Negative wire connected to the MOSFET's source</li>
<li class="whitespace-normal break-words">The intention was to close the circuit when the Arduino pin is driven HIGH</li>
</ul>
<p class="whitespace-pre-wrap break-words">Initially, this worked perfectly. However, after one sensor failed and was replaced with a different type, the logic still worked but the door stopped responding. I then discovered the MOSFET I was using had low resistance between gate and source, so I replaced it.</p>
<p class="whitespace-pre-wrap break-words">This led to erratic behavior and inconsistent voltage readings. The voltage between the positive and negative wires would fluctuate wildly (e.g., 24V to 15V to 8V to 13V to 18V). This happened both when measuring across the MOSFET, the physical switch, or directly on the terminals of the garage door opener.</p>
<p class="whitespace-pre-wrap break-words">Thinking the issue might be a lack of common ground, I connected the Arduino to the garage frame, which has continuity with the negative wire from the garage door opener.</p>
<p class="whitespace-pre-wrap break-words">This stabilized the voltage but caused the physical switch and Meross opener to stop working. My theory is that the current now follows the path to ground through the frame instead of flowing through the negative wire, preventing the opener from detecting the voltage change. Measurements show about 20 out of 24V flowing this way.</p>
<p class="whitespace-pre-wrap break-words">My original intention was to use the MOSFET to isolate the circuit from the Arduino while allowing control. However, I now realize I may have inadvertently connected the source to Arduino ground by following the advice from a famous chatbot.</p>
<p class="whitespace-pre-wrap break-words">I've been using ChatGPT for assistance, which has been helpful but sometimes provides incorrect information. When I catch these errors, I can work out the correct answer, but undetected mistakes lead to non-functional designs.</p>
<p class="whitespace-pre-wrap break-words">Here are the schematics (apologies if they're not ideal):</p>
<ol class="-mt-1 list-decimal space-y-2 pl-8">
<li class="whitespace-normal break-words">Circuit with fluctuating voltage: https://ibb.co/WFB3rQL</li>
<li class="whitespace-normal break-words">Circuit with stable voltage but non-functional opener: https://ibb.co/XWdmkwD</li>
</ol>
<p class="whitespace-pre-wrap break-words">Can anyone identify what might be wrong? I believe I need to design a circuit that works in theory before implementing and debugging it, rather than the other way around.</p>
<p>PS: The sensor, code, and logic are all working fine. I get the Arduino to trigger pin 7 at the appropriate time, which then opens the MOSFET for 500 ms. It's the circuitry and what happens with the current that stumps me.</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>TASan</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/misbehaving-garage-door-opener-closer/#post-48663</guid>
                    </item>
							        </channel>
        </rss>
		