{"id":154,"date":"2020-03-07T21:54:11","date_gmt":"2020-03-08T02:54:11","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb5\/?p=154"},"modified":"2020-03-07T21:54:11","modified_gmt":"2020-03-08T02:54:11","slug":"melodees-status-update-for-3-7-2020","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb5\/2020\/03\/07\/melodees-status-update-for-3-7-2020\/","title":{"rendered":"Melodee\u2019s Status Update for 3\/7\/2020"},"content":{"rendered":"<p><b>Progress<\/b><\/p>\n<p><span style=\"font-weight: 400\">Eric and I spent the first half of this week redesigning our communication protocol, since we decided to use interrupts and sleep mode in the microcontroller. We changed the structure of our message words and the state machine of the tile. Once we had this solidified, we basically had to start the Python simulator from scratch. We added interrupt and sleep mode functionalities. We also improved the simulator from the previous one by adding the construct of a master tile with a play button.<\/span><\/p>\n<p><span style=\"font-weight: 400\">A basic rundown of our new protocol is as follows:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">User pushes the play button. The master tile sends a \u201cwake up\u201d message to the tile below it. That tile propagates the wake up message to all of its neighbors, who do the same until all of the tiles in the system have received the message and are now awake.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Right after sending the wake up message, the master tile sends a parent request message. The protocol then continues the same as before, except each tile receives messages through interrupts.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400\">In each message word, we removed the \u201clive bit\u201d and instead required that each tile side should send some sort of message per word cycle. If a side does not have any messages queued up, it should just send an \u201cI am awake\u201d message. It is then the neighbor\u2019s responsibility to make sure that the tile is still alive.<\/span><\/p>\n<p><b>Schedule<\/b><\/p>\n<p><span style=\"font-weight: 400\">Unfortunately, we are still behind schedule since so many changes had to be made to the hardware and embedded protocol. I don\u2019t have any spring break plans this year, so I plan to use this time to catch up.<\/span><\/p>\n<p><b>Goals for next week<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Complete Python code<\/span><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Progress Eric and I spent the first half of this week redesigning our communication protocol, since we decided to use interrupts and sleep mode in the microcontroller. We changed the structure of our message words and the state machine of the tile. Once we had this solidified, we basically had to start the Python simulator from scratch. We added interrupt and sleep mode functionalities. We also improved the simulator from the previous one by adding the construct of a master&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb5\/2020\/03\/07\/melodees-status-update-for-3-7-2020\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":265,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6,8],"tags":[],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb5\/wp-json\/wp\/v2\/posts\/154"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb5\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb5\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb5\/wp-json\/wp\/v2\/users\/265"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb5\/wp-json\/wp\/v2\/comments?post=154"}],"version-history":[{"count":1,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb5\/wp-json\/wp\/v2\/posts\/154\/revisions"}],"predecessor-version":[{"id":155,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb5\/wp-json\/wp\/v2\/posts\/154\/revisions\/155"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb5\/wp-json\/wp\/v2\/media?parent=154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb5\/wp-json\/wp\/v2\/categories?post=154"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb5\/wp-json\/wp\/v2\/tags?post=154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}