{"id":653,"date":"2021-06-25T23:26:10","date_gmt":"2021-06-25T23:26:10","guid":{"rendered":"https:\/\/mc.scsiraidguru.com\/?page_id=653"},"modified":"2024-03-08T14:00:16","modified_gmt":"2024-03-08T14:00:16","slug":"i2c","status":"publish","type":"page","link":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/","title":{"rendered":"I2C"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"653\" class=\"elementor elementor-653\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8c867ce elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8c867ce\" 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-21ea0e8\" data-id=\"21ea0e8\" 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-8c235f1 elementor-widget elementor-widget-text-editor\" data-id=\"8c235f1\" 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 reset all the Arduino slaves to the new I2C addresses starting at 14 through 1C.\u00a0 \u00a0 When I installed Raspbian 64-bit Raspi OS and enabled I2C and other features, 00 &#8211; 07 are now used by the Pi.\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-ad93c37 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ad93c37\" 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-9719371\" data-id=\"9719371\" 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-244c192 elementor-widget elementor-widget-image\" data-id=\"244c192\" 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\/09\/raspi-config.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"raspi-config\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTk4MSwidXJsIjoiaHR0cHM6XC9cL21jLnNjc2lyYWlkZ3VydS5jb21cL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjFcLzA5XC9yYXNwaS1jb25maWcuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img data-opt-id=3477411  fetchpriority=\"high\" decoding=\"async\" width=\"300\" height=\"259\" src=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:259\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/raspi-config.jpg\" class=\"attachment-medium size-medium wp-image-1981\" alt=\"\" srcset=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:719\/h:620\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/raspi-config.jpg 719w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:259\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/raspi-config.jpg 300w\" 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-884a569 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"884a569\" 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-66eb5aa\" data-id=\"66eb5aa\" 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-a559ee2 elementor-widget elementor-widget-text-editor\" data-id=\"a559ee2\" 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>sudo i2cdetect -y 1<br \/>     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f<br \/>00:                         -- -- -- -- -- -- -- --<br \/>10: -- -- -- -- 14 15 16 17 18 19 1a 1b 1c -- -- -- <br \/>20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br \/>30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br \/>40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br \/>50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br \/>60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br \/>70: -- -- -- -- -- -- -- -- <\/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-e8dc0a8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e8dc0a8\" 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-35645ff\" data-id=\"35645ff\" 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<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-3b9b385 elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"3b9b385\" 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-inner-column elementor-element elementor-element-8237f1a\" data-id=\"8237f1a\" 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-c2c3a7d elementor-widget elementor-widget-text-editor\" data-id=\"c2c3a7d\" 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;\">My first test of the Siglent SDS1104X-E oscilloscope set to serial-I2C.\u00a0\u00a0 Yellow is channel 1 : SCL and Pink is channel 2 SDA.<\/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<div class=\"elementor-element elementor-element-eab274a elementor-widget elementor-widget-image\" data-id=\"eab274a\" 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\/01\/i2c.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"i2c\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MzkwNywidXJsIjoiaHR0cHM6XC9cL21jLnNjc2lyYWlkZ3VydS5jb21cL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzAxXC9pMmMuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img data-opt-id=1562139583  fetchpriority=\"high\" decoding=\"async\" width=\"300\" height=\"162\" src=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:162\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2022\/01\/i2c.jpg\" class=\"attachment-medium size-medium wp-image-3907\" alt=\"\" srcset=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:1915\/h:1037\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2022\/01\/i2c.jpg 1915w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:162\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2022\/01\/i2c.jpg 300w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:1024\/h:555\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2022\/01\/i2c.jpg 1024w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:768\/h:416\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2022\/01\/i2c.jpg 768w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:1536\/h:832\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2022\/01\/i2c.jpg 1536w\" 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-b9fc01f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b9fc01f\" 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-0c41fdf\" data-id=\"0c41fdf\" 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-6bc16ca elementor-widget elementor-widget-text-editor\" data-id=\"6bc16ca\" 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>I2C or I<sup>2<\/sup>C is short for Inter-Integrated Circuit, a synchronous serial communication protocol developed by Phillips for communication between a fast Microcontroller and relatively slow peripherals (like Memory or Sensors) using just two wires. Hence, it is sometimes also known as TWI (Two Wire Interface).&nbsp;&nbsp; It can support 112 devices and run over 1 meter in length with proper setup.&nbsp;<\/p>\n<p>You have a SDA (Data pin) and SCL (Clock Pin).&nbsp;&nbsp; It allows many devices to only use 4 wires to connect.&nbsp;&nbsp; You have VCC, Ground, Clock and Data pins.<\/p>\n<p>The breadboard in front of the Arduino devices has two +\/- power rails.&nbsp; The one closest to the Arduino device uses blue and yellow wiring.&nbsp; Blue = SCL (Clock)<br>Yellow = SDA (Data)<\/p>\n<p>The top +\/- power rail connects the 5V and Ground<br>Red = 5V VCC<br>Green: Ground<\/p>\n<p>The Raspberry Pi T-Cobbler has 5V on left side and 3.3V on right side power rails.&nbsp;&nbsp; The Sparkfun Bi-Directional Logic Level Converter allows 3.3V on left side for the Raspberry Pi and 5V on right side for Arduino devices.&nbsp;&nbsp; It has the I2C Bus connecting through the component.&nbsp;&nbsp;&nbsp; Raspberry Pi is the Master and Arduino devices are all slaves.&nbsp;&nbsp; The Raspberry Pi is a Micro-computer that is more powerful than the Arduino devices and easier to program.&nbsp;&nbsp; <\/p>\n<p>Raspberry Pi OS with Kernel 6.6.5 from December 2023 is installed on the Raspberry Pi.&nbsp; It is 64 bit.&nbsp;&nbsp; I connected the I2C LCD screens to it in this picture.&nbsp;&nbsp; <\/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-fd93d1c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fd93d1c\" 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-33 elementor-top-column elementor-element elementor-element-f7aa08f\" data-id=\"f7aa08f\" 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-24c01f3 elementor-widget elementor-widget-image\" data-id=\"24c01f3\" 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\/09\/20210902_144405.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"20210902_144405\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTgxMywidXJsIjoiaHR0cHM6XC9cL21jLnNjc2lyYWlkZ3VydS5jb21cL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjFcLzA5XC8yMDIxMDkwMl8xNDQ0MDUuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img data-opt-id=1947963611  fetchpriority=\"high\" decoding=\"async\" width=\"225\" height=\"300\" src=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:225\/h:300\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210902_144405.jpg\" class=\"attachment-medium size-medium wp-image-1813\" alt=\"\" srcset=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:438\/h:584\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210902_144405.jpg 438w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:225\/h:300\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210902_144405.jpg 225w\" sizes=\"(max-width: 225px) 100vw, 225px\" \/>\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<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-b50ecf1\" data-id=\"b50ecf1\" 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-ca3e4ef elementor-widget elementor-widget-image\" data-id=\"ca3e4ef\" 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\/09\/20210824_110454-rotated.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"20210824_110454\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTY3NywidXJsIjoiaHR0cHM6XC9cL21jLnNjc2lyYWlkZ3VydS5jb21cL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjFcLzA5XC8yMDIxMDgyNF8xMTA0NTQtcm90YXRlZC5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img data-opt-id=629450770  data-opt-src=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:169\/h:300\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210824_110454-rotated.jpg\"  loading=\"lazy\" decoding=\"async\" width=\"169\" height=\"300\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20169%20300%22%20width%3D%22169%22%20height%3D%22300%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%22169%22%20height%3D%22300%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" class=\"attachment-medium size-medium wp-image-1677\" alt=\"\" old-srcset=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:607\/h:1080\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210824_110454-rotated.jpg 1440w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:169\/h:300\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210824_110454-rotated.jpg 169w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:576\/h:1024\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210824_110454-rotated.jpg 576w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:607\/h:1080\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210824_110454-rotated.jpg 768w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:607\/h:1080\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210824_110454-rotated.jpg 864w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:607\/h:1080\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210824_110454-rotated.jpg 1152w\" \/>\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<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-2dabab1\" data-id=\"2dabab1\" 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-830a688 elementor-widget elementor-widget-image\" data-id=\"830a688\" 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\/09\/20210905_120359.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"20210905_120359\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTUxMiwidXJsIjoiaHR0cHM6XC9cL21jLnNjc2lyYWlkZ3VydS5jb21cL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjFcLzA5XC8yMDIxMDkwNV8xMjAzNTkuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img data-opt-id=1580916864  data-opt-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\/09\/20210905_120359.jpg\"  loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"169\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20300%20169%22%20width%3D%22300%22%20height%3D%22169%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%22300%22%20height%3D%22169%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" class=\"attachment-medium size-medium wp-image-1512\" alt=\"\" old-srcset=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:1920\/h:1080\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210905_120359.jpg 2560w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:169\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/20210905_120359.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\/09\/20210905_120359.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\/09\/20210905_120359.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\/09\/20210905_120359.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\/09\/20210905_120359.jpg 2048w\" \/>\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-1f36c76 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1f36c76\" 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-50 elementor-top-column elementor-element elementor-element-c087f94\" data-id=\"c087f94\" 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-0f28726 elementor-widget elementor-widget-text-editor\" data-id=\"0f28726\" 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 class=\"hidden-sm hidden-xs\">This could go in both Arduino and Raspberry Pi sections.\u00a0\u00a0 I have a SparkFun Logic Level Converter &#8211; Bi-Directional\u00a0 (LLC-BD) module.\u00a0 The red device in the middle.\u00a0\u00a0 On one side is LV (Low Voltage) and the other side is HV (High Voltage).\u00a0\u00a0\u00a0 Low Voltage is the 3.3V Raspberry Pi and the High Voltage is the 5V Arduino UNO.\u00a0\u00a0 Grounds are connected across along with each pins 1,2,3,4.\u00a0\u00a0 So LV1 goes to HV1.\u00a0\u00a0\u00a0 This device is I2C capable.\u00a0\u00a0 The Arduino has both 3.3V and 5V connected to the LLC-BD.\u00a0\u00a0<\/p><p>Raspberry Pi 5V<\/p><p>The 5v pins give direct access to the 5v supply coming from your mains adapter, less power than used by the Raspberry Pi itself. A Pi can be powered directly from these pins, and it can also power other 5v devices. When using these pins directly, be careful and check your voltages before making a connection because they bypass any safety features, such as the voltage regulator and fuse which are there to protect your Pi. Bypass these with a higher voltage and you could render your Pi inoperable.<\/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<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-4705814\" data-id=\"4705814\" 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-2f80498 elementor-widget elementor-widget-image\" data-id=\"2f80498\" 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\/pi_uno_12c.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"pi_uno_12c\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTM1MCwidXJsIjoiaHR0cHM6XC9cL21jLnNjc2lyYWlkZ3VydS5jb21cL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjFcLzA4XC9waV91bm9fMTJjLmpwZyJ9\">\n\t\t\t\t\t\t\t<img data-opt-id=1610101897  data-opt-src=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:206\/h:300\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/08\/pi_uno_12c.jpg\"  loading=\"lazy\" decoding=\"async\" width=\"206\" height=\"300\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20206%20300%22%20width%3D%22206%22%20height%3D%22300%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%22206%22%20height%3D%22300%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" class=\"attachment-medium size-medium wp-image-1350\" alt=\"\" old-srcset=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:571\/h:831\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/08\/pi_uno_12c.jpg 571w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:206\/h:300\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/08\/pi_uno_12c.jpg 206w\" \/>\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<div class=\"elementor-element elementor-element-405a329 elementor-widget elementor-widget-image\" data-id=\"405a329\" 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\/12009-06.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"12009-06\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTM1MSwidXJsIjoiaHR0cHM6XC9cL21jLnNjc2lyYWlkZ3VydS5jb21cL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjFcLzA4XC8xMjAwOS0wNi5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img data-opt-id=2099512719  data-opt-src=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/08\/12009-06.jpg\"  loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"300\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20300%20300%22%20width%3D%22300%22%20height%3D%22300%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%22300%22%20height%3D%22300%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" class=\"attachment-medium size-medium wp-image-1351\" alt=\"\" old-srcset=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:600\/h:600\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/08\/12009-06.jpg 600w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/08\/12009-06.jpg 300w, https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:150\/h:150\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/08\/12009-06.jpg 150w\" \/>\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-2c116b3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2c116b3\" 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-ff6bbef\" data-id=\"ff6bbef\" 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-38c3c88 elementor-widget elementor-widget-text-editor\" data-id=\"38c3c88\" 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>Why have both Raspberry Pi and Arduino in I2C network?\u00a0\u00a0 Arduino can do analog sensors.\u00a0\u00a0 Raspberry Pi is a full microcomputer that can host LAMP components and your web site.\u00a0 You can put your photo resistors on the Arduino and use I2C to transfer the results in near real time to display on your Raspberry Pi web site.\u00a0\u00a0 You can add a Turing pi and build clusters on Compute modules for your web site, kubernetes, and other fun projects.\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-847cb19 elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"847cb19\" 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-fda4575\" data-id=\"fda4575\" 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-b04b829 elementor-widget elementor-widget-text-editor\" data-id=\"b04b829\" 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;\">Here are the basic I2C Configuration files for all the Raspberry Pi and Arduino devices.\u00a0 On the Raspberry Pi, you need to enable I2C in Raspi_config<\/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-adc50ec elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"adc50ec\" 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-c9b8570\" data-id=\"c9b8570\" 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-9a5e470 elementor-widget elementor-widget-text-editor\" data-id=\"9a5e470\" 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;\">pi.py<\/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-226b28b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"226b28b\" 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-865fac7\" data-id=\"865fac7\" 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-f7cf1eb elementor-widget elementor-widget-text-editor\" data-id=\"f7cf1eb\" 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># basic_i2c_configuration\n\nimport RPi.GPIO as GPIO\nimport time\nfrom smbus import SMBus\n\nbus = SMBus(1) # indicates \/dev\/ic2-1\n\ndef destroy(): \n    GPIO.cleanup()\n\ndef setup():\n    GPIO.setwarnings(False)\n    GPIO.setmode(GPIO.BOARD)\n\ndef loop():\n    print(\"\")\n\n\nif __name__ == '__main__':\n    print ('Program is starting...' )\n    setup() \n    try:\n        loop()  \n    except KeyboardInterrupt:\n        destroy()   \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-d33abe3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d33abe3\" 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-5e3e62e\" data-id=\"5e3e62e\" 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-0226188 elementor-widget elementor-widget-text-editor\" data-id=\"0226188\" 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;\">Ard_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-5f380b8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5f380b8\" 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-40554d2\" data-id=\"40554d2\" 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-cc6d151 elementor-widget elementor-widget-text-editor\" data-id=\"cc6d151\" 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\");\n\nvoid requestEvent()\n{\nWire.write(ValueA3);\n}\n\nvoid setup() {\n  Serial.begin(9600);\n  Wire.begin(0x4);                \/\/ join i2c bus with address #4\n  \n  Wire.onReceive(receiveEvent); \/\/ register event\n  Wire.onRequest(requestEvent);  \/\/ 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(int howMany) {\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\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-dc58fa1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"dc58fa1\" 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-9d0b6bd\" data-id=\"9d0b6bd\" 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-b3576bb elementor-widget elementor-widget-text-editor\" data-id=\"b3576bb\" 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;\">Ard_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-92ad42b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"92ad42b\" 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-bc7bdb3\" data-id=\"bc7bdb3\" 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-eb93ed3 elementor-widget elementor-widget-text-editor\" data-id=\"eb93ed3\" 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-a40e216 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a40e216\" 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-405389a\" data-id=\"405389a\" 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-891d91b elementor-widget elementor-widget-text-editor\" data-id=\"891d91b\" 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;\">Ard_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-a912b0b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a912b0b\" 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-eedace0\" data-id=\"eedace0\" 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-021a584 elementor-widget elementor-widget-text-editor\" data-id=\"021a584\" 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-18de26b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"18de26b\" 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-5704895\" data-id=\"5704895\" 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-c74bc33 elementor-widget elementor-widget-text-editor\" data-id=\"c74bc33\" 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;\">mega_8<\/h3>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5b7ddeb elementor-widget elementor-widget-text-editor\" data-id=\"5b7ddeb\" 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-5d64206 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5d64206\" 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-cd2135c\" data-id=\"cd2135c\" 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-8a01dd2 elementor-widget elementor-widget-text-editor\" data-id=\"8a01dd2\" 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;\">ard_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-0659ac7 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0659ac7\" 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-a332bcd\" data-id=\"a332bcd\" 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-1c04f0e elementor-widget elementor-widget-text-editor\" data-id=\"1c04f0e\" 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-e295dcb elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e295dcb\" 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-9d5e149\" data-id=\"9d5e149\" 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-268f8ad elementor-widget elementor-widget-text-editor\" data-id=\"268f8ad\" 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;\">Ard_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-11cd4c2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"11cd4c2\" 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-22a36f8\" data-id=\"22a36f8\" 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-dd44947 elementor-widget elementor-widget-text-editor\" data-id=\"dd44947\" 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-ecbbf3c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ecbbf3c\" 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-06e4aab\" data-id=\"06e4aab\" 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-c7fcf0d elementor-widget elementor-widget-text-editor\" data-id=\"c7fcf0d\" 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;\">Ard_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-33b63ef elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"33b63ef\" 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-50739cb\" data-id=\"50739cb\" 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-0646e96 elementor-widget elementor-widget-text-editor\" data-id=\"0646e96\" 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-ce30ba4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ce30ba4\" 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-b42a311\" data-id=\"b42a311\" 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-c81653f elementor-widget elementor-widget-text-editor\" data-id=\"c81653f\" 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;\">Ard_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-28eb7ba elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"28eb7ba\" 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-945c9ba\" data-id=\"945c9ba\" 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-0b54bd5 elementor-widget elementor-widget-text-editor\" data-id=\"0b54bd5\" 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<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>I reset all the Arduino slaves to the new I2C addresses starting at 14 through 1C.\u00a0 \u00a0 When I installed Raspbian 64-bit Raspi OS and enabled I2C and other features, 00 &#8211; 07 are now used by the Pi.\u00a0\u00a0 sudo i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"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-653","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>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\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"I2C -\" \/>\n<meta property=\"og:description\" content=\"I reset all the Arduino slaves to the new I2C addresses starting at 14 through 1C.\u00a0 \u00a0 When I installed Raspbian 64-bit Raspi OS and enabled I2C and other features, 00 &#8211; 07 are now used by the Pi.\u00a0\u00a0 sudo i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-08T14:00:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:259\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/raspi-config.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=\"5 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\\\/\",\"url\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/i2c\\\/\",\"name\":\"I2C -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/i2c\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/i2c\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/09\\/raspi-config-300x259.jpg\",\"datePublished\":\"2021-06-25T23:26:10+00:00\",\"dateModified\":\"2024-03-08T14:00:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/i2c\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/i2c\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/i2c\\\/#primaryimage\",\"url\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/09\\/raspi-config.jpg\",\"contentUrl\":\"https:\\/\\/mc.scsiraidguru.com\\/wp-content\\/uploads\\/2021\\/09\\/raspi-config.jpg\",\"width\":719,\"height\":620},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/index.php\\\/i2c\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mc.scsiraidguru.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"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":"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\/","og_locale":"en_US","og_type":"article","og_title":"I2C -","og_description":"I reset all the Arduino slaves to the new I2C addresses starting at 14 through 1C.\u00a0 \u00a0 When I installed Raspbian 64-bit Raspi OS and enabled I2C and other features, 00 &#8211; 07 are now used by the Pi.\u00a0\u00a0 sudo i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b [&hellip;]","og_url":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/","article_modified_time":"2024-03-08T14:00:16+00:00","og_image":[{"url":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:259\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/raspi-config.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/","url":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/","name":"I2C -","isPartOf":{"@id":"https:\/\/mc.scsiraidguru.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/#primaryimage"},"image":{"@id":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/#primaryimage"},"thumbnailUrl":"https:\/\/mlbxg5wzacc0.i.optimole.com\/cb:FyJ0.12d22\/w:300\/h:259\/q:mauto\/f:best\/https:\/\/mc.scsiraidguru.com\/wp-content\/uploads\/2021\/09\/raspi-config.jpg","datePublished":"2021-06-25T23:26:10+00:00","dateModified":"2024-03-08T14:00:16+00:00","breadcrumb":{"@id":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mc.scsiraidguru.com\/index.php\/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\/09\/raspi-config.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\/raspi-config.jpg","width":719,"height":620},{"@type":"BreadcrumbList","@id":"https:\/\/mc.scsiraidguru.com\/index.php\/i2c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mc.scsiraidguru.com\/"},{"@type":"ListItem","position":2,"name":"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\/653","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=653"}],"version-history":[{"count":216,"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/pages\/653\/revisions"}],"predecessor-version":[{"id":7856,"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/pages\/653\/revisions\/7856"}],"wp:attachment":[{"href":"https:\/\/mc.scsiraidguru.com\/index.php\/wp-json\/wp\/v2\/media?parent=653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}