{"id":523,"date":"2015-03-09T07:20:26","date_gmt":"2015-03-09T07:20:26","guid":{"rendered":"http:\/\/itp.fromjia.com\/?p=523"},"modified":"2015-03-09T07:37:25","modified_gmt":"2015-03-09T07:37:25","slug":"paper-fortune-teller-and-gsm-putting-it-together","status":"publish","type":"post","link":"http:\/\/itp.fromjia.com\/?p=523","title":{"rendered":"Paper Fortune Teller and GSM: putting it together"},"content":{"rendered":"<div id=\"attachment_524\" style=\"width: 740px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1202.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-524\" class=\"size-large wp-image-524\" src=\"http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1202-1024x768.jpg\" alt=\"Getting started with Arduino and GSM module. Abe manning the computer. \" width=\"730\" height=\"548\" srcset=\"http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1202-1024x768.jpg 1024w, http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1202-300x225.jpg 300w, http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1202-1200x900.jpg 1200w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/a><p id=\"caption-attachment-524\" class=\"wp-caption-text\">Getting started with Arduino and GSM module. Abe manning the computer.<\/p><\/div>\n<div id=\"attachment_525\" style=\"width: 740px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1212.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-525\" class=\"wp-image-525 size-large\" src=\"http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1212-1024x768.jpg\" alt=\"IMG_1212\" width=\"730\" height=\"548\" srcset=\"http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1212-1024x768.jpg 1024w, http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1212-300x225.jpg 300w, http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1212-1200x900.jpg 1200w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/a><p id=\"caption-attachment-525\" class=\"wp-caption-text\">Wiring up all 8 sides of the paper fortune teller.<\/p><\/div>\n<p>I wanted to try using conductive paint, so we chose to use capsense for each of the eight sensors. By gently tapping on the conductive paint, the sensor value reading goes up on the Arduino, providing us a threshold to trigger a text message send event on the GSM module. We\u00a0had to use the analog pins since we need two pins for each sensor. Without connect the GSM, the capsensor worked pretty well.<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/0plIUC2lbKY\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>By touching each of the sides, the value reading went up dramatically.<\/p>\n<div id=\"attachment_526\" style=\"width: 740px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1449.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-526\" class=\"wp-image-526 size-large\" src=\"http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1449-1024x768.jpg\" alt=\"IMG_1449\" width=\"730\" height=\"548\" srcset=\"http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1449-1024x768.jpg 1024w, http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1449-300x225.jpg 300w, http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1449-1200x900.jpg 1200w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/a><p id=\"caption-attachment-526\" class=\"wp-caption-text\">Tangle of wires: connecting the GSM module to the paper fortune teller setup.<\/p><\/div>\n<p>It took a bit of trial and error to get the GSM to work with the rest of the setup. We had to switch some of the pins for the sensors to make room for the GSM RX and TX pins.<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/9uXCazabjww\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>It sends text messages!<\/p>\n<div id=\"attachment_527\" style=\"width: 740px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1459.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-527\" class=\"wp-image-527 size-large\" src=\"http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1459-1024x768.jpg\" alt=\"IMG_1459\" width=\"730\" height=\"548\" srcset=\"http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1459-1024x768.jpg 1024w, http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1459-300x225.jpg 300w, http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1459-1200x900.jpg 1200w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/a><p id=\"caption-attachment-527\" class=\"wp-caption-text\">Materials for the paper fortune teller.<\/p><\/div>\n<p>The conductive paint works better for capsense when there&#8217;s large enough areas to touch. So instead of using numbers, we are going with icons, which has larger areas to be filled with conductive paint.<\/p>\n<div id=\"attachment_528\" style=\"width: 740px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1463.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-528\" class=\"wp-image-528 size-large\" src=\"http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1463-1024x768.jpg\" alt=\"IMG_1463\" width=\"730\" height=\"548\" srcset=\"http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1463-1024x768.jpg 1024w, http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1463-300x225.jpg 300w, http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/IMG_1463-1200x900.jpg 1200w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/a><p id=\"caption-attachment-528\" class=\"wp-caption-text\">Paper Fortune Teller rough prototype 1.<\/p><\/div>\n<p>To hide the wiring, I designed the paper fortune teller to fold over the conductive paint and wires by cutting holes on the inside of the paper. All wires for the eight sensors would come out from the bottom center.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I wanted to try using conductive paint, so we chose to use capsense for each of the eight sensors. By gently tapping on the conductive paint, the sensor value reading goes up on the Arduino, providing us a threshold to trigger a text message send event on the GSM module. We\u00a0had to use the analog [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-523","post","type-post","status-publish","format-standard","hentry","category-towers-of-power"],"_links":{"self":[{"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=\/wp\/v2\/posts\/523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=523"}],"version-history":[{"count":4,"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=\/wp\/v2\/posts\/523\/revisions"}],"predecessor-version":[{"id":532,"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=\/wp\/v2\/posts\/523\/revisions\/532"}],"wp:attachment":[{"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=523"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}