{"id":2582,"date":"2013-03-02T13:07:27","date_gmt":"2013-03-02T13:07:27","guid":{"rendered":"http:\/\/178.62.14.192\/?p=2582"},"modified":"2013-03-02T13:07:27","modified_gmt":"2013-03-02T13:07:27","slug":"installing-and-enabling-i2c-on-the-raspberrypi-running-raspbian","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=2582","title":{"rendered":"Installing and enabling I2C on the #RaspberryPi running Raspbian"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignleft\" alt=\"\" src=\"https:\/\/i0.wp.com\/dangerousprototypes.com\/wp-content\/media\/2011\/10\/i2c_logo.gif?resize=200%2C200\" width=\"200\" height=\"200\" \/>I&#8217;m rather cheekily taking most of this from <a href=\"http:\/\/think-bowl.com\/raspberry-pi\/how-to-configure-i2c-on-raspbian-wheezy\/\">ThinkBowl.com<\/a> as it&#8217;s a brilliant, simple walk-through that I&#8217;d hate to lose if the site disappeared! I&#8217;ve added some comments by way of explanation, just to add a little value.<\/p>\n<ol>\n<li>First install the i2c-tools:<br \/>\napt-get install i2c-tools<\/li>\n<li>Next SPI and I2C is &#8220;blacklisted&#8221; (i.e. turned off) from modprobe (the module loader) by default. Edit \/etc\/modprobe.d\/raspi-blacklist.conf with vi or nano and comment out (place # as first character on line):<br \/>\nblacklist i2c-bcm2708<\/li>\n<li>To ensure modules are loaded at boot add the following lines to \/etc\/modules:<br \/>\ni2c-bcm2708<br \/>\ni2c-dev<\/li>\n<li>Optional: If you are going to access the I2C from users other then root create a file called \/etc\/udev\/rules.d\/99-i2c.rules with the following line:<br \/>\nSUBSYSTEM==&#8221;i2c-dev&#8221;, MODE=&#8221;0666&#8243;<br \/>\nThis will allow access from every user. To allow access only from a specific group:<br \/>\nSUBSYSTEM==&#8221;i2c-dev&#8221;, GROUP=&#8221;input&#8221;, MODE=&#8221;0666&#8243;<\/li>\n<li>Reboot the pi by issuing:<br \/>\nreboot<\/li>\n<li>After the reboot, verify that the I2C devices are available:<br \/>\nls \/dev\/i2c*<\/li>\n<li>Optional: If you are using I2C with Python, you will need the smbus python library as it is not installed by default:<br \/>\napt-get install python-smbus<\/li>\n<li>Once you have the I2C device attached, you can determine the address by running:<br \/>\ni2cdetect -y &lt;port&gt;<br \/>\nReplace &lt;port&gt; with 0 for Revision 1 Raspberry Pis and with 1 for Revision 2 boards.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m rather cheekily taking most of this from ThinkBowl.com as it&#8217;s a brilliant, simple walk-through that I&#8217;d hate to lose if the site disappeared! I&#8217;ve added some comments by way of explanation, just to add a little value. First install&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=2582\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[20,50],"tags":[],"class_list":["post-2582","post","type-post","status-publish","format-standard","hentry","category-gpio-boards","category-making"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Installing and enabling I2C on the #RaspberryPi running Raspbian - Raspberry Pi Pod<\/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:\/\/www.recantha.co.uk\/blog\/?p=2582\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing and enabling I2C on the #RaspberryPi running Raspbian - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"I&#8217;m rather cheekily taking most of this from ThinkBowl.com as it&#8217;s a brilliant, simple walk-through that I&#8217;d hate to lose if the site disappeared! I&#8217;ve added some comments by way of explanation, just to add a little value. First install&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=2582\" \/>\n<meta property=\"og:site_name\" content=\"Raspberry Pi Pod\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/recantha\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-03-02T13:07:27+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/dangerousprototypes.com\/wp-content\/media\/2011\/10\/i2c_logo.gif\" \/>\n<meta name=\"author\" content=\"Michael Horne\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@recantha\" \/>\n<meta name=\"twitter:site\" content=\"@recantha\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Horne\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2582#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2582\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Installing and enabling I2C on the #RaspberryPi running Raspbian\",\"datePublished\":\"2013-03-02T13:07:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2582\"},\"wordCount\":258,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2582#primaryimage\"},\"thumbnailUrl\":\"http:\/\/dangerousprototypes.com\/wp-content\/media\/2011\/10\/i2c_logo.gif\",\"articleSection\":[\"GPIO boards\",\"Making\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=2582#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2582\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2582\",\"name\":\"Installing and enabling I2C on the #RaspberryPi running Raspbian - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2582#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2582#primaryimage\"},\"thumbnailUrl\":\"http:\/\/dangerousprototypes.com\/wp-content\/media\/2011\/10\/i2c_logo.gif\",\"datePublished\":\"2013-03-02T13:07:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2582#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=2582\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2582#primaryimage\",\"url\":\"http:\/\/dangerousprototypes.com\/wp-content\/media\/2011\/10\/i2c_logo.gif\",\"contentUrl\":\"http:\/\/dangerousprototypes.com\/wp-content\/media\/2011\/10\/i2c_logo.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2582#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Installing and enabling I2C on the #RaspberryPi running Raspbian\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"name\":\"Raspberry Pi Pod\",\"description\":\"Experiences with the Raspberry Pi micro computer and microcontroller\",\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\",\"name\":\"Raspberry Pi Pod\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"width\":800,\"height\":337,\"caption\":\"Raspberry Pi Pod\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/recantha\/\",\"https:\/\/x.com\/recantha\",\"https:\/\/www.linkedin.com\/in\/recantha\/\",\"https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\",\"name\":\"Michael Horne\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"caption\":\"Michael Horne\"},\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Installing and enabling I2C on the #RaspberryPi running Raspbian - Raspberry Pi Pod","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:\/\/www.recantha.co.uk\/blog\/?p=2582","og_locale":"en_US","og_type":"article","og_title":"Installing and enabling I2C on the #RaspberryPi running Raspbian - Raspberry Pi Pod","og_description":"I&#8217;m rather cheekily taking most of this from ThinkBowl.com as it&#8217;s a brilliant, simple walk-through that I&#8217;d hate to lose if the site disappeared! I&#8217;ve added some comments by way of explanation, just to add a little value. First install&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=2582","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2013-03-02T13:07:27+00:00","og_image":[{"url":"http:\/\/dangerousprototypes.com\/wp-content\/media\/2011\/10\/i2c_logo.gif","type":"","width":"","height":""}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2582#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2582"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Installing and enabling I2C on the #RaspberryPi running Raspbian","datePublished":"2013-03-02T13:07:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2582"},"wordCount":258,"commentCount":1,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2582#primaryimage"},"thumbnailUrl":"http:\/\/dangerousprototypes.com\/wp-content\/media\/2011\/10\/i2c_logo.gif","articleSection":["GPIO boards","Making"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=2582#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2582","url":"https:\/\/www.recantha.co.uk\/blog\/?p=2582","name":"Installing and enabling I2C on the #RaspberryPi running Raspbian - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2582#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2582#primaryimage"},"thumbnailUrl":"http:\/\/dangerousprototypes.com\/wp-content\/media\/2011\/10\/i2c_logo.gif","datePublished":"2013-03-02T13:07:27+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2582#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=2582"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2582#primaryimage","url":"http:\/\/dangerousprototypes.com\/wp-content\/media\/2011\/10\/i2c_logo.gif","contentUrl":"http:\/\/dangerousprototypes.com\/wp-content\/media\/2011\/10\/i2c_logo.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2582#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Installing and enabling I2C on the #RaspberryPi running Raspbian"}]},{"@type":"WebSite","@id":"https:\/\/www.recantha.co.uk\/blog\/#website","url":"https:\/\/www.recantha.co.uk\/blog\/","name":"Raspberry Pi Pod","description":"Experiences with the Raspberry Pi micro computer and microcontroller","publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.recantha.co.uk\/blog\/#organization","name":"Raspberry Pi Pod","url":"https:\/\/www.recantha.co.uk\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","width":800,"height":337,"caption":"Raspberry Pi Pod"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/recantha\/","https:\/\/x.com\/recantha","https:\/\/www.linkedin.com\/in\/recantha\/","https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg"]},{"@type":"Person","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263","name":"Michael Horne","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","caption":"Michael Horne"},"url":"https:\/\/www.recantha.co.uk\/blog\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-FE","jetpack-related-posts":[{"id":19880,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=19880","url_meta":{"origin":2582,"position":0},"title":"Adventures in I2C: clock stretching on the Raspberry Pi","author":"Michael Horne","date":"4 January 2020","format":false,"excerpt":"This is a bit complicated, technically, but I've been asked to document the issue just in case someone comes across it. I was getting I2C read errors when using the new TE AmbiMate MS4 sensor board (review coming soon!) with the Raspberry Pi 4. I contacted TE about it and\u2026","rel":"","context":"In &quot;Research&quot;","block_context":{"text":"Research","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=43"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/01\/I%C2%B2C_bus_logo.svg_.png?fit=1093%2C1200&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/01\/I%C2%B2C_bus_logo.svg_.png?fit=1093%2C1200&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/01\/I%C2%B2C_bus_logo.svg_.png?fit=1093%2C1200&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/01\/I%C2%B2C_bus_logo.svg_.png?fit=1093%2C1200&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/01\/I%C2%B2C_bus_logo.svg_.png?fit=1093%2C1200&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":18467,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=18467","url_meta":{"origin":2582,"position":1},"title":"Getting an HD44780 16&#215;2 LCD working on the Raspberry Pi &#8211; a tutorial","author":"Michael Horne","date":"11 March 2018","format":false,"excerpt":"This post is all about\u00a0HD44780 LCD screens and how to use them in your projects. I've recently been thinking about what my next project will be. I've previously experimented with handheld enclosures such as these ones: and I wanted to do another handheld device. So, I took a look around\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/16x2_front_sm.jpg?fit=1200%2C587&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/16x2_front_sm.jpg?fit=1200%2C587&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/16x2_front_sm.jpg?fit=1200%2C587&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/16x2_front_sm.jpg?fit=1200%2C587&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/16x2_front_sm.jpg?fit=1200%2C587&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1532,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1532","url_meta":{"origin":2582,"position":2},"title":"Read two sensors on the same GPIO pins with the I2C bus on the #RaspberryPi @Raspberry_Pi","author":"Michael Horne","date":"27 January 2013","format":false,"excerpt":"This great Instructable finally opens my eyes to what can be achieved using I2C. In short, it gives instructions for reading\u00a0two sensors on the same GPIO pins. In other words, you wire both sensors up to the same two pins on the Pi and let the Pi access them via\u2026","rel":"","context":"In &quot;Making&quot;","block_context":{"text":"Making","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=50"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3904,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=3904","url_meta":{"origin":2582,"position":3},"title":"I2C Analog to Digital Converter with the #RaspberryPi","author":"Michael Horne","date":"3 May 2013","format":false,"excerpt":"John Newbigin has been experimenting with a pre-assembled I2C analog to digital board with built-in sensors. Very interesting for such a small package and a very low price. It's only \u00a32.90 on DealExtreme.","rel":"","context":"In &quot;GPIO boards&quot;","block_context":{"text":"GPIO boards","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=20"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4207,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=4207","url_meta":{"origin":2582,"position":4},"title":"20\u00d74 RGB LCD over i2c with a #RaspberryPi","author":"Michael Horne","date":"21 May 2013","format":false,"excerpt":"Matt Dyson has used a 20x4 LCD display with an i2c backpack so that he only has to use 2 GPIO pins on his Raspberry Pi.\u00a0Read more here","rel":"","context":"In &quot;GPIO boards&quot;","block_context":{"text":"GPIO boards","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=20"},"img":{"alt_text":"Using 20\u00d74 RGB LCD over i2c with a Raspberry Pi | Matt Dyson","src":"\/blog\/wp-content\/uploads\/2013\/05\/2013-05-02-21.36.11-300x2251.jpg","width":350,"height":200},"classes":[]},{"id":18463,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=18463","url_meta":{"origin":2582,"position":5},"title":"Working with an SSD1306 0.96&#8243; OLED display on the Raspberry Pi","author":"Michael Horne","date":"12 March 2018","format":false,"excerpt":"I'm always on the lookout for cheap electronics on eBay and AliExpress. Following on from my previous tutorial on HD44780 screens, this time, I found a small OLED display. I bought one of these\u00a0from eBay for less than \u00a35 plus postage. It is a 0.96\", 128x64 pixel OLED display. These\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?fit=1200%2C809&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?fit=1200%2C809&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?fit=1200%2C809&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?fit=1200%2C809&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?fit=1200%2C809&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2582","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2582"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2582\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}