{"id":462,"date":"2021-05-03T16:18:58","date_gmt":"2021-05-03T20:18:58","guid":{"rendered":"http:\/\/www.matthewmosher.com\/studentwork\/?p=462"},"modified":"2022-03-01T16:03:44","modified_gmt":"2022-03-01T21:03:44","slug":"analog-mapping-games","status":"publish","type":"post","link":"https:\/\/mosher.art\/studentwork\/university-of-central-florida\/analog-mapping-games\/","title":{"rendered":"Analog Mapping Games"},"content":{"rendered":"<p>GOAL: To practice mapping different ranges of values.<\/p>\n<p>OBJECTIVE: To create a simple game using multiple analog inputs and outputs<\/p>\n<p>INQUIRY:<\/p>\n<ul>\n<li>How are analog sensors different from digital sensors?<\/li>\n<li>What is the numeric input range of analog sensors?<\/li>\n<li>What does PWM stand for?&nbsp; What is its numeric output range?<\/li>\n<li>How can we map or scale between these value ranges?<\/li>\n<li>Can we express a mood with a single pixel?<\/li>\n<li>How can we create meaningful mappings and sensor selections?<\/li>\n<\/ul>\n<p>MATERIALS:<\/p>\n<ul>\n<li>Circuit Playground Express<\/li>\n<\/ul>\n<p>CODE: To complete this assignment your code must include variables,&nbsp; Arduino core functions, value range mapping, and analog I\/O. With your partner, come up with a game that can use the analog inputs as controls and the neopixels as feedback.&nbsp; The game can be simple but must show some thought; sketch out ideas and discuss concepts in the first week of this assignment.&nbsp; Your project should:<\/p>\n<ul>\n<li>Use at least 2 different inputs chosen from: accelerometer X, accelerometer Y, accelerometer Z, light sensor, sound sensor.<\/li>\n<li>Use neopixels as output.<\/li>\n<li>Use the map() function to scale the input value range to the output value range.&nbsp; I33t status: use complex mapping rather than 1:1 mapping.<\/li>\n<li>Include comments through breaking your code into sections and explaining what you are doing, &nbsp;including your names at the top of the sketch. &nbsp;Additionally, at the top of your code include a comment that explains how the game is played and what the goal or win condition is.<\/li>\n<\/ul>\n<p><iframe loading=\"lazy\" title=\"Student Work Showcase: Analog Mapping Games\" width=\"620\" height=\"349\" src=\"https:\/\/www.youtube.com\/embed\/L8qOJf1kPMo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"PhysComp Mapping Games\" width=\"620\" height=\"349\" src=\"https:\/\/www.youtube.com\/embed\/eaLIgczyD60?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>GOAL: To practice mapping different ranges of values. OBJECTIVE: To create a simple game using multiple analog inputs and outputs INQUIRY: How are analog sensors different from digital&#8230;<\/p>\n","protected":false},"author":1,"featured_media":463,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[92,6],"tags":[40,57,33],"class_list":["post-462","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dig3602-physical-computing","category-university-of-central-florida","tag-4d","tag-interactive","tag-undergraduate"],"_links":{"self":[{"href":"https:\/\/mosher.art\/studentwork\/wp-json\/wp\/v2\/posts\/462","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mosher.art\/studentwork\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mosher.art\/studentwork\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mosher.art\/studentwork\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mosher.art\/studentwork\/wp-json\/wp\/v2\/comments?post=462"}],"version-history":[{"count":3,"href":"https:\/\/mosher.art\/studentwork\/wp-json\/wp\/v2\/posts\/462\/revisions"}],"predecessor-version":[{"id":514,"href":"https:\/\/mosher.art\/studentwork\/wp-json\/wp\/v2\/posts\/462\/revisions\/514"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mosher.art\/studentwork\/wp-json\/wp\/v2\/media\/463"}],"wp:attachment":[{"href":"https:\/\/mosher.art\/studentwork\/wp-json\/wp\/v2\/media?parent=462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mosher.art\/studentwork\/wp-json\/wp\/v2\/categories?post=462"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mosher.art\/studentwork\/wp-json\/wp\/v2\/tags?post=462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}