{"id":83,"date":"2023-10-01T01:07:12","date_gmt":"2023-10-01T01:07:12","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/?p=83"},"modified":"2023-11-19T01:47:01","modified_gmt":"2023-11-19T01:47:01","slug":"tushaars-status-report-for-9-30-2023","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/2023\/10\/01\/tushaars-status-report-for-9-30-2023\/","title":{"rendered":"Tushaar&#8217;s Status Report for 9\/30\/2023"},"content":{"rendered":"<p>This past week, I worked on 3 main things:<\/p>\n<ol>\n<li>Figuring out how the embedded software will work at a high level (state machine) &#8211; <strong>this involved knowledge from 18-240 for creating an FSM<\/strong><\/li>\n<li>Getting started with the electronic hardware (Teensy4.1 and making sure I can individually address the LEDs) &#8211; <strong>this involved<br \/>\n<\/strong><\/li>\n<li>Figuring out how to parse a MIDI file &#8211; <strong>this involved lots of binary and hex conversion, a 15-122\/18-213\/18-240 skill<\/strong><\/li>\n<\/ol>\n<p><strong>This is the proposed state machine for the embedded code:<\/strong><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-85\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-content\/uploads\/sites\/256\/2023\/10\/fsm-300x164.png\" alt=\"\" width=\"300\" height=\"164\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-content\/uploads\/sites\/256\/2023\/10\/fsm-300x164.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-content\/uploads\/sites\/256\/2023\/10\/fsm-768x419.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-content\/uploads\/sites\/256\/2023\/10\/fsm.png 979w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Magenta shows inputs that originate as interrupts set by the RPI (teensy reads the input on its digital pins).<\/p>\n<p>Red are inputs to the FSM originating from other parts of the microcontroller software.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>I am able to address the LEDs individually:<\/strong><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-98\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-content\/uploads\/sites\/256\/2023\/10\/leds-1-300x149.png\" alt=\"\" width=\"300\" height=\"149\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-content\/uploads\/sites\/256\/2023\/10\/leds-1-300x149.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-content\/uploads\/sites\/256\/2023\/10\/leds-1-768x382.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-content\/uploads\/sites\/256\/2023\/10\/leds-1-1024x509.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-content\/uploads\/sites\/256\/2023\/10\/leds-1.png 1659w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>I got a MIDI file from the web and manually parsed it according to <a href=\"https:\/\/www.cs.cmu.edu\/~music\/cmsip\/readings\/Standard-MIDI-file-format-updated.pdf\">the MIDI file standard<\/a> to ensure I understood what we were working with. <a href=\"https:\/\/docs.google.com\/document\/d\/1NPVZYL2WPZpolXSAaxlhnI2mGU4zBRVuumWJ9TBKnQo\/edit?usp=sharing\">Here are my notes<\/a>:<\/strong><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-86\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-content\/uploads\/sites\/256\/2023\/10\/MIDI_notes-300x293.png\" alt=\"\" width=\"497\" height=\"485\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-content\/uploads\/sites\/256\/2023\/10\/MIDI_notes-300x293.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-content\/uploads\/sites\/256\/2023\/10\/MIDI_notes.png 641w\" sizes=\"(max-width: 497px) 100vw, 497px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-88\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-content\/uploads\/sites\/256\/2023\/10\/MIDI_parsing-268x300.png\" alt=\"\" width=\"430\" height=\"481\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-content\/uploads\/sites\/256\/2023\/10\/MIDI_parsing-268x300.png 268w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-content\/uploads\/sites\/256\/2023\/10\/MIDI_parsing.png 612w\" sizes=\"(max-width: 430px) 100vw, 430px\" \/><\/p>\n<p><strong>This progress is on schedule<\/strong>. I obtained a sample MIDI file by the time outlined in the Gantt Chart. I also procured a Teensy from Owen by the date we set in the schedule. The schedule says to be able to parse a MIDI file by Oct.8, and I am on track for that. We need to individually address each LED by Oct.15th, and I can already do that (but I will need to revisit this when the PCBs arrive).<\/p>\n<p><strong>Tasks for the next week:<\/strong><\/p>\n<ol>\n<li>Give the Design Review Presentation<\/li>\n<li>Light up LEDs according to the frequency and timing specified in the MIDI file<\/li>\n<li>Implement a preliminary state machine in the embedded software<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>This past week, I worked on 3 main things: Figuring out how the embedded software will work at a high level (state machine) &#8211; this involved knowledge from 18-240 for creating an FSM Getting started with the electronic hardware (Teensy4.1 and making sure I can individually address the LEDs) &#8211; this involved Figuring out how &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/2023\/10\/01\/tushaars-status-report-for-9-30-2023\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Tushaar&#8217;s Status Report for 9\/30\/2023&#8221;<\/span><\/a><\/p>\n","protected":false},"author":767,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[12],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-json\/wp\/v2\/posts\/83"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-json\/wp\/v2\/users\/767"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-json\/wp\/v2\/comments?post=83"}],"version-history":[{"count":5,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-json\/wp\/v2\/posts\/83\/revisions"}],"predecessor-version":[{"id":279,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-json\/wp\/v2\/posts\/83\/revisions\/279"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-json\/wp\/v2\/media?parent=83"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-json\/wp\/v2\/categories?post=83"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teama2\/wp-json\/wp\/v2\/tags?post=83"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}