{"id":18407,"date":"2018-02-28T12:41:04","date_gmt":"2018-02-28T11:41:04","guid":{"rendered":"http:\/\/www.recantha.co.uk\/blog\/?p=18407"},"modified":"2018-02-28T12:41:04","modified_gmt":"2018-02-28T11:41:04","slug":"change-the-speed-of-the-i2c-bus-on-a-raspberry-pi-with-this-config-change","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=18407","title":{"rendered":"Change the speed of the I2C bus on a Raspberry Pi with this config change"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18408\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?resize=560%2C268&#038;ssl=1\" alt=\"\" width=\"560\" height=\"268\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?resize=702%2C336&amp;ssl=1 702w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?resize=300%2C144&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?resize=560%2C268&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?resize=260%2C124&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?resize=160%2C77&amp;ssl=1 160w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p>Matt, over at Raspberry Pi Spy, has blogged about a way to improve the performance of the <a href=\"https:\/\/en.wikipedia.org\/wiki\/I%C2%B2C\" target=\"_blank\" rel=\"noopener\">I2C bus<\/a> on a Raspberry Pi. The bus, which is used for, among other things, sensor readings and outputting to OLED displays defaults to 100Kb\/s but can be made to go as fast as 400Kb\/s by changing a value in \/boot\/config.txt. This can improve performance for some applications. For the full details, <a href=\"https:\/\/www.raspberrypi-spy.co.uk\/2018\/02\/change-raspberry-pi-i2c-bus-speed\/\" target=\"_blank\" rel=\"noopener\">head over to this page<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Matt, over at Raspberry Pi Spy, has blogged about a way to improve the performance of the I2C bus on a Raspberry Pi. The bus, which is used for, among other things, sensor readings and outputting to OLED displays defaults&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=18407\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":18408,"comment_status":"open","ping_status":"closed","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":[22,15,51],"tags":[443],"class_list":["post-18407","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-geeky-techiness","category-distros","category-tutorials","tag-i2c"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Change the speed of the I2C bus on a Raspberry Pi with this config change - 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=18407\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Change the speed of the I2C bus on a Raspberry Pi with this config change - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Matt, over at Raspberry Pi Spy, has blogged about a way to improve the performance of the I2C bus on a Raspberry Pi. The bus, which is used for, among other things, sensor readings and outputting to OLED displays defaults&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=18407\" \/>\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=\"2018-02-28T11:41:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i2.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?fit=702%2C336&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"702\" \/>\n\t<meta property=\"og:image:height\" content=\"336\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\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<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18407#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18407\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Change the speed of the I2C bus on a Raspberry Pi with this config change\",\"datePublished\":\"2018-02-28T11:41:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18407\"},\"wordCount\":95,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18407#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?fit=702%2C336&ssl=1\",\"keywords\":[\"i2c\"],\"articleSection\":[\"Geeky Techiness\",\"Operating systems\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=18407#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18407\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18407\",\"name\":\"Change the speed of the I2C bus on a Raspberry Pi with this config change - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18407#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18407#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?fit=702%2C336&ssl=1\",\"datePublished\":\"2018-02-28T11:41:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18407#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=18407\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18407#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?fit=702%2C336&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?fit=702%2C336&ssl=1\",\"width\":702,\"height\":336},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18407#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Change the speed of the I2C bus on a Raspberry Pi with this config change\"}]},{\"@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":"Change the speed of the I2C bus on a Raspberry Pi with this config change - 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=18407","og_locale":"en_US","og_type":"article","og_title":"Change the speed of the I2C bus on a Raspberry Pi with this config change - Raspberry Pi Pod","og_description":"Matt, over at Raspberry Pi Spy, has blogged about a way to improve the performance of the I2C bus on a Raspberry Pi. The bus, which is used for, among other things, sensor readings and outputting to OLED displays defaults&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=18407","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2018-02-28T11:41:04+00:00","og_image":[{"width":702,"height":336,"url":"https:\/\/i2.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?fit=702%2C336&ssl=1","type":"image\/jpeg"}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18407#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18407"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Change the speed of the I2C bus on a Raspberry Pi with this config change","datePublished":"2018-02-28T11:41:04+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18407"},"wordCount":95,"commentCount":0,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18407#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?fit=702%2C336&ssl=1","keywords":["i2c"],"articleSection":["Geeky Techiness","Operating systems","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=18407#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18407","url":"https:\/\/www.recantha.co.uk\/blog\/?p=18407","name":"Change the speed of the I2C bus on a Raspberry Pi with this config change - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18407#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18407#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?fit=702%2C336&ssl=1","datePublished":"2018-02-28T11:41:04+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18407#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=18407"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18407#primaryimage","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?fit=702%2C336&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?fit=702%2C336&ssl=1","width":702,"height":336},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18407#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Change the speed of the I2C bus on a Raspberry Pi with this config change"}]},{"@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":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?fit=702%2C336&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-4MT","jetpack-related-posts":[{"id":19880,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=19880","url_meta":{"origin":18407,"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":12576,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=12576","url_meta":{"origin":18407,"position":1},"title":"Java, sensors and the I2C bus on the Raspberry Pi","author":"Michael Horne","date":"13 May 2015","format":false,"excerpt":"Jose Cruz has continued his series on using sensors on a Raspberry Pi with Java. (You can see part 1 here) This time he tackles initialising the I2C bus on the Pi and then using Java to read sensor data from the bus. Very useful if you're into Java! Read\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\/community.oracle.com\/servlet\/JiveServlet\/downloadImage\/102-914698-3-123793\/figure3.gif?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1532,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1532","url_meta":{"origin":18407,"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":2559,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=2559","url_meta":{"origin":18407,"position":3},"title":"Two I2C buses on the #RaspberryPi","author":"Michael Horne","date":"1 March 2013","format":false,"excerpt":"Medic for Life has blogged about the double-row of holes near the GPIO that allow you to access\u00a0the second I2C bus on the Raspberry Pi.","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":17067,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=17067","url_meta":{"origin":18407,"position":4},"title":"Very, very frightening indeed: Lightning detector uses a sensor and a Raspberry Pi","author":"Michael Horne","date":"9 July 2017","format":false,"excerpt":"France-based Hexalyse\u00a0has hooked up an\u00a0AS3935 Franklin Lightning Sensor\u00a0to his Raspberry Pi. This sensor is able to detect the approach of a storm by detecting lightning up to 40km away and it comes on a little breakout board that can interact with the Pi over the I2C bus. He used a\u2026","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=39"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?fit=603%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?fit=603%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?fit=603%2C800&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":4207,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=4207","url_meta":{"origin":18407,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/18407","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=18407"}],"version-history":[{"count":1,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/18407\/revisions"}],"predecessor-version":[{"id":18409,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/18407\/revisions\/18409"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/media\/18408"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}