<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
        {mso-style-priority:1;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
span.colour
        {mso-style-name:colour;}
span.font
        {mso-style-name:font;}
span.size
        {mso-style-name:size;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'>Hi Mike,<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'>The 24V LED lights dim fine.<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'>How many prototypes are you thinking about?<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'>Will call to sort out how to get money to your account.<o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-NZ style='font-size:10.0pt;font-family:"Arial",sans-serif;color:windowtext'>Kind Regards,<br>Rob <o:p></o:p></span></p></div><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='color:windowtext'>From:</span></b><span lang=EN-US style='color:windowtext'> Mike Field [mailto:hamster@snap.net.nz] <br><b>Sent:</b> 28 January 2018 23:24<br><b>Subject:</b> Re: [chbot] In need of dimmer board to control 12v LED via Arduino<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p>Hi Andrew,<o:p></o:p></p><p>Well, I've got a breadboarded example going, with a couple of Jaycar SOIC8  Dual MOSFETs and the PWM controller of an ESP32 - see it in action at <a href="https://www.youtube.com/audio?video_referrer=watch&v=g-KZkL_qF9g">https://www.youtube.com/audio?video_referrer=watch&v=g-KZkL_qF9g</a> if interested.<o:p></o:p></p><p>A few thoughts/ideas came along the way:<o:p></o:p></p><p>- If a microcontroller is on each board, the power soon adds up - Something with WIFI would need about 150mA @ 3V3 - or about 0.5W doing nothing (or about 2W if using a linear regulator from 12V). A few of them around the place going 24x7 will quickly consume significant power. So it makes more sense to have the PWM board dumb, connecting back to a single controller.<o:p></o:p></p><p class=MsoNormal>- Cat6 has a resistance of approx 12.5 ohms per 100 m. Five meters of cable with a dead short would be 1.25 ohm (0.625 there, 0.625 back) so at 12V a dead short will give about 9.6A - not enough to blow a single 10A fuse (which allows for 120W of load per PCB). So safety first, an appropriate fuse for each channel is needed. <br><br>- Also, the current draw along longish cables will cause a different in GND between the controller and the PWM board. With a small difference the microcontroller would not be able to full switch the MOSFET fully on, causing the magic smoke to get out. Optoisolators can resolve this, and improve safety & reliability.<br><br>- Rob discovered that he has 24V LEDs. The parts randomly chosen are 60V MOSFETS (SI4946DY), and 10V-30V Optoisolators/Mostfet drivers (TLP701).  It halves the current for the same wattage load, which is good for voltage drops and overall efficiency.<br><br>- Adding footprints for snubber diodes across the outputs would allow it to drive inductive loads without popping things (not added to PCB yet)<br><br>- Swapping pin headers with a RJ45 footprint for easy & reliable connectivity back to the controller seems to be a good idea <o:p></o:p></p><p>I've got a brief sketch of a PCB (note to self, pinout for the opto is wrong), just checking that things fit into a $1 100mm x 100mm PCB. A proper layout will need to wait till the parts arrive and footprints can be verified. <o:p></o:p></p><p>Prices at Ali Express work out to be about NZ$10 per board, incl PCB (or $1.66 per channel) - I've got a shopping cart ready to go for all the bits I don't have to hand for a few prototypes, but am waiting to verify that the LEDs will actually dim properly before spending pocket money.<o:p></o:p></p><p>Mike<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On 28/01/2018 7:46 PM, Andrew Sands wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>Guys,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Anyway to get in on this as a discussion. I may not be able to bring much to the table but I can 'break' things?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>regards,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Andrew<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>On Wed, Jan 17, 2018, at 20:06, Rob de Voer wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p style='margin:0cm;margin-bottom:.0001pt'><span class=colour>Hello Mike,</span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=colour> </span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=colour>Yes, a design based on Mosfets seems to be best way to go.</span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=colour> </span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=colour>How do you use the RGB strips? Still on your workbench or installed in your house?</span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=colour> </span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=colour>Have some step down regulators to convert the 12v to 3.3or 5v and can also bring ESP32, Arduino and WemosD1 R2 as alternatives to drive the gate.</span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=colour> </span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=colour>Would be great to get together and sort this out.</span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=colour> </span><o:p></o:p></p><div><p style='margin:0cm;margin-bottom:.0001pt'><span class=colour>I have no relevant experience with any PCB design work (am a mechanical engineer with 30+ years of software development experience), played around in Fritzing to create my designs but never turned any of those into PCBs.</span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=colour> </span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=colour>The couple of boards I made consist of soldered tracks on test boards…</span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=colour> </span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=colour>Will email my contact details offline to arrange getting together.</span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:10.0pt;font-family:"Arial",sans-serif'> </span></span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:10.0pt;font-family:"Arial",sans-serif'>Kind Regards,</span></span><span style='font-size:10.0pt;font-family:"Arial",sans-serif'><br><span class=size>Rob</span></span><o:p></o:p></p></div><p style='margin:0cm;margin-bottom:.0001pt'><span class=colour> </span><o:p></o:p></p><div><div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;border-right-width:initial;border-bottom-width:initial;border-left-width:initial;border-right-color:initial;border-bottom-color:initial;border-left-color:initial;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;border-top-color:rgb(225,               225, 225)'><p style='margin:0cm;margin-bottom:.0001pt'><span class=colour><b>From:</b> Mike Field [</span><a href="mailto:hamster@snap.net.nz">mailto:hamster@snap.net.nz</a><span class=colour>] </span><br><span class=colour><b>Sent:</b> 17 January 2018 22:38</span><br><span class=colour><b>To:</b> Rob de Voer </span><a href="mailto:rob@businesspalz.com"><rob@businesspalz.com></a><br><span class=colour><b>Subject:</b> Re: [chbot] In need of dimmer board to control 12v LED via Arduino</span><o:p></o:p></p></div></div><p style='margin:0cm;margin-bottom:.0001pt'><span class=size> </span><o:p></o:p></p><p>Hi Rob,<o:p></o:p></p><p>I am switching 25W 12V RGB strips using Si4944DY 30V Dual MOSFETS from Jaycar - datasheet is at <a href="https://www.vishay.com/docs/72512/72512.pdf">https://www.vishay.com/docs/72512/72512.pdf</a>  They are tiny SOIC8 packages, and can switch about 10A (!)<o:p></o:p></p><p>'On' resistance is less than 0.02 Ohm, These are old parts, the replacement Si4946 are rated at 60V. I've got 10 of these on their way from my mate Ali E in China for $1 each :-)<o:p></o:p></p><p>I've got a couple mounted on DIP adapters, on a breadboard with an ESP32 driving the gate through a current limiting resistor.  You are more than welcome pop over and either experiment with them - I can hook your load up to a PSU and a function generator driving the gate), or take one away to play with.<o:p></o:p></p><p>I'm also happy to work with you on a board, with headers for the ESP module, 6(?) channels (3 dual MOSFETS), screw terminals and so on. We could even add a 5V0 or 3V3 regulator to power whatever is controlling the lights. I'll got all the bits here or almost here, just not enough motivation to move it off the breadboard to  a PCB. - fancy a Saturday afternoon / evening project session?<o:p></o:p></p><p>Are you better at KiCad or Eagle than me?<o:p></o:p></p><p>Mike.<o:p></o:p></p><div><p style='margin:0cm;margin-bottom:.0001pt'><span class=size>On 17/01/2018 10:02 PM, Rob de Voer wrote:</span><o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p style='margin:0cm;margin-bottom:.0001pt'><span class=size> </span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:12.0pt'>Hi All,</span></span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:12.0pt'> </span></span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:12.0pt'>I have been gradually replacing the 240v lighting in my house with 12v LED lights all powered by one 12v transformer and switched through a home automation system made up of several Arduino boards and one RaspBerryPI3.</span></span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:12.0pt'> </span></span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:12.0pt'>I want to start installing higher powered LEDs (21w 12v or more), dim them to the low output for daily needs, and adjust the dimmer as needed.</span></span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:12.0pt'> </span></span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:12.0pt'>Unfortunately building a suitable dimmer module so I can control individual LED lights has thus far proven outside of my ability.</span></span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:12.0pt'> </span></span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:12.0pt'>Have tried some of the published designs but have to resign myself to the fact that I should stick to building software since i appear unable to convert any of the myriad of example project to my needs.</span></span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:12.0pt'> </span></span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:12.0pt'>Who is able to help me build a 12v dimmer board that can be controlled remotely using any of  Arduino / ESP8266 / WemosD1R2? </span></span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:12.0pt'> </span></span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:12.0pt'>Do I need to limit myself to a specific power (i.e. 21w LED) for the dimmer to work efficiently or is a good design not that restrictive?</span></span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:12.0pt'> </span></span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:10.0pt;font-family:"Arial",sans-serif'>Kind Regards,</span></span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size><span style='font-size:10.0pt;font-family:"Arial",sans-serif'>Rob</span></span><o:p></o:p></p><p style='margin:0cm;margin-bottom:.0001pt'><span class=size> </span><o:p></o:p></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm'><o:p> </o:p></p><pre>_______________________________________________<o:p></o:p></pre><pre>Chchrobotics mailing list <a href="mailto:Chchrobotics@lists.ourshack.com"><span style='color:#0563C1'>Chchrobotics@lists.ourshack.com</span></a><o:p></o:p></pre><pre><a href="https://lists.ourshack.com/mailman/listinfo/chchrobotics"><span style='color:#0563C1'>https://lists.ourshack.com/mailman/listinfo/chchrobotics</span></a><o:p></o:p></pre><pre>Mail Archives: <a href="http://lists.ourshack.com/pipermail/chchrobotics/"><span style='color:#0563C1'>http://lists.ourshack.com/pipermail/chchrobotics/</span></a><o:p></o:p></pre><pre>Meetings usually 3rd Monday each month. See <a href="http://kiwibots.org"><span style='color:#0563C1'>http://kiwibots.org</span></a> for venue, directions and dates.<o:p></o:p></pre><pre>When replying, please edit your Subject line to reflect new subjects.<o:p></o:p></pre></blockquote><p style='margin:0cm;margin-bottom:.0001pt'><span class=size> </span><o:p></o:p></p></div><div><p class=MsoNormal><u>_______________________________________________</u><o:p></o:p></p></div><div><p class=MsoNormal>Chchrobotics mailing list <a href="mailto:Chchrobotics@lists.ourshack.com"><span style='color:#0563C1'>Chchrobotics@lists.ourshack.com</span></a><o:p></o:p></p></div><div><p class=MsoNormal><a href="https://lists.ourshack.com/mailman/listinfo/chchrobotics">https://lists.ourshack.com/mailman/listinfo/chchrobotics</a><o:p></o:p></p></div><div><p class=MsoNormal>Mail Archives: <a href="http://lists.ourshack.com/pipermail/chchrobotics/"><span style='color:#0563C1'>http://lists.ourshack.com/pipermail/chchrobotics/</span></a><o:p></o:p></p></div><div><p class=MsoNormal>Meetings usually 3rd Monday each month. See <a href="http://kiwibots.org"><span style='color:#0563C1'>http://kiwibots.org</span></a> for venue, directions and dates.<o:p></o:p></p></div><div><p class=MsoNormal>When replying, please edit your Subject line to reflect new subjects.<o:p></o:p></p></div></blockquote><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal><br><br><br><o:p></o:p></p><pre>_______________________________________________<o:p></o:p></pre><pre>Chchrobotics mailing list <a href="mailto:Chchrobotics@lists.ourshack.com">Chchrobotics@lists.ourshack.com</a><o:p></o:p></pre><pre><a href="https://lists.ourshack.com/mailman/listinfo/chchrobotics">https://lists.ourshack.com/mailman/listinfo/chchrobotics</a><o:p></o:p></pre><pre>Mail Archives: <a href="http://lists.ourshack.com/pipermail/chchrobotics/">http://lists.ourshack.com/pipermail/chchrobotics/</a><o:p></o:p></pre><pre>Meetings usually 3rd Monday each month. See <a href="http://kiwibots.org">http://kiwibots.org</a> for venue, directions and dates.<o:p></o:p></pre><pre>When replying, please edit your Subject line to reflect new subjects.<o:p></o:p></pre></blockquote><p class=MsoNormal><o:p> </o:p></p></div></body></html>