{"id":1374,"date":"2021-08-30T13:50:32","date_gmt":"2021-08-30T13:50:32","guid":{"rendered":"https:\/\/mc.scsiraidguru.com\/?page_id=1374"},"modified":"2024-03-03T15:25:56","modified_gmt":"2024-03-03T15:25:56","slug":"pi-to-arduino-i2c","status":"publish","type":"page","link":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/pi-to-arduino-i2c\/","title":{"rendered":"Pi to Arduino I2C"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1374\" class=\"elementor elementor-1374\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2dfc6ed elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2dfc6ed\" 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-183d67a\" data-id=\"183d67a\" 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-3f54a34 elementor-widget elementor-widget-image\" data-id=\"3f54a34\" 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\/08\/20210824_132725_rot.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"20210824_132725_rot\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTQwMCwidXJsIjoiaHR0cHM6XC9cL21jLnNjc2lyYWlkZ3VydS5jb21cL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjFcLzA4XC8yMDIxMDgyNF8xMzI3MjVfcm90LmpwZyJ9\">\n\t\t\t\t\t\t\t<img data-opt-id=93319047  fetchpriority=\"high\" decoding=\"async\" width=\"300\" height=\"169\" src=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:169\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/08\/20210824_132725_rot.jpg\" class=\"attachment-medium size-medium wp-image-1400\" alt=\"\" srcset=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:169\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/08\/20210824_132725_rot.jpg 300w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:1024\/h:576\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/08\/20210824_132725_rot.jpg 1024w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:768\/h:432\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/08\/20210824_132725_rot.jpg 768w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:1536\/h:864\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/08\/20210824_132725_rot.jpg 1536w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:1920\/h:1080\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/08\/20210824_132725_rot.jpg 1920w\" 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-2953248 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2953248\" 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-79ef1a6\" data-id=\"79ef1a6\" 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-3e56e5d elementor-widget elementor-widget-text-editor\" data-id=\"3e56e5d\" 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>7.10.22<br \/>I am reconnecting the I2C LCD screens to the Raspberry PI 4B.<\/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-bb3c631 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bb3c631\" 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-26e9cbd\" data-id=\"26e9cbd\" 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-cfdbe3c elementor-widget elementor-widget-text-editor\" data-id=\"cfdbe3c\" 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>From Left to Right<\/p><p>Raspberry Pi\u00a0 4B 8GB with T-Cobbler<br \/>Bi directional Logic Level Converter (BD-LLC), little red IC<br \/>Arduino 4: Arduino Hero\u00a0 (Arduino master until BD-LLC is configured)<br \/>Arduino 5: Arduino Hero<br \/>Arduino 6: Arduino Hero<br \/>Arduino 7: Arduino Mega 2560 <br \/>Arduino 8: Arduino Mega Wifi<br \/>Arduino 9: Arduino Uno R3<br \/>Arduino 10: Arduino Hero<br \/>Arduino 11: Arduino Hero<br \/>Arduino 12: Arduino Hero<\/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-9825728 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9825728\" 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-c510be8\" data-id=\"c510be8\" 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-7a21430 elementor-widget elementor-widget-text-editor\" data-id=\"7a21430\" 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>You can see the I2C LCD addresses at 24 and 27.\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-b6ede3a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b6ede3a\" 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-baaa049\" data-id=\"baaa049\" 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-890df32 elementor-widget elementor-widget-text-editor\" data-id=\"890df32\" 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>i2cdetect -y 1<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0 1\u00a0\u00a0 2\u00a0\u00a0 3\u00a0\u00a0\u00a0 4\u00a0\u00a0 5\u00a0\u00a0 6 \u00a0\u00a0 7\u00a0 8\u00a0 9\u00a0\u00a0\u00a0 a\u00a0\u00a0 b\u00a0 c\u00a0 d\u00a0\u00a0 e\u00a0 \u00a0 f<br \/>00:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; <br \/>10: &#8212; &#8212; &#8212; &#8212;\u00a0 14\u00a0 15\u00a0 16\u00a0 17 18 19 1a 1b 1c \u00a0\u00a0 &#8212; &#8212; &#8212;\u00a0 <br \/>20: &#8212; &#8212; &#8212; &#8212; 24 &#8212; &#8212; 27 &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; <br \/>30: &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; <br \/>40: &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; <br \/>50: &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; <br \/>60: &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; <br \/>70: &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212; &#8212;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\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-8562e03 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8562e03\" 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-9010fa6\" data-id=\"9010fa6\" 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-cba6d5c elementor-widget elementor-widget-text-editor\" data-id=\"cba6d5c\" 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 style=\"text-align: center;\">LCD 0x24 is displaying information from each Arduino to Raspberry PI that has each of the 9 Arduino devices checking in.\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-bd7c0ea elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bd7c0ea\" 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-c235015\" data-id=\"c235015\" 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-643ca96 elementor-widget elementor-widget-image\" data-id=\"643ca96\" 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\/2022\/07\/check_in.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"check_in\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NTI4NywidXJsIjoiaHR0cHM6XC9cL21jLnNjc2lyYWlkZ3VydS5jb21cL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA3XC9jaGVja19pbi5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img data-opt-id=652299390  fetchpriority=\"high\" decoding=\"async\" width=\"300\" height=\"176\" src=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:176\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2022\/07\/check_in.jpg\" class=\"attachment-medium size-medium wp-image-5287\" alt=\"\" srcset=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:176\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2022\/07\/check_in.jpg 300w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:768\/h:450\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2022\/07\/check_in.jpg 768w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:920\/h:539\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2022\/07\/check_in.jpg 920w\" 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-f9adea0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f9adea0\" 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-382f384\" data-id=\"382f384\" 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-38b61b7 elementor-widget elementor-widget-text-editor\" data-id=\"38b61b7\" 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 style=\"text-align: center;\">INO files for Arduino device<\/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-0380207 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0380207\" 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-912e1d9\" data-id=\"912e1d9\" 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-175aba6 elementor-widget elementor-widget-text-editor\" data-id=\"175aba6\" 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;\">Arduino 5<\/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-812a980 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"812a980\" 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-2d73ba0\" data-id=\"2d73ba0\" 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-a897c29 elementor-widget elementor-widget-text-editor\" data-id=\"a897c29\" 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>\/\/ Wire Slave Receiver\n\/\/ by Nicholas Zambetti &lt;http:\/\/www.zambetti.com&gt;\n\n\/\/ Demonstrates use of the Wire library\n\/\/ Receives data as an I2C\/TWI slave device\n\/\/ Refer to the \"Wire Master Writer\" example for use with this\n\n\/\/ Created 29 March 2006\n\n\/\/ This example code is in the public domain.\n\n\/\/ 04-Feb-2018 mcarter adapted\n#include &lt;Wire.h&gt;\n\nconst int ledPin = 13; \/\/ onboard LED\nint ValueA3 = 0;\nstatic_assert(LOW == 0, \"Expecting LOW to be 0\");\nint Checking_In = 1;\n\n\nvoid setup() {\n  Serial.begin(9600);\n  Wire.begin(0x15);                \/\/ join i2c bus with address #4\n  \n  Wire.onReceive(receiveEvent); \/\/ register event\n  Wire.onRequest(requestEvent);  \/\/ send date to Pi\n  Wire.onRequest(ard_checkingIn);  \/\/ send date to Pi\n  \n  pinMode(ledPin, OUTPUT);\n  digitalWrite(ledPin, LOW); \/\/ turn it off\n}\n\nvoid loop() {\n  delay(100);\n}\n\n\/\/ function that executes whenever data is received from master\n\/\/ this function is registered as an event, see setup()\nvoid receiveEvent() {\n  while (Wire.available()) { \/\/ loop through all but the last\n    char c = Wire.read(); \/\/ receive byte as a character\n    digitalWrite(ledPin, c);\n  }\n}\n\nvoid requestEvent()\n{\n  \n}\n\nvoid ard_checkingIn()\n{\nWire.write(Checking_In);\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-fecace2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fecace2\" 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-a8bcc7c\" data-id=\"a8bcc7c\" 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-0b91e16 elementor-widget elementor-widget-text-editor\" data-id=\"0b91e16\" 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;\">Arduino 6<\/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-b2018a1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b2018a1\" 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-d2e6ada\" data-id=\"d2e6ada\" 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-36fd201 elementor-widget elementor-widget-text-editor\" data-id=\"36fd201\" 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>\/\/ Wire Slave Receiver\n\/\/ by Nicholas Zambetti &lt;http:\/\/www.zambetti.com&gt;\n\n\/\/ Demonstrates use of the Wire library\n\/\/ Receives data as an I2C\/TWI slave device\n\/\/ Refer to the \"Wire Master Writer\" example for use with this\n\n\/\/ Created 29 March 2006\n\n\/\/ This example code is in the public domain.\n\n\/\/ 04-Feb-2018 mcarter adapted\n#include &lt;Wire.h&gt;\n\nconst int ledPin = 13; \/\/ onboard LED\nint ValueA3 = 0;\nstatic_assert(LOW == 0, \"Expecting LOW to be 0\");\nint Checking_In = 1;\n\n\nvoid setup() {\n  Serial.begin(9600);\n  Wire.begin(0x16);                \/\/ join i2c bus with address #4\n  \n  Wire.onReceive(receiveEvent); \/\/ register event\n  Wire.onRequest(requestEvent);  \/\/ send date to Pi\n  Wire.onRequest(ard_checkingIn);  \/\/ send date to Pi\n  \n  pinMode(ledPin, OUTPUT);\n  digitalWrite(ledPin, LOW); \/\/ turn it off\n}\n\nvoid loop() {\n  delay(100);\n}\n\n\/\/ function that executes whenever data is received from master\n\/\/ this function is registered as an event, see setup()\nvoid receiveEvent() {\n  while (Wire.available()) { \/\/ loop through all but the last\n    char c = Wire.read(); \/\/ receive byte as a character\n    digitalWrite(ledPin, c);\n  }\n}\n\nvoid requestEvent()\n{\n  \n}\n\nvoid ard_checkingIn()\n{\nWire.write(Checking_In);\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-af6ee77 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"af6ee77\" 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-c5f74c4\" data-id=\"c5f74c4\" 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-f7ff4bf elementor-widget elementor-widget-text-editor\" data-id=\"f7ff4bf\" 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;\">Arduino Mega 7<\/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-ccd8e53 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ccd8e53\" 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-0913c44\" data-id=\"0913c44\" 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-751fa50 elementor-widget elementor-widget-text-editor\" data-id=\"751fa50\" 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>\/\/ Wire Slave Receiver\n\/\/ by Nicholas Zambetti &lt;http:\/\/www.zambetti.com&gt;\n\n\/\/ Demonstrates use of the Wire library\n\/\/ Receives data as an I2C\/TWI slave device\n\/\/ Refer to the \"Wire Master Writer\" example for use with this\n\n\/\/ Created 29 March 2006\n\n\/\/ This example code is in the public domain.\n\n\/\/ 04-Feb-2018 mcarter adapted\n#include &lt;Wire.h&gt;\n\nconst int ledPin = 13; \/\/ onboard LED\nint ValueA3 = 0;\nstatic_assert(LOW == 0, \"Expecting LOW to be 0\");\nint Checking_In = 1;\n\n\nvoid setup() {\n  Serial.begin(9600);\n  Wire.begin(0x17);                \/\/ join i2c bus with address #4\n  \n  Wire.onReceive(receiveEvent); \/\/ register event\n  Wire.onRequest(requestEvent);  \/\/ send date to Pi\n  Wire.onRequest(ard_checkingIn);  \/\/ send date to Pi\n  \n  pinMode(ledPin, OUTPUT);\n  digitalWrite(ledPin, LOW); \/\/ turn it off\n}\n\nvoid loop() {\n  delay(100);\n}\n\n\/\/ function that executes whenever data is received from master\n\/\/ this function is registered as an event, see setup()\nvoid receiveEvent() {\n  while (Wire.available()) { \/\/ loop through all but the last\n    char c = Wire.read(); \/\/ receive byte as a character\n    digitalWrite(ledPin, c);\n  }\n}\n\nvoid requestEvent()\n{\n  \n}\n\nvoid ard_checkingIn()\n{\nWire.write(Checking_In);\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-1459e9a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1459e9a\" 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-b9450ca\" data-id=\"b9450ca\" 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-6ce5790 elementor-widget elementor-widget-text-editor\" data-id=\"6ce5790\" 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;\">Arduino Mega Wifi 8<\/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-b400c5b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b400c5b\" 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-55be92a\" data-id=\"55be92a\" 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-de44df8 elementor-widget elementor-widget-text-editor\" data-id=\"de44df8\" 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>\/\/ Wire Slave Receiver\n\/\/ by Nicholas Zambetti &lt;http:\/\/www.zambetti.com&gt;\n\n\/\/ Demonstrates use of the Wire library\n\/\/ Receives data as an I2C\/TWI slave device\n\/\/ Refer to the \"Wire Master Writer\" example for use with this\n\n\/\/ Created 29 March 2006\n\n\/\/ This example code is in the public domain.\n\n\/\/ 04-Feb-2018 mcarter adapted\n#include &lt;Wire.h&gt;\n\nconst int ledPin = 13; \/\/ onboard LED\nint ValueA3 = 0;\nstatic_assert(LOW == 0, \"Expecting LOW to be 0\");\nint Checking_In = 1;\n\n\nvoid setup() {\n  Serial.begin(9600);\n  Wire.begin(0x18);                \/\/ join i2c bus with address #4\n  \n  Wire.onReceive(receiveEvent); \/\/ register event\n  Wire.onRequest(requestEvent);  \/\/ send date to Pi\n  Wire.onRequest(ard_checkingIn);  \/\/ send date to Pi\n  \n  pinMode(ledPin, OUTPUT);\n  digitalWrite(ledPin, LOW); \/\/ turn it off\n}\n\nvoid loop() {\n  delay(100);\n}\n\n\/\/ function that executes whenever data is received from master\n\/\/ this function is registered as an event, see setup()\nvoid receiveEvent() {\n  while (Wire.available()) { \/\/ loop through all but the last\n    char c = Wire.read(); \/\/ receive byte as a character\n    digitalWrite(ledPin, c);\n  }\n}\n\nvoid requestEvent()\n{\n  \n}\n\nvoid ard_checkingIn()\n{\nWire.write(Checking_In);\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-6d75fe2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6d75fe2\" 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-5a8334e\" data-id=\"5a8334e\" 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-278f41a elementor-widget elementor-widget-text-editor\" data-id=\"278f41a\" 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;\">Arduino 9<\/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-4b90281 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4b90281\" 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-fdf1317\" data-id=\"fdf1317\" 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-a8a9cae elementor-widget elementor-widget-text-editor\" data-id=\"a8a9cae\" 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>\/\/ Wire Slave Receiver\n\/\/ by Nicholas Zambetti &lt;http:\/\/www.zambetti.com&gt;\n\n\/\/ Demonstrates use of the Wire library\n\/\/ Receives data as an I2C\/TWI slave device\n\/\/ Refer to the \"Wire Master Writer\" example for use with this\n\n\/\/ Created 29 March 2006\n\n\/\/ This example code is in the public domain.\n\n\/\/ 04-Feb-2018 mcarter adapted\n#include &lt;Wire.h&gt;\n\nconst int ledPin = 13; \/\/ onboard LED\nint ValueA3 = 0;\nstatic_assert(LOW == 0, \"Expecting LOW to be 0\");\nint Checking_In = 1;\n\n\nvoid setup() {\n  Serial.begin(9600);\n  Wire.begin(0x19);                \/\/ join i2c bus with address #4\n  \n  Wire.onReceive(receiveEvent); \/\/ register event\n  Wire.onRequest(requestEvent);  \/\/ send date to Pi\n  Wire.onRequest(ard_checkingIn);  \/\/ send date to Pi\n  \n  pinMode(ledPin, OUTPUT);\n  digitalWrite(ledPin, LOW); \/\/ turn it off\n}\n\nvoid loop() {\n  delay(100);\n}\n\n\/\/ function that executes whenever data is received from master\n\/\/ this function is registered as an event, see setup()\nvoid receiveEvent() {\n  while (Wire.available()) { \/\/ loop through all but the last\n    char c = Wire.read(); \/\/ receive byte as a character\n    digitalWrite(ledPin, c);\n  }\n}\n\nvoid requestEvent()\n{\n  \n}\n\nvoid ard_checkingIn()\n{\nWire.write(Checking_In);\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-c8f82e3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c8f82e3\" 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-b85632a\" data-id=\"b85632a\" 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-0003f7e elementor-widget elementor-widget-text-editor\" data-id=\"0003f7e\" 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;\">Arduino 10<\/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-9fb260d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9fb260d\" 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-d9609c3\" data-id=\"d9609c3\" 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-5580b97 elementor-widget elementor-widget-text-editor\" data-id=\"5580b97\" 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>\/\/ Wire Slave Receiver\n\/\/ by Nicholas Zambetti &lt;http:\/\/www.zambetti.com&gt;\n\n\/\/ Demonstrates use of the Wire library\n\/\/ Receives data as an I2C\/TWI slave device\n\/\/ Refer to the \"Wire Master Writer\" example for use with this\n\n\/\/ Created 29 March 2006\n\n\/\/ This example code is in the public domain.\n\n\/\/ 04-Feb-2018 mcarter adapted\n#include &lt;Wire.h&gt;\n\nconst int ledPin = 13; \/\/ onboard LED\nint ValueA3 = 0;\nstatic_assert(LOW == 0, \"Expecting LOW to be 0\");\nint Checking_In = 1;\n\n\nvoid setup() {\n  Serial.begin(9600);\n  Wire.begin(0x1a);                \/\/ join i2c bus with address #4\n  \n  Wire.onReceive(receiveEvent); \/\/ register event\n  Wire.onRequest(requestEvent);  \/\/ send date to Pi\n  Wire.onRequest(ard_checkingIn);  \/\/ send date to Pi\n  \n  pinMode(ledPin, OUTPUT);\n  digitalWrite(ledPin, LOW); \/\/ turn it off\n}\n\nvoid loop() {\n  delay(100);\n}\n\n\/\/ function that executes whenever data is received from master\n\/\/ this function is registered as an event, see setup()\nvoid receiveEvent() {\n  while (Wire.available()) { \/\/ loop through all but the last\n    char c = Wire.read(); \/\/ receive byte as a character\n    digitalWrite(ledPin, c);\n  }\n}\n\nvoid requestEvent()\n{\n  \n}\n\nvoid ard_checkingIn()\n{\nWire.write(Checking_In);\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-ade18d1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ade18d1\" 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-ef0800d\" data-id=\"ef0800d\" 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-8087ee9 elementor-widget elementor-widget-text-editor\" data-id=\"8087ee9\" 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;\">Arduino 11<\/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-cb35010 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"cb35010\" 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-023bd16\" data-id=\"023bd16\" 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-da2460f elementor-widget elementor-widget-text-editor\" data-id=\"da2460f\" 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>\/\/ Wire Slave Receiver\n\/\/ by Nicholas Zambetti &lt;http:\/\/www.zambetti.com&gt;\n\n\/\/ Demonstrates use of the Wire library\n\/\/ Receives data as an I2C\/TWI slave device\n\/\/ Refer to the \"Wire Master Writer\" example for use with this\n\n\/\/ Created 29 March 2006\n\n\/\/ This example code is in the public domain.\n\n\/\/ 04-Feb-2018 mcarter adapted\n#include &lt;Wire.h&gt;\n\nconst int ledPin = 13; \/\/ onboard LED\nint ValueA3 = 0;\nstatic_assert(LOW == 0, \"Expecting LOW to be 0\");\nint Checking_In = 1;\n\n\nvoid setup() {\n  Serial.begin(9600);\n  Wire.begin(0x1b);                \/\/ join i2c bus with address #4\n  \n  Wire.onReceive(receiveEvent); \/\/ register event\n  Wire.onRequest(requestEvent);  \/\/ send date to Pi\n  Wire.onRequest(ard_checkingIn);  \/\/ send date to Pi\n  \n  pinMode(ledPin, OUTPUT);\n  digitalWrite(ledPin, LOW); \/\/ turn it off\n}\n\nvoid loop() {\n  delay(100);\n}\n\n\/\/ function that executes whenever data is received from master\n\/\/ this function is registered as an event, see setup()\nvoid receiveEvent() {\n  while (Wire.available()) { \/\/ loop through all but the last\n    char c = Wire.read(); \/\/ receive byte as a character\n    digitalWrite(ledPin, c);\n  }\n}\n\nvoid requestEvent()\n{\n  \n}\n\nvoid ard_checkingIn()\n{\nWire.write(Checking_In);\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-2069a61 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2069a61\" 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-36e3f36\" data-id=\"36e3f36\" 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-4301c9a elementor-widget elementor-widget-text-editor\" data-id=\"4301c9a\" 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;\">Arduino 12<\/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-2146d66 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2146d66\" 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-b0b9001\" data-id=\"b0b9001\" 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-85f9224 elementor-widget elementor-widget-text-editor\" data-id=\"85f9224\" 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>\/\/ Wire Slave Receiver\n\/\/ by Nicholas Zambetti &lt;http:\/\/www.zambetti.com&gt;\n\n\/\/ Demonstrates use of the Wire library\n\/\/ Receives data as an I2C\/TWI slave device\n\/\/ Refer to the \"Wire Master Writer\" example for use with this\n\n\/\/ Created 29 March 2006\n\n\/\/ This example code is in the public domain.\n\n\/\/ 04-Feb-2018 mcarter adapted\n#include &lt;Wire.h&gt;\n\nconst int ledPin = 13; \/\/ onboard LED\nint ValueA3 = 0;\nstatic_assert(LOW == 0, \"Expecting LOW to be 0\");\nint Checking_In = 1;\n\n\nvoid setup() {\n  Serial.begin(9600);\n  Wire.begin(0x1c);                \/\/ join i2c bus with address #4\n  \n  Wire.onReceive(receiveEvent); \/\/ register event\n  Wire.onRequest(requestEvent);  \/\/ send date to Pi\n  Wire.onRequest(ard_checkingIn);  \/\/ send date to Pi\n  \n  pinMode(ledPin, OUTPUT);\n  digitalWrite(ledPin, LOW); \/\/ turn it off\n}\n\nvoid loop() {\n  delay(100);\n}\n\n\/\/ function that executes whenever data is received from master\n\/\/ this function is registered as an event, see setup()\nvoid receiveEvent() {\n  while (Wire.available()) { \/\/ loop through all but the last\n    char c = Wire.read(); \/\/ receive byte as a character\n    digitalWrite(ledPin, c);\n  }\n}\n\nvoid requestEvent()\n{\n  \n}\n\nvoid ard_checkingIn()\n{\nWire.write(Checking_In);\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-28f867b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"28f867b\" 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-eb59766\" data-id=\"eb59766\" 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-e8c6fb5 elementor-widget elementor-widget-text-editor\" data-id=\"e8c6fb5\" 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;\">Arduino 4 Slave<\/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-782eb24 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"782eb24\" 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-971f8c1\" data-id=\"971f8c1\" 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-fc24313 elementor-widget elementor-widget-text-editor\" data-id=\"fc24313\" 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>\/\/ Wire Slave Receiver\n\/\/ by Nicholas Zambetti &lt;http:\/\/www.zambetti.com&gt;\n\n\/\/ Demonstrates use of the Wire library\n\/\/ Receives data as an I2C\/TWI slave device\n\/\/ Refer to the \"Wire Master Writer\" example for use with this\n\n\/\/ Created 29 March 2006\n\n\/\/ This example code is in the public domain.\n\n\/\/ 04-Feb-2018 mcarter adapted\n#include &lt;Wire.h&gt;\n\nconst int ledPin = 13; \/\/ onboard LED\nint ValueA3 = 0;\nstatic_assert(LOW == 0, \"Expecting LOW to be 0\");\nint Checking_In = 1;\n\n\nvoid setup() {\n  Serial.begin(9600);\n  Wire.begin(0x14);                \/\/ join i2c bus with address #4\n  \n  Wire.onReceive(receiveEvent); \/\/ register event\n  Wire.onRequest(requestEvent);  \/\/ send date to Pi\n  Wire.onRequest(ard_checkingIn);  \/\/ send date to Pi\n  \n  pinMode(ledPin, OUTPUT);\n  digitalWrite(ledPin, LOW); \/\/ turn it off\n}\n\nvoid loop() {\n  delay(100);\n}\n\n\/\/ function that executes whenever data is received from master\n\/\/ this function is registered as an event, see setup()\nvoid receiveEvent() {\n  while (Wire.available()) { \/\/ loop through all but the last\n    char c = Wire.read(); \/\/ receive byte as a character\n    digitalWrite(ledPin, c);\n  }\n}\n\nvoid requestEvent()\n{\n  \n}\n\nvoid ard_checkingIn()\n{\nWire.write(Checking_In);\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-1b79736 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1b79736\" 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-f085e41\" data-id=\"f085e41\" 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-bac54d9 elementor-widget elementor-widget-text-editor\" data-id=\"bac54d9\" 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;\">Raspberry Pi Python File<\/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-63757c3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"63757c3\" 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-72b9eb5\" data-id=\"72b9eb5\" 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-957bf4b elementor-widget elementor-widget-text-editor\" data-id=\"957bf4b\" 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>#! \/usr\/bin\/env python3\n#include &lt;iostream&gt;\n#include &lt;wiringPiI2C.h&gt;\nimport time\n\nfrom smbus import SMBus\nfrom array import *\nimport I2C_LCD_driver_24\nimport I2C_LCD_driver_27\n\nard_addr = bytearray([0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c])\ndev_name = ['14', '15', '16', '17', '18', '19', '1a', '1b', '1c']\n    \nnumber = bytearray([0, 0, 0, 0, 0, 0, 0, 0, 0])\ncheck_in = [0, 0, 0, 0, 0, 0, 0, 0, 0]\nlcd_24_screen_format = [ [1,0,1,2,1,3], [2,0,2,2,2,3], [3,0,3,2,3,3], [4,0,4,2,4,3], [1,5,1,7,1,8], [2,5,2,7,2,8],\n                         [3,5,3,7,3,8], [4,5,4,7,4,8], [1,10,1,12,1,13] ]\n\n\nbus = SMBus(1) # indicates \/dev\/ic2-1\nlcd_24 = I2C_LCD_driver_24.lcd()\nlcd_27 = I2C_LCD_driver_27.lcd()\n\ncnt = 0\ncheck_in_answer = \"\"\n\nwhile True:\n    lcd_24.lcd_clear()\n    while cnt &lt; 9:\n        \n        check_in[cnt] = bus.read_byte(ard_addr[cnt])\n        print(\"Arduino\", dev_name[cnt], \"reporting in\", check_in[cnt])\n        \n        \n        bus.write_byte(ard_addr[cnt], 0x1) # switch it on\n        time.sleep(2)\n        bus.write_byte(ard_addr[cnt], 0x0) # switch it on\n        \n        \n        str_addr = \"{}\".format(dev_name[cnt])\n        str_check_in = \"{}\".format(check_in[cnt])\n        lcd_24.lcd_display_string(str_addr, lcd_24_screen_format[cnt][0], lcd_24_screen_format[cnt][1])\n        lcd_24.lcd_display_string(\": \", lcd_24_screen_format[cnt][2], lcd_24_screen_format[cnt][3])\n        if (str_check_in == \"1\"):\n            check_in_answer = \"Y\"\n        elif (str_check_in == \"0\"):\n            check_in_answer = \"N\"\n        lcd_24.lcd_display_string(check_in_answer, lcd_24_screen_format[cnt][4], lcd_24_screen_format[cnt][5])\n        cnt +=1\n        \n        \n    time.sleep(3)    \n    cnt = 0\n    print(\" \")\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>7.10.22I am reconnecting the I2C LCD screens to the Raspberry PI 4B. From Left to Right Raspberry Pi\u00a0 4B 8GB with T-CobblerBi directional Logic Level Converter (BD-LLC), little red ICArduino 4: Arduino Hero\u00a0 (Arduino master until BD-LLC is configured)Arduino 5: Arduino HeroArduino 6: Arduino HeroArduino 7: Arduino Mega 2560 Arduino 8: Arduino Mega WifiArduino 9: [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":653,"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":"7100","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-1374","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>Pi to Arduino I2C -<\/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\/i2c\/pi-to-arduino-i2c\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pi to Arduino I2C -\" \/>\n<meta property=\"og:description\" content=\"7.10.22I am reconnecting the I2C LCD screens to the Raspberry PI 4B. From Left to Right Raspberry Pi\u00a0 4B 8GB with T-CobblerBi directional Logic Level Converter (BD-LLC), little red ICArduino 4: Arduino Hero\u00a0 (Arduino master until BD-LLC is configured)Arduino 5: Arduino HeroArduino 6: Arduino HeroArduino 7: Arduino Mega 2560 Arduino 8: Arduino Mega WifiArduino 9: [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/pi-to-arduino-i2c\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-03T15:25:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:169\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/08\/20210824_132725_rot.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=\"2 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\\\/i2c\\\/pi-to-arduino-i2c\\\/\",\"url\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/i2c\\\/pi-to-arduino-i2c\\\/\",\"name\":\"Pi to Arduino I2C -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/i2c\\\/pi-to-arduino-i2c\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/i2c\\\/pi-to-arduino-i2c\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/08\\/20210824_132725_rot-300x169.jpg\",\"datePublished\":\"2021-08-30T13:50:32+00:00\",\"dateModified\":\"2024-03-03T15:25:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/i2c\\\/pi-to-arduino-i2c\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/i2c\\\/pi-to-arduino-i2c\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/i2c\\\/pi-to-arduino-i2c\\\/#primaryimage\",\"url\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/08\\/20210824_132725_rot.jpg\",\"contentUrl\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/08\\/20210824_132725_rot.jpg\",\"width\":1920,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/i2c\\\/pi-to-arduino-i2c\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"I2C\",\"item\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/i2c\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Pi to Arduino I2C\"}]},{\"@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":"Pi to Arduino I2C -","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\/i2c\/pi-to-arduino-i2c\/","og_locale":"en_US","og_type":"article","og_title":"Pi to Arduino I2C -","og_description":"7.10.22I am reconnecting the I2C LCD screens to the Raspberry PI 4B. From Left to Right Raspberry Pi\u00a0 4B 8GB with T-CobblerBi directional Logic Level Converter (BD-LLC), little red ICArduino 4: Arduino Hero\u00a0 (Arduino master until BD-LLC is configured)Arduino 5: Arduino HeroArduino 6: Arduino HeroArduino 7: Arduino Mega 2560 Arduino 8: Arduino Mega WifiArduino 9: [&hellip;]","og_url":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/pi-to-arduino-i2c\/","article_modified_time":"2024-03-03T15:25:56+00:00","og_image":[{"url":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:169\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/08\/20210824_132725_rot.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/pi-to-arduino-i2c\/","url":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/pi-to-arduino-i2c\/","name":"Pi to Arduino I2C -","isPartOf":{"@id":"https:\/\/mc.scsiraidguru.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/pi-to-arduino-i2c\/#primaryimage"},"image":{"@id":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/pi-to-arduino-i2c\/#primaryimage"},"thumbnailUrl":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:169\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/08\/20210824_132725_rot.jpg","datePublished":"2021-08-30T13:50:32+00:00","dateModified":"2024-03-03T15:25:56+00:00","breadcrumb":{"@id":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/pi-to-arduino-i2c\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/pi-to-arduino-i2c\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/pi-to-arduino-i2c\/#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\/08\/20210824_132725_rot.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\/08\/20210824_132725_rot.jpg","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/pi-to-arduino-i2c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mc.scsiraidguru.com\/"},{"@type":"ListItem","position":2,"name":"I2C","item":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/"},{"@type":"ListItem","position":3,"name":"Pi to Arduino I2C"}]},{"@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\/1374","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=1374"}],"version-history":[{"count":188,"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/pages\/1374\/revisions"}],"predecessor-version":[{"id":7443,"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/pages\/1374\/revisions\/7443"}],"up":[{"embeddable":true,"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/pages\/653"}],"wp:attachment":[{"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/media?parent=1374"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}