<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>M42 controlled by temperature</title>
        <description> I don&#039;t think this is currently possible, but is there a way to control an output pin (M42) by temperature?  What I was thinking of doing was to setup a fan to blow on the bed after the print has finished.  It would turn on the pin as long as the temperature of the bed is over a set point.</description>
        <link>https://reprap.org/forum/read.php?416,722833,722833#msg-722833</link>
        <lastBuildDate>Fri, 06 Mar 2026 16:29:08 -0500</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?416,722833,722871#msg-722871</guid>
            <title>Re: M42 controlled by temperature</title>
            <link>https://reprap.org/forum/read.php?416,722833,722871#msg-722871</link>
            <description><![CDATA[ ... I'm changing/reprogramming parts of the Marlin4Due firmware, if it needs some new or different functionality - this should be possible too with RepRap Firmware for the Duett ...]]></description>
            <dc:creator>VDX</dc:creator>
            <category>Duet</category>
            <pubDate>Sun, 13 Nov 2016 18:06:15 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?416,722833,722848#msg-722848</guid>
            <title>Re: M42 controlled by temperature</title>
            <link>https://reprap.org/forum/read.php?416,722833,722848#msg-722848</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>VDX</strong><br />
... I've add some new "M" codes/routines in Marlin4Due for my needs - wouldn't be a problem to add a new one with a "wait until lower than [nnn] value" for an ADC port.<br />
<br />
E.g. "M47 A7 S127" for reading the A7 pin and repeat until the read value will be lower than 127 ...</div></blockquote>
<br />
Does the Marlin4Due work with the Duet Firmware or are you saying you could add your functionality to the Duet firmware?<br />
<br />
What I am looking for is a way to say "While thermistor X is greater than temperature Y, set pin Z high."  Thermistor X is the same one used by the bed.]]></description>
            <dc:creator>ElmoC</dc:creator>
            <category>Duet</category>
            <pubDate>Sun, 13 Nov 2016 16:35:52 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?416,722833,722846#msg-722846</guid>
            <title>Re: M42 controlled by temperature</title>
            <link>https://reprap.org/forum/read.php?416,722833,722846#msg-722846</link>
            <description><![CDATA[ ... I've add some new "M" codes/routines in Marlin4Due for my needs - wouldn't be a problem to add a new one with a "wait until lower than [nnn] value" for an ADC port.<br />
<br />
E.g. "M47 A7 S127" for reading the A7 pin and repeat until the read value will be lower than 127 ...]]></description>
            <dc:creator>VDX</dc:creator>
            <category>Duet</category>
            <pubDate>Sun, 13 Nov 2016 16:32:18 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?416,722833,722844#msg-722844</guid>
            <title>Re: M42 controlled by temperature</title>
            <link>https://reprap.org/forum/read.php?416,722833,722844#msg-722844</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>dc42</strong><br />
If you have a spare controlled fan connector on your Duet, you can set up a thermostatically-controlled fan to do that.</div></blockquote>
<br />
I was planning on an A/C fan through a relay, thus the reason for the M42 pin.  If the fan would only run at 100% PWM, I guess that wouldn't hurt the relay control circuit.  I am only using one of the two fan outputs right now.]]></description>
            <dc:creator>ElmoC</dc:creator>
            <category>Duet</category>
            <pubDate>Sun, 13 Nov 2016 16:28:19 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?416,722833,722842#msg-722842</guid>
            <title>Re: M42 controlled by temperature</title>
            <link>https://reprap.org/forum/read.php?416,722833,722842#msg-722842</link>
            <description><![CDATA[ If you have a spare controlled fan connector on your Duet, you can set up a thermostatically-controlled fan to do that.]]></description>
            <dc:creator>dc42</dc:creator>
            <category>Duet</category>
            <pubDate>Sun, 13 Nov 2016 16:23:35 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?416,722833,722833#msg-722833</guid>
            <title>M42 controlled by temperature</title>
            <link>https://reprap.org/forum/read.php?416,722833,722833#msg-722833</link>
            <description><![CDATA[ I don't think this is currently possible, but is there a way to control an output pin (M42) by temperature?  What I was thinking of doing was to setup a fan to blow on the bed after the print has finished.  It would turn on the pin as long as the temperature of the bed is over a set point.]]></description>
            <dc:creator>ElmoC</dc:creator>
            <category>Duet</category>
            <pubDate>Sun, 13 Nov 2016 15:43:20 -0500</pubDate>
        </item>
    </channel>
</rss>
