{"id":20969,"date":"2021-03-29T09:37:03","date_gmt":"2021-03-29T08:37:03","guid":{"rendered":"https:\/\/www.recantha.co.uk\/blog\/?p=20969"},"modified":"2021-03-29T09:44:49","modified_gmt":"2021-03-29T08:44:49","slug":"using-sublime-text-3-to-code-with-your-raspberry-pi-pico","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=20969","title":{"rendered":"Using Sublime Text 3 to code with your Raspberry Pi Pico"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20970\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg?resize=560%2C129&#038;ssl=1\" alt=\"\" width=\"560\" height=\"129\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg?w=1710&amp;ssl=1 1710w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg?resize=300%2C69&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg?resize=1024%2C237&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg?resize=768%2C177&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg?resize=1536%2C355&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg?resize=560%2C129&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg?resize=260%2C60&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg?resize=160%2C37&amp;ssl=1 160w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg?w=1120&amp;ssl=1 1120w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<p>There are, of course, many options when it comes to editing files. <a href=\"https:\/\/www.raspberrypi.org\/blog\/visual-studio-code-comes-to-raspberry-pi\/\" target=\"_blank\" rel=\"noopener\">Raspberry Pi&#8217;s suggested way of coding for the Raspberry Pi Pico is to use Visual Studio Code.<\/a> I must admit, I struggled to get on with it. In order to make my life easier, I wanted to use <a href=\"https:\/\/www.sublimetext.com\/\" target=\"_blank\" rel=\"noopener\">Sublime Text 3<\/a>, which is what I use for work. Familiarity with your IDE\/editor helps a lot when you&#8217;re doing something new, so I looked at how I could use it. I&#8217;m on Windows, so expect those kind of file paths \ud83d\ude42 I&#8217;m also using CircuitPython which means the Pico presents itself as a drive on your PC (like a Removable Disk).<\/p>\n<h2>First steps &#8211; direct editing<\/h2>\n<p>To start with, I created a Project and added the CIRCUITPY drive to the project. That way, I could see the files on the drive and just edit them.<\/p>\n<p>I experimented for a while and tried to use the <a href=\"https:\/\/github.com\/ThomasGerstenberg\/serial_monitor\" target=\"_blank\" rel=\"noopener\">serial_monitor plugin<\/a> to see the device and access the REPL. This plugin, though, doesn&#8217;t allow interaction at that level, so I&#8217;ve stuck with <a href=\"https:\/\/www.putty.org\/\" target=\"_blank\" rel=\"noopener\">Putty<\/a> for now. I have Sublime Text open on one screen and Putty on the other, but if you&#8217;ve only got one screen, just split it using Windows&#8217; in-built facility.<\/p>\n<h2>Version control using Git \/ File synchronisation with the Pico<\/h2>\n<p>Of course, eventually you&#8217;re going to want to keep your code version controlled and backed up on GitHub&#8230; right? I mean, you wouldn&#8217;t want to just keep it on your Pico and then accidentally lose it? And version control is good, correct? Say &#8220;Yes, Mike&#8221;. \ud83d\ude42<\/p>\n<p>Having your repository keyed to be on the Pico itself is pretty bad form, in my opinion. Instead, you need a place for your code off of the Pico. This makes sense &#8211; that way if you want to do Git commits and pushes, you can do it from your hard drive, rather than direct from the Pico. But how to keep that &#8220;local&#8221; code in step with the Pico? That&#8217;s where file synchronisation comes in.<\/p>\n<p>I looked at a few options, but what I really wanted was for the file system to be monitored for changes and then the code file(s) that had been changed to be automatically copied onto the Pico. I came across <a href=\"https:\/\/github.com\/weverss\/FSync\" target=\"_blank\" rel=\"noopener\">the FSync plugin<\/a>. It is pretty bare bones, but it does what I want. You&#8217;ll need Package Control installed (<a href=\"https:\/\/packagecontrol.io\/installation\" target=\"_blank\" rel=\"noopener\">see here for instructions<\/a>). First of all, add a repository to Package Control and enter https:\/\/github.com\/weverss\/FSync into the text box. This links your ST3 installation to the specific GitHub for the plugin. Then, install the package by searching for FSync. Restart Sublime Text 3 and the package will be installed and ready.<\/p>\n<p>In your menu, go to Preferences-&gt;Package Settings-&gt;FSync-&gt;Settings &#8211; User.<\/p>\n<p>This will open up a blank file.<\/p>\n<p>Now, go to Preferences-&gt;Package Settings-&gt;FSync-&gt;Settings &#8211; Default. Copy the whole thing and paste it into your User file and save it.<\/p>\n<p>Now, edit the local_workspace and remote_workspace settings. Set them according to the location of your local folder and your Pico drive. <strong>Use \/ as the path delimited and d<\/strong><strong>o not add a trailing \/.<\/strong><\/p>\n<p>Here&#8217;s mine:<\/p>\n<pre>{\r\n    \/\/ File extensions list to ignore during sync\r\n    \"ignore_extensions\": [\".FSync\", \".svn-base\", \"wc.db\"] ,\r\n\r\n    \/\/ WARNING: In both settings below, don't finish directories with '\/'\r\n\r\n    \/\/ Local directory to work...\r\n    \"local_workspace\": \"D:\/Projects\/Raspberry Pi\/Pico\/Pico Picorder\/PicoPicorder (code)\",\r\n\r\n    \/\/ Remote directory to sync files from local directory ('local_workspace' setting above)\r\n    \"remote_workspace\": \"E:\" \/\/ Don't finish it with '\/'\r\n}<\/pre>\n<p>Save it.<\/p>\n<p>Now, what you should find is that each time you save a file in your LOCAL folder, it copies it to the CIRCUITPY drive.<\/p>\n<p>And, because you have now moved your code to a local folder, you can now add it in the usual way to a GitHub repository.<\/p>\n<h2>Indentation<\/h2>\n<p>Don&#8217;t forget to change your Sublime Text 3 indents to &#8220;Spaces: 4&#8221;. This is at the bottom right of the screen in the grey strip. This is important as all the Adafruit libraries (and, indeed your code!) should use 4 spaces, not a tab character, otherwise you get indentation errors when it runs on the Pico.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are, of course, many options when it comes to editing files. Raspberry Pi&#8217;s suggested way of coding for the Raspberry Pi Pico is to use Visual Studio Code. I must admit, I struggled to get on with it. In&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=20969\">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":"Using Sublime Text 3 to code with your Raspberry Pi Pico","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":[972,49,51],"tags":[1016],"class_list":["post-20969","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi-pico","category-software","category-tutorials","tag-sublime-text"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using Sublime Text 3 to code with your Raspberry Pi Pico - 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=20969\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using Sublime Text 3 to code with your Raspberry Pi Pico - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"There are, of course, many options when it comes to editing files. Raspberry Pi&#8217;s suggested way of coding for the Raspberry Pi Pico is to use Visual Studio Code. I must admit, I struggled to get on with it. In&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=20969\" \/>\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-03-29T08:37:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-03-29T08:44:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.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=\"4 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=20969#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20969\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Using Sublime Text 3 to code with your Raspberry Pi Pico\",\"datePublished\":\"2021-03-29T08:37:03+00:00\",\"dateModified\":\"2021-03-29T08:44:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20969\"},\"wordCount\":670,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20969#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg\",\"keywords\":[\"sublime text\"],\"articleSection\":[\"Raspberry Pi Pico\",\"Software\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=20969#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20969\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20969\",\"name\":\"Using Sublime Text 3 to code with your Raspberry Pi Pico - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20969#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20969#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg\",\"datePublished\":\"2021-03-29T08:37:03+00:00\",\"dateModified\":\"2021-03-29T08:44:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20969#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=20969\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20969#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg?fit=1710%2C395&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg?fit=1710%2C395&ssl=1\",\"width\":1710,\"height\":395},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20969#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using Sublime Text 3 to code with your Raspberry Pi Pico\"}]},{\"@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":"Using Sublime Text 3 to code with your Raspberry Pi Pico - 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=20969","og_locale":"en_US","og_type":"article","og_title":"Using Sublime Text 3 to code with your Raspberry Pi Pico - Raspberry Pi Pod","og_description":"There are, of course, many options when it comes to editing files. Raspberry Pi&#8217;s suggested way of coding for the Raspberry Pi Pico is to use Visual Studio Code. I must admit, I struggled to get on with it. In&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=20969","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2021-03-29T08:37:03+00:00","article_modified_time":"2021-03-29T08:44:49+00:00","og_image":[{"url":"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.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":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20969#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20969"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Using Sublime Text 3 to code with your Raspberry Pi Pico","datePublished":"2021-03-29T08:37:03+00:00","dateModified":"2021-03-29T08:44:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20969"},"wordCount":670,"commentCount":4,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20969#primaryimage"},"thumbnailUrl":"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg","keywords":["sublime text"],"articleSection":["Raspberry Pi Pico","Software","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=20969#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20969","url":"https:\/\/www.recantha.co.uk\/blog\/?p=20969","name":"Using Sublime Text 3 to code with your Raspberry Pi Pico - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20969#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20969#primaryimage"},"thumbnailUrl":"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg","datePublished":"2021-03-29T08:37:03+00:00","dateModified":"2021-03-29T08:44:49+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20969#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=20969"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20969#primaryimage","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg?fit=1710%2C395&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/03\/st3.jpg?fit=1710%2C395&ssl=1","width":1710,"height":395},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20969#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Using Sublime Text 3 to code with your Raspberry Pi Pico"}]},{"@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-5sd","jetpack-related-posts":[{"id":20762,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20762","url_meta":{"origin":20969,"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":20825,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20825","url_meta":{"origin":20969,"position":1},"title":"Create a soil moisture sensor with a Raspberry Pi Pico and an LED ring","author":"Michael Horne","date":"9 February 2021","format":false,"excerpt":"Andy Warburton has blogged this great project with the Raspberry Pi Pico. He has used a SparkFun Soil Moisture sensor to detect moisture levels inside a plant pot. This is then wired up to the Pico, using one of the analog inputs to take the readings. The readings are then\u2026","rel":"","context":"In &quot;Making&quot;","block_context":{"text":"Making","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=50"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/IMG_2475.jpg?fit=1000%2C750&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_2475.jpg?fit=1000%2C750&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/IMG_2475.jpg?fit=1000%2C750&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/IMG_2475.jpg?fit=1000%2C750&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":21005,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=21005","url_meta":{"origin":20969,"position":2},"title":"The PicoPicorder &#8211; a work-in-progress prototype using a Raspberry Pi Pico and lots of components from Pimoroni and Adafruit!","author":"Michael Horne","date":"5 April 2021","format":false,"excerpt":"During March, and for the past week as well, I've been working on the latest iteration of my Picorder project. This project, which has been my \"go-to project\" for the past 9 years (gulp!) is now running from a Raspberry Pi Pico and uses lots and lots of sensors and\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\/04\/PicoPicorder-prototyping-stage_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\/04\/PicoPicorder-prototyping-stage_sm.jpg?fit=1200%2C898&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/PicoPicorder-prototyping-stage_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\/04\/PicoPicorder-prototyping-stage_sm.jpg?fit=1200%2C898&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/PicoPicorder-prototyping-stage_sm.jpg?fit=1200%2C898&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":20780,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20780","url_meta":{"origin":20969,"position":3},"title":"Play Tetris on your Raspberry Pi Pico using this add-on board from Pimoroni","author":"Michael Horne","date":"30 January 2021","format":false,"excerpt":"\u00a0 A Reddit user called Jools64 has created a fully-playable demo of the game Tetris using a Raspberry Pi Pico, the newest board from Raspberry Pi. It uses a\u00a0Pico Display Pack from Pimoroni to show the game and the four included buttons carry out the usual actions of left, right,\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\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/tetris-1.jpg?fit=1200%2C654&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/tetris-1.jpg?fit=1200%2C654&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/tetris-1.jpg?fit=1200%2C654&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/tetris-1.jpg?fit=1200%2C654&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/tetris-1.jpg?fit=1200%2C654&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":21020,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=21020","url_meta":{"origin":20969,"position":4},"title":"Guest post &#8211; Building a custom Raspberry Pi Pico-powered WiFi temperature sensor using MQTT and CircuitPython","author":"David Booth","date":"23 April 2021","format":false,"excerpt":"David Booth is here with another guest post. This time a custom temperature sensor using a Raspberry Pi Pico and a self-designed PCB. Overview A custom, low power temperature sensor powered by a Raspberry Pi Pico with an LCD display and WiFi connectivity for integration into an MQTT home automation\u2026","rel":"","context":"In &quot;Making&quot;","block_context":{"text":"Making","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=50"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?fit=1200%2C568&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?fit=1200%2C568&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?fit=1200%2C568&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?fit=1200%2C568&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?fit=1200%2C568&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":20898,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20898","url_meta":{"origin":20969,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/20969","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=20969"}],"version-history":[{"count":3,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/20969\/revisions"}],"predecessor-version":[{"id":20973,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/20969\/revisions\/20973"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}