{"id":1026,"date":"2021-06-28T23:08:46","date_gmt":"2021-06-28T23:08:46","guid":{"rendered":"https:\/\/mc.scsiraidguru.com\/?page_id=1026"},"modified":"2024-03-03T16:19:48","modified_gmt":"2024-03-03T16:19:48","slug":"power-buses-and-first-led-lighting","status":"publish","type":"page","link":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/30-days-in-space\/power-buses-and-first-led-lighting\/","title":{"rendered":"Power buses and first led lighting"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1026\" class=\"elementor elementor-1026\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3cad9d0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3cad9d0\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-46bc3da\" data-id=\"46bc3da\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-931cc21 elementor-widget elementor-widget-text-editor\" data-id=\"931cc21\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>My ship has limited power. So I am creating three bus paths: Ground, 5V, and 3.3V.\u00a0 It will also help with the limited amount of wire I have. \u00a0 It is important to not have ground loops.\u00a0 Ground loop is <span class=\"dc_bld \">an unwanted electric current path in a circuit resulting in stray signals or interference, occurring, e.g., when two earthed points in the same circuit have different potentials.\u00a0 The 9V-1A power supplies share the same ground.\u00a0\u00a0 If you follow each ground path, they end without connecting back.\u00a0\u00a0 I made sure both sides of each bread board are grounded<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-036d867 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"036d867\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-535c0a1\" data-id=\"535c0a1\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7ad4b50 elementor-widget elementor-widget-text-editor\" data-id=\"7ad4b50\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"color: #339966;\">Green: Ground<\/span><br \/><span style=\"color: #ff0000;\">Red: 5V<\/span><br \/><span style=\"color: #000000;\">White: 3.3V<\/span><\/p><p>I will keep 5V and 3.3V isolated on the control boards. Still need to connect up the 3.3V. I will also not to create loops.\u00a0 Ground loops are very bad.\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9f43bb4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9f43bb4\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-98b6283\" data-id=\"98b6283\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-99bf239 elementor-widget elementor-widget-text-editor\" data-id=\"99bf239\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<span id=\"calcstardate\"><b class=\"heading\">Stardate<\/b> 98775.72<\/span>\nI connected the ground and 5V buses together around the control boards.\n\n<span style=\"color: #339966;\">Green: Ground<\/span>\n<span style=\"color: #ff0000;\">Red: 5V<\/span>\n\nI<sup>2<\/sup>C uses SDA and SCL connections.\nSDA: Serial Data: Data moves here\nSCL: Serial Clock: Clock sync here\n\nMega 2560:\nSDA : pin 20\nSCL: pin 21\n\nHero UNO:\nSDA: pin A4\nSCL: pin A5\n\nI checked each ground and power path with a multimeter to verify wiring.\u00a0\u00a0 First, I split the power connections of the Arduino devices to separate locations on the boards.\u00a0 5V is reading 4.99V.\u00a0\u00a0 Then, I checked for ground loops.\u00a0 Finally, I also wired to limit the connection lengths.\u00a0 The bottom rows are I<sup>2<\/sup>C bus.\u00a0 On the control board by the Slave 4, You will notice some extra jumpers.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ba9f877 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ba9f877\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-361d0c0\" data-id=\"361d0c0\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-38ac811 elementor-widget elementor-widget-image\" data-id=\"38ac811\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/i2c_5devices.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"i2c_5devices\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6OTg3LCJ1cmwiOiJodHRwczpcL1wvbWMuc2NzaXJhaWRndXJ1LmNvbVwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMVwvMDZcL2kyY181ZGV2aWNlcy5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img data-opt-id=848893545  fetchpriority=\"high\" decoding=\"async\" width=\"300\" height=\"90\" src=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:90\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/i2c_5devices.jpg\" class=\"attachment-medium size-medium wp-image-987\" alt=\"\" srcset=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:90\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/i2c_5devices.jpg 300w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:1024\/h:308\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/i2c_5devices.jpg 1024w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:768\/h:231\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/i2c_5devices.jpg 768w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:1536\/h:463\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/i2c_5devices.jpg 1536w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:1614\/h:486\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/i2c_5devices.jpg 1614w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-394fc74 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"394fc74\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d9b37ac\" data-id=\"d9b37ac\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4418d12 elementor-widget elementor-widget-text-editor\" data-id=\"4418d12\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>I was able to find a few SN74HC595N shift registers to connect the lighting up with.\u00a0 This saves on wire and ports of the controllers.\u00a0 I added 8 position dip switches and SIPO and PISO shift registers to this project.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b576298 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b576298\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b549cb5\" data-id=\"b549cb5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b8d0ce4 elementor-widget elementor-widget-image-gallery\" data-id=\"b8d0ce4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image-gallery.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-image-gallery\">\n\t\t\t<div id='gallery-1' class='gallery galleryid-1026 gallery-columns-4 gallery-size-thumbnail'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon portrait'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"b8d0ce4\" data-elementor-lightbox-title=\"20210306_182704\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTAzNSwidXJsIjoiaHR0cHM6XC9cL21jLnNjc2lyYWlkZ3VydS5jb21cL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjFcLzA2XC8yMDIxMDMwNl8xODI3MDQtc2NhbGVkLmpwZyIsInNsaWRlc2hvdyI6ImI4ZDBjZTQifQ%3D%3D\" href='https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/20210306_182704-scaled.jpg'><img data-opt-id=660737148  fetchpriority=\"high\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:150\/h:150\/q:mauto\/rt:fill\/g:ce\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/20210306_182704.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon portrait'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"b8d0ce4\" data-elementor-lightbox-title=\"20210307_154133\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTAzNiwidXJsIjoiaHR0cHM6XC9cL21jLnNjc2lyYWlkZ3VydS5jb21cL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjFcLzA2XC8yMDIxMDMwN18xNTQxMzMtc2NhbGVkLmpwZyIsInNsaWRlc2hvdyI6ImI4ZDBjZTQifQ%3D%3D\" href='https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/20210307_154133-scaled.jpg'><img data-opt-id=539731055  fetchpriority=\"high\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:150\/h:150\/q:mauto\/rt:fill\/g:ce\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/20210307_154133.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"b8d0ce4\" data-elementor-lightbox-title=\"day5_LEDs_7SegDis\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTAzNywidXJsIjoiaHR0cHM6XC9cL21jLnNjc2lyYWlkZ3VydS5jb21cL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjFcLzA2XC9kYXk1X0xFRHNfN1NlZ0Rpcy5qcGciLCJzbGlkZXNob3ciOiJiOGQwY2U0In0%3D\" href='https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/day5_LEDs_7SegDis.jpg'><img data-opt-id=819686910  data-opt-src=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:150\/h:150\/q:mauto\/rt:fill\/g:ce\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/day5_LEDs_7SegDis.jpg\"  loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20150%20150%22%20width%3D%22150%22%20height%3D%22150%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%22150%22%20height%3D%22150%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon portrait'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"b8d0ce4\" data-elementor-lightbox-title=\"front leds with sn74hc595n\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTAzOCwidXJsIjoiaHR0cHM6XC9cL21jLnNjc2lyYWlkZ3VydS5jb21cL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjFcLzA2XC9mcm9udC1sZWRzLXdpdGgtc243NGhjNTk1bi5qcGciLCJzbGlkZXNob3ciOiJiOGQwY2U0In0%3D\" href='https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/front-leds-with-sn74hc595n.jpg'><img data-opt-id=1753831907  data-opt-src=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:150\/h:150\/q:mauto\/rt:fill\/g:ce\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/front-leds-with-sn74hc595n.jpg\"  loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20150%20150%22%20width%3D%22150%22%20height%3D%22150%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%22150%22%20height%3D%22150%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"b8d0ce4\" data-elementor-lightbox-title=\"sn74hc595 and 7 segment led fritz\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTAzOSwidXJsIjoiaHR0cHM6XC9cL21jLnNjc2lyYWlkZ3VydS5jb21cL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjFcLzA2XC9zbjc0aGM1OTUtYW5kLTctc2VnbWVudC1sZWQtZnJpdHouanBnIiwic2xpZGVzaG93IjoiYjhkMGNlNCJ9\" href='https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/sn74hc595-and-7-segment-led-fritz.jpg'><img data-opt-id=1729237289  data-opt-src=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:150\/h:150\/q:mauto\/rt:fill\/g:ce\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/sn74hc595-and-7-segment-led-fritz.jpg\"  loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20150%20150%22%20width%3D%22150%22%20height%3D%22150%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%22150%22%20height%3D%22150%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure>\n\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d90f314 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d90f314\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e302bfa\" data-id=\"e302bfa\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b31cd60 elementor-widget elementor-widget-text-editor\" data-id=\"b31cd60\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2 style=\"text-align: center;\">Code<\/h2>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1be6b01 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1be6b01\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f6d5daa\" data-id=\"f6d5daa\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c918d7e elementor-widget elementor-widget-text-editor\" data-id=\"c918d7e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 style=\"text-align: center;\">Master<\/h3>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-39ece35 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"39ece35\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-aac8363\" data-id=\"aac8363\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-eb40f34 elementor-widget elementor-widget-text-editor\" data-id=\"eb40f34\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>\/\/ Include the required Wire library for I2C\n\n#include &lt;Wire.h&gt;\nint x = 0;\nint LED = 13;\n\nvoid setup(){\npinMode (LED, OUTPUT);\n\/\/ Start the I2C Bus as Master\nWire.begin();\n}\n\nvoid loop() {\nx++; \/\/ Increment x\n\/\/From Left to Right\n\/\/ First UNO\nWire.beginTransmission(1); \/\/ transmit to device #1\nWire.write(x); \/\/ sends x\nWire.endTransmission(); \/\/ stop transmitting\n\n\/\/Second UNO\nWire.beginTransmission(2); \/\/ transmit to device #2\nWire.write(x); \/\/ sends x\nWire.endTransmission(); \/\/ stop transmitting\n\n\/\/Mega in the Middle\n\n\/\/Third UNO\nWire.beginTransmission(3); \/\/ transmit to device #3\nWire.write(x); \/\/ sends x\nWire.endTransmission(); \/\/ stop transmitting\n\n\/\/Fourth UNO\nWire.beginTransmission(4); \/\/ transmit to device #4\nWire.write(x); \/\/ sends x\nWire.endTransmission(); \/\/ stop transmitting\n\nif ( (x == 3) || (x == 6)) {\ndigitalWrite(LED, HIGH);\n}\nelse {\ndigitalWrite(LED, LOW);\n}\n\nif (x == 7) x = 0; \/\/ `reset x once it gets 6\ndelay(1000);\n\n}<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6cfd194 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6cfd194\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-715b2a5\" data-id=\"715b2a5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-755b6fd elementor-widget elementor-widget-text-editor\" data-id=\"755b6fd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 style=\"text-align: center;\">Slave 1<\/h3>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ec30f32 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ec30f32\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-de37b47\" data-id=\"de37b47\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-18fe7c0 elementor-widget elementor-widget-text-editor\" data-id=\"18fe7c0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>#include &lt;Wire.h&gt;\nint LED = 13;\nint latchPin=11;\nint clockPin=9;\nint dataPin=12;\nint x = 0;\nint dt=250;\n\nbyte LEDsOff=0b00000000;\nbyte LEDsOn=0b11111111;\nbyte LEDs1=0b10000000;\nbyte LEDs2=0b01000000;\nbyte LEDs3=0b00100000;\nbyte LEDs4=0b00010000;\nbyte LEDs5=0b00001000;\nbyte LEDs6=0b00000100;\nbyte LEDs7=0b00000010;\nbyte LEDs8=0b00000001;\n\nvoid setup() {\nSerial.begin(9600);\npinMode (LED, OUTPUT);\npinMode (latchPin,OUTPUT);\npinMode (dataPin,OUTPUT);\npinMode (clockPin,OUTPUT);\n\n\/\/SN74HC252\n\n\/\/ Start the I2C Bus as Slave on address 1\nWire.begin(1);\n\/\/ Attach a function to trigger when something is received.\nWire.onReceive(receiveEvent);\n}\nvoid receiveEvent(int bytes) {\nx = Wire.read(); \/\/ read one character from the I2C\n}\n\nvoid loop() {\nif (x == 1) {\ndigitalWrite(LED, HIGH);\n}\nelse {\ndigitalWrite(LED, LOW);\n}\n\nif (x == 6) {\ndigitalWrite(LED, HIGH);\ndelay(500);\ndigitalWrite(LED, LOW);\n}\n\n\/\/SN74HC252 Loop 1 to 8\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDsOn);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\n\/*\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDsOff);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDs1);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDs2);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDs3);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDs4);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDs5);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDs6);-\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDs7);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDs8);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n*\/\n\n}<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b67661f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b67661f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-24ccbdf\" data-id=\"24ccbdf\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-35ef7cc elementor-widget elementor-widget-text-editor\" data-id=\"35ef7cc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 style=\"text-align: center;\">Slave 2<\/h3>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-85f7131 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"85f7131\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-11c6fd7\" data-id=\"11c6fd7\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-54fd048 elementor-widget elementor-widget-text-editor\" data-id=\"54fd048\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>#include &lt;Wire.h&gt;\nint LED = 13;\nint x = 0;\nvoid setup() {\npinMode (LED, OUTPUT);\n\/\/ Start the I2C Bus as Slave on address 2\nWire.begin(2);\n\/\/ Attach a function to trigger when something is received.\nWire.onReceive(receiveEvent);\n}\nvoid receiveEvent(int bytes) {\nx = Wire.read(); \/\/ read one character from the I2C\n}\n\nvoid loop() {\nif (x == 2) {\ndigitalWrite(LED, HIGH);\n}\nelse {\ndigitalWrite(LED, LOW);\n}\n\nif (x == 6) {\ndigitalWrite(LED, HIGH);\ndelay(500);\ndigitalWrite(LED, LOW);\n}\n\n}<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e9e4276 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e9e4276\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d97db2c\" data-id=\"d97db2c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4bd9b57 elementor-widget elementor-widget-text-editor\" data-id=\"4bd9b57\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 style=\"text-align: center;\">Slave 3<\/h3>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-dbf7058 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"dbf7058\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-dd0cbe9\" data-id=\"dd0cbe9\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3641230 elementor-widget elementor-widget-text-editor\" data-id=\"3641230\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>#include &lt;Wire.h&gt;\nint LED = 13;\nint x = 0;\nvoid setup() {\npinMode (LED, OUTPUT);\n\/\/ Start the I2C Bus as Slave on address 3\nWire.begin(3);\n\/\/ Attach a function to trigger when something is received.\nWire.onReceive(receiveEvent);\n}\nvoid receiveEvent(int bytes) {\nx = Wire.read(); \/\/ read one character from the I2C\n}\n\nvoid loop() {\nif (x == 4) {\ndigitalWrite(LED, HIGH);\n}\nelse {\ndigitalWrite(LED, LOW);\n}\n\nif (x == 6) {\ndigitalWrite(LED, HIGH);\ndelay(500);\ndigitalWrite(LED, LOW);\n}\n\n}<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3bdca7e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3bdca7e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0a3da2e\" data-id=\"0a3da2e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-34c59e7 elementor-widget elementor-widget-text-editor\" data-id=\"34c59e7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 style=\"text-align: center;\">Slave 4<\/h3>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-21f7621 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"21f7621\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-56bc9cd\" data-id=\"56bc9cd\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ddbbb74 elementor-widget elementor-widget-text-editor\" data-id=\"ddbbb74\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>#include &lt;Wire.h&gt;\nint LED = 13;\nint latchPin=11;\nint clockPin=9;\nint dataPin=12;\nint x = 0;\nint dt=250;\n\nbyte LEDsOff=0b00000000;\nbyte LEDsOn=0b11111111;\nbyte LEDs1=0b10000000;\nbyte LEDs2=0b01000000;\nbyte LEDs3=0b00100000;\nbyte LEDs4=0b00010000;\nbyte LEDs5=0b00001000;\nbyte LEDs6=0b00000100;\nbyte LEDs7=0b00000010;\nbyte LEDs8=0b00000001;\n\nbyte LEDZero = 0b11111100;\nbyte LEDOne = 0b01100000;\nbyte LEDTwo = 0b11011010;\nbyte LEDThree = 0b11110010;\nbyte LEDFour = 0b01100110;\nbyte LEDFive = 0b10110110;\nbyte LEDSix = 0b00111110;\n\nvoid setup() {\npinMode (LED, OUTPUT);\npinMode (latchPin,OUTPUT);\npinMode (dataPin,OUTPUT);\npinMode (clockPin,OUTPUT);\n\n\/\/ Start the I2C Bus as Slave on address 4\nWire.begin(4);\n\/\/ Attach a function to trigger when something is received.\nWire.onReceive(receiveEvent);\n}\nvoid receiveEvent(int bytes) {\nx = Wire.read(); \/\/ read one character from the I2C\n}\n\nvoid loop() {\n\/*\n\/\/ test all LED display\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDsOn);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n*\/\n\nif (x == 1) {\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDOne);\ndigitalWrite(latchPin,HIGH);\n}\n\nif (x == 2) {\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDTwo);\ndigitalWrite(latchPin,HIGH);\n}\n\nif (x == 3) {\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDThree);\ndigitalWrite(latchPin,HIGH);\n}\n\nif (x == 4) {\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDFour);\ndigitalWrite(latchPin,HIGH);\n}\n\nif (x == 5) {\ndigitalWrite(LED, HIGH);\n\/\/LED display\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDFive);\ndigitalWrite(latchPin,HIGH);\n}\nelse {\ndigitalWrite(LED, LOW);\n}\n\nif (x == 6) {\ndigitalWrite(LED, HIGH);\n\n\/\/LED display\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDSix);\ndigitalWrite(latchPin,HIGH);\n\n\/\/On Board LED\ndigitalWrite(LED, LOW);\n}\n\n\/\/SN74HC252 Loop 1 to 8\n\/*\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDsOn);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDsOff);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDs1);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDs2);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDs3);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDs4);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDs5);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDs6);-\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDs7);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n\ndigitalWrite(latchPin,LOW);\nshiftOut(dataPin,clockPin,LSBFIRST,LEDs8);\ndigitalWrite(latchPin,HIGH);\ndelay(dt);\n*\/\n\n}<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>My ship has limited power. So I am creating three bus paths: Ground, 5V, and 3.3V.\u00a0 It will also help with the limited amount of wire I have. \u00a0 It is important to not have ground loops.\u00a0 Ground loop is an unwanted electric current path in a circuit resulting in stray signals or interference, occurring, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":968,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"custom","ocean_center_header_left_menu":"0","ocean_custom_header_template":"7124","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","osh_disable_topbar_sticky":"default","osh_disable_header_sticky":"default","osh_sticky_header_style":"default","osh_sticky_header_effect":"","osh_custom_sticky_logo":0,"osh_custom_retina_sticky_logo":0,"osh_custom_sticky_logo_height":0,"osh_background_color":"","osh_links_color":"","osh_links_hover_color":"","osh_links_active_color":"","osh_links_bg_color":"","osh_links_hover_bg_color":"","osh_links_active_bg_color":"","osh_menu_social_links_color":"","osh_menu_social_hover_links_color":"","footnotes":""},"class_list":["post-1026","page","type-page","status-publish","hentry","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Power buses and first led lighting -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/30-days-in-space\/power-buses-and-first-led-lighting\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Power buses and first led lighting -\" \/>\n<meta property=\"og:description\" content=\"My ship has limited power. So I am creating three bus paths: Ground, 5V, and 3.3V.\u00a0 It will also help with the limited amount of wire I have. \u00a0 It is important to not have ground loops.\u00a0 Ground loop is an unwanted electric current path in a circuit resulting in stray signals or interference, occurring, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/30-days-in-space\/power-buses-and-first-led-lighting\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-03T16:19:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:90\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/i2c_5devices.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/30-days-in-space\\\/power-buses-and-first-led-lighting\\\/\",\"url\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/30-days-in-space\\\/power-buses-and-first-led-lighting\\\/\",\"name\":\"Power buses and first led lighting -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/30-days-in-space\\\/power-buses-and-first-led-lighting\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/30-days-in-space\\\/power-buses-and-first-led-lighting\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/06\\/i2c_5devices-300x90.jpg\",\"datePublished\":\"2021-06-28T23:08:46+00:00\",\"dateModified\":\"2024-03-03T16:19:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/30-days-in-space\\\/power-buses-and-first-led-lighting\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/30-days-in-space\\\/power-buses-and-first-led-lighting\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/30-days-in-space\\\/power-buses-and-first-led-lighting\\\/#primaryimage\",\"url\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/06\\/i2c_5devices.jpg\",\"contentUrl\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/06\\/i2c_5devices.jpg\",\"width\":1614,\"height\":486},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/30-days-in-space\\\/power-buses-and-first-led-lighting\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Arduino\",\"item\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"30 Days in Space\",\"item\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/arduino\\\/30-days-in-space\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Power buses and first led lighting\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/#website\",\"url\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/\",\"name\":\"SCSIraidGURU MC World\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/#\\\/schema\\\/person\\\/f21e3238456a7c2adea5944cb376cddc\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/#\\\/schema\\\/person\\\/f21e3238456a7c2adea5944cb376cddc\",\"name\":\"Michael McKenney\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/09\\/20210925_105558.jpg\",\"url\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/09\\/20210925_105558.jpg\",\"contentUrl\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/09\\/20210925_105558.jpg\",\"width\":2560,\"height\":1440,\"caption\":\"Michael McKenney\"},\"logo\":{\"@id\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/09\\/20210925_105558.jpg\"},\"sameAs\":[\"http:\\\/\\\/mc.scsiraidguru.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Power buses and first led lighting -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/30-days-in-space\/power-buses-and-first-led-lighting\/","og_locale":"en_US","og_type":"article","og_title":"Power buses and first led lighting -","og_description":"My ship has limited power. So I am creating three bus paths: Ground, 5V, and 3.3V.\u00a0 It will also help with the limited amount of wire I have. \u00a0 It is important to not have ground loops.\u00a0 Ground loop is an unwanted electric current path in a circuit resulting in stray signals or interference, occurring, [&hellip;]","og_url":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/30-days-in-space\/power-buses-and-first-led-lighting\/","article_modified_time":"2024-03-03T16:19:48+00:00","og_image":[{"url":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:90\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/i2c_5devices.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/30-days-in-space\/power-buses-and-first-led-lighting\/","url":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/30-days-in-space\/power-buses-and-first-led-lighting\/","name":"Power buses and first led lighting -","isPartOf":{"@id":"https:\/\/mc.scsiraidguru.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/30-days-in-space\/power-buses-and-first-led-lighting\/#primaryimage"},"image":{"@id":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/30-days-in-space\/power-buses-and-first-led-lighting\/#primaryimage"},"thumbnailUrl":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:90\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/i2c_5devices.jpg","datePublished":"2021-06-28T23:08:46+00:00","dateModified":"2024-03-03T16:19:48+00:00","breadcrumb":{"@id":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/30-days-in-space\/power-buses-and-first-led-lighting\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/30-days-in-space\/power-buses-and-first-led-lighting\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/30-days-in-space\/power-buses-and-first-led-lighting\/#primaryimage","url":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/i2c_5devices.jpg","contentUrl":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/06\/i2c_5devices.jpg","width":1614,"height":486},{"@type":"BreadcrumbList","@id":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/30-days-in-space\/power-buses-and-first-led-lighting\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mc.scsiraidguru.com\/"},{"@type":"ListItem","position":2,"name":"Arduino","item":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/"},{"@type":"ListItem","position":3,"name":"30 Days in Space","item":"https:\/\/mc.scsiraidguru.com\/index.php\/arduino\/30-days-in-space\/"},{"@type":"ListItem","position":4,"name":"Power buses and first led lighting"}]},{"@type":"WebSite","@id":"https:\/\/mc.scsiraidguru.com\/#website","url":"https:\/\/mc.scsiraidguru.com\/","name":"SCSIraidGURU MC World","description":"","publisher":{"@id":"https:\/\/mc.scsiraidguru.com\/#\/schema\/person\/f21e3238456a7c2adea5944cb376cddc"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mc.scsiraidguru.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/mc.scsiraidguru.com\/#\/schema\/person\/f21e3238456a7c2adea5944cb376cddc","name":"Michael McKenney","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210925_105558.jpg","url":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210925_105558.jpg","contentUrl":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210925_105558.jpg","width":2560,"height":1440,"caption":"Michael McKenney"},"logo":{"@id":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210925_105558.jpg"},"sameAs":["http:\/\/mc.scsiraidguru.com"]}]}},"_links":{"self":[{"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/pages\/1026","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/comments?post=1026"}],"version-history":[{"count":128,"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/pages\/1026\/revisions"}],"predecessor-version":[{"id":7532,"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/pages\/1026\/revisions\/7532"}],"up":[{"embeddable":true,"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/pages\/968"}],"wp:attachment":[{"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/media?parent=1026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}