{"id":1931,"date":"2020-11-24T10:30:55","date_gmt":"2020-11-24T16:30:55","guid":{"rendered":"https:\/\/delphijustin.biz\/?p=1931"},"modified":"2021-10-13T19:34:51","modified_gmt":"2021-10-14T00:34:51","slug":"serial-port-holiday-light-flasher","status":"publish","type":"post","link":"https:\/\/delphijustin.biz\/serial-port-holiday-light-flasher\/","title":{"rendered":"Serial Port Holiday Light Flasher"},"content":{"rendered":"\n<p>In this post I will show you how to flash Christmas lights by the serial  port. Now you can with Holiday232. This serial port can switch between 4 different lights by using 2 SPDT relays and both RTS and DTR of the relay. As you may be wondering when looking at the schematic why I&#8217;m using transistors and resistors. It is because the serial port voltage is higher than 12vdc. I don&#8217;t know what the forward voltage or current plus since there is a LED in series with the optocoupler. <\/p>\n\n\n\n<p>The following things are required(for both DTR and RTS):<\/p>\n\n\n\n<ul><li><a href=\"https:\/\/www.allelectronics.com\/item\/mt-181\/rj-45-8-pin-surface-mount-jack\/1.html\">1x RJ45 To screw terminals<\/a><\/li><li><a href=\"https:\/\/www.allelectronics.com\/item\/2n4400\/2n4400-npn-to-92-transistor\/1.html\">2x NPN transistors for 4-lights<\/a><\/li><li><a href=\"https:\/\/www.allelectronics.com\/item\/281-10k\/10k-1\/8w-5-carbon-film-resistor\/1.html\">2x 10K resistors for 4-lights  or 1x 10k resistor for 2-lights<\/a><\/li><li><a href=\"https:\/\/www.allelectronics.com\/item\/rlm-2\/2-channel-relay-module\/1.html\">1x 2-channel relay module for 4-lights<\/a> <\/li><li><a href=\"https:\/\/www.allelectronics.com\/item\/acs-82w\/15a-125-vac-duplex-receptacle-white\/1.html\">2x Duplex Outlet for 4-lights <\/a><\/li><li>1x Cisco console cord. <a href=\"https:\/\/www.ebay.com\/itm\/NEW-Cisco-72-3383-01-RJ-45-to-DB-9-F-Router-Console-Cable-6-Blue\/254458561848?epid=1041617290&amp;hash=item3b3ee98538:g:Y-wAAOSwzWld~C5-\">Serial<\/a> or <a href=\"https:\/\/www.ebay.com\/itm\/USB-to-RJ45-Console-Adapter-Cable-for-Cisco-Routers-FTDI\/254471059714?_trkparms=ispr%3D1&amp;hash=item3b3fa83902:g:MPYAAOSwIPheD6Ax&amp;amdata=enc%3AAQAFAAACcBaobrjLl8XobRIiIML1V4Imu%252Fn%252BzU5L90Z278x5ickkrDx%252B2NLp21dg6hHbHAkGMYLHEIgmONE%252FGe258KmGLkU%252Fjp24A0qabHmiX1JcY1k0rQ1lSUO7WMc4a4t9AaRtMFNPAoRTwf2%252BfF9U%252BKyewX27u3NJrGCrh2v%252FM0nmPfhrzydLrh1mP7ZaS0qtJr8ovWAuW4cikDFU%252F8QDqqCBsXjabXPYd0Gzj2eDvyT8z3aFDVSe6IuHEDVq%252FoOtGsMQlL9suLciJ%252B%252FHLVYUDHbOyqpY8wmuEj4RZGkUKs9zynWMwaKnxxtII6HSqcBv3gZQV3ypeJrn7IFUod2VJZ9Dni%252FS9EVKVMWb%252FuvJlpyaOmmMbaa6hsv%252BPS%252FptVG7aP21Msrs7%252FYRWEJnxVascEKdomuZ45LYkzdemeWKTWi8cn13KuN7PFhkslSpc8v8McfTkR6rLsqq%252BDb%252FZqkQ%252FlCMzBSGPUiymt4V9oQpVfGcsj7JePpWLos0F7FNzjrDBBXHoSv25YGtK3FnRyo8zXNsuELYNYYIjbk0msWsElFgFVX%252B8JV%252F4M7lAAm1wtCJq6lQboJYp8lp1Q4o52lB1zpcpWhn%252F34GWJtRb04Ebl9TrJAUa684B1OSKoII%252FM%252Bdqt1x8aXweqCJjhe8vVv%252BfzIYw3FO%252FYh3k%252F2CIch3OUiZSbNzHj8qYeQKG1%252FkP2nir6XZQP7ZLaStwjVf0usoPpAdMOUMAPNdfzKIS0uqTY42bFLXRDhnVA4OBhi%252BK7LK610zdhLfoWkOfkYgdtBlCJiGnUBFZvhEsUPRdt1r3%252Fb%252FlTIiJJHdKtii6%252BVoV0tlNbGovw%253D%253D%7Ccksum%3A2544710597148a87417174964b6a918b95160d817d08%7Campid%3APL_CLK%7Cclp%3A2334524\">USB<\/a> DO NOT GET THE DB9 TO RJ45 FROM ALLELECTRONICS, THE DB9 TO RJ45 CORD THERE ONLY USES THE DATA WIRES<\/li><li><a href=\"https:\/\/www.allelectronics.com\/item\/cb-347\/6-usb-a-b-cable-2.0-high-speed\/1.html\">1x USB A-B(You will need it even if you get the USB Console cord) You don&#8217;t need this for the 2-light configuration(only for the four light configuration)<\/a> You will cut the cord in half and use Red(+5vdc) and black(Ground) wires.<\/li><li><a href=\"https:\/\/www.ebay.com\/itm\/Carlon-2-Gang-25-Cu-In-Blue-PVC-Old-Work-Electrical-Switch-And-Outlet-Box\/303610269115?hash=item46b0950dbb:g:FzUAAOSwpaxe-z98\">1x Dual gang Outlet box<\/a><\/li><\/ul>\n\n\n\n<p>For 2-lights circuit you will need:<\/p>\n\n\n\n<ul><li><a href=\"https:\/\/www.ebay.com\/itm\/Surface-Mount-Box-Biscuit-Jack-RJ45-8P8C-Ethernet-Network-Pre-Wired-78111B\/253322694002?hash=item3afb358d72:g:QaIAAOSw~jpcXd3o\">1x RJ45 to screw terminals<\/a> This one is from ebay to save money on shipping. Also on this one the pinout may be different colors.<\/li><li>1x cisco console cord <a href=\"https:\/\/www.ebay.com\/itm\/NEW-Cisco-72-3383-01-RJ-45-to-DB-9-F-Router-Console-Cable-6-Blue\/254458561848?epid=1041617290&amp;hash=item3b3ee98538:g:Y-wAAOSwzWld%7EC5-\">Serial<\/a> or <a href=\"https:\/\/www.ebay.com\/itm\/USB-to-RJ45-Console-Adapter-Cable-for-Cisco-Routers-FTDI\/254471059714?_trkparms=ispr%3D1&amp;hash=item3b3fa83902:g:MPYAAOSwIPheD6Ax&amp;amdata=enc%3AAQAFAAACcBaobrjLl8XobRIiIML1V4Imu%252Fn%252BzU5L90Z278x5ickkrDx%252B2NLp21dg6hHbHAkGMYLHEIgmONE%252FGe258KmGLkU%252Fjp24A0qabHmiX1JcY1k0rQ1lSUO7WMc4a4t9AaRtMFNPAoRTwf2%252BfF9U%252BKyewX27u3NJrGCrh2v%252FM0nmPfhrzydLrh1mP7ZaS0qtJr8ovWAuW4cikDFU%252F8QDqqCBsXjabXPYd0Gzj2eDvyT8z3aFDVSe6IuHEDVq%252FoOtGsMQlL9suLciJ%252B%252FHLVYUDHbOyqpY8wmuEj4RZGkUKs9zynWMwaKnxxtII6HSqcBv3gZQV3ypeJrn7IFUod2VJZ9Dni%252FS9EVKVMWb%252FuvJlpyaOmmMbaa6hsv%252BPS%252FptVG7aP21Msrs7%252FYRWEJnxVascEKdomuZ45LYkzdemeWKTWi8cn13KuN7PFhkslSpc8v8McfTkR6rLsqq%252BDb%252FZqkQ%252FlCMzBSGPUiymt4V9oQpVfGcsj7JePpWLos0F7FNzjrDBBXHoSv25YGtK3FnRyo8zXNsuELYNYYIjbk0msWsElFgFVX%252B8JV%252F4M7lAAm1wtCJq6lQboJYp8lp1Q4o52lB1zpcpWhn%252F34GWJtRb04Ebl9TrJAUa684B1OSKoII%252FM%252Bdqt1x8aXweqCJjhe8vVv%252BfzIYw3FO%252FYh3k%252F2CIch3OUiZSbNzHj8qYeQKG1%252FkP2nir6XZQP7ZLaStwjVf0usoPpAdMOUMAPNdfzKIS0uqTY42bFLXRDhnVA4OBhi%252BK7LK610zdhLfoWkOfkYgdtBlCJiGnUBFZvhEsUPRdt1r3%252Fb%252FlTIiJJHdKtii6%252BVoV0tlNbGovw%253D%253D%7Ccksum%3A2544710597148a87417174964b6a918b95160d817d08%7Campid%3APL_CLK%7Cclp%3A2334524\">USB<\/a><\/li><li><a href=\"https:\/\/www.ebay.com\/itm\/10pcs-1N4007-1A-1000V-Rectifier-Diode-DO-41-Free-Shipping-from-USA\/353237556177?hash=item523e995bd1:g:Ln4AAOSwTDVfhjCT\">1x diode(any rectifier\/switching diode will work)<\/a><\/li><li><a href=\"https:\/\/www.adafruit.com\/product\/2935\">1x Adafruit power switch tail<\/a> Simple connect + through a diode DTR or RTS and &#8211; Ground<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Wire color RJ45 screw termnal<\/td><td>Name(DB-9 Side)<\/td><\/tr><tr><td>Yellow and Black(3 and 6)<\/td><td>Transmit and Receive. Tie together so it makes it easy to find the serial port(2 and 3)<\/td><\/tr><tr><td>White(7)<\/td><td>DTR(4)<\/td><\/tr><tr><td>Brown(8)<\/td><td>RTS(7)<\/td><\/tr><tr><td>Red and green(4 and 5)<\/td><td>Ground(5)<\/td><\/tr><\/tbody><\/table><figcaption>Cisco console cable on screw terminals pinouts<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"848\" height=\"515\" src=\"https:\/\/delphijustin.biz\/wp-content\/uploads\/2020\/11\/holiday232-schematic.gif\" alt=\"Schmatic\" class=\"wp-image-1933\"\/><\/figure>\n\n\n\n<input type=\"hidden\" name=\"_fmakey\" id=\"fmakey\" value=\"103e4fd117\"><div id=\"file_manager_advanced\"><\/div>\r\n<p><center>All programs are virus free. Some antivirus software might say its \"suspicious\" or a \"Potentionaly Unwanted Program\". Some of them rate them on what there code looks like no matter if theres a definition in the virus database. If any of them are detected any Antivirus I will zip the software with the password \"justin\" j is lowercase<\/center><br><iframe src=\"\/wp-content\/downloads\/gethashes.php?app=holiday232\" height=\"255px\" width=\"100%\">\r\n\t<form action=\"\/wp-content\/downloads\/gethashes.php\" method=\"get\" target=\"apphashes\">\r\n\t\t<input type=\"hidden\" name=\"app\" value=\"holiday232\">\r\n\t\t<input type=\"submit\" value=\"Get File Hashes\">\r\n\t<\/form>\r\n\t\t<\/iframe><\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/delphijustin.biz\/wp-content\/pictures\/holiday-232-animated.gif\" alt=\"Flashing green low voltage \"\/><figcaption>Flashing low voltage green LEDs<\/figcaption><\/figure>\n\n\n\n<script src=\"\/\/delphianserver.com\/counter\/ibuiltit.js\"><\/script>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Serial port holiday light flasher\" width=\"640\" height=\"480\" src=\"https:\/\/www.youtube.com\/embed\/PpRFx-Ftwjs?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><figcaption>YouTube video<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In this post I will show you how to flash Christmas lights by the serial port. Now you can with Holiday232. This serial port can switch between 4 different lights by using 2 SPDT relays and both RTS and DTR of the relay. As you may be wondering when looking at the schematic why I&#8217;m &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/delphijustin.biz\/serial-port-holiday-light-flasher\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Serial Port Holiday Light Flasher&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"beyondwords_generate_audio":"","beyondwords_project_id":"","beyondwords_content_id":"","beyondwords_preview_token":"","beyondwords_player_style":"","beyondwords_language_id":"","beyondwords_title_voice_id":"","beyondwords_body_voice_id":"","beyondwords_summary_voice_id":"","beyondwords_error_message":"","beyondwords_disabled":"","beyondwords_delete_content":"","beyondwords_podcast_id":"","beyondwords_hash":"","publish_post_to_speechkit":"","speechkit_hash":"","speechkit_generate_audio":"","speechkit_project_id":"","speechkit_podcast_id":"","speechkit_error_message":"","speechkit_disabled":"","speechkit_access_key":"","speechkit_error":"","speechkit_info":"","speechkit_response":"","speechkit_retries":"","speechkit_status":"","speechkit_updated_at":"","_speechkit_link":"","_speechkit_text":""},"categories":[2,4],"tags":[282,280,281,283,277,278,279],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/delphijustin.biz\/wp-json\/wp\/v2\/posts\/1931"}],"collection":[{"href":"https:\/\/delphijustin.biz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/delphijustin.biz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/delphijustin.biz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/delphijustin.biz\/wp-json\/wp\/v2\/comments?post=1931"}],"version-history":[{"count":5,"href":"https:\/\/delphijustin.biz\/wp-json\/wp\/v2\/posts\/1931\/revisions"}],"predecessor-version":[{"id":3993,"href":"https:\/\/delphijustin.biz\/wp-json\/wp\/v2\/posts\/1931\/revisions\/3993"}],"wp:attachment":[{"href":"https:\/\/delphijustin.biz\/wp-json\/wp\/v2\/media?parent=1931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/delphijustin.biz\/wp-json\/wp\/v2\/categories?post=1931"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/delphijustin.biz\/wp-json\/wp\/v2\/tags?post=1931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}