{"id":18463,"date":"2018-03-12T11:40:22","date_gmt":"2018-03-12T10:40:22","guid":{"rendered":"http:\/\/www.recantha.co.uk\/blog\/?p=18463"},"modified":"2018-03-12T15:17:58","modified_gmt":"2018-03-12T14:17:58","slug":"working-with-an-ssd1306-0-96-oled-display-on-the-raspberry-pi","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=18463","title":{"rendered":"Working with an SSD1306 0.96&#8243; OLED display on the Raspberry Pi"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18474\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?resize=560%2C378&#038;ssl=1\" alt=\"\" width=\"560\" height=\"378\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?resize=300%2C202&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?resize=768%2C518&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?resize=1024%2C690&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?resize=560%2C378&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?resize=260%2C175&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?resize=160%2C108&amp;ssl=1 160w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?w=1120&amp;ssl=1 1120w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p><em>I&#8217;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.<\/em><\/p>\n<p>I bought <a href=\"http:\/\/www.ebay.co.uk\/itm\/263172362667\" target=\"_blank\" rel=\"noopener\">one of these<\/a>\u00a0from eBay for less than \u00a35 plus postage. It is a <strong><a href=\"http:\/\/www.ebay.co.uk\/itm\/263172362667\" target=\"_blank\" rel=\"noopener\">0.96&#8243;, 128&#215;64 pixel OLED display<\/a>.<\/strong> These things are really tiny, but useful if you&#8217;re after something to display status information. They run from <a href=\"https:\/\/learn.sparkfun.com\/tutorials\/i2c\" target=\"_blank\" rel=\"noopener\">the I2C bus<\/a>, this one using address 0x3C. This means that all the other addresses are available for you to use to get I2C sensor readings from or to drive other displays. You can even change the address on these displays to allow you to use multiple of the same device.<\/p>\n<p>I did a quick Google to find out how to use it with the Raspberry Pi. I used <em>some\u00a0<\/em>of the instructions on\u00a0<a href=\"http:\/\/raspberrypi4u.blogspot.com\/2017\/01\/raspberry-pi-oled-i2c.html\" target=\"_blank\" rel=\"noopener\">this page<\/a>\u00a0but found them to be out of date, so I ended up doing things slightly differently.<\/p>\n<p>First of all, make sure your Pi has some essential packages. Most are pre-installed, but you&#8217;ll get updates this way:<\/p>\n<pre>sudo apt-get install build-essential python-dev python-pip python-imaging python-smbus git<\/pre>\n<p>Then, grab the <a href=\"https:\/\/github.com\/adafruit\/Adafruit_Python_SSD1306\" target=\"_blank\" rel=\"noopener\">Adafruit library<\/a> from GitHub:<\/p>\n<pre>git clone https:\/\/github.com\/adafruit\/Adafruit_Python_SSD1306<\/pre>\n<p>Install the library for python3:<\/p>\n<pre>cd\u00a0Adafruit_Python_SSD1306\r\nsudo python3 setup.py install<\/pre>\n<p>Now take a look at the examples:<\/p>\n<pre>cd examples\r\npython3 animate.py<\/pre>\n<p>In the examples, I changed the &#8220;disp =&#8221; statement to use the line with a 128&#215;64 display running on I2C.<\/p>\n<p>The example scripts provided by Adafruit are:<\/p>\n<ul>\n<li>Animated text rolling across the screen.<\/li>\n<li>Representation of some buttons (which is weird because it&#8217;s not a touch screen!).<\/li>\n<li>A PPM image translated onto the screen.<\/li>\n<li>Some geometric shapes.<\/li>\n<li>Some stats from the Pi &#8211; the IP address, disk &amp; memory usage and CPU load.<\/li>\n<\/ul>\n<p>You can see how these scripts work in the video below. <em>Pardon the shaky cam work, I&#8217;ve lost my little tripod!<\/em><\/p>\n<p><iframe loading=\"lazy\" title=\"An SSD1306 0.96&quot; OLED display on the Raspberry Pi\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/UQu-vgwij6o?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><\/p>\n<p>All the scripts are pretty easy to understand and modify.<\/p>\n<p>I&#8217;ve seen these used to display the time, Pi information such as that in the example screen and even as a status display for different robot modes, so they are really versatile.<\/p>\n<p>Addendum: <a href=\"https:\/\/luma-oled.readthedocs.io\/en\/latest\/\" target=\"_blank\" rel=\"noopener\">Also worth a look is this other Python library called luma-oled<\/a>. Thanks to Brian Welsby for that!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;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&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=18463\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":18474,"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":[54,50,51],"tags":[664,666,198,665,94],"class_list":["post-18463","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-accessories","category-making","category-tutorials","tag-0-96","tag-128x64","tag-adafruit","tag-oled","tag-raspberry-pi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Working with an SSD1306 0.96&quot; OLED display on the Raspberry Pi - 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=18463\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Working with an SSD1306 0.96&quot; OLED display on the Raspberry Pi - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"I&#8217;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&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=18463\" \/>\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-03-12T10:40:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-03-12T14:17:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i1.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?fit=1200%2C809&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"809\" \/>\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\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\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=18463#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18463\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Working with an SSD1306 0.96&#8243; OLED display on the Raspberry Pi\",\"datePublished\":\"2018-03-12T10:40:22+00:00\",\"dateModified\":\"2018-03-12T14:17:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18463\"},\"wordCount\":377,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18463#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?fit=1200%2C809&ssl=1\",\"keywords\":[\"0.96\",\"128x64\",\"adafruit\",\"oled\",\"raspberry pi\"],\"articleSection\":[\"Accessories\",\"Making\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=18463#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18463\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18463\",\"name\":\"Working with an SSD1306 0.96\\\" OLED display on the Raspberry Pi - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18463#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18463#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?fit=1200%2C809&ssl=1\",\"datePublished\":\"2018-03-12T10:40:22+00:00\",\"dateModified\":\"2018-03-12T14:17:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18463#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=18463\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18463#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?fit=1200%2C809&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?fit=1200%2C809&ssl=1\",\"width\":1200,\"height\":809},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18463#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Working with an SSD1306 0.96&#8243; OLED display on the Raspberry Pi\"}]},{\"@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":"Working with an SSD1306 0.96\" OLED display on the Raspberry Pi - 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=18463","og_locale":"en_US","og_type":"article","og_title":"Working with an SSD1306 0.96\" OLED display on the Raspberry Pi - Raspberry Pi Pod","og_description":"I&#8217;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&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=18463","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2018-03-12T10:40:22+00:00","article_modified_time":"2018-03-12T14:17:58+00:00","og_image":[{"width":1200,"height":809,"url":"https:\/\/i1.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?fit=1200%2C809&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","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18463#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18463"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Working with an SSD1306 0.96&#8243; OLED display on the Raspberry Pi","datePublished":"2018-03-12T10:40:22+00:00","dateModified":"2018-03-12T14:17:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18463"},"wordCount":377,"commentCount":4,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18463#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?fit=1200%2C809&ssl=1","keywords":["0.96","128x64","adafruit","oled","raspberry pi"],"articleSection":["Accessories","Making","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=18463#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18463","url":"https:\/\/www.recantha.co.uk\/blog\/?p=18463","name":"Working with an SSD1306 0.96\" OLED display on the Raspberry Pi - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18463#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18463#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?fit=1200%2C809&ssl=1","datePublished":"2018-03-12T10:40:22+00:00","dateModified":"2018-03-12T14:17:58+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18463#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=18463"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18463#primaryimage","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?fit=1200%2C809&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/oled_demo_sm.jpg?fit=1200%2C809&ssl=1","width":1200,"height":809},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18463#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Working with an SSD1306 0.96&#8243; OLED display on the Raspberry Pi"}]},{"@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\/03\/oled_demo_sm.jpg?fit=1200%2C809&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-4NN","jetpack-related-posts":[{"id":15497,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=15497","url_meta":{"origin":18463,"position":0},"title":"Raspberry Pi Zero used for the world&#8217;s smallest MAME Arcade Cabinet","author":"Michael Horne","date":"16 September 2016","format":false,"excerpt":"Over at Adafruit, Philip Burgess has blogged about a marvellous little project involving a Raspberry Pi Zero. And when I say \"little\", I\u00a0mean \"little\"! They've used the Zero, together with a 0.96\" OLED display, an amplifier, some tiny speakers and some buttons to create the world's smallest arcade cabinet. They've\u2026","rel":"","context":"In &quot;Games&quot;","block_context":{"text":"Games","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=21"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cdn-learn.adafruit.com\/assets\/assets\/000\/035\/716\/medium800\/gaming_pi-inside.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cdn-learn.adafruit.com\/assets\/assets\/000\/035\/716\/medium800\/gaming_pi-inside.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/cdn-learn.adafruit.com\/assets\/assets\/000\/035\/716\/medium800\/gaming_pi-inside.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/cdn-learn.adafruit.com\/assets\/assets\/000\/035\/716\/medium800\/gaming_pi-inside.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":18407,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=18407","url_meta":{"origin":18463,"position":1},"title":"Change the speed of the I2C bus on a Raspberry Pi with this config change","author":"Michael Horne","date":"28 February 2018","format":false,"excerpt":"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 to 100Kb\/s but can be made to go as fast\u2026","rel":"","context":"In &quot;Geeky Techiness&quot;","block_context":{"text":"Geeky Techiness","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=22"},"img":{"alt_text":"","src":"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&resize=350%2C200","width":350,"height":200,"srcset":"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&resize=350%2C200 1x, 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&resize=525%2C300 1.5x, 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&resize=700%2C400 2x"},"classes":[]},{"id":4207,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=4207","url_meta":{"origin":18463,"position":2},"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":18467,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=18467","url_meta":{"origin":18463,"position":3},"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":7403,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=7403","url_meta":{"origin":18463,"position":4},"title":"Use an OLED display with the #RaspberryPi courtesy of @RaspberryPiGuy1 and @Adafruit","author":"Michael Horne","date":"6 January 2014","format":false,"excerpt":"Matthew Timmons-Brown (who presented the brilliant keynote at the last CamJam\u00a0and runs his own YouTube channel) has written an excellent tutorial on using tiny OLED displays with the Raspberry Pi. Read the tutorial here","rel":"","context":"In &quot;Geeky Techiness&quot;","block_context":{"text":"Geeky Techiness","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=22"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/learn.adafruit.com\/system\/assets\/assets\/000\/013\/338\/medium800\/lcds___displays_http---makeagif.com--media-12-31-2013-IKPf2e.gif?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/learn.adafruit.com\/system\/assets\/assets\/000\/013\/338\/medium800\/lcds___displays_http---makeagif.com--media-12-31-2013-IKPf2e.gif?resize=350%2C200 1x, https:\/\/i0.wp.com\/learn.adafruit.com\/system\/assets\/assets\/000\/013\/338\/medium800\/lcds___displays_http---makeagif.com--media-12-31-2013-IKPf2e.gif?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/learn.adafruit.com\/system\/assets\/assets\/000\/013\/338\/medium800\/lcds___displays_http---makeagif.com--media-12-31-2013-IKPf2e.gif?resize=700%2C400 2x"},"classes":[]},{"id":11208,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=11208","url_meta":{"origin":18463,"position":5},"title":"EduBoard &#8211; a multi-function board and OLED display for the Raspberry Pi","author":"Michael Horne","date":"15 October 2014","format":false,"excerpt":"There have been lots of boards on Kickstarter and IndieGoGo for the Pi, and here's another one - a really fun, educational one. This one is called the EduBoard and features the following: 1 x RGB LED 1 x OLED Display 1 x 5V Buzzer 1 x Thermal Sensor 2\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/18463","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=18463"}],"version-history":[{"count":5,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/18463\/revisions"}],"predecessor-version":[{"id":18486,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/18463\/revisions\/18486"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/media\/18474"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}