{"id":9650,"date":"2014-05-14T06:51:16","date_gmt":"2014-05-14T06:51:16","guid":{"rendered":"http:\/\/178.62.14.192\/?p=9650"},"modified":"2014-05-14T06:51:16","modified_gmt":"2014-05-14T06:51:16","slug":"setting-up-lirc-on-the-raspberrypi","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=9650","title":{"rendered":"Setting Up LIRC on the #RaspberryPi"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/i0.wp.com\/alexba.in\/images\/posts\/raspberrypi-ir.jpg?resize=560%2C420\" alt=\"\" width=\"560\" height=\"420\" \/><\/p>\n<p>Alex Bain has written a great tutorial, and also some supplementary articles, on\u00a0using an infrared controller with the Raspberry Pi. It uses LIRC and includes examples on how to do the configuration and read the commands sent from the controller. <a href=\"http:\/\/alexba.in\/blog\/2013\/01\/06\/setting-up-lirc-on-the-raspberrypi\/\">Read his blog here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Alex Bain has written a great tutorial, and also some supplementary articles, on\u00a0using an infrared controller with the Raspberry Pi. It uses LIRC and includes examples on how to do the configuration and read the commands sent from the controller.&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=9650\">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_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[54,39,51],"tags":[],"class_list":["post-9650","post","type-post","status-publish","format-standard","hentry","category-accessories","category-programming","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Setting Up LIRC on 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=9650\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setting Up LIRC on the #RaspberryPi - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Alex Bain has written a great tutorial, and also some supplementary articles, on\u00a0using an infrared controller with the Raspberry Pi. It uses LIRC and includes examples on how to do the configuration and read the commands sent from the controller.&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=9650\" \/>\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-05-14T06:51:16+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/alexba.in\/images\/posts\/raspberrypi-ir.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=9650#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=9650\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Setting Up LIRC on the #RaspberryPi\",\"datePublished\":\"2014-05-14T06:51:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=9650\"},\"wordCount\":51,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=9650#primaryimage\"},\"thumbnailUrl\":\"http:\/\/alexba.in\/images\/posts\/raspberrypi-ir.jpg\",\"articleSection\":[\"Accessories\",\"Programming\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=9650#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=9650\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=9650\",\"name\":\"Setting Up LIRC on the #RaspberryPi - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=9650#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=9650#primaryimage\"},\"thumbnailUrl\":\"http:\/\/alexba.in\/images\/posts\/raspberrypi-ir.jpg\",\"datePublished\":\"2014-05-14T06:51:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=9650#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=9650\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=9650#primaryimage\",\"url\":\"http:\/\/alexba.in\/images\/posts\/raspberrypi-ir.jpg\",\"contentUrl\":\"http:\/\/alexba.in\/images\/posts\/raspberrypi-ir.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=9650#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setting Up LIRC on 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:\/\/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":"Setting Up LIRC on 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=9650","og_locale":"en_US","og_type":"article","og_title":"Setting Up LIRC on the #RaspberryPi - Raspberry Pi Pod","og_description":"Alex Bain has written a great tutorial, and also some supplementary articles, on\u00a0using an infrared controller with the Raspberry Pi. It uses LIRC and includes examples on how to do the configuration and read the commands sent from the controller.&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=9650","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2014-05-14T06:51:16+00:00","og_image":[{"url":"http:\/\/alexba.in\/images\/posts\/raspberrypi-ir.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=9650#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9650"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Setting Up LIRC on the #RaspberryPi","datePublished":"2014-05-14T06:51:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9650"},"wordCount":51,"commentCount":1,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9650#primaryimage"},"thumbnailUrl":"http:\/\/alexba.in\/images\/posts\/raspberrypi-ir.jpg","articleSection":["Accessories","Programming","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=9650#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9650","url":"https:\/\/www.recantha.co.uk\/blog\/?p=9650","name":"Setting Up LIRC on the #RaspberryPi - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9650#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9650#primaryimage"},"thumbnailUrl":"http:\/\/alexba.in\/images\/posts\/raspberrypi-ir.jpg","datePublished":"2014-05-14T06:51:16+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9650#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=9650"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9650#primaryimage","url":"http:\/\/alexba.in\/images\/posts\/raspberrypi-ir.jpg","contentUrl":"http:\/\/alexba.in\/images\/posts\/raspberrypi-ir.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=9650#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Setting Up LIRC on 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:\/\/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-2vE","jetpack-related-posts":[{"id":6718,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=6718","url_meta":{"origin":9650,"position":0},"title":"Control the GPIO with an IR controller on the #RaspberryPi","author":"Michael Horne","date":"25 October 2013","format":false,"excerpt":"Mark Williams has decided that using an IR remote control for XBMC just wasn't good enough, so he has worked out how to use the controller, LIRC and WiringPi to control the GPIO pins. Read more here","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=39"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":18038,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=18038","url_meta":{"origin":9650,"position":1},"title":"Build a universal remote control using a Raspberry Pi Zero W and LIRC","author":"Michael Horne","date":"9 January 2018","format":false,"excerpt":"Here's a nice project which is sure to get TV lovers making. BBTinkerer has taken a Raspberry Pi Zero W and some simple circuitry and wrapped it in a nice enclosure. This Pi device has been programmed to generate IR codes to control an AV set-up and it does so\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/remotecontroller.jpg?fit=620%2C465&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/remotecontroller.jpg?fit=620%2C465&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/remotecontroller.jpg?fit=620%2C465&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":7494,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=7494","url_meta":{"origin":9650,"position":2},"title":"Hijacking a Robosapien with a #RaspberryPi","author":"Michael Horne","date":"17 January 2014","format":false,"excerpt":"Element14 blogger 'emotep' has taken an old Robosapien robot and converted it for use with the Raspberry Pi and a LIRC infrared dongle. It's a great project because it shows that you can recycle your old tech with a Pi and make something cool. Read more here","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.element14.com\/community\/servlet\/JiveServlet\/downloadImage\/38-14634-191001\/20140104_221832.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":9717,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=9717","url_meta":{"origin":9650,"position":3},"title":"Set up a jukebox on your #RaspberryPi","author":"Michael Horne","date":"19 May 2014","format":false,"excerpt":"AudiculaPi is a Linux distro for the Pi that gives you an MPD Jukebox with a web-based front-end. Here are the features of the system: Minimalistic system, installed and running on a just 100MB sized SD card partition Based on OpenWRT \/ Version Barrier Breaker r40462 \/ LuCI Trunk (svn-r9964)\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\/a.fsdn.com\/con\/app\/proj\/audiculapi\/screenshots\/AudiculaPi_Life.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/a.fsdn.com\/con\/app\/proj\/audiculapi\/screenshots\/AudiculaPi_Life.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/a.fsdn.com\/con\/app\/proj\/audiculapi\/screenshots\/AudiculaPi_Life.jpg?resize=525%2C300 1.5x"},"classes":[]},{"id":17683,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=17683","url_meta":{"origin":9650,"position":4},"title":"Wireless games controller for the Raspberry Pi from The Pi Hut &#8211; use it with CamJam EduKit 3 and review","author":"Michael Horne","date":"10 October 2017","format":false,"excerpt":"Recently, Jamie over at The Pi Hut\u00a0sent me one of his new PS3-style controllers. I had a play, liked it and soon adapted Tom Oinn's great Python 'input' library\u00a0to accept commands from the controller. I also adapted one of Tom's demo scripts to use GPIO Zero to control the CamJam\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/10\/pihut-controller.jpg?fit=640%2C447&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/10\/pihut-controller.jpg?fit=640%2C447&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/10\/pihut-controller.jpg?fit=640%2C447&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":11245,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=11245","url_meta":{"origin":9650,"position":5},"title":"Use an XBox 360 wireless controller with the Raspberry Pi","author":"Michael Horne","date":"20 October 2014","format":false,"excerpt":"Martin O'Hanlon wanted a controller for his robot and settled on an XBox 360 wireless controller. He used a \u00a35 USB dongle for the initial communication and then wrote a script in pygame to interface to the controller. You can read more and see the code here. https:\/\/www.youtube.com\/watch?v=i8AUJT9_xhU","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\/4.bp.blogspot.com\/-bUeJ-xMqgsA\/VEGLSZ8EWWI\/AAAAAAAAJ_U\/zciiW2h47qk\/s1600\/XboxRobot.PNG?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/4.bp.blogspot.com\/-bUeJ-xMqgsA\/VEGLSZ8EWWI\/AAAAAAAAJ_U\/zciiW2h47qk\/s1600\/XboxRobot.PNG?resize=350%2C200 1x, https:\/\/i0.wp.com\/4.bp.blogspot.com\/-bUeJ-xMqgsA\/VEGLSZ8EWWI\/AAAAAAAAJ_U\/zciiW2h47qk\/s1600\/XboxRobot.PNG?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/4.bp.blogspot.com\/-bUeJ-xMqgsA\/VEGLSZ8EWWI\/AAAAAAAAJ_U\/zciiW2h47qk\/s1600\/XboxRobot.PNG?resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9650","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=9650"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9650\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}