{"id":2236,"date":"2022-05-11T18:44:30","date_gmt":"2022-05-11T18:44:30","guid":{"rendered":"https:\/\/picockpit.com\/raspberry-pi\/?p=2236"},"modified":"2023-09-18T13:53:06","modified_gmt":"2023-09-18T13:53:06","slug":"i2c-the-inter-integrated-circuit-bus","status":"publish","type":"post","link":"https:\/\/picockpit.com\/raspberry-pi\/sv\/i2c-the-inter-integrated-circuit-bus\/","title":{"rendered":"I2C - Buss f\u00f6r interintegrerade kretsar"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/i2c-title-image-1024x576.png\" alt=\"Allt om I2C Titel Bild\" class=\"wp-image-5346\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/i2c-title-image-1024x576.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/i2c-title-image-300x169.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/i2c-title-image-768x432.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/i2c-title-image-18x10.png 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/i2c-title-image.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>I2C-bussen \u00e4r mycket vanligt f\u00f6rekommande i inbyggda system. Vi f\u00f6rklarar hur den fungerar och hur man st\u00e4ller in den p\u00e5 Raspberry Pi med ett exempel.<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">I2C-egenskaper<\/h2>\n\n\n\n<p>Inter-Integrated Circuit Bus \u00e4r en synkron seriell kommunikationsbuss. Philips Semiconductors stod f\u00f6r uppfinningen 1982, men gr\u00e4nssnittet blev snabbt popul\u00e4rt.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Characteristics-1024x275.jpg\" alt=\"I2C-egenskaper\" class=\"wp-image-2247\" style=\"width:662px;height:177px\" width=\"662\" height=\"177\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Characteristics-1024x275.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Characteristics-300x81.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Characteristics-768x207.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Characteristics-1536x413.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Characteristics-2048x551.jpg 2048w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Characteristics-18x5.jpg 18w\" sizes=\"auto, (max-width: 662px) 100vw, 662px\" \/><figcaption class=\"wp-element-caption\">I2C-egenskaper<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Vanliga synonymer \u00e4r I<sup>2<\/sup>C, I2C eller IIC. Gr\u00e4nssnittet utnyttjar en Controller-Target-arkitektur och g\u00f6r det m\u00f6jligt f\u00f6r styrenheten att kommunicera med upp till 112 enheter med bara tv\u00e5 kablar.<\/p>\n\n\n\n<p>Kontrollenheten kan anpassa bithastigheten f\u00f6r att passa det specifika m\u00e5lets behov. D\u00e4rf\u00f6r \u00e4r I2C kompatibelt med m\u00e5nga enheter som sensorer, EEPROM-enheter, klockor, motorstyrningar med mera.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ledningar<\/h2>\n\n\n\n<p>Att koppla upp I2C-bussen kan verkligen inte vara enklare, eftersom du bara beh\u00f6ver tv\u00e5 kablar. Anslut den seriella klockan (SCL) p\u00e5 styrenheten till de seriella klockorna p\u00e5 m\u00e5len och anslut \u00e4ven deras seriella datapinnar (SDA). I2C-programvaran kommer att g\u00f6ra resten.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Wiring-1024x414.jpg\" alt=\"I2C-ledningar\" class=\"wp-image-2249\" style=\"width:524px;height:211px\" width=\"524\" height=\"211\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Wiring-1024x414.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Wiring-300x121.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Wiring-768x311.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Wiring-1536x622.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Wiring-2048x829.jpg 2048w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Wiring-18x7.jpg 18w\" sizes=\"auto, (max-width: 524px) 100vw, 524px\" \/><figcaption class=\"wp-element-caption\">Ledningar<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Om du beh\u00f6ver str\u00f6mf\u00f6rs\u00f6rja din I2C-enhet kan du anv\u00e4nda 3V3-, 5V- och GROUND-stiften p\u00e5 din Raspberry Pi.<\/p>\n\n\n\n<p>Vissa enheter som v\u00e5r <a href=\"https:\/\/buyzero.de\/en\/products\/luftqualitatssensor-bosch-bme688-breakout-board?_pos=6&amp;_sid=0066ef795&amp;_ss=r\">BME688 Breakout Board<\/a> har ett I2C-huvud s\u00e5 att du inte beh\u00f6ver n\u00e5gra kablar f\u00f6r att ansluta dem.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">I2C-kommunikation<\/h2>\n\n\n\n<p>Inter-Intergrated Circuit Bus kan ansluta 128 enheter med bara tv\u00e5 kablar. Detta \u00e4r m\u00f6jligt tack vare den geniala kommunikationsprincipen.<\/p>\n\n\n\n<p>Ledningarna (SDA och SCL) drivs aldrig aktivt h\u00f6gt. Om en enhet vill skicka en logisk 1 l\u00e5ter den ledningen vara flytande. F\u00f6r att skicka en logisk nolla drar den ledningen till jord.<\/p>\n\n\n\n<p>Kontroll\u00f6ren inleder kommunikationen. Alla enheter i n\u00e4tverket kan fungera som styrenhet och m\u00e5l.<\/p>\n\n\n\n<p>I diagrammet nedan visas de enskilda bitarna.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Communication-1024x447.jpg\" alt=\"I2C-kommunikation\" class=\"wp-image-2252\" style=\"width:549px;height:239px\" width=\"549\" height=\"239\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Communication-1024x447.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Communication-300x131.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Communication-768x336.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Communication-1536x671.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Communication-2048x895.jpg 2048w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Communication-18x8.jpg 18w\" sizes=\"auto, (max-width: 549px) 100vw, 549px\" \/><figcaption class=\"wp-element-caption\">I2C-kommunikation<\/figcaption><\/figure>\n<\/div>\n\n\n<p>F\u00f6r att starta kommunikationen skickar styrenheten en Start-bit f\u00f6ljt av m\u00e5lets I2C-adress och \u00f6nskat driftl\u00e4ge (R - Read eller W - Write).<\/p>\n\n\n\n<p>I I2C-kommunikation m\u00e5ste m\u00e5let returnera en ACK-bit var 8:e bit (efter varje byte). Eftersom adressutrymmet vanligtvis \u00e4r 7-bitars finns det 128 (0 till 127) adresser. 16 av dem \u00e4r reserverade. Det l\u00e4mnar 112 m\u00f6jliga adresser f\u00f6r enheterna.<\/p>\n\n\n\n<p>M\u00e5ladressen och driftl\u00e4get \u00e4r en byte, s\u00e5 m\u00e5let m\u00e5ste returnera en ACK-bit. D\u00e4refter skickar styrenheten registeradressen (8 bitar), som m\u00e5let bekr\u00e4ftar igen. D\u00e4refter skiljer sig l\u00e4s- och skrivkommunikation \u00e5t.<\/p>\n\n\n\n<p>Vid skrivning skickar styrenheten bara data i 8-bitars block. M\u00e5let bekr\u00e4ftar varje block. N\u00e4r styrenheten har skrivit f\u00e4rdigt skickar den stoppbiten.<\/p>\n\n\n\n<p>F\u00f6r l\u00e4sning skickar styrenheten Start-biten igen, f\u00f6ljt av m\u00e5ladressen. M\u00e5let bekr\u00e4ftar och b\u00f6rjar skicka data i 8-bitars block. Den h\u00e4r g\u00e5ngen m\u00e5ste styrenheten bekr\u00e4fta varje byte. F\u00f6r att avbryta l\u00e4sningen skickar styrenheten NACK-biten och slutligen Stop-biten.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">F\u00f6rdelar, nackdelar och till\u00e4mpningar<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">F\u00f6rdelar<\/h3>\n\n\n\n<p>F\u00f6rdelarna med I2C-bussen \u00e4r ganska tydliga. Du kan ansluta 128 enheter med bara tv\u00e5 kablar och tv\u00e5 stift vardera. Det \u00e4r verkligen kraftfullt. Dessutom har du flexibla hastigheter. H\u00e5rdvaruuppst\u00e4llningen kunde knappast vara enklare. Till skillnad fr\u00e5n SPI vet styrenheten om m\u00e5let tog emot data korrekt.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Advantages-1024x443.jpg\" alt=\"F\u00f6rdelar\" class=\"wp-image-2251\" style=\"width:340px;height:147px\" width=\"340\" height=\"147\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Advantages-1024x443.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Advantages-300x130.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Advantages-768x333.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Advantages-18x8.jpg 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Advantages.jpg 1104w\" sizes=\"auto, (max-width: 340px) 100vw, 340px\" \/><figcaption class=\"wp-element-caption\">F\u00f6rdelar<\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Nackdelar<\/h3>\n\n\n\n<p>Interintegrate Circuit Bus kr\u00e4ver mer utrymme och str\u00f6m eftersom den anv\u00e4nder pull-up-motst\u00e5nd. Den \u00e4r l\u00e5ngsammare \u00e4n SPI. Du kan f\u00e5 problem om tv\u00e5 enheter anv\u00e4nder samma I2C-adress. Adressen lagras direkt p\u00e5 enheten. Vissa enheter l\u00e5ter dig v\u00e4lja mellan tv\u00e5 m\u00f6jliga adresser genom att l\u00f6da in en jumper p\u00e5 en specifik plats p\u00e5 enheten.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Disadvantages-1024x444.jpg\" alt=\"Nackdelar\" class=\"wp-image-2250\" style=\"width:372px;height:161px\" width=\"372\" height=\"161\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Disadvantages-1024x444.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Disadvantages-300x130.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Disadvantages-768x333.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Disadvantages-18x8.jpg 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/I2C-Disadvantages.jpg 1103w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><figcaption class=\"wp-element-caption\">Nackdelar<\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Till\u00e4mpningar<\/h3>\n\n\n\n<p>Om du s\u00f6ker efter <a href=\"https:\/\/buyzero.de\/en\/search?type=product&amp;options%5Bprefix%5D=last&amp;options%5Bunavailable_products%5D=last&amp;q=sensor\">Sensor<\/a> i v\u00e5r butik kommer du att m\u00e4rka att n\u00e4stan alla sensorer som inte \u00e4r analoga anv\u00e4nder I2C-gr\u00e4nssnittet. Det \u00e4r mycket vanligt inom inbyggda system. Det finns saker som I2C-minne. Ofta anv\u00e4nder mikrokontroller bussen f\u00f6r kommunikation. Dessutom \u00e4r m\u00e5nga DAC:er (<strong>D<\/strong>igital <strong>A<\/strong>nalog <strong>C<\/strong>onverter) och ADC:er (<strong>A<\/strong>nalog <strong>D<\/strong>igital <strong>C<\/strong>onverter) \u00e4r kompatibla med gr\u00e4nssnittet.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">I2C p\u00e5 Raspberry Pi<\/h2>\n\n\n\n<p>V\u00e5r <a href=\"https:\/\/youtu.be\/GSmq8ZH01Sg\">video<\/a> visar hur du st\u00e4ller in den interintegrerade kretsbussen p\u00e5 din Raspberry Pi.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" hcb-fetch-image-from=\"https:\/\/www.youtube.com\/watch?v=GSmq8ZH01Sg\" title=\"I2C p\u00e5 Raspberry Pi - Hur man anv\u00e4nder I2C med Python\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/GSmq8ZH01Sg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n<div class=\"shariff shariff-align-center shariff-widget-align-left shariff-buttonstretch\"><ul class=\"shariff-buttons theme-white orientation-horizontal buttonsize-medium\"><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fsv%2Fi2c-the-inter-integrated-circuit-bus%2F&text=I2C%20%E2%80%93%20The%20Inter-Integrated%20Circuit%20Bus\" title=\"Dela p\u00e5 X\" aria-label=\"Dela p\u00e5 X\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#000\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#000\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#000\">dela<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fsv%2Fi2c-the-inter-integrated-circuit-bus%2F\" title=\"Dela p\u00e5 Facebook\" aria-label=\"Dela p\u00e5 Facebook\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#3b5998\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#3b5998\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#3b5998\">dela<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button telegram shariff-nocustomcolor\" style=\"background-color:#4084A6\"><a href=\"https:\/\/telegram.me\/share\/url?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fsv%2Fi2c-the-inter-integrated-circuit-bus%2F&text=I2C%20%E2%80%93%20The%20Inter-Integrated%20Circuit%20Bus\" title=\"Dela p\u00e5 Telegram\" aria-label=\"Dela p\u00e5 Telegram\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0088cc; color:#0088cc\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#0088cc\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 32 32\"><path fill=\"#0088cc\" d=\"M30.8 6.5l-4.5 21.4c-.3 1.5-1.2 1.9-2.5 1.2L16.9 24l-3.3 3.2c-.4.4-.7.7-1.4.7l.5-7L25.5 9.2c.6-.5-.1-.8-.9-.3l-15.8 10L2 16.7c-1.5-.5-1.5-1.5.3-2.2L28.9 4.3c1.3-.5 2.3.3 1.9 2.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#0088cc\">dela<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button reddit shariff-nocustomcolor\" style=\"background-color:#ff5700\"><a href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fsv%2Fi2c-the-inter-integrated-circuit-bus%2F\" title=\"Dela p\u00e5 Reddit\" aria-label=\"Dela p\u00e5 Reddit\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff4500; color:#ff4500\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#ff4500\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 512 512\"><path fill=\"#ff4500\" d=\"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#ff4500\">dela<\/span>&nbsp;<\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>I2C-bussen \u00e4r mycket vanligt f\u00f6rekommande i inbyggda system. Vi f\u00f6rklarar hur den fungerar och hur man st\u00e4ller in den p\u00e5 Raspberry Pi med ett exempel. I2C-egenskaper Inter-Integrated Circuit Bus \u00e4r en synkron seriell kommunikationsbuss. Philips Semiconductors stod f\u00f6r uppfinningen 1982 men gr\u00e4nssnittet fick snabbt...<\/p>","protected":false},"author":3,"featured_media":5346,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[196],"tags":[208,205,206,207,201,204,189,188,187],"class_list":["post-2236","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-interfaces","tag-bus","tag-i2c","tag-iic","tag-inter-integrated-circuit","tag-interface","tag-knowledge","tag-pi","tag-raspberry","tag-raspberry-pi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>I2C - The Inter-Integrated Circuit Bus | PiCockpit<\/title>\n<meta name=\"description\" content=\"The I2C bus is very commonly used in the embedded realm. We explain how it works and how to set it up on the Raspberry Pi with an example.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/picockpit.com\/raspberry-pi\/sv\/i2c-the-inter-integrated-circuit-bus\/\" \/>\n<meta property=\"og:locale\" content=\"sv_SE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"I2C - The Inter-Integrated Circuit Bus | PiCockpit\" \/>\n<meta property=\"og:description\" content=\"The I2C bus is very commonly used in the embedded realm. We explain how it works and how to set it up on the Raspberry Pi with an example.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/picockpit.com\/raspberry-pi\/sv\/i2c-the-inter-integrated-circuit-bus\/\" \/>\n<meta property=\"og:site_name\" content=\"PiCockpit\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pi3gshop\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-11T18:44:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-18T13:53:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/i2c-title-image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Nathan Busler\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pi3g\" \/>\n<meta name=\"twitter:site\" content=\"@pi3g\" \/>\n<meta name=\"twitter:label1\" content=\"Skriven av\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nathan Busler\" \/>\n\t<meta name=\"twitter:label2\" content=\"Ber\u00e4knad l\u00e4stid\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minuter\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/ja\\\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/ja\\\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\\\/\"},\"author\":{\"name\":\"Nathan Busler\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/e38fef75134e5e54175b2615a8c3eb47\"},\"headline\":\"I2C &#8211; The Inter-Integrated Circuit Bus\",\"datePublished\":\"2022-05-11T18:44:30+00:00\",\"dateModified\":\"2023-09-18T13:53:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/ja\\\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\\\/\"},\"wordCount\":705,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/ja\\\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/i2c-title-image.png\",\"keywords\":[\"Bus\",\"I2C\",\"IIC\",\"Inter-Integrated Circuit\",\"Interface\",\"Knowledge\",\"Pi\",\"Raspberry\",\"Raspberry Pi\"],\"articleSection\":[\"Interfaces\"],\"inLanguage\":\"sv-SE\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/ja\\\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/ja\\\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/ja\\\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\\\/\",\"name\":\"I2C - The Inter-Integrated Circuit Bus | PiCockpit\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/ja\\\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/ja\\\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/i2c-title-image.png\",\"datePublished\":\"2022-05-11T18:44:30+00:00\",\"dateModified\":\"2023-09-18T13:53:06+00:00\",\"description\":\"The I2C bus is very commonly used in the embedded realm. We explain how it works and how to set it up on the Raspberry Pi with an example.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/ja\\\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\\\/#breadcrumb\"},\"inLanguage\":\"sv-SE\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/ja\\\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"sv-SE\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/ja\\\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\\\/#primaryimage\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/i2c-title-image.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/i2c-title-image.png\",\"width\":1200,\"height\":675,\"caption\":\"Everything about I2C Title Image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/ja\\\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Interfaces\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/category\\\/interfaces\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"I2C &#8211; The Inter-Integrated Circuit Bus\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"name\":\"PiCockpit\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"sv-SE\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\",\"name\":\"PiCockpit.com\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"sv-SE\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"width\":1165,\"height\":283,\"caption\":\"PiCockpit.com\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/pi3gshop\",\"https:\\\/\\\/x.com\\\/pi3g\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/e38fef75134e5e54175b2615a8c3eb47\",\"name\":\"Nathan Busler\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"sv-SE\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g\",\"caption\":\"Nathan Busler\"},\"sameAs\":[\"https:\\\/\\\/buyzero.de\"],\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/sv\\\/author\\\/nathan\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"I2C - buss f\u00f6r integrerade kretsar | PiCockpit","description":"I2C-bussen \u00e4r mycket vanligt f\u00f6rekommande i inbyggda system. Vi f\u00f6rklarar hur den fungerar och hur man st\u00e4ller in den p\u00e5 Raspberry Pi med ett exempel.","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:\/\/picockpit.com\/raspberry-pi\/sv\/i2c-the-inter-integrated-circuit-bus\/","og_locale":"sv_SE","og_type":"article","og_title":"I2C - The Inter-Integrated Circuit Bus | PiCockpit","og_description":"The I2C bus is very commonly used in the embedded realm. We explain how it works and how to set it up on the Raspberry Pi with an example.","og_url":"https:\/\/picockpit.com\/raspberry-pi\/sv\/i2c-the-inter-integrated-circuit-bus\/","og_site_name":"PiCockpit","article_publisher":"https:\/\/www.facebook.com\/pi3gshop","article_published_time":"2022-05-11T18:44:30+00:00","article_modified_time":"2023-09-18T13:53:06+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/i2c-title-image.png","type":"image\/png"}],"author":"Nathan Busler","twitter_card":"summary_large_image","twitter_creator":"@pi3g","twitter_site":"@pi3g","twitter_misc":{"Skriven av":"Nathan Busler","Ber\u00e4knad l\u00e4stid":"5 minuter"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/picockpit.com\/raspberry-pi\/ja\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\/#article","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/ja\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\/"},"author":{"name":"Nathan Busler","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/e38fef75134e5e54175b2615a8c3eb47"},"headline":"I2C &#8211; The Inter-Integrated Circuit Bus","datePublished":"2022-05-11T18:44:30+00:00","dateModified":"2023-09-18T13:53:06+00:00","mainEntityOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/ja\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\/"},"wordCount":705,"commentCount":6,"publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/ja\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/i2c-title-image.png","keywords":["Bus","I2C","IIC","Inter-Integrated Circuit","Interface","Knowledge","Pi","Raspberry","Raspberry Pi"],"articleSection":["Interfaces"],"inLanguage":"sv-SE","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/picockpit.com\/raspberry-pi\/ja\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/picockpit.com\/raspberry-pi\/ja\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\/","url":"https:\/\/picockpit.com\/raspberry-pi\/ja\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\/","name":"I2C - buss f\u00f6r integrerade kretsar | PiCockpit","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#website"},"primaryImageOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/ja\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\/#primaryimage"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/ja\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/i2c-title-image.png","datePublished":"2022-05-11T18:44:30+00:00","dateModified":"2023-09-18T13:53:06+00:00","description":"I2C-bussen \u00e4r mycket vanligt f\u00f6rekommande i inbyggda system. Vi f\u00f6rklarar hur den fungerar och hur man st\u00e4ller in den p\u00e5 Raspberry Pi med ett exempel.","breadcrumb":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/ja\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\/#breadcrumb"},"inLanguage":"sv-SE","potentialAction":[{"@type":"ReadAction","target":["https:\/\/picockpit.com\/raspberry-pi\/ja\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\/"]}]},{"@type":"ImageObject","inLanguage":"sv-SE","@id":"https:\/\/picockpit.com\/raspberry-pi\/ja\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\/#primaryimage","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/i2c-title-image.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/05\/i2c-title-image.png","width":1200,"height":675,"caption":"Everything about I2C Title Image"},{"@type":"BreadcrumbList","@id":"https:\/\/picockpit.com\/raspberry-pi\/ja\/i2c%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%82%a4%e3%83%b3%e3%83%86%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%86%e3%83%83%e3%83%89%e3%82%b5%e3%83%bc%e3%82%ad%e3%83%83%e3%83%88%e3%83%90%e3%82%b9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/picockpit.com\/raspberry-pi\/"},{"@type":"ListItem","position":2,"name":"Interfaces","item":"https:\/\/picockpit.com\/raspberry-pi\/category\/interfaces\/"},{"@type":"ListItem","position":3,"name":"I2C &#8211; The Inter-Integrated Circuit Bus"}]},{"@type":"WebSite","@id":"https:\/\/picockpit.com\/raspberry-pi\/#website","url":"https:\/\/picockpit.com\/raspberry-pi\/","name":"PiCockpit","description":"","publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/picockpit.com\/raspberry-pi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"sv-SE"},{"@type":"Organization","@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization","name":"PiCockpit.com","url":"https:\/\/picockpit.com\/raspberry-pi\/","logo":{"@type":"ImageObject","inLanguage":"sv-SE","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","width":1165,"height":283,"caption":"PiCockpit.com"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pi3gshop","https:\/\/x.com\/pi3g"]},{"@type":"Person","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/e38fef75134e5e54175b2615a8c3eb47","name":"Nathan Busler","image":{"@type":"ImageObject","inLanguage":"sv-SE","@id":"https:\/\/secure.gravatar.com\/avatar\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g","caption":"Nathan Busler"},"sameAs":["https:\/\/buyzero.de"],"url":"https:\/\/picockpit.com\/raspberry-pi\/sv\/author\/nathan\/"}]}},"_links":{"self":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/sv\/wp-json\/wp\/v2\/posts\/2236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/sv\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/sv\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/sv\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/sv\/wp-json\/wp\/v2\/comments?post=2236"}],"version-history":[{"count":14,"href":"https:\/\/picockpit.com\/raspberry-pi\/sv\/wp-json\/wp\/v2\/posts\/2236\/revisions"}],"predecessor-version":[{"id":5348,"href":"https:\/\/picockpit.com\/raspberry-pi\/sv\/wp-json\/wp\/v2\/posts\/2236\/revisions\/5348"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/sv\/wp-json\/wp\/v2\/media\/5346"}],"wp:attachment":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/sv\/wp-json\/wp\/v2\/media?parent=2236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/sv\/wp-json\/wp\/v2\/categories?post=2236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/sv\/wp-json\/wp\/v2\/tags?post=2236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}