{"id":9338,"date":"2014-04-16T08:50:56","date_gmt":"2014-04-16T08:50:56","guid":{"rendered":"http:\/\/178.62.14.192\/?p=9338"},"modified":"2014-04-16T08:50:56","modified_gmt":"2014-04-16T08:50:56","slug":"program-the-attiny85-from-the-raspberrypi","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=9338","title":{"rendered":"Program the ATtiny85 from the #RaspberryPi"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone\" alt=\"\" src=\"https:\/\/i0.wp.com\/cdn.instructables.com\/F1Z\/KK26\/HQ1E0ED9\/F1ZKK26HQ1E0ED9.MEDIUM.jpg?resize=465%2C620\" width=\"465\" height=\"620\" \/><\/p>\n<p>Instructables member prb3333 has written an extensive tutorial (with code) on programming an ATtiny85 microcontroller chip from the Pi. You have to do some compilation (of avrdude) first and wire the chip up in a certain way on a breadboard. The Tiny is a great way of getting into microcontrollers because it&#8217;s so cheap.<\/p>\n<p><a href=\"http:\/\/www.instructables.com\/id\/Programming-the-ATtiny85-from-Raspberry-Pi\/?ALLSTEPS\">Read the Instructable here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Instructables member prb3333 has written an extensive tutorial (with code) on programming an ATtiny85 microcontroller chip from the Pi. You have to do some compilation (of avrdude) first and wire the chip up in a certain way on a breadboard.&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=9338\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_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},"jetpack_post_was_ever_published":false},"categories":[55,39,51],"tags":[],"class_list":["post-9338","post","type-post","status-publish","format-standard","hentry","category-arduino","category-programming","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Program the ATtiny85 from the #RaspberryPi - 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=9338\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Program the ATtiny85 from the #RaspberryPi - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Instructables member prb3333 has written an extensive tutorial (with code) on programming an ATtiny85 microcontroller chip from the Pi. You have to do some compilation (of avrdude) first and wire the chip up in a certain way on a breadboard.&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=9338\" \/>\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=\"2014-04-16T08:50:56+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/cdn.instructables.com\/F1Z\/KK26\/HQ1E0ED9\/F1ZKK26HQ1E0ED9.MEDIUM.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<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=9338#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=9338\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Program the ATtiny85 from the #RaspberryPi\",\"datePublished\":\"2014-04-16T08:50:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=9338\"},\"wordCount\":65,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=9338#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/cdn.instructables.com\\\/F1Z\\\/KK26\\\/HQ1E0ED9\\\/F1ZKK26HQ1E0ED9.MEDIUM.jpg\",\"articleSection\":[\"Arduino\",\"Programming\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=9338#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=9338\",\"url\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=9338\",\"name\":\"Program the ATtiny85 from the #RaspberryPi - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=9338#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=9338#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/cdn.instructables.com\\\/F1Z\\\/KK26\\\/HQ1E0ED9\\\/F1ZKK26HQ1E0ED9.MEDIUM.jpg\",\"datePublished\":\"2014-04-16T08:50:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=9338#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=9338\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=9338#primaryimage\",\"url\":\"http:\\\/\\\/cdn.instructables.com\\\/F1Z\\\/KK26\\\/HQ1E0ED9\\\/F1ZKK26HQ1E0ED9.MEDIUM.jpg\",\"contentUrl\":\"http:\\\/\\\/cdn.instructables.com\\\/F1Z\\\/KK26\\\/HQ1E0ED9\\\/F1ZKK26HQ1E0ED9.MEDIUM.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=9338#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Program the ATtiny85 from the #RaspberryPi\"}]},{\"@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:\\\/\\\/secure.gravatar.com\\\/avatar\\\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"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":"Program the ATtiny85 from the #RaspberryPi - 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=9338","og_locale":"en_US","og_type":"article","og_title":"Program the ATtiny85 from the #RaspberryPi - Raspberry Pi Pod","og_description":"Instructables member prb3333 has written an extensive tutorial (with code) on programming an ATtiny85 microcontroller chip from the Pi. You have to do some compilation (of avrdude) first and wire the chip up in a certain way on a breadboard.&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=9338","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2014-04-16T08:50:56+00:00","og_image":[{"url":"http:\/\/cdn.instructables.com\/F1Z\/KK26\/HQ1E0ED9\/F1ZKK26HQ1E0ED9.MEDIUM.jpg","type":"","width":"","height":""}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9338#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9338"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Program the ATtiny85 from the #RaspberryPi","datePublished":"2014-04-16T08:50:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9338"},"wordCount":65,"commentCount":1,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9338#primaryimage"},"thumbnailUrl":"http:\/\/cdn.instructables.com\/F1Z\/KK26\/HQ1E0ED9\/F1ZKK26HQ1E0ED9.MEDIUM.jpg","articleSection":["Arduino","Programming","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=9338#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9338","url":"https:\/\/www.recantha.co.uk\/blog\/?p=9338","name":"Program the ATtiny85 from the #RaspberryPi - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9338#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9338#primaryimage"},"thumbnailUrl":"http:\/\/cdn.instructables.com\/F1Z\/KK26\/HQ1E0ED9\/F1ZKK26HQ1E0ED9.MEDIUM.jpg","datePublished":"2014-04-16T08:50:56+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9338#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=9338"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9338#primaryimage","url":"http:\/\/cdn.instructables.com\/F1Z\/KK26\/HQ1E0ED9\/F1ZKK26HQ1E0ED9.MEDIUM.jpg","contentUrl":"http:\/\/cdn.instructables.com\/F1Z\/KK26\/HQ1E0ED9\/F1ZKK26HQ1E0ED9.MEDIUM.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9338#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Program the ATtiny85 from the #RaspberryPi"}]},{"@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:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","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-2qC","jetpack-related-posts":[{"id":19245,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=19245","url_meta":{"origin":9338,"position":0},"title":"New power board for the Raspberry Pi on Kickstarter is perfect for an in-car situation","author":"Michael Horne","date":"2 December 2018","format":false,"excerpt":"Good evening all. I just thought I'd share with you this Kickstarter for a Raspberry Pi power board. Designed to go in a car, and to take a 12V input and a signal from the ignition, the board sports the following features: 12V power input (reduced to 5V for 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\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/12\/powerboard.jpg?fit=1024%2C576&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/12\/powerboard.jpg?fit=1024%2C576&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/12\/powerboard.jpg?fit=1024%2C576&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/12\/powerboard.jpg?fit=1024%2C576&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":12731,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=12731","url_meta":{"origin":9338,"position":1},"title":"Arduino programming for the Raspberry Pi &#8211; RasPiO Duino launched for general sale","author":"Michael Horne","date":"10 June 2015","format":false,"excerpt":"Alex Eames from RasPi.TV recently ran a very successful\u00a0Kickstarter campaign\u00a0for the RasPiO Duino\u00a0- an add-on board for the Raspberry Pi. The Duino contains the same\u00a0ATMEGA 328 chip that is on an Arduino and plugs directly onto the first 26 pins of the GPIO header. To complement the board, Alex has\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\/rasp.io\/wp-content\/uploads\/2015\/06\/Production-Duino-on-Pi2-Duino_1500_1500.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rasp.io\/wp-content\/uploads\/2015\/06\/Production-Duino-on-Pi2-Duino_1500_1500.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/rasp.io\/wp-content\/uploads\/2015\/06\/Production-Duino-on-Pi2-Duino_1500_1500.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/rasp.io\/wp-content\/uploads\/2015\/06\/Production-Duino-on-Pi2-Duino_1500_1500.jpg?resize=700%2C400 2x, https:\/\/i0.wp.com\/rasp.io\/wp-content\/uploads\/2015\/06\/Production-Duino-on-Pi2-Duino_1500_1500.jpg?resize=1050%2C600 3x, https:\/\/i0.wp.com\/rasp.io\/wp-content\/uploads\/2015\/06\/Production-Duino-on-Pi2-Duino_1500_1500.jpg?resize=1400%2C800 4x"},"classes":[]},{"id":14122,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=14122","url_meta":{"origin":9338,"position":2},"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":9338,"position":3},"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":20857,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20857","url_meta":{"origin":9338,"position":4},"title":"Use an MCP3008 analog to digital chip to expand the Raspberry Pi Pico&#8217;s analog reading capabilities","author":"Michael Horne","date":"13 February 2021","format":false,"excerpt":"Back in 2013, I covered Matt Hawkins' 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 gives us the ability to read analog signals using its\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\/mcp3008-loopback_bb.png?fit=876%2C666&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?fit=876%2C666&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?fit=876%2C666&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/mcp3008-loopback_bb.png?fit=876%2C666&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":5783,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=5783","url_meta":{"origin":9338,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9338","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=9338"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9338\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}