{"id":6252,"date":"2013-10-03T14:15:02","date_gmt":"2013-10-03T14:15:02","guid":{"rendered":"http:\/\/178.62.14.192\/?p=6252"},"modified":"2013-10-03T14:15:02","modified_gmt":"2013-10-03T14:15:02","slug":"raspberrypi-fortune-teller","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=6252","title":{"rendered":"#RaspberryPi Fortune Teller"},"content":{"rendered":"<p>Les Pounder has been working on a Raspberry Pi-driven fortune teller amusement machine. Here&#8217;s his latest video showing it in action.<\/p>\n<p><iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/rYzdp5RPa7M\" height=\"315\" width=\"420\" allowfullscreen=\"\" frameborder=\"0\"><\/iframe><\/p>\n<p>Here&#8217;s what he says about it:<\/p>\n<blockquote><p>We use PiFace to control 12v electronics, and Python to control the program. The basic flow is Audio is played to attract the customer to use the game. Customer inserts money, which breaks the attract audio, and launches a randomly selected fortune reading, which is stored as an audio file on the Pi. Once the fortune reading is complete, the relays on PiFace are triggered, and this starts 2 12v arcade cabinet devices, a card dispenser, which issues a fortune card, and finally a ticket dispenser, which issues tickets for use in the gift shop. Once this is complete, the code reverts back to attracting customers.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Les Pounder has been working on a Raspberry Pi-driven fortune teller amusement machine. Here&#8217;s his latest video showing it in action. Here&#8217;s what he says about it: We use PiFace to control 12v electronics, and Python to control the program.&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=6252\">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":[22,20,50,39],"tags":[],"class_list":["post-6252","post","type-post","status-publish","format-standard","hentry","category-geeky-techiness","category-gpio-boards","category-making","category-programming"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>#RaspberryPi Fortune Teller - 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=6252\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"#RaspberryPi Fortune Teller - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Les Pounder has been working on a Raspberry Pi-driven fortune teller amusement machine. Here&#8217;s his latest video showing it in action. Here&#8217;s what he says about it: We use PiFace to control 12v electronics, and Python to control the program.&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=6252\" \/>\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=\"2013-10-03T14:15:02+00:00\" \/>\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=6252#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6252\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"#RaspberryPi Fortune Teller\",\"datePublished\":\"2013-10-03T14:15:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6252\"},\"wordCount\":137,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"articleSection\":[\"Geeky Techiness\",\"GPIO boards\",\"Making\",\"Programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=6252#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6252\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6252\",\"name\":\"#RaspberryPi Fortune Teller - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"datePublished\":\"2013-10-03T14:15:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6252#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=6252\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6252#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"#RaspberryPi Fortune Teller\"}]},{\"@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":"#RaspberryPi Fortune Teller - 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=6252","og_locale":"en_US","og_type":"article","og_title":"#RaspberryPi Fortune Teller - Raspberry Pi Pod","og_description":"Les Pounder has been working on a Raspberry Pi-driven fortune teller amusement machine. Here&#8217;s his latest video showing it in action. Here&#8217;s what he says about it: We use PiFace to control 12v electronics, and Python to control the program.&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=6252","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2013-10-03T14:15:02+00:00","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=6252#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6252"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"#RaspberryPi Fortune Teller","datePublished":"2013-10-03T14:15:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6252"},"wordCount":137,"commentCount":0,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"articleSection":["Geeky Techiness","GPIO boards","Making","Programming"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=6252#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6252","url":"https:\/\/www.recantha.co.uk\/blog\/?p=6252","name":"#RaspberryPi Fortune Teller - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"datePublished":"2013-10-03T14:15:02+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6252#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=6252"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6252#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"#RaspberryPi Fortune Teller"}]},{"@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-1CQ","jetpack-related-posts":[{"id":10873,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=10873","url_meta":{"origin":6252,"position":0},"title":"Create a motion sensor fortune teller with a Raspberry Pi","author":"Michael Horne","date":"27 August 2014","format":false,"excerpt":"Richard Julian has blogged this nice little project which has you creating a fortune teller which speaks to 'guests' whenever it detects movement. Creepy but fun. Read about it 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\/rjulian.net\/wp-content\/uploads\/2014\/08\/raspberry_pi_talker-225x300.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":7448,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=7448","url_meta":{"origin":6252,"position":1},"title":"Linux Format has some #RaspberryPi related goodness this month","author":"Michael Horne","date":"10 January 2014","format":false,"excerpt":"This month's Linux Format (February 2014) has got a great article this month in which Les Pounder reviews some add-on boards for the Pi. Covered are: Adafruit Pi T-Cobbler Jason Barnett's MotorPiTX The PiFace PiBorg's XLoBorg The PiFace Control They've also got articles about using the PiFace to control relays\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.linuxformat.com\/files\/lxf_covers\/180-big.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2346,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=2346","url_meta":{"origin":6252,"position":2},"title":"Short tutorial on getting #PiFace working on the #RaspberryPi","author":"Michael Horne","date":"21 February 2013","format":false,"excerpt":"This is a short walk-through on getting a switch\/output working together on the PiFace expansion board for the Raspberry Pi. Useful if you (like the author) have just got your board. Raspberry Pi and PiFace | Jonathan's Blog.","rel":"","context":"In &quot;GPIO boards&quot;","block_context":{"text":"GPIO boards","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=20"},"img":{"alt_text":"Raspberry Pi and PiFace | Jonathan's Blog","src":"\/blog\/wp-content\/uploads\/2013\/02\/PiAndInterface1.png","width":350,"height":200},"classes":[]},{"id":730,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=730","url_meta":{"origin":6252,"position":3},"title":"PiFace &#8211; new product from Farnell\/Element 14","author":"Michael Horne","date":"12 November 2012","format":false,"excerpt":"Proving that Farnell\/Element 14 are still championing the Raspberry Pi cause, they've just announced that, in addition to their Gertboard Pre-Assembled product, they will soon be supplying the Pi-Face. Pi-Face Digital plugs directly onto the top of your Raspberry Pi, and allows you to sense and control the real world.\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"element14 announces exclusive deal with new Raspberry Pi accessory - PiFace Digital | Premier Farnell","src":"\/blog\/wp-content\/uploads\/2012\/11\/piface-board1.jpg","width":350,"height":200},"classes":[]},{"id":8733,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=8733","url_meta":{"origin":6252,"position":4},"title":"#RaspberryPi Projects by Robinson &#038; Cook &#8211; Review","author":"Michael Horne","date":"15 March 2014","format":false,"excerpt":"Another book from Wiley, this time it's Raspberry Pi Projects by Dr Andrew Robinson and Mike \"Grumpy Mike\" Cook, with chapters contributed by Jonathan Evans and Sean McManus. To start the book off, there is a short introductory chapter including a quite charming \"History of Making\". Then, the book starts\u2026","rel":"","context":"In &quot;Books&quot;","block_context":{"text":"Books","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=7"},"img":{"alt_text":"Raspberry Pi Projects (1)","src":"\/blog\/wp-content\/uploads\/2014\/03\/Raspberry-Pi-Projects-11.jpg","width":350,"height":200,"srcset":"\/blog\/wp-content\/uploads\/2014\/03\/Raspberry-Pi-Projects-11.jpg 1x, \/blog\/wp-content\/uploads\/2014\/03\/Raspberry-Pi-Projects-11.jpg 1.5x, \/blog\/wp-content\/uploads\/2014\/03\/Raspberry-Pi-Projects-11.jpg 2x"},"classes":[]},{"id":7209,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=7209","url_meta":{"origin":6252,"position":5},"title":"Bullet time effect with 48 #RaspberryPi and cameras","author":"Michael Horne","date":"10 December 2013","format":false,"excerpt":"The team at PiFace Digital created a rig of 48 Pis, complete with camera modules and PiFace boards, put them into a circle and created the Frozen Pi - a bullet time photographic system. The Pis are triggered at the same time to take a photograph and the pics are\u2026","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"","src":"https:\/\/pifacedigital.files.wordpress.com\/2013\/12\/mvi_7428.jpg?w=350&h=200&crop=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6252","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=6252"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6252\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}