{"id":189,"date":"2024-04-28T02:34:13","date_gmt":"2024-04-28T02:34:13","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/?p=189"},"modified":"2024-04-28T02:34:13","modified_gmt":"2024-04-28T02:34:13","slug":"michaels-status-report-4-27","status":"publish","type":"post","link":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/2024\/04\/28\/michaels-status-report-4-27\/","title":{"rendered":"Michael&#8217;s Status Report 4\/27"},"content":{"rendered":"<p><b>What did you personally accomplish this week on the project?\u00a0<\/b><\/p>\n<p><span style=\"font-weight: 400\">For this week, I wrote a system to address the streams that are sent to the FPGA. This is needed for the FPGA to identify where it should draw a picture when it gets a frame from the central ESP. With the addressing scheme in place, we are now able to run 6 simultaneous streams at once and have them all show up in the same place.<\/span><\/p>\n<p><span style=\"font-weight: 400\">In addition, I also added some pacing code into the central ESP as well. We need to pace the frames at around a 20-25ms interval since the FPGA only has one instance of the decoder and it runs sequentially. It therefore can only accept a new image to draw every 20-25ms. Since it is much easier for the ESP to buffer this data, we decided to have the pacing and buffering code on the ESP side.<\/span><\/p>\n<p><span style=\"font-weight: 400\">The last loose end that needed to be cleaned up was to black out the unused picture locations. At 720p we have divided the frame into 12 individual 240p streams. Since we are not using half of them, we need the ESP to send a black frame on initialization to those locations to make the system look nice. Without sending the black frame we will just get random colors in the unused locations which just looks bad.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Finally, I also integrated the whole system with Varun. We were able to get all 6 streams working simultaneously. The video below is of the system working with all 6 streams. Note that the code to black out the unused locations is not active in the video.\u00a0<\/span><\/p>\n<p>https:\/\/drive.google.com\/file\/d\/1J4ZgzfkFmw4zAhaMK7OQOmpwzOf-8wDz\/view?usp=sharing<\/p>\n<figure id=\"attachment_190\" aria-describedby=\"caption-attachment-190\" style=\"width: 300px\" class=\"wp-caption alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-190 size-medium\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-content\/uploads\/sites\/281\/2024\/04\/IMG_1914-300x166.jpg\" alt=\"\" width=\"300\" height=\"166\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-content\/uploads\/sites\/281\/2024\/04\/IMG_1914-300x166.jpg 300w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-content\/uploads\/sites\/281\/2024\/04\/IMG_1914-768x424.jpg 768w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-content\/uploads\/sites\/281\/2024\/04\/IMG_1914-1024x565.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-190\" class=\"wp-caption-text\">Output with Unused Locations Blacked Out<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>What did you personally accomplish this week on the project?\u00a0 For this week, I wrote a system to address the streams that are sent to the FPGA. This is needed for the FPGA to identify where it should draw a picture when it gets a frame from the central ESP. With the addressing scheme in &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/2024\/04\/28\/michaels-status-report-4-27\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Michael&#8217;s Status Report 4\/27&#8221;<\/span><\/a><\/p>\n","protected":false},"author":829,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/posts\/189"}],"collection":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/users\/829"}],"replies":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/comments?post=189"}],"version-history":[{"count":1,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/posts\/189\/revisions"}],"predecessor-version":[{"id":191,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/posts\/189\/revisions\/191"}],"wp:attachment":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/media?parent=189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/categories?post=189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/tags?post=189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}