<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[A fan script for a beginner]]></title><description><![CDATA[<p dir="auto">Hello everybody</p>
<p dir="auto">I hope someone can help me.<br />
I got a Noctua fan. I would like to connect the fan now to my PI. Unfortunately, I find in the forum or google no “good” instructions. I have hung the red wire on pin 2 and the black wire on pin 6. The yellow wire is on pin 11 (BCM 17).</p>
<p dir="auto"><img src="/assets/uploads/files/1537896471989-701081f6-530c-475b-a840-8ae310ec45c5-grafik.png" alt="0_1537896470997_701081f6-530c-475b-a840-8ae310ec45c5-grafik.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">How can I program the fan to start at a CPU temperature of 50 °?</p>
<p dir="auto">Sorry for the unnecessary question, but I have only 3 weeks the PI and have no knowledge in programming.</p>
<p dir="auto">Greetings and thank you for your support</p>
<hr />
<p dir="auto">Hallo zusammen</p>
<p dir="auto">Ich hoffe es kann mir jemand helfen.<br />
Ich habe einen Noctua Lüfter besorgt. Gerne würde ich den Lüfter jetzt an meinen PI anschliessen. Ich finde im Forum oder auf google keine “gute” Anleitung. Ich habe das rote Kabel an PIN 2 gehängt und das schwarze Kabel an PIN 6. Das gelbe Kabel lieget auf PIN 11 (BCM 17).</p>
<p dir="auto">Wie kann ich den Lüfter programmieren, dass er bei einer CPU Temperatur von 50° anspringt?</p>
<p dir="auto">Entschuldigung für die unnötige Frage, aber ich habe erst seit 3 Wochen den PI und habe keinerlei Kenntnisse im Programmieren.</p>
<p dir="auto">Gruss und danke für eure Unterstützung</p>
]]></description><link>https://forum.magicmirror.builders/topic/8806/a-fan-script-for-a-beginner</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 08:57:32 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/8806.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Sep 2018 16:25:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to A fan script for a beginner on Wed, 26 Sep 2018 07:42:19 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, I want to try it</p>
]]></description><link>https://forum.magicmirror.builders/post/44765</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/44765</guid><dc:creator><![CDATA[CyruS1337]]></dc:creator><pubDate>Wed, 26 Sep 2018 07:42:19 GMT</pubDate></item><item><title><![CDATA[Reply to A fan script for a beginner on Wed, 26 Sep 2018 07:30:16 GMT]]></title><description><![CDATA[<p dir="auto">That is exactly what I told you before.<br />
Read the article and you will see how to connect the 3 wires.<br />
And you can change the temperature of the fan to start.<br />
My fan starts at 65 and runs for 30 seconds to cool the cpu.<br />
Peter</p>
]]></description><link>https://forum.magicmirror.builders/post/44764</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/44764</guid><dc:creator><![CDATA[Peter]]></dc:creator><pubDate>Wed, 26 Sep 2018 07:30:16 GMT</pubDate></item><item><title><![CDATA[Reply to A fan script for a beginner on Wed, 26 Sep 2018 04:24:13 GMT]]></title><description><![CDATA[<p dir="auto">Maybe you misunderstand me. I just want to turn on the fan and turn it off when the CPU has more than 50 °. I have 3 wires on my fan as shown above.</p>
]]></description><link>https://forum.magicmirror.builders/post/44759</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/44759</guid><dc:creator><![CDATA[CyruS1337]]></dc:creator><pubDate>Wed, 26 Sep 2018 04:24:13 GMT</pubDate></item><item><title><![CDATA[Reply to A fan script for a beginner on Tue, 25 Sep 2018 18:58:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cyrus1337" aria-label="Profile: cyrus1337">@<bdi>cyrus1337</bdi></a>  the specs do not say how the yellow wire is used to control the fan.</p>
]]></description><link>https://forum.magicmirror.builders/post/44752</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/44752</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 25 Sep 2018 18:58:47 GMT</pubDate></item><item><title><![CDATA[Reply to A fan script for a beginner on Tue, 25 Sep 2018 18:57:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peter" aria-label="Profile: peter">@<bdi>peter</bdi></a> so, you made a transistor based relay… cool…</p>
<p dir="auto">but that doesn’t help his speed control question…</p>
]]></description><link>https://forum.magicmirror.builders/post/44751</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/44751</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 25 Sep 2018 18:57:44 GMT</pubDate></item><item><title><![CDATA[Reply to A fan script for a beginner on Tue, 25 Sep 2018 18:49:54 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://hackernoon.com/how-to-control-a-fan-to-cool-the-cpu-of-your-raspberrypi-3313b6e7f92c" target="_blank" rel="noopener noreferrer nofollow ugc">https://hackernoon.com/how-to-control-a-fan-to-cool-the-cpu-of-your-raspberrypi-3313b6e7f92c</a><br />
I use this.<br />
It works fine, even wit a Google AIY Hat on top of the RPI.<br />
I hope it works for you too.<br />
Peter</p>
]]></description><link>https://forum.magicmirror.builders/post/44750</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/44750</guid><dc:creator><![CDATA[Peter]]></dc:creator><pubDate>Tue, 25 Sep 2018 18:49:54 GMT</pubDate></item><item><title><![CDATA[Reply to A fan script for a beginner on Tue, 25 Sep 2018 17:31:43 GMT]]></title><description><![CDATA[<p dir="auto">Sorry that was a wrong picture. I have changed the picture now.</p>
<p dir="auto"><a href="http://noctua.at/en/nf-a4x10-5v/faq" target="_blank" rel="noopener noreferrer nofollow ugc">noctua.at/en/nf-a4x10-5v/faq</a></p>
<p dir="auto">So when I connect the fan to PIN 1 and PIN 3, the fan runs.</p>
<p dir="auto">That means for me that the fan works with 5V.</p>
<p dir="auto">Do not I have to connect the yellow wire to a GPIO PIN to get the signal from there to turn the fan on and off?</p>
]]></description><link>https://forum.magicmirror.builders/post/44744</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/44744</guid><dc:creator><![CDATA[CyruS1337]]></dc:creator><pubDate>Tue, 25 Sep 2018 17:31:43 GMT</pubDate></item><item><title><![CDATA[Reply to A fan script for a beginner on Tue, 25 Sep 2018 17:01:40 GMT]]></title><description><![CDATA[<p dir="auto">the raspberry pi does not provide +12v on any pin… only +5 or +3.3v</p>
<p dir="auto">see <a href="https://www.raspberrypi.org/documentation/usage/gpio/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.raspberrypi.org/documentation/usage/gpio/</a></p>
<p dir="auto">so you will need another power source that you can turn on/off programatically… or have to install a relay you can control via gpio pins… see google search results for ‘raspberry pi relay control’</p>
<p dir="auto">now… what signal is required on the speed wire?</p>
<p dir="auto">typically a gpio pin is either on, or off, or transitioning between one and the other.<br />
so, you would need some other hardware to control the levels of this input to the fan</p>
<p dir="auto">see google search results for ‘programmable potentiometer raspberry pi’</p>
<p dir="auto">once u can control it manually, you can write code to do the same…</p>
]]></description><link>https://forum.magicmirror.builders/post/44742</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/44742</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 25 Sep 2018 17:01:40 GMT</pubDate></item></channel></rss>