<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Pas Home / Home ventilation demo + cellar door demo</title><link>/challenges-projects/design-challenges/forget-me-not/b/blog/posts/pas-home-home-ventilation-demo-cellar-door-demo</link><description>Pas Home - Index Hi, this week i finalize my proto for controlling my home ventilation. I&amp;#39;m not sure of the connection of the transistor. Are the 2 diodes are useful? Is that the resistor R6 value is large enough ? The code for th...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Pas Home / Home ventilation demo + cellar door demo</title><link>https://community.element14.com/challenges-projects/design-challenges/forget-me-not/b/blog/posts/pas-home-home-ventilation-demo-cellar-door-demo</link><pubDate>Fri, 10 Oct 2014 10:28:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:738b2926-8b3b-480c-b27a-e2c38ec81f1a</guid><dc:creator>mcb1</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Pascal&lt;/p&gt;&lt;p&gt;Nice work, its coming together.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;re transistor, diodes.&lt;/p&gt;&lt;p&gt;The diodes aren&amp;#39;t achieving anything, BUT you could use a diode across the transistor (C-E) in reverse to ensure that any spikes form the ventilation control (if it has any) don&amp;#39;t damage the transistor.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;m picking the output at Pin2 of P12 is 5v, which means that 5 - 0.6 (B to E) = 4.4&amp;nbsp; I =E/R = 4.4/330 = 0.0133 Amps base current (13mA)&amp;nbsp; NOTE the GPIO is only 8mA&lt;/p&gt;&lt;p&gt;At the worst gain of 40 for a 2N2222, that gives you 0.5333 Amps collector current which is all that the 2N2222 is capable of.&lt;/p&gt;&lt;p&gt;IMO R6 = 330 is the right value, but just check on the ventilation control current required, as you might need a higher gain transistor.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Mark&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=18841&amp;AppID=100&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>