<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[SoliForum - 3D Printing Community — Proper gcode fan driver (schematic)]]></title>
	<link rel="self" href="https://www.soliforum.com/feed/atom/topic/1285/" />
	<updated>2013-05-05T06:10:10Z</updated>
	<generator>PunBB</generator>
	<id>https://www.soliforum.com/topic/1285/proper-gcode-fan-driver-schematic/</id>
		<entry>
			<title type="html"><![CDATA[Re: Proper gcode fan driver (schematic)]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/21781/#p21781" />
			<content type="html"><![CDATA[<p>Can you drive a PWM fan with the signal wire from our driver board?</p>]]></content>
			<author>
				<name><![CDATA[nlancaster]]></name>
				<uri>https://www.soliforum.com/user/1290/</uri>
			</author>
			<updated>2013-05-05T06:10:10Z</updated>
			<id>https://www.soliforum.com/post/21781/#p21781</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Proper gcode fan driver (schematic)]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/21735/#p21735" />
			<content type="html"><![CDATA[<p>Still keen to hear where the AC comes into any of this... You still around Bahstrike ?</p>]]></content>
			<author>
				<name><![CDATA[adrian]]></name>
				<uri>https://www.soliforum.com/user/663/</uri>
			</author>
			<updated>2013-05-04T10:02:49Z</updated>
			<id>https://www.soliforum.com/post/21735/#p21735</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Proper gcode fan driver (schematic)]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/18841/#p18841" />
			<content type="html"><![CDATA[<p>Call me an idiot - but I&#039;m not following where &quot;AC&quot; enters into any of this when using fans designed for PCs? The fan is driven from 12V DC, so why isn&#039;t it simply a matter of using a protected N-Channel MOSFET (which is really only protecting the MOSFET) and a freewheeling shottcky across the fan and a resistor to protect current to the Gate, and a resistor to ground to make sure its fully off when desired?</p><p>Or alternatively.. isn&#039;t it just easier to use a 4-wire PC fan and just drive the PWM directly to the (usually) blue wire? Problem solved ??</p>]]></content>
			<author>
				<name><![CDATA[adrian]]></name>
				<uri>https://www.soliforum.com/user/663/</uri>
			</author>
			<updated>2013-04-07T08:47:43Z</updated>
			<id>https://www.soliforum.com/post/18841/#p18841</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Proper gcode fan driver (schematic)]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/18316/#p18316" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>IanJohnson wrote:</cite><blockquote><p>I think what would get a lot of interest here is if you offered not just the boards, but a plug and play add-on for those who are intimidated by the thought of soldering anything (though they would still need to solder headers).&nbsp; I think a lot of people would like to order something that is ready to plug into the board at one end, and plug into a fan at the other.&nbsp; Maybe include the headers and a 40mm fan for a complete kit.</p></blockquote></div><p>++1</p>]]></content>
			<author>
				<name><![CDATA[DigitalWhitewater]]></name>
				<uri>https://www.soliforum.com/user/402/</uri>
			</author>
			<updated>2013-04-02T05:36:45Z</updated>
			<id>https://www.soliforum.com/post/18316/#p18316</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Proper gcode fan driver (schematic)]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/18179/#p18179" />
			<content type="html"><![CDATA[<p>You could always put up a kick starter <img src="https://www.soliforum.com/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>I too would be interested in one of these as a complete unit for future addon to my new SD3.</p>]]></content>
			<author>
				<name><![CDATA[nlancaster]]></name>
				<uri>https://www.soliforum.com/user/1290/</uri>
			</author>
			<updated>2013-03-31T17:27:10Z</updated>
			<id>https://www.soliforum.com/post/18179/#p18179</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Proper gcode fan driver (schematic)]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/17615/#p17615" />
			<content type="html"><![CDATA[<p>Has anyone tried using a 4pin PWM based fan?&nbsp; (No link privileges yet or I would link, google 40mm PWM fan)&nbsp; What might be the advantages/ disadvantages of using a PWM based fan other than low speed control?&nbsp; Could it be used with the simple transistor control circuit but effectively have the same result as this more complex solution?</p><p>K</p>]]></content>
			<author>
				<name><![CDATA[pyrophreek]]></name>
				<uri>https://www.soliforum.com/user/1279/</uri>
			</author>
			<updated>2013-03-25T04:31:12Z</updated>
			<id>https://www.soliforum.com/post/17615/#p17615</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Proper gcode fan driver (schematic)]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/13113/#p13113" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>bahstrike wrote:</cite><blockquote><p>Zarni I agree-&nbsp; I think as the community expands, more people are going to be looking to add peripherals that they would like to control via common interface&nbsp; (gcode, naturally).</p><p>I²C would be a prime candidate to allow commands&amp;data to cross from PC through printer to <em>any number*</em> of slave devices.&nbsp; If so-inclined, SD <strong>could</strong> capitalize on this idea by just soldering in a jack to the I²C pins and modifying firmware to support a custom gcode command to send data to node ID, and another gcode command to receive data from a node ID.&nbsp; This would allow designers to share or sell&nbsp; all sorts of custom sensors and/or drivers&nbsp; that anyone can just plug-in&nbsp; (as if it were a USB device). Fantastic!</p><p><em>* standard I²C is limited to 128 device addresses.&nbsp; you probably wouldn&#039;t connect 128 peripherals to your printer, but designers would have to be cautious not to reuse the same address someone else did-&nbsp; otherwise you couldn&#039;t attach both even if they were the only 2 peripherals you wanted to use</em></p></blockquote></div><p>there&#039;s a good side and a bad side to the idea that you treat printer parts as peripherals and give them addresses...</p><p>to start with, so long as you agree an addressing scheme, then you don&#039;t really have an issue with things having the same address. (split the 128 addresses up into device classes, (e.g. actuators, limit devices, cooling devices, temperature sensing devices etc))</p><p>eventually your imagination takes you to a place where everything is just plugging into a machine.<br />so when your machine turns on it does a basic systems test and goes to a discovery mode, and you have parts that reply with information.<br />for example on a standard solidoodle, you&#039;d get replies from xyz and e motors. xyz end stops, perhaps they&#039;d be more clever and have a learned idea of how big the axis etc were...<br />so when a printer turns on it knows it has 3 axis, 150mm long and a single colour print head.<br />(like how when my PC turns on it knows it&#039;s got a 3 button scroll mouse connected, or if I put a different mouse on (say 5 button) then new functions are opened up)<br />When you stick an SD card in your panelolu that&#039;s 180mm square in two colours, the printer can just tell you that it can&#039;t print that.</p><p>basically, if you start hanging things off a proper bus and putting addressable devices in like they were peripherals then the possibilities are pretty endless. </p><p>In addition, if you were going to use a 1 wire bi-directional bus.<br />it&#039;s make sense that whilst you were throwing away all the conventional printer wisdom that you also threw away the conventional controller boards and made one with a CAN bus.</p><p>The reason for this is that this bus rather than being master/slave oriented is multi-master with a way of giving preference to devices based on address that aids conflict resolution.</p><br /><p>so (for example) in your car,<br />You may use stalk controls to increase the stereo volume.<br />if your car wants to tell you that the brakes are faulty then the brakes win because they are addressed lower.</p><p>To put that in a printer setting, control messages from the panelolu, saying that you want to increase/decrease speed would outrank (and be given preference to) messages regarding cooling.</p><br /><br /><p>But the trouble is, when you start sticking Uc&#039;s into everything you suddenly increase the cost.</p><br /><br /><p>As for this being the future of 3d printing.<br />Personally, I think that the ease brought by embedding chips in everything, and adding loads of user easy. (so just add or takeaway a fan etc) far outweighs the few pence spend on doing it.</p><p>However as free as the Rep-Rap movement (that most commercial makers are taking their direction from) goes, Adrian Bowman said that he did not like the idea of adding chips to everything. and given that RepRap (as a brand) is controlled by him, it seems unlikely that any standard could ever be endorsed...</p>]]></content>
			<author>
				<name><![CDATA[danny]]></name>
				<uri>https://www.soliforum.com/user/39/</uri>
			</author>
			<updated>2013-02-18T17:34:56Z</updated>
			<id>https://www.soliforum.com/post/13113/#p13113</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Proper gcode fan driver (schematic)]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/13044/#p13044" />
			<content type="html"><![CDATA[<p>So, part of me thinks what makes the most sense is to find a supplier of a 40mm fan that has a third PWM speed signal that controls the % speed that the fan runs, so the speed control is done on the fan&#039;s tiny BLDC controller.</p>]]></content>
			<author>
				<name><![CDATA[Tomek]]></name>
				<uri>https://www.soliforum.com/user/192/</uri>
			</author>
			<updated>2013-02-17T19:01:32Z</updated>
			<id>https://www.soliforum.com/post/13044/#p13044</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Proper gcode fan driver (schematic)]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/12977/#p12977" />
			<content type="html"><![CDATA[<p>Slic3r&#039;s cool settings let you specifiy a minimum % for the fan, so you can keep it over 45% in the gcode.&nbsp; It doesn&#039;t protect from turning the slider in Repetier too low however.</p>]]></content>
			<author>
				<name><![CDATA[IanJohnson]]></name>
				<uri>https://www.soliforum.com/user/14/</uri>
			</author>
			<updated>2013-02-17T01:51:54Z</updated>
			<id>https://www.soliforum.com/post/12977/#p12977</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Proper gcode fan driver (schematic)]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/12974/#p12974" />
			<content type="html"><![CDATA[<p>Also I did not make mention previously, so sorry to crush expectations, but this circuit DOES NOT WORK at fan speeds below ~45%.&nbsp; &nbsp; At about 5.5v,&nbsp; your typical 12v fan ceases to spin&nbsp; (but the coils can still short-out).&nbsp; Hence the &#039;under-voltage&#039; protection so it prevents sending power at low speeds.&nbsp; To accomplish lower than 45% speed, a complex timing circuit&nbsp; (or easier, an MCU)&nbsp; would be needed to pulse the fan at full power at a low duty-cycle, low Hertz&nbsp; PWM..&nbsp; &nbsp; &nbsp; in other words, the fan would get full juice to make a couple spins, then wait..&nbsp; get a pulse to make a couple spins, then wait.. etc.&nbsp; &nbsp;Might be the next step in the design.&nbsp; A true 0% - 100% would be nice wouldn&#039;t it</p>]]></content>
			<author>
				<name><![CDATA[bahstrike]]></name>
				<uri>https://www.soliforum.com/user/180/</uri>
			</author>
			<updated>2013-02-17T01:28:26Z</updated>
			<id>https://www.soliforum.com/post/12974/#p12974</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Proper gcode fan driver (schematic)]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/12973/#p12973" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>jooshs wrote:</cite><blockquote><p>Any chance you would be willing to combine an inverter with your driver?&nbsp; I have been experimenting with an air pump for an aquarium and have got great results due to the highly directed nature of the airline tube, however the only reasonably priced air pumps with enough cfm are the AC ones. I&#039;d love to have that gcode controlled if there is a way... I&#039;ve come up with quite a few examples online, but it seems like it would take a pretty bulky board to combine an inverter and driver.</p></blockquote></div><p>No inverter-&nbsp; wattage too high for the SD.&nbsp; And with external supply-&nbsp; why bother stepping down only to step-up..<br />I DO want to experiment with aquarium pump &amp; airline tubing, since it should be easier to use tubing rather than mount a fan directly. I already experimented with using a fan + tubing but alas there is zilch-balls for air pressure.&nbsp; Instead, I would employ a TRIAC to chop up the 60hz mains voltage to dampen the aquarium pump (google for zero-cross dimmer circuit)-&nbsp; but this is still speculative whether or not it will work according to the pump&#039;s design&nbsp; (tho it should, if timed properly upon the zero-cross).&nbsp; As well, the cost for such a kit would be higher-&nbsp; not only do you need to buy an aquarium pump but the AC chopping framework will require some optoisolation, an MCU, and extra connectors/protection for dealing with mains AC.&nbsp; Long story short-&nbsp; maybe in the future <img src="https://www.soliforum.com/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><br /><br /><div class="quotebox"><cite>jefferysanders wrote:</cite><blockquote><p>Are there 2 input wires or 3?&nbsp; I think I have the schematic mostly worked onto a breadboard, but I can&#039;t really tell with the shadows from the pic.</p></blockquote></div><p>Technically there is only 1 signal wire (PWM)-&nbsp; but to make the story complete you need a common reference (GND).&nbsp; Further, since the circuit doesn&#039;t supply it&#039;s own power so you need +12V, as well.&nbsp; So there are 3 inputs&nbsp; (+12v, Gnd, PWM),&nbsp; and 2 outputs&nbsp; (Fan+, Fan-).</p><p>I have not tested the circuit using MOSFETs.&nbsp; It would probably work fine, but there is some legitimate reason for choosing oldschool trannys. The design for under-volt protection assumes the ~0.7v saturation voltage present with an an NPN transistor.&nbsp; Second, you&#039;ll get better output regulation if you use the suggested PNP transistor for the buck supply-&nbsp; it might be discomforting because the PNP transistor can get rather warm during operation at 40-60% fan speeds, but this is simply because the transistor is being largely driven in &quot;active amplification mode&quot;&nbsp; rather than the pure on/off you might get with a MOSFET-&nbsp; the output is smoother. It&#039;s not warm enough to require a heatsink.&nbsp; In any case, a typical 12v 40mm fan can draw upwards of 2 watts so do NOT use typical 3906 and 3904 NPN/PNP transistors&nbsp; (the tiny half-circle shaped ones)-&nbsp; get power transistors in the TO-220 package, like seen in the picture.&nbsp; Regardless, though, it should still work fine with MOSFETs&nbsp; (just make sure you use an N-channel type in place of the NPN,&nbsp; and a P-channel type in place of the PNP)</p><p><em>4-pin input jack only has 3 pins used</em><br /><span class="postimg"><img src="http://bahproductions.com/board.jpg" alt="http://bahproductions.com/board.jpg" /></span></p>]]></content>
			<author>
				<name><![CDATA[bahstrike]]></name>
				<uri>https://www.soliforum.com/user/180/</uri>
			</author>
			<updated>2013-02-17T01:22:01Z</updated>
			<id>https://www.soliforum.com/post/12973/#p12973</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Proper gcode fan driver (schematic)]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/12958/#p12958" />
			<content type="html"><![CDATA[<p>Pretty sure I saw the above posts yesterday...strange</p>]]></content>
			<author>
				<name><![CDATA[ronsii]]></name>
				<uri>https://www.soliforum.com/user/296/</uri>
			</author>
			<updated>2013-02-16T21:55:05Z</updated>
			<id>https://www.soliforum.com/post/12958/#p12958</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Proper gcode fan driver (schematic)]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/12957/#p12957" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>bahstrike wrote:</cite><blockquote><p>I&#039;m just surprised this thread hasn&#039;t gotten hardly any attention</p></blockquote></div><p>I check SoliForum every day, and I KNOW that this thread was not visible as &quot;new post&quot; yesterday.&nbsp; This has happened quite a bit recently.&nbsp; Puzzling</p>]]></content>
			<author>
				<name><![CDATA[jon_bondy]]></name>
				<uri>https://www.soliforum.com/user/181/</uri>
			</author>
			<updated>2013-02-16T21:49:53Z</updated>
			<id>https://www.soliforum.com/post/12957/#p12957</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Proper gcode fan driver (schematic)]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/12947/#p12947" />
			<content type="html"><![CDATA[<p>I have all the parts except in house expect 1 mosfet, and a protoboard. 80).&nbsp; I think this will be a fine learning experience.&nbsp; Any suggestions?&nbsp; Are there 2 input wires or 3?&nbsp; I think I have the schematic mostly worked onto a breadboard, but I can&#039;t really tell with the shadows from the pic. (could you upload a closeup for those wanting to learn and attempt this on their own).&nbsp; Thanks for doing all of this!</p>]]></content>
			<author>
				<name><![CDATA[jefferysanders]]></name>
				<uri>https://www.soliforum.com/user/106/</uri>
			</author>
			<updated>2013-02-16T20:19:01Z</updated>
			<id>https://www.soliforum.com/post/12947/#p12947</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Proper gcode fan driver (schematic)]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/12933/#p12933" />
			<content type="html"><![CDATA[<p>Any chance you would be willing to combine an inverter with your driver?&nbsp; I have been experimenting with an air pump for an aquarium and have got great results due to the highly directed nature of the airline tube, however the only reasonably priced air pumps with enough cfm are the AC ones. I&#039;d love to have that gcode controlled if there is a way... I&#039;ve come up with quite a few examples online, but it seems like it would take a pretty bulky board to combine an inverter and driver.</p>]]></content>
			<author>
				<name><![CDATA[jooshs]]></name>
				<uri>https://www.soliforum.com/user/13/</uri>
			</author>
			<updated>2013-02-16T15:55:20Z</updated>
			<id>https://www.soliforum.com/post/12933/#p12933</id>
		</entry>
</feed>
