{"id":132,"date":"2020-12-29T20:04:29","date_gmt":"2020-12-29T19:04:29","guid":{"rendered":"https:\/\/www.bolukan.nl\/?p=132"},"modified":"2020-12-29T20:04:29","modified_gmt":"2020-12-29T19:04:29","slug":"control-a-12v-led-string","status":"publish","type":"post","link":"https:\/\/www.bolukan.nl\/?p=132","title":{"rendered":"Control a 12V led string"},"content":{"rendered":"\n<p>The 12V Christmas lights needed be powered and controlled. I chose to buy a Mean Well RS-50-12 that delivers 12V up to 4.2A (50W) and built an enclosure. (material for another article). In this post I describe how I created the controller.<\/p>\n\n\n\n<p>PS: This project is still in progress&#8230;.<\/p>\n\n\n\n<p>The basis is a 3x7cm prototype PCB and I added two rows of 8x female header pins for the <a rel=\"noreferrer noopener\" href=\"https:\/\/en.wikipedia.org\/wiki\/Microcontroller\" target=\"_blank\">Microcontroller<\/a>, four 2x male header pins for the <a rel=\"noreferrer noopener\" href=\"https:\/\/en.wikipedia.org\/wiki\/Low-dropout_regulator\" target=\"_blank\">Low-dropout regulator<\/a> and two KF301-5.0 screw terminal blocks for the input of 12V and ground from the power supply and the ouput of 12V, ground and data to the led string.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1000\" height=\"750\" src=\"https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/12V-RGB-leds-small.jpg\" alt=\"\" class=\"wp-image-135\" srcset=\"https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/12V-RGB-leds-small.jpg 1000w, https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/12V-RGB-leds-small-300x225.jpg 300w, https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/12V-RGB-leds-small-768x576.jpg 768w, https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/12V-RGB-leds-small-780x585.jpg 780w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p><br><\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<figure class=\"wp-block-gallery columns-3 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img decoding=\"async\" width=\"800\" height=\"800\" src=\"https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1gghIarsrBKNjSZFpq6AXhFXav1.jpg\" alt=\"50pcs 12V WS2811 12mm Christmas IP68 waterproof led string\" data-id=\"140\" data-full-url=\"https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1gghIarsrBKNjSZFpq6AXhFXav1.jpg\" data-link=\"https:\/\/www.bolukan.nl\/?attachment_id=140\" class=\"wp-image-140\" srcset=\"https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1gghIarsrBKNjSZFpq6AXhFXav1.jpg 800w, https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1gghIarsrBKNjSZFpq6AXhFXav1-300x300.jpg 300w, https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1gghIarsrBKNjSZFpq6AXhFXav1-150x150.jpg 150w, https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1gghIarsrBKNjSZFpq6AXhFXav1-768x768.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img decoding=\"async\" width=\"801\" height=\"801\" src=\"https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/10pcs-lot-3x7cm-Double-Side-Prototype-PCB-Universal-Printed-Circuit-Board-DIY-Experimental-Plate1.jpg\" alt=\"3x7cm Prototype PCB\" data-id=\"144\" data-full-url=\"https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/10pcs-lot-3x7cm-Double-Side-Prototype-PCB-Universal-Printed-Circuit-Board-DIY-Experimental-Plate1.jpg\" data-link=\"https:\/\/www.bolukan.nl\/?attachment_id=144\" class=\"wp-image-144\" srcset=\"https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/10pcs-lot-3x7cm-Double-Side-Prototype-PCB-Universal-Printed-Circuit-Board-DIY-Experimental-Plate1.jpg 801w, https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/10pcs-lot-3x7cm-Double-Side-Prototype-PCB-Universal-Printed-Circuit-Board-DIY-Experimental-Plate1-300x300.jpg 300w, https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/10pcs-lot-3x7cm-Double-Side-Prototype-PCB-Universal-Printed-Circuit-Board-DIY-Experimental-Plate1-150x150.jpg 150w, https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/10pcs-lot-3x7cm-Double-Side-Prototype-PCB-Universal-Printed-Circuit-Board-DIY-Experimental-Plate1-768x768.jpg 768w\" sizes=\"(max-width: 801px) 100vw, 801px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"800\" src=\"https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1rMjDcTZmx1VjSZFGq6yx2XXaR1.jpg\" alt=\"XM1584 - MP1584-based step-down converter\" data-id=\"138\" data-full-url=\"https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1rMjDcTZmx1VjSZFGq6yx2XXaR1.jpg\" data-link=\"https:\/\/www.bolukan.nl\/?attachment_id=138\" class=\"wp-image-138\" srcset=\"https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1rMjDcTZmx1VjSZFGq6yx2XXaR1.jpg 800w, https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1rMjDcTZmx1VjSZFGq6yx2XXaR1-300x300.jpg 300w, https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1rMjDcTZmx1VjSZFGq6yx2XXaR1-150x150.jpg 150w, https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1rMjDcTZmx1VjSZFGq6yx2XXaR1-768x768.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"800\" src=\"https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1hsREcH1YBuNjSszeq6yblFXaS1.jpg\" alt=\"SM 2.54mm pitch 3 pin connector\" data-id=\"139\" data-full-url=\"https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1hsREcH1YBuNjSszeq6yblFXaS1.jpg\" data-link=\"https:\/\/www.bolukan.nl\/?attachment_id=139\" class=\"wp-image-139\" srcset=\"https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1hsREcH1YBuNjSszeq6yblFXaS1.jpg 800w, https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1hsREcH1YBuNjSszeq6yblFXaS1-300x300.jpg 300w, https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1hsREcH1YBuNjSszeq6yblFXaS1-150x150.jpg 150w, https:\/\/www.bolukan.nl\/wp-content\/uploads\/2020\/12\/HTB1hsREcH1YBuNjSszeq6yblFXaS1-768x768.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/li><\/ul><\/figure>\n<\/div><\/div>\n\n\n\n<p><\/p>\n<\/div>\n<\/div>\n\n\n\n<p>Used items:<br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.aliexpress.com\/item\/1848518580.html\" target=\"_blank\">3x7cm prototype PCB<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.aliexpress.com\/item\/32956072770.html\" target=\"_blank\">Single row female pin header 2.54mm<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.aliexpress.com\/wholesale?SearchText=1x40+Single+Row+Male+2.54mm+pin+header+connector\" target=\"_blank\">Single row male pin header 2.54mm<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.aliexpress.com\/item\/32216500548.html\" target=\"_blank\">50pcs 12V WS2811 12mm Christmas IP68 waterproof led string<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.aliexpress.com\/item\/32979661350.html\" target=\"_blank\">xm1584 step-down power supply<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.aliexpress.com\/item\/32919462422.html\" target=\"_blank\">SM 2.54mm pitch 3 pin connector<\/a><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The 12V Christmas lights needed be powered and controlled. I chose to buy a Mean Well RS-50-12 that delivers 12V up to 4.2A (50W) and built an enclosure. (material for another article). In this post I describe how I created the controller. PS: This project is still in progress&#8230;. The basis is a 3x7cm prototype [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-132","post","type-post","status-publish","format-standard","hentry","category-esp8266"],"_links":{"self":[{"href":"https:\/\/www.bolukan.nl\/index.php?rest_route=\/wp\/v2\/posts\/132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bolukan.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bolukan.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bolukan.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bolukan.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=132"}],"version-history":[{"count":7,"href":"https:\/\/www.bolukan.nl\/index.php?rest_route=\/wp\/v2\/posts\/132\/revisions"}],"predecessor-version":[{"id":148,"href":"https:\/\/www.bolukan.nl\/index.php?rest_route=\/wp\/v2\/posts\/132\/revisions\/148"}],"wp:attachment":[{"href":"https:\/\/www.bolukan.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bolukan.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bolukan.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}