{"id":1666,"date":"2018-11-08T15:58:18","date_gmt":"2018-11-08T20:58:18","guid":{"rendered":"https:\/\/dems.asc.ohio-state.edu\/?p=1666"},"modified":"2018-11-08T15:58:18","modified_gmt":"2018-11-08T20:58:18","slug":"pressure-project-2-7","status":"publish","type":"post","link":"https:\/\/dems.asc.ohio-state.edu\/?p=1666","title":{"rendered":"Pressure Project 2"},"content":{"rendered":"<p>PP2 was to create an interactive fortune teller in 9 hours. Similar to last time I challenged myself to completely begin and end the the process within that nine hour limit (this includes the brainstorming phase). Unlike the first pressure project, I went a route I assumed would be a(n attainable) challenge but instead realized the error of this assumption.<\/p>\n<p>My original idea was to use a program called Max-\u00a0a visual programming language for music and multimedia developed and maintained by San Francisco-based software company Cycling &#8217;74. The program is similar to Isadora, but I was more familiar with how to use it and various sensors. I wanted to try to create a &#8220;fortune teller&#8221; that could use some sort of sensor to tell your fortune.<\/p>\n<p>When I had spent too much time trying to figure out Max, I decided to turn to the <a href=\"https:\/\/www.arduino.cc\/\">Arduino<\/a>, which I was familiar with and thought could work to create a physical fortune teller machine, similar to the 20 questions little game I had as a child.\u00a0 I also knew that Arduino&#8217;s have tons of tutorials and help guides that might be able to assist in case I got stuck. It also helped that I had all the equipment from a previous class to get started (working by the light of a laptop):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1668 alignleft\" src=\"https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2018\/11\/IMG_1828-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2018\/11\/IMG_1828-300x225.jpg 300w, https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2018\/11\/IMG_1828-768x576.jpg 768w, https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2018\/11\/IMG_1828-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>My plan seemed straightforward: use an lcd screen to display questions to a user. Two small buttons would correspond to Yes and No answers to these questions.\u00a0 The order in which a user answers would after a few questions generate a custom fortune. I began by wiring my arduino and led screen, using using <a href=\"https:\/\/www.arduino.cc\/en\/Tutorial\/HelloWorld\">a helpful code<\/a> and preset sketch. This part was a success!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1667 alignright\" src=\"https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2018\/11\/IMG_1831-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2018\/11\/IMG_1831-300x225.jpg 300w, https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2018\/11\/IMG_1831-768x576.jpg 768w, https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2018\/11\/IMG_1831-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Next, I attempted to modify a few codes online, one being a <a href=\"https:\/\/www.instructables.com\/id\/Arduino-Powered-Fortune-Teller\/\">simple fortune teller <\/a>and the other being a code that have various forms of\u00a0 &#8220;if this order of yes and no answers (ex: yes no no no yes) then do this (in my case read fortune).<\/p>\n<p>This is where I ran into issues. When I put in a code, Text no longer showed up on the screen and my led stopped turning on. Then, my led light stopped completely. Then when I tried to get the box made so it would be held in something nice, I dropped the Arduino and messed up where the wired had been.<\/p>\n<p>Then I ran out of time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PP2 was to create an interactive fortune teller in 9 hours. Similar to last time I challenged myself to completely begin and end the the process within that nine hour limit (this includes the brainstorming phase). Unlike the first pressure project, I went a route I assumed would be a(n attainable) challenge but instead realized [&hellip;]<\/p>\n","protected":false},"author":34,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1666","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=\/wp\/v2\/posts\/1666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=\/wp\/v2\/users\/34"}],"replies":[{"embeddable":true,"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1666"}],"version-history":[{"count":1,"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=\/wp\/v2\/posts\/1666\/revisions"}],"predecessor-version":[{"id":1670,"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=\/wp\/v2\/posts\/1666\/revisions\/1670"}],"wp:attachment":[{"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}