{"id":21057,"date":"2021-05-17T17:52:22","date_gmt":"2021-05-17T16:52:22","guid":{"rendered":"https:\/\/www.recantha.co.uk\/blog\/?p=21057"},"modified":"2021-05-17T17:56:44","modified_gmt":"2021-05-17T16:56:44","slug":"create-a-weather-forecasting-station-using-a-feather-s2-and-an-oled","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=21057","title":{"rendered":"Create a weather forecasting station using a Feather S2 and an OLED"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21058\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg?resize=560%2C419&#038;ssl=1\" alt=\"\" width=\"560\" height=\"419\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg?resize=300%2C224&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg?resize=1024%2C765&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg?resize=768%2C574&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg?resize=560%2C419&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg?resize=260%2C194&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg?resize=160%2C120&amp;ssl=1 160w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg?w=1120&amp;ssl=1 1120w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<p>At the moment, I am waiting for the second version of my PCB for the <a href=\"https:\/\/www.recantha.co.uk\/blog\/?page_id=20924\">PicoPicorder<\/a>. In a departure from my regular making, I decided to buy a <a href=\"https:\/\/shop.pimoroni.com\/products\/feathers2-esp32-s2\" target=\"_blank\" rel=\"noopener\">Feather S2 from Pimoroni<\/a>. This is a Feather-format board with built-in WiFI that comes with CircuitPython pre-installed (although I believe you can install MicroPython if you want to &#8211; but in the end, I stuck with CircuitPython). If you want to know more about the Feather S2, <a href=\"https:\/\/feathers2.io\/\" target=\"_blank\" rel=\"noopener\">take a look at this website<\/a>.<\/p>\n<p><strong>But what to\u00a0<em>do<\/em> with it?<\/strong><\/p>\n<p>My step-daughter has recently started a (very) local waitressing job whilst waiting to find her dream job (we hope!). Until today, this was all very outside-based, due to COVID restrictions in the UK. WIth today&#8217;s slight relaxation of restrictions, she&#8217;ll be indoors some of the time, but they&#8217;re (very sensibly) keeping the outside area. I decided, therefore, that she needed a way of knowing what the weather was going to be like for upcoming shifts.<\/p>\n<p>I also bought a <a href=\"https:\/\/shop.pimoroni.com\/products\/adafruit-featherwing-oled-128x32\" target=\"_blank\" rel=\"noopener\">FeatherWing OLED<\/a> at the same time so decided to use that as the readout for a weather forecasting station. I decided that I didn&#8217;t just want to sandwich the two together (because that would give me quite a tall profile and I wanted something flatter. This meant either a PCB or a piece of stripboard. I will be going for the latter eventually, but first of all I decided to breadboard the two boards (as you can see in the image above). This involved soldering male headers to both boards, which was fairly easy (once I&#8217;d got used to my new varifocals!)<\/p>\n<p>After sorting out the circuit, I wrote some code that would allow me to:<\/p>\n<ul>\n<li>Select a location to forecast the weather for (because I wanted it to be multi-user, so added in my parents&#8217; home town and the in-laws&#8217; home town). (Button A on the OLED).<\/li>\n<li>Retrieve a forecast from the <a href=\"https:\/\/openweathermap.org\/api\" target=\"_blank\" rel=\"noopener\">OpenWeatherMap.org API<\/a> (which I&#8217;d previously signed up for, on their Free tier). (Button B).<\/li>\n<li>Display the current weather and the next 5 forecast weather readings. (Button C).<\/li>\n<\/ul>\n<p><a href=\"https:\/\/github.com\/recantha\/featherweatherstation\" target=\"_blank\" rel=\"noopener\">All my code is on GitHub if you&#8217;d like to take a look<\/a>. Feel free to re-use and adapt if you&#8217;d like to. The API returns JSON, and there&#8217;s some conversion functions in there to get the data into a more manageable (smaller) packet. There&#8217;s probably a more efficient way to use the displayio library, but I wanted to get the code done in a day. I learned\u00a0<strong>loads <\/strong>about Python, loops especially, doing this!<\/p>\n<p>Here is a video demo of the device as it currently is on the breadboard. As you can imagine, it won&#8217;t take much to convert this to a stripboard version! I will then add a 3D printed box to put it in.<\/p>\n<p>Let me know what you think of the project &#8211; and if you can think of any additional bells and whistles I can add!<\/p>\n<p><iframe loading=\"lazy\" title=\"Feather S2 with Adafruit OLED FeatherWing - Weather forecasting station\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/N26DCrZLNB0?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","protected":false},"excerpt":{"rendered":"<p>At the moment, I am waiting for the second version of my PCB for the PicoPicorder. In a departure from my regular making, I decided to buy a Feather S2 from Pimoroni. This is a Feather-format board with built-in WiFI&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=21057\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"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":"Create a weather forecasting station using a Feather S2 and an OLED","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":[50,39,62],"tags":[1030,665],"class_list":["post-21057","post","type-post","status-publish","format-standard","hentry","category-making","category-programming","category-sensors","tag-feather-s2","tag-oled"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Create a weather forecasting station using a Feather S2 and an OLED - 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=21057\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create a weather forecasting station using a Feather S2 and an OLED - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"At the moment, I am waiting for the second version of my PCB for the PicoPicorder. In a departure from my regular making, I decided to buy a Feather S2 from Pimoroni. This is a Feather-format board with built-in WiFI&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=21057\" \/>\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=\"2021-05-17T16:52:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-17T16:56:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg\" \/>\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=\"3 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=21057#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21057\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Create a weather forecasting station using a Feather S2 and an OLED\",\"datePublished\":\"2021-05-17T16:52:22+00:00\",\"dateModified\":\"2021-05-17T16:56:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21057\"},\"wordCount\":518,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21057#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg\",\"keywords\":[\"feather s2\",\"oled\"],\"articleSection\":[\"Making\",\"Programming\",\"Sensors\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=21057#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21057\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21057\",\"name\":\"Create a weather forecasting station using a Feather S2 and an OLED - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21057#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21057#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg\",\"datePublished\":\"2021-05-17T16:52:22+00:00\",\"dateModified\":\"2021-05-17T16:56:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21057#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=21057\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21057#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg?fit=1200%2C897&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg?fit=1200%2C897&ssl=1\",\"width\":1200,\"height\":897},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21057#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a weather forecasting station using a Feather S2 and an OLED\"}]},{\"@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":"Create a weather forecasting station using a Feather S2 and an OLED - 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=21057","og_locale":"en_US","og_type":"article","og_title":"Create a weather forecasting station using a Feather S2 and an OLED - Raspberry Pi Pod","og_description":"At the moment, I am waiting for the second version of my PCB for the PicoPicorder. In a departure from my regular making, I decided to buy a Feather S2 from Pimoroni. This is a Feather-format board with built-in WiFI&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=21057","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2021-05-17T16:52:22+00:00","article_modified_time":"2021-05-17T16:56:44+00:00","og_image":[{"url":"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg","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":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21057#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21057"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Create a weather forecasting station using a Feather S2 and an OLED","datePublished":"2021-05-17T16:52:22+00:00","dateModified":"2021-05-17T16:56:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21057"},"wordCount":518,"commentCount":0,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21057#primaryimage"},"thumbnailUrl":"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg","keywords":["feather s2","oled"],"articleSection":["Making","Programming","Sensors"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=21057#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21057","url":"https:\/\/www.recantha.co.uk\/blog\/?p=21057","name":"Create a weather forecasting station using a Feather S2 and an OLED - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21057#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21057#primaryimage"},"thumbnailUrl":"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg","datePublished":"2021-05-17T16:52:22+00:00","dateModified":"2021-05-17T16:56:44+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21057#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=21057"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21057#primaryimage","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg?fit=1200%2C897&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/05\/IMG_20210516_145943296.jpg?fit=1200%2C897&ssl=1","width":1200,"height":897},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21057#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Create a weather forecasting station using a Feather S2 and an OLED"}]},{"@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-5tD","jetpack-related-posts":[{"id":20762,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20762","url_meta":{"origin":21057,"position":0},"title":"CircuitPython from Adafruit runs on the Raspberry Pi Pico","author":"Michael Horne","date":"21 January 2021","format":false,"excerpt":"As highlighted by Les Pounder on Twitter and again by 'tannewt' (Scott Shawcroft) on the Raspberry Pi Forums, Adafruit's CircuitPython will run on the Raspberry Pi Pico and, more generally, RP2040 boards, such as Adafruit's upcoming Feather 2040. According to this post on the Forum you just follow these instructions:\u2026","rel":"","context":"In &quot;Announcements&quot;","block_context":{"text":"Announcements","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=952"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/EsPzY45XAAAtSgK.jpeg?fit=1094%2C488&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/EsPzY45XAAAtSgK.jpeg?fit=1094%2C488&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/EsPzY45XAAAtSgK.jpeg?fit=1094%2C488&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/EsPzY45XAAAtSgK.jpeg?fit=1094%2C488&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/EsPzY45XAAAtSgK.jpeg?fit=1094%2C488&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":20898,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20898","url_meta":{"origin":21057,"position":1},"title":"Your horse runs like the wind with this Raspberry Pi Pico-driven animation","author":"Michael Horne","date":"3 March 2021","format":false,"excerpt":"Hari Wiguna has taken a Raspberry Pi Pico and a small SSD1306 OLED display and created a lovely animation project. It features the stop-motion frames from the galloping horse animation cards by Eadweard Muybridge and uses CircuitPython to do the animation. You can see it in action below and see\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\/2021\/03\/The_Horse_in_Motion_high_res.jpg?fit=1200%2C740&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/The_Horse_in_Motion_high_res.jpg?fit=1200%2C740&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/The_Horse_in_Motion_high_res.jpg?fit=1200%2C740&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/The_Horse_in_Motion_high_res.jpg?fit=1200%2C740&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/The_Horse_in_Motion_high_res.jpg?fit=1200%2C740&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":20803,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20803","url_meta":{"origin":21057,"position":2},"title":"Use Adafruit&#8217;s CircuitPython on the Raspberry Pi Pico","author":"Michael Horne","date":"6 February 2021","format":false,"excerpt":"At the start of the Raspberry Pi Pico launch, it was only possible to program it in either C\/C++ or MicroPython. A few languages are beginning to make an appearance now, including the quite exciting prospect of Rust running on the board. Today, I'm highlighting Adafruit's CircuitPython. It is similar,\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\/2021\/02\/CircuitPython_Repo_header_logo.png?fit=1000%2C380&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/CircuitPython_Repo_header_logo.png?fit=1000%2C380&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/CircuitPython_Repo_header_logo.png?fit=1000%2C380&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/CircuitPython_Repo_header_logo.png?fit=1000%2C380&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":20820,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20820","url_meta":{"origin":21057,"position":3},"title":"Use the screen on the Pimoroni Pico Explorer from CircuitPython","author":"Michael Horne","date":"7 February 2021","format":false,"excerpt":"A little while ago, on Twitter, I bemoaned that CircuitPython didn't \"just work\" with the Pimoroni Pico Explorer. On this board, there is a little LCD screen, an ST7789. Theoretically, a CircuitPython library exists for it, but it didn't quite work when I tried it with the Pico Explorer. On\u2026","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":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/IMG_20210207_130831716_HDR_sm.jpg?fit=1200%2C898&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/IMG_20210207_130831716_HDR_sm.jpg?fit=1200%2C898&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/IMG_20210207_130831716_HDR_sm.jpg?fit=1200%2C898&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/IMG_20210207_130831716_HDR_sm.jpg?fit=1200%2C898&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/IMG_20210207_130831716_HDR_sm.jpg?fit=1200%2C898&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":20901,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20901","url_meta":{"origin":21057,"position":4},"title":"Using CircuitPython with the Raspberry Pi Pico&#8217;s PIO functionality","author":"Michael Horne","date":"4 March 2021","format":false,"excerpt":"Jeff Epler over at Adafruit has written an excellent guide to using the Pico's PIO functionality in combination with CircuitPython. As he points out, CircuitPython sometimes interacts differently with the PIO than standard MicroPython, so this guide was necessary to highlight the differences. It explains things in detail and gives\u2026","rel":"","context":"In &quot;Blinkies&quot;","block_context":{"text":"Blinkies","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=80"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/raspberry_pi_pio.png?fit=652%2C484&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/raspberry_pi_pio.png?fit=652%2C484&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/raspberry_pi_pio.png?fit=652%2C484&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":20950,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20950","url_meta":{"origin":21057,"position":5},"title":"Playing sounds from the Raspberry Pi Pico using CircuitPython &#8211; a journey of discovery","author":"Michael Horne","date":"21 March 2021","format":false,"excerpt":"As you probably know by now, I'm not a microcontroller expert. However, with the advent of microcontrollers that use MicroPython and CircuitPython, I am a lot more comfortable using them now than I used to be! However, because the Raspberry Pi Pico is new, there aren't a\u00a0lot of practical examples\u2026","rel":"","context":"In &quot;Audio&quot;","block_context":{"text":"Audio","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=4"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/IMG_20210321_074930089_sm.jpg?fit=1200%2C898&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/IMG_20210321_074930089_sm.jpg?fit=1200%2C898&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/IMG_20210321_074930089_sm.jpg?fit=1200%2C898&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/IMG_20210321_074930089_sm.jpg?fit=1200%2C898&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/IMG_20210321_074930089_sm.jpg?fit=1200%2C898&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/21057","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=21057"}],"version-history":[{"count":3,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/21057\/revisions"}],"predecessor-version":[{"id":21061,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/21057\/revisions\/21061"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}