{"id":4635,"date":"2014-10-01T07:58:29","date_gmt":"2014-10-01T11:58:29","guid":{"rendered":"http:\/\/mti.code.arc.cmu.edu\/2014\/?p=4635"},"modified":"2014-10-12T10:40:46","modified_gmt":"2014-10-12T14:40:46","slug":"rpi-primer","status":"publish","type":"post","link":"http:\/\/mti.code.arc.cmu.edu\/2014\/?p=4635","title":{"rendered":"RPi Primer"},"content":{"rendered":"<p>Three switches were connected to Raspberry Pi. Switch 1 activates the graphics and generates first smiley. Switch two changes the expression into a happy face and switch three changes the expression into a worried face. Aim was to learn to use wiringPi with openFrameworks. <\/p>\n<p><a href=\"http:\/\/mti.code.arc.cmu.edu\/2014\/wp-content\/uploads\/2014\/10\/IMG_0223.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/mti.code.arc.cmu.edu\/2014\/wp-content\/uploads\/2014\/10\/IMG_0223-300x200.jpg\" alt=\"IMG_0223\" width=\"300\" height=\"200\" class=\"alignnone size-medium wp-image-4636\" srcset=\"http:\/\/mti.code.arc.cmu.edu\/2014\/wp-content\/uploads\/2014\/10\/IMG_0223-300x200.jpg 300w, http:\/\/mti.code.arc.cmu.edu\/2014\/wp-content\/uploads\/2014\/10\/IMG_0223-500x333.jpg 500w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/mti.code.arc.cmu.edu\/2014\/wp-content\/uploads\/2014\/10\/IMG_0225.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/mti.code.arc.cmu.edu\/2014\/wp-content\/uploads\/2014\/10\/IMG_0225-300x200.jpg\" alt=\"IMG_0225\" width=\"300\" height=\"200\" class=\"alignnone size-medium wp-image-4637\" srcset=\"http:\/\/mti.code.arc.cmu.edu\/2014\/wp-content\/uploads\/2014\/10\/IMG_0225-300x200.jpg 300w, http:\/\/mti.code.arc.cmu.edu\/2014\/wp-content\/uploads\/2014\/10\/IMG_0225-500x333.jpg 500w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/mti.code.arc.cmu.edu\/2014\/wp-content\/uploads\/2014\/10\/IMG_0226.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/mti.code.arc.cmu.edu\/2014\/wp-content\/uploads\/2014\/10\/IMG_0226-300x200.jpg\" alt=\"IMG_0226\" width=\"300\" height=\"200\" class=\"alignnone size-medium wp-image-4638\" srcset=\"http:\/\/mti.code.arc.cmu.edu\/2014\/wp-content\/uploads\/2014\/10\/IMG_0226-300x200.jpg 300w, http:\/\/mti.code.arc.cmu.edu\/2014\/wp-content\/uploads\/2014\/10\/IMG_0226-500x333.jpg 500w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Video is here<br \/>\n<iframe loading=\"lazy\" width=\"500\" height=\"315\" src=\"\/\/www.youtube.com\/embed\/GJhL9KuaGZs\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>Lesson learned-<br \/>\n1. The pinout diagram is different for different models, GPIO numbers are not similar to pin breakout on the board.<br \/>\n2. OpenFrameworks is fairly easy to use to generate graphics. <\/p>\n<p><strong>Troubleshooting with Windows<\/strong><br \/>\n1. Before starting, always check if the computer is on &#8216;CMU&#8217; network and not on &#8216;CMU Secure&#8217;. Even though I registered my computer on CMU network, it did not register for longer time, (more than 30 minutes). This problem got solved automatically when I registered for fourth time.<br \/>\n2. Also, Go to &#8220;Internet and sharing option&#8217; , then click on to &#8216; adapter settings&#8217;. Here, find CMU wireless connection, Go to advance properties, Under &#8216;sharing&#8217; make sure you have selected &#8216; Local Area Network&#8217;. Also, check the box which says &#8216;Allow sharing with devices on the network&#8217;.<br \/>\n3. Above setting may change next time you connect to CMU network. Check every time. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Three switches were connected to Raspberry Pi. Switch 1 activates the graphics and generates first smiley. Switch two changes the expression into a happy face and switch three changes the expression into a worried face. Aim was to learn to use wiringPi with openFrameworks. Video is here Lesson learned- 1. The pinout diagram is different [&hellip;]<\/p>\n","protected":false},"author":157,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,44],"tags":[],"coauthors":[113],"class_list":["post-4635","post","type-post","status-publish","format-standard","hentry","category-assignment","category-submission"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/mti.code.arc.cmu.edu\/2014\/index.php?rest_route=\/wp\/v2\/posts\/4635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/mti.code.arc.cmu.edu\/2014\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mti.code.arc.cmu.edu\/2014\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mti.code.arc.cmu.edu\/2014\/index.php?rest_route=\/wp\/v2\/users\/157"}],"replies":[{"embeddable":true,"href":"http:\/\/mti.code.arc.cmu.edu\/2014\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4635"}],"version-history":[{"count":1,"href":"http:\/\/mti.code.arc.cmu.edu\/2014\/index.php?rest_route=\/wp\/v2\/posts\/4635\/revisions"}],"predecessor-version":[{"id":4639,"href":"http:\/\/mti.code.arc.cmu.edu\/2014\/index.php?rest_route=\/wp\/v2\/posts\/4635\/revisions\/4639"}],"wp:attachment":[{"href":"http:\/\/mti.code.arc.cmu.edu\/2014\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mti.code.arc.cmu.edu\/2014\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4635"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mti.code.arc.cmu.edu\/2014\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4635"},{"taxonomy":"author","embeddable":true,"href":"http:\/\/mti.code.arc.cmu.edu\/2014\/index.php?rest_route=%2Fwp%2Fv2%2Fcoauthors&post=4635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}