{"id":10976,"date":"2021-09-18T21:17:05","date_gmt":"2021-09-19T01:17:05","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/?p=10976"},"modified":"2021-09-19T19:19:05","modified_gmt":"2021-09-19T23:19:05","slug":"jauguste-project-1-group-check-in","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/jauguste-project-1-group-check-in\/","title":{"rendered":"jauguste Project 1: Group Check-In"},"content":{"rendered":"<h1><strong>Bus Tracker<\/strong><\/h1>\n<h3>Inspiration and Details<\/h3>\n<p>My inspiration for this project comes from using the Transit App. In the mornings, I would like to know how long it is going to take for the bus to come, but I also need to get ready in the time it takes. To solve this problem, I envisioned a visual bus tracker that uses a combination of lights and audio to alert the user when a bus is far away (no rush), getting close (gotta rush), and has passed. This bus tracker will start with options for inbound and outbound and for the 61C and 61D routes. The user can choose which way to be alerted: sound, lights, or both.<\/p>\n<h3>Logic Equations<\/h3>\n<p>The user has a choice between 61C outbound, 61C inbound, 61D outbound, and 61D inbound. This choice will output which bus to track, and this data will be used for further equations. The abbreviations are 61C -&gt; C, 61D -&gt; D, outbound -&gt; O, and inbound -&gt; I.<\/p>\n<p>(C AND O) XOR (C AND I) XOR (D AND O) XOR (D AND I) -&gt; tracking is valid<\/p>\n<p>(C AND O) -&gt; tracking 61C outbound<\/p>\n<p>(C AND I) -&gt; tracking 61C inbound<\/p>\n<p>(D AND O) -&gt; tracking 61D outbound<\/p>\n<p>(D AND I) -&gt; tracking 61D inbound<\/p>\n<p>The next part is to send this information to the bus API and receive a time until arrival. With this new info, we can decide how to alert the user. If the bus is 10 minutes or higher away, the user is will see a green light or\/and hear slow-paced music (depending on their selection). If arrival time is between 10 minutes and 5 minutes, a yellow light is activated and the music is increased in speed. Last, when the arrival time is less than 5 minutes, the red light starts flashing and the music is fast-paced. The lights and music can start at any point depending on when the data is sent back. Inputs: far away -&gt; F, closer -&gt; C, in range -&gt; R, alert with music and light -&gt; A. Outputs: red, yellow, green, fast, med, slow.<\/p>\n<p>R -&gt; RE<\/p>\n<p>R AND A -&gt; RE AND FS<\/p>\n<p>C -&gt; Y<\/p>\n<p>C AND A -&gt; Y AND ME<\/p>\n<p>F -&gt; G<\/p>\n<p>F AND A -&gt; G AND SL<\/p>\n<h3>Truth Tables<\/h3>\n<p>Most combinations for the user input and the data calculation will not be valid. The first table leaves out input combinations that will not work, while the second table shows Xs in such spots.<\/p>\n<h3><img loading=\"lazy\" class=\"alignnone wp-image-11010\" style=\"font-size: 16px\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/Annotation-2021-09-19-173650-300x145.png\" alt=\"\" width=\"306\" height=\"148\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/Annotation-2021-09-19-173650-300x145.png 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/Annotation-2021-09-19-173650.png 400w\" sizes=\"(max-width: 306px) 100vw, 306px\" \/><\/h3>\n<h3><img loading=\"lazy\" class=\"alignnone size-medium wp-image-11008\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/Annotation-2021-09-18-214602-208x300.png\" alt=\"\" width=\"208\" height=\"300\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/Annotation-2021-09-18-214602-208x300.png 208w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/Annotation-2021-09-18-214602.png 441w\" sizes=\"(max-width: 208px) 100vw, 208px\" \/><\/h3>\n<p>&nbsp;<\/p>\n<h3>Logic Diagrams<\/h3>\n<p><img loading=\"lazy\" class=\"alignnone size-medium wp-image-11011\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/Annotation-2021-09-19-181115-300x201.png\" alt=\"\" width=\"300\" height=\"201\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/Annotation-2021-09-19-181115-300x201.png 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/Annotation-2021-09-19-181115-1024x685.png 1024w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/Annotation-2021-09-19-181115-768x513.png 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/Annotation-2021-09-19-181115-973x650.png 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/Annotation-2021-09-19-181115-508x340.png 508w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/Annotation-2021-09-19-181115.png 1252w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/> <img loading=\"lazy\" class=\"alignnone size-medium wp-image-11012\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/Annotation-2021-09-19-183134-191x300.png\" alt=\"\" width=\"191\" height=\"300\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/Annotation-2021-09-19-183134-191x300.png 191w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/Annotation-2021-09-19-183134-508x797.png 508w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/Annotation-2021-09-19-183134.png 643w\" sizes=\"(max-width: 191px) 100vw, 191px\" \/><\/p>\n<h3>Materials<\/h3>\n<ul>\n<li>Arduino<\/li>\n<li>Three different colored LEDs<\/li>\n<li>Speakers<\/li>\n<li>4-input keypad<\/li>\n<li>display<\/li>\n<li>switch<\/li>\n<\/ul>\n<h3>Designs<\/h3>\n<p><img loading=\"lazy\" class=\"alignnone size-medium wp-image-11015\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/WIN_20210919_19_18_09_Pro-300x169.jpg\" alt=\"\" width=\"300\" height=\"169\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/WIN_20210919_19_18_09_Pro-300x169.jpg 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/WIN_20210919_19_18_09_Pro-1024x576.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/WIN_20210919_19_18_09_Pro-768x432.jpg 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/WIN_20210919_19_18_09_Pro-973x547.jpg 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/WIN_20210919_19_18_09_Pro-508x286.jpg 508w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/09\/WIN_20210919_19_18_09_Pro.jpg 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bus Tracker Inspiration and Details My inspiration for this project comes from using the Transit App. In the mornings, I would like to know how long it is&#8230;<\/p>\n","protected":false},"author":135,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[182,86],"tags":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/posts\/10976"}],"collection":[{"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/users\/135"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/comments?post=10976"}],"version-history":[{"count":7,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/posts\/10976\/revisions"}],"predecessor-version":[{"id":11016,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/posts\/10976\/revisions\/11016"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/media?parent=10976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/categories?post=10976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/tags?post=10976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}