<?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>Zener &amp;amp; LED Tester</title><link>/members-area/personalblogs/b/john-wiltrout-s-blog/posts/zener-led-tester</link><description>While sorting out and reorganizing my collection of mostly salvaged zeners the other day I began to imagine what I would have to do to make a simple tester. In the past I have set up the power supply, milliammeter, voltmeter, and a variety of current</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Zener &amp;amp; LED Tester</title><link>https://community.element14.com/members-area/personalblogs/b/john-wiltrout-s-blog/posts/zener-led-tester</link><pubDate>Mon, 24 Apr 2017 18:32:43 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8552978f-e0ba-4cf6-aff1-d0bdbc0b1f96</guid><dc:creator>DAB</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Great post John.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You are become a very accomplished maker and your skills continue to climb.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I look forward to seeing you test some of your devices.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Should be a fun project.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2929&amp;AppID=315&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Zener &amp;amp; LED Tester</title><link>https://community.element14.com/members-area/personalblogs/b/john-wiltrout-s-blog/posts/zener-led-tester</link><pubDate>Mon, 24 Apr 2017 05:18:41 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8552978f-e0ba-4cf6-aff1-d0bdbc0b1f96</guid><dc:creator>mcb1</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Well done.&lt;/p&gt;&lt;p&gt;You&amp;#39;ve mounted the three position switch upside down &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8552978f-e0ba-4cf6-aff1-d0bdbc0b1f96/contentimage_5F00_1.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;m busy putting my supply together based on your posts, and I&amp;#39;m pleased to see that my initial thoughts about the meter cutout was right.&lt;/p&gt;&lt;p&gt;(remove the electronics, fit the bezel in the hole, and then put the electronics back.)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The meters I brought were 0-100v at 10A,&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://www.banggood.com/Dual-Red-Blue-LED-Digital-Voltmeter-Ammeter-Panel-Volt-Gauge-Meter-p-918687.html" rel="nofollow ugc noopener" target="_blank" title="https://www.banggood.com/Dual-Red-Blue-LED-Digital-Voltmeter-Ammeter-Panel-Volt-Gauge-Meter-p-918687.html"&gt;https://www.banggood.com/Dual-Red-Blue-LED-Digital-Voltmeter-Ammeter-Panel-Volt-Gauge-Meter-p-918687.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;but I see this seller has a 1A version.&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://www.banggood.com/0_28-Inch-Dual-Display-Red-Blue-LED-Panel-4_5-30V-Digital-Voltmeter-Ammeter-1-100A-p-1093413.html" rel="nofollow ugc noopener" target="_blank" title="https://www.banggood.com/0_28-Inch-Dual-Display-Red-Blue-LED-Panel-4_5-30V-Digital-Voltmeter-Ammeter-1-100A-p-1093413.html"&gt;https://www.banggood.com/0_28-Inch-Dual-Display-Red-Blue-LED-Panel-4_5-30V-Digital-Voltmeter-Ammeter-1-100A-p-1093413.ht…&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The kit is interesting as the 2SD1047 is capable of 140v at 12A, so the 3A limit is well down it&amp;#39;s ability.&lt;/p&gt;&lt;p&gt;The board tracks will be the limiting factor, along with the control circuitry, but it is nice to know the output transistor is probably the last to go.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Fan control.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;For anyone interested I did an Arduino sketch that allows for multiple DS18B20 sensors.&lt;/p&gt;&lt;p&gt;It takes the highest value and controls the output using that temperature.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=c_cpp&amp;amp;text=%2F*%0A++Temp+Controlled+Relay%0A%0A+DS18B20+Temperature+chips+on+pin+2%0A+4k7+pullup+between+pin+2+and+%2B5v.%0A%0A+++Connections%3A%0A++DS18B20+Pinout+%28Left+to+Right%2C+pins+down%2C+flat+side+toward+you%29%0A++-+Left+++%3D+Ground%0A++-+Center+%3D+Signal+%28Pin+2%29%3A++%28with+3.3K+to+4.7K+resistor+to+%2B5+or+3.3+%29%0A++-+Right++%3D+%2B5+or+%2B3.3+V%0A%0A+Pin+assignments%0A+Pin+0++Rx%0A+Pin+1++Tx%0A+Pin+2++Temp+sensor+DS18B20%0A+Pin+7++Relay+1+output+%28HIGH+to+make+it+turn+ON%29%0A%0A%0A+Created+19+Apr+2017%0A+by+Mark+Beckett%0A%0A+based+on+the+code+here+http%3A%2F%2Fforum.arduino.cc%2Findex.php%3Ftopic%3D72654.msg546490%23msg546490%0A++++%0A+*%2F%0A%0A%2F%2F+include+the+library+code%3A%0A%0A%23include+%3COneWire.h%3E%0A%23define+DS18B20_PIN+2%0A%0A%2F%2F+DS18B20+Temperature+chip+i%2Fo%0AOneWire+ds%28DS18B20_PIN%29%3B+++++++++++++++++%2F%2F+TempSensor%0A%0A%2F%2F+maximum+sensors+on+the+bus%0A%23define+M+5%0A%0A%2F%2F+actual+sensors+detected%0Abyte+m+%3D+0+%3B%0A%0A%2F%2F+addresses%0Abyte+addr%5BM%5D%5B8%5D%3B%0A%0A%2F%2FOutputs%0Aconst+int+Relay1+%3D+7%3B+++++++++++++++%2F%2F+Relay+1+Output%0Aconst+int+LedPin+%3D+13%3B++++++++++++++%2F%2F+LED+on+pin+13%0A%0A%2F%2FSettings%0Aint+Highest+%3D+0%3B+++++++++++++++++++++%2F%2F+Highest+of+all+sensors.%0Aint+HighTempOn+%3D+45%3B+++++++++++++++++%2F%2F+High+Temperature+On+setting%0Aint+HighTempOff+%3D+30%3B++++++++++++++++%2F%2F+High+Temperature+Off+setting%0A%0A%2F%2F-------------------------------------------------------------------------%0A%0Avoid+setup_tempsense+%28%29%0A%7B%0A++m+%3D+0+%3B%0A++while+%28ds.search+%28addr%5Bm%5D%29%29%0A++%7B%0A++++Serial.print+%28%22Found+address+%22%29+%3B%0A++++Serial.print+%28m%2C+DEC%29+%3B%0A++++Serial.print+%28%22%3A++%22%29+%3B%0A++++show_id+%28m%29+%3B%0A++++Serial.println+%28%29+%3B%0A++++if+%28OneWire%3A%3Acrc8+%28addr%5Bm%5D%2C+7%29+%21%3D+addr%5Bm%5D%5B7%5D%29%0A++++%7B%0A++++++Serial.println+%28%22CRC+is+not+valid%21%22%29+%3B%0A++++++return+%3B%0A++++%7D%0A++++if+%28addr%5Bm%5D%5B0%5D+%21%3D+0x28%29%0A++++%7B%0A++++++Serial.println+%28%22Device+is+not+a+DS18B20+family+device.%22%29+%3B%0A++++++return+%3B%0A++++%7D%0A++++m%2B%2B+%3B%0A++%7D%0A%0A++Serial.println%28%22No+more+addresses.%22%29+%3B%0A++ds.reset_search+%28%29+%3B%0A%0A%7D%0A%0Avoid+show_id+%28byte+m%29%0A%7B%0A++++for+%28byte+i+%3D+6+%3B+i+%3E%3D+1+%3B+i--%29%0A++++%7B%0A++++++Serial.print+%28addr%5Bm%5D%5Bi%5D+%3E%3E+4%2C+HEX%29+%3B%0A++++++Serial.print+%28addr%5Bm%5D%5Bi%5D+%26+15%2C+HEX%29+%3B%0A++++%7D%0A%7D%0A%0A%2F%2F+asynchrounous+start+conversion%0Aint+start_conversion+%28byte+i%29%0A%7B%0A++%2F%2F+The+DallasTemperature+library+can+do+all+this+work+for+you%21%0A%0A++ds.reset+%28%29+%3B%0A++ds.select+%28addr%5Bi%5D%29+%3B%0A++ds.write+%280x44%29+%3B+++++++++%2F%2F+start+conversion%2C+with+parasite+power+on+at+the+end%0A%7D%0A%0A%2F%2F+asynchrounous+read+result%0Aint+read_conversion_result+%28byte+i%29%0A%7B%0A++byte+present+%3D+ds.reset+%28%29+%3B%0A++ds.select+%28addr%5Bi%5D%29+%3B+++%0A++ds.write+%280xBE%29+%3B+++++++++%2F%2F+Read+Scratchpad%0A%0A++byte+data%5B9%5D%3B%0A++for+%28byte+i+%3D+0+%3B+i+%3C+9+%3B+i%2B%2B%29+++++++++++%2F%2F+we+need+9+bytes%0A++%7B%0A++++data%5Bi%5D+%3D+ds.read%28%29%3B%0A++%7D%0A++int+temp+%3D+%28data+%5B1%5D+%3C%3C+8%29+%7C+data%5B0%5D+%3B+++%2F%2F+just+want+temperature%0A++return+temp+%3B%0A%7D%0A%0A%0A%2F%2F+synchronous+call+to+read+temperature+from+one+sensor%0Aint+read_temp+%28byte+i%29%0A%7B%0A++start_conversion++%3B%0A++delay+%28800%29+%3B+++++%2F%2F+maybe+750ms+is+enough%2C+maybe+not%0A++return+read_conversion_result++%3B%0A%7D%0A%0A%0Avoid+setup+%28%29%0A%7B%0A++Serial.begin+%2857600%29+%3B%0A+++%0A++%2F%2FDefine+the+pins%0A++pinMode%28Relay1%2C+OUTPUT%29%3B%0A++digitalWrite+%28Relay1%2C+LOW%29%3B++++%2F%2FRelay+is+OFF+%0A++delay+%28500%29+%3B%0A++%0A++setup_tempsense+%28%29+%3B%0A%0A%7D%0A%0Avoid+loop+%28%29%0A%7B%0A++%2F%2F+start+all+the+conversions%0A++for+%28byte+i+%3D+0+%3B+i+%3C+m+%3B+i%2B%2B%29%0A++%7B%0A++++start_conversion++%3B%0A++%7D%0A++%2F%2F+share+the+wait%0A++delay+%28750%29+%3B%0A++%2F%2F+read+all+the+results%0A++for+%28byte+i+%3D+0+%3B+i+%3C+m+%3B+i%2B%2B%29%0A++%7B%0A++++Serial.print+%28%22dev+%22%29+%3B%0A++++show_id++%3B%0A++++Serial.print+%28%22%3A++%22%29+%3B%0A++++int+temp+%3D+read_conversion_result++%3B%0A++++float+centigrade+%3D+%28%28float%29+temp%29+*+0.0625+%3B%0A++++Serial.print+%28centigrade%29+%3B%0A++++Serial.println+%28%22C%22%29+%3B%0A%2F%2F++++%2F%2F+maintain+stats%3A%0A%2F%2F++++sums+%5Bi%5D+%2B%3D+centigrade+%3B%0A%2F%2F++++sqsums+%5Bi%5D+%2B%3D+centigrade*centigrade+%3B%0A++++%0A++++if%28centigrade+%3E+Highest%29%0A++++%7B%0A++++++Highest+%3D+centigrade%3B%0A++++%7D%0A++++%0A++%7D%0A%0A++Serial.println+%28%29+%3B%0A++RelayControl%28%29%3B%0A++Highest+%3D+0%3B++++++++++++%2F%2Freset+the+reading+at+each+trip+thru+the+sensors.%0A++delay+%28250%29+%3B%0A%7D%0A%0Avoid+RelayControl%28%29+%0A%7B%0A+++++++%2F%2FRelays+are+ON+when+the+output+pin+is+HIGH%0A%0A+++++++if+%28Highest+%3E%3D+HighTempOn%29++++++++++++++++++++++++++++++%2F%2Freading+is+above+or+equal+to+the+setting%0A+++++++%7B%0A+++++++++digitalWrite%28Relay1%2CHIGH%29%3B%0A+++++++++digitalWrite%28LedPin%2C+HIGH%29%3B%0A+++++++%7D%0A+++++++%0A+++++++if+%28Highest+%3C%3D+HighTempOff%29++++++++++++++++++++++++++++++%2F%2Freading+is+below+or+equal+to+the+setting%0A+++++++%7B%0A+++++++++digitalWrite%28Relay1%2CLOW%29%3B%0A+++++++++digitalWrite%28LedPin%2C+LOW%29%3B%0A+++++++%7D%0A%0A%7D]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Line 36 allows the maximum number of sensors to set (currently 5)&lt;/p&gt;&lt;p&gt;Line 50 and 51 determine the ON and OFF temperature&lt;/p&gt;&lt;p&gt;&amp;nbsp;&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=2929&amp;AppID=315&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>