{"id":20857,"date":"2021-02-13T16:22:42","date_gmt":"2021-02-13T15:22:42","guid":{"rendered":"https:\/\/www.recantha.co.uk\/blog\/?p=20857"},"modified":"2021-02-13T16:22:42","modified_gmt":"2021-02-13T15:22:42","slug":"use-an-mcp3008-analog-to-digital-chip-to-expand-the-raspberry-pi-picos-analog-reading-capabilities","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=20857","title":{"rendered":"Use an MCP3008 analog to digital chip to expand the Raspberry Pi Pico&#8217;s analog reading capabilities"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20858\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?resize=560%2C426&#038;ssl=1\" alt=\"\" width=\"560\" height=\"426\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?w=876&amp;ssl=1 876w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?resize=300%2C228&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?resize=768%2C584&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?resize=560%2C426&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?resize=260%2C198&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?resize=160%2C122&amp;ssl=1 160w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<p>Back in 2013, <a href=\"https:\/\/www.recantha.co.uk\/blog\/?p=6552\">I covered<\/a> Matt Hawkins&#8217; <a href=\"https:\/\/www.raspberrypi-spy.co.uk\/2013\/10\/analogue-sensors-on-the-raspberry-pi-using-an-mcp3008\/\" target=\"_blank\" rel=\"noopener\">excellent post about using an MCP3008 analog-to-digital chip with a Raspberry Pi<\/a> to read analog values, something that the Pi was previously incapable of doing. Now, we have the Raspberry Pi Pico which gives us the ability to read analog signals using its on-board capabilities. However, sometimes we need access to more analog inputs. This is where we can revert back to using an external chip, such as the MCP3008.<\/p>\n<p><a href=\"https:\/\/twitter.com\/rareblog\" target=\"_blank\" rel=\"noopener\">Romilly Cocking<\/a>, who has been around the Raspberry Pi community since the very beginning, has taken on this task using MicroPython, Raspberry Pi&#8217;s recommended language for those who don&#8217;t want to get into the lower level stuff of C\/C++. <strong>You can <\/strong><a href=\"https:\/\/blog.rareschool.com\/2021\/02\/raspberry-pi-pico-project-2-mcp3008.html\" target=\"_blank\" rel=\"noopener\"><strong>read his tutorial here<\/strong><\/a> &#8211; it goes into a lot of detail about SPI and how he found out the\u00a0<em>wrong<\/em> way of doing it before finding success, and it&#8217;s well worth a read! \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Back in 2013, I covered Matt Hawkins&#8217; excellent post about using an MCP3008 analog-to-digital chip with a Raspberry Pi to read analog values, something that the Pi was previously incapable of doing. Now, we have the Raspberry Pi Pico which&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=20857\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":20858,"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":"Use an MCP3008 analog to digital chip to expand the Raspberry Pi Pico's analog reading capabilities","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":[39,972,62,51],"tags":[996,147,995],"class_list":["post-20857","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming","category-raspberry-pi-pico","category-sensors","category-tutorials","tag-analog-to-digital","tag-mcp3008","tag-romilly-cocking"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Use an MCP3008 analog to digital chip to expand the Raspberry Pi Pico&#039;s analog reading capabilities - 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=20857\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Use an MCP3008 analog to digital chip to expand the Raspberry Pi Pico&#039;s analog reading capabilities - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Back in 2013, I covered Matt Hawkins&#8217; excellent post about using an MCP3008 analog-to-digital chip with a Raspberry Pi to read analog values, something that the Pi was previously incapable of doing. Now, we have the Raspberry Pi Pico which&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=20857\" \/>\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-02-13T15:22:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i2.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?fit=876%2C666&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"876\" \/>\n\t<meta property=\"og:image:height\" content=\"666\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Michael Horne\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@recantha\" \/>\n<meta name=\"twitter:site\" content=\"@recantha\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Horne\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20857#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20857\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Use an MCP3008 analog to digital chip to expand the Raspberry Pi Pico&#8217;s analog reading capabilities\",\"datePublished\":\"2021-02-13T15:22:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20857\"},\"wordCount\":173,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20857#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?fit=876%2C666&ssl=1\",\"keywords\":[\"analog to digital\",\"mcp3008\",\"romilly cocking\"],\"articleSection\":[\"Programming\",\"Raspberry Pi Pico\",\"Sensors\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=20857#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20857\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20857\",\"name\":\"Use an MCP3008 analog to digital chip to expand the Raspberry Pi Pico's analog reading capabilities - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20857#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20857#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?fit=876%2C666&ssl=1\",\"datePublished\":\"2021-02-13T15:22:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20857#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=20857\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20857#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?fit=876%2C666&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?fit=876%2C666&ssl=1\",\"width\":876,\"height\":666},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20857#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Use an MCP3008 analog to digital chip to expand the Raspberry Pi Pico&#8217;s analog reading capabilities\"}]},{\"@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":"Use an MCP3008 analog to digital chip to expand the Raspberry Pi Pico's analog reading capabilities - 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=20857","og_locale":"en_US","og_type":"article","og_title":"Use an MCP3008 analog to digital chip to expand the Raspberry Pi Pico's analog reading capabilities - Raspberry Pi Pod","og_description":"Back in 2013, I covered Matt Hawkins&#8217; excellent post about using an MCP3008 analog-to-digital chip with a Raspberry Pi to read analog values, something that the Pi was previously incapable of doing. Now, we have the Raspberry Pi Pico which&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=20857","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2021-02-13T15:22:42+00:00","og_image":[{"width":876,"height":666,"url":"https:\/\/i2.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?fit=876%2C666&ssl=1","type":"image\/png"}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20857#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20857"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Use an MCP3008 analog to digital chip to expand the Raspberry Pi Pico&#8217;s analog reading capabilities","datePublished":"2021-02-13T15:22:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20857"},"wordCount":173,"commentCount":1,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20857#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?fit=876%2C666&ssl=1","keywords":["analog to digital","mcp3008","romilly cocking"],"articleSection":["Programming","Raspberry Pi Pico","Sensors","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=20857#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20857","url":"https:\/\/www.recantha.co.uk\/blog\/?p=20857","name":"Use an MCP3008 analog to digital chip to expand the Raspberry Pi Pico's analog reading capabilities - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20857#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20857#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?fit=876%2C666&ssl=1","datePublished":"2021-02-13T15:22:42+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20857#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=20857"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20857#primaryimage","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?fit=876%2C666&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?fit=876%2C666&ssl=1","width":876,"height":666},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20857#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Use an MCP3008 analog to digital chip to expand the Raspberry Pi Pico&#8217;s analog reading capabilities"}]},{"@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\/2021\/02\/mcp3008-loopback_bb.png?fit=876%2C666&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-5qp","jetpack-related-posts":[{"id":14709,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=14709","url_meta":{"origin":20857,"position":0},"title":"Analog adventures &#8211; the RasPiO Analog Zero &#8211; a quick preview","author":"Michael Horne","date":"9 May 2016","format":false,"excerpt":"Today has been all about trying new things. I tried out a great UPS board from Germany and then moved on to a new board from Alex Eames over at RasPiO. The Analog Zero is a Pi Zero-sized board that will work with any 40-pin Raspberry Pi. It comes as\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\/2016\/05\/analogzerowideshot.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/05\/analogzerowideshot.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/05\/analogzerowideshot.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/05\/analogzerowideshot.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":14122,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=14122","url_meta":{"origin":20857,"position":1},"title":"Read analog sensors with the MCP3008 and GPIO Zero on the Raspberry Pi","author":"Michael Horne","date":"3 February 2016","format":false,"excerpt":"Alex Eames recently announced\u00a0a new reward level for his RasPiO Pro Hat Kickstarter - it includes an MCP3008 analog-to-digital chip and an analog temperature sensor (TMP36). Alex has now written a tutorial to show you how to use the chip and sensor to display temperature readings. The tutorial features the\u2026","rel":"","context":"In &quot;Crowdfunding&quot;","block_context":{"text":"Crowdfunding","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=13"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/raspi.tv\/wp-content\/uploads\/2016\/02\/ProHat-MCP3008-TMP36c.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/raspi.tv\/wp-content\/uploads\/2016\/02\/ProHat-MCP3008-TMP36c.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/raspi.tv\/wp-content\/uploads\/2016\/02\/ProHat-MCP3008-TMP36c.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/raspi.tv\/wp-content\/uploads\/2016\/02\/ProHat-MCP3008-TMP36c.png?resize=700%2C400 2x"},"classes":[]},{"id":14772,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=14772","url_meta":{"origin":20857,"position":2},"title":"Use an analog to digital converter to get analog sensor readings on the Raspberry Pi","author":"Michael Horne","date":"18 May 2016","format":false,"excerpt":"Gus over at PiMyLifeUp\u00a0has done a great tutorial on using the \"famous\" MCP3008 analog-to-digital converter chip to read values from a light-dependent resistor. He goes through wiring it up and programming it using the spidev Python library. I prefer the GPIO Zero way of doing things now, but Gus' way\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\/pimylifeup.com\/wp-content\/uploads\/2016\/05\/Raspberry-Pi-ADC.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/pimylifeup.com\/wp-content\/uploads\/2016\/05\/Raspberry-Pi-ADC.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/pimylifeup.com\/wp-content\/uploads\/2016\/05\/Raspberry-Pi-ADC.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/pimylifeup.com\/wp-content\/uploads\/2016\/05\/Raspberry-Pi-ADC.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":5783,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=5783","url_meta":{"origin":20857,"position":3},"title":"#RaspberryPi moisture sensor tutorial","author":"Michael Horne","date":"7 September 2013","format":false,"excerpt":"Jeremy Blythe has written an excellent, in-depth tutorial to help you read moisture levels using an analog sensor. Particularly of interest to me is the wiring up of a MCP3008 analog-to-digital converter. It will come in most useful when I decouple the Nwazet Key Lime Pi and replace it with\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":"","width":0,"height":0},"classes":[]},{"id":16136,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16136","url_meta":{"origin":20857,"position":4},"title":"Make a stringed instrument with the Raspberry Pi","author":"Michael Horne","date":"24 December 2016","format":false,"excerpt":"Instructables user TakTik02 has developed a musical instrument using the Raspberry Pi, some electric cords, a winder and some polystyrene. Together with some other small components, he's used an MCP3008 to convert the analog signal for the Pi. Take a look 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\/cdn.instructables.com\/F47\/RCE0\/IWWFLHCL\/F47RCE0IWWFLHCL.MEDIUM.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cdn.instructables.com\/F47\/RCE0\/IWWFLHCL\/F47RCE0IWWFLHCL.MEDIUM.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/cdn.instructables.com\/F47\/RCE0\/IWWFLHCL\/F47RCE0IWWFLHCL.MEDIUM.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":9403,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=9403","url_meta":{"origin":20857,"position":5},"title":"Use an analog joystick with the #RaspberryPi and an MCP3008","author":"Michael Horne","date":"20 April 2014","format":false,"excerpt":"Matt Hawkins' site Raspberry Pi Spy has been a constant source of reference for me when creating the Picorder, my box-with-sensors. Many of those sensors provide analog outputs (which I read using an MCP3008) and Matt has now written a tutorial in which he uses an analog joystick to provide\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.raspberrypi-spy.co.uk\/wp-content\/uploads\/2014\/04\/analogue_joystick_01.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.raspberrypi-spy.co.uk\/wp-content\/uploads\/2014\/04\/analogue_joystick_01.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.raspberrypi-spy.co.uk\/wp-content\/uploads\/2014\/04\/analogue_joystick_01.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.raspberrypi-spy.co.uk\/wp-content\/uploads\/2014\/04\/analogue_joystick_01.jpg?resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/20857","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=20857"}],"version-history":[{"count":1,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/20857\/revisions"}],"predecessor-version":[{"id":20859,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/20857\/revisions\/20859"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/media\/20858"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}