{"id":172,"date":"2024-04-21T02:18:13","date_gmt":"2024-04-21T02:18:13","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/?p=172"},"modified":"2024-04-21T15:40:14","modified_gmt":"2024-04-21T15:40:14","slug":"michaels-status-report-4-20-2024","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/2024\/04\/21\/michaels-status-report-4-20-2024\/","title":{"rendered":"Michael&#8217;s Status Report 4\/20\/2024"},"content":{"rendered":"<p><strong>As you&#8217;ve designed, implemented and debugged your project, what new tools or new knowledge did you find it necessary to learn to be able to accomplish these tasks? What learning strategies did you use to acquire this new knowledge?<\/strong><\/p>\n<p>I had to learn about the specifics of ESP32 development. The toolchain and configurations methods were all new to me. Along with that I also had to learn about the intricacies of how Wi-Fi worked on the ESP32s and how to debug them when the performance wasn&#8217;t were we wanted it. I mostly learned by reading the\u00a0espressif programming manual and the provided example code. It also helped that I could learn by drawing from on my previous class work and work with microcontrollers to help me along.<\/p>\n<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 used a multimeter to check the power consumption of the ESP-32 to verify the claimed values on its data sheet. I got a measurement of 1.5W maximum power draw for the remote camera node. This was with the camera continuously transmitting imagery which is an absolute worst case situation. The average power draw was more around the range of 1w which is inline with our initial assumptions based on the manufacturer\u2019s datasheet. The power consumption for the remote camera node was also measured and it was slightly lower at only about 0.8w maximum.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">I got the change detector running on the ESP-32. The change detector is implemented as a separate task than the main sending task so it doesn\u2019t block the main sending task. Since the ESP32 has two cores these two tasks are able to be run simultaneously to provide maximum performance. The change detector works by computing the number of pixels that have had significant changes. If the number is above a threshold then change is assumed to have happened and video streaming will commence.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u00a0I also got all 6 camera nodes sent to the central node at the same time. I checked the SPI output with a logic analyzer to verify the data and the frame spacings. Even with 6 nodes, the system is able to reliably deliver frames at 100ms intervals with only slight variations. The SPI clock rate was also bumped up to 20MHz to account for the time needed to decode the image on the FPGA side<\/span><\/p>\n<p><span style=\"font-weight: 400\">Finally, I also got a range test completed for the remote camera nodes sending to the central node. The current system with omnidirectional antennas is able to hit the targeted 50m while maintaining a stable 10fps stream. The range test was done in Schenley park to simulate the system being used in an outdoor environment. For the test, the remote node was mounted to a small tree and I walked slowly away with the central node. I stopped walking when the video stream stopped working consistently<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\u00a0<\/span><\/p>\n<figure id=\"attachment_173\" aria-describedby=\"caption-attachment-173\" style=\"width: 300px\" class=\"wp-caption alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-173 size-medium\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-content\/uploads\/sites\/281\/2024\/04\/Screenshot-from-2024-04-20-22-10-53-300x276.png\" alt=\"\" width=\"300\" height=\"276\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-content\/uploads\/sites\/281\/2024\/04\/Screenshot-from-2024-04-20-22-10-53-300x276.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-content\/uploads\/sites\/281\/2024\/04\/Screenshot-from-2024-04-20-22-10-53-768x706.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-content\/uploads\/sites\/281\/2024\/04\/Screenshot-from-2024-04-20-22-10-53.png 948w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-173\" class=\"wp-caption-text\">Range Test Distance<\/figcaption><\/figure>\n<figure id=\"attachment_175\" aria-describedby=\"caption-attachment-175\" style=\"width: 300px\" class=\"wp-caption alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-175 size-medium\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-content\/uploads\/sites\/281\/2024\/04\/Screenshot-from-2024-04-20-18-30-37-300x236.png\" alt=\"\" width=\"300\" height=\"236\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-content\/uploads\/sites\/281\/2024\/04\/Screenshot-from-2024-04-20-18-30-37-300x236.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-content\/uploads\/sites\/281\/2024\/04\/Screenshot-from-2024-04-20-18-30-37.png 507w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-175\" class=\"wp-caption-text\">Images from Range Test<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><b>Is your progress on schedule or behind? If you are behind, what actions will be\u00a0<\/b><b>taken to catch up to the project schedule?<\/b><\/p>\n<p><span style=\"font-weight: 400\">Currently on schedule<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>What deliverables do you hope to complete in the next week?<\/b><\/p>\n<p><span style=\"font-weight: 400\">For next week, I hope complete final integration with Varun\u2019s FPGA with the new stream addressing system schema<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As you&#8217;ve designed, implemented and debugged your project, what new tools or new knowledge did you find it necessary to learn to be able to accomplish these tasks? What learning strategies did you use to acquire this new knowledge? I had to learn about the specifics of ESP32 development. The toolchain and configurations methods were &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/2024\/04\/21\/michaels-status-report-4-20-2024\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Michael&#8217;s Status Report 4\/20\/2024&#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":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/posts\/172"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/users\/829"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/comments?post=172"}],"version-history":[{"count":3,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/posts\/172\/revisions"}],"predecessor-version":[{"id":188,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/posts\/172\/revisions\/188"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/media?parent=172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/categories?post=172"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb6\/wp-json\/wp\/v2\/tags?post=172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}