{"id":269,"date":"2024-04-06T03:53:45","date_gmt":"2024-04-06T03:53:45","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/?p=269"},"modified":"2024-04-07T03:59:45","modified_gmt":"2024-04-07T03:59:45","slug":"fredas-status-report-4-6","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/2024\/04\/06\/fredas-status-report-4-6\/","title":{"rendered":"Freda&#8217;s Status Report 4\/6"},"content":{"rendered":"<p>This week, I mostly worked on mic-related stuff, but also tried out the casing assembly.<\/p>\n<p>For the casing, I gently placed the board into the tube to check the fit, which it did.<\/p>\n<figure id=\"attachment_274\" aria-describedby=\"caption-attachment-274\" style=\"width: 224px\" class=\"wp-caption alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-274 size-medium\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-content\/uploads\/sites\/274\/2024\/04\/in-tube-min-224x300.jpg\" alt=\"\" width=\"224\" height=\"300\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-content\/uploads\/sites\/274\/2024\/04\/in-tube-min-224x300.jpg 224w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-content\/uploads\/sites\/274\/2024\/04\/in-tube-min-768x1027.jpg 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-content\/uploads\/sites\/274\/2024\/04\/in-tube-min-766x1024.jpg 766w\" sizes=\"(max-width: 224px) 100vw, 224px\" \/><figcaption id=\"caption-attachment-274\" class=\"wp-caption-text\">It fits in the tube!<\/figcaption><\/figure>\n<p>The tube is easily compressed, so even if the board is flexible, there should be enough room such that it won\u2019t get caught on the walls from friction and buckle. If that doesn\u2019t work, I still have the option of cutting some notches in the tube to expand it even more (probably needed some holes for the mics to work well too). For the ends, I think I can get away with not needing to laser cut acrylic stoppers and instead just press them into a line with enough hot glue and\/or tying them down with the thread. The folding doesn\u2019t quite close all the way because of the curve, so I cut a notch into the side to help it meet. You can see the pictures for a comparison.<\/p>\n<figure id=\"attachment_273\" aria-describedby=\"caption-attachment-273\" style=\"width: 224px\" class=\"wp-caption alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-273 size-medium\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-content\/uploads\/sites\/274\/2024\/04\/tube-end-min-224x300.jpg\" alt=\"\" width=\"224\" height=\"300\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-content\/uploads\/sites\/274\/2024\/04\/tube-end-min-224x300.jpg 224w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-content\/uploads\/sites\/274\/2024\/04\/tube-end-min-768x1027.jpg 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-content\/uploads\/sites\/274\/2024\/04\/tube-end-min-766x1024.jpg 766w\" sizes=\"(max-width: 224px) 100vw, 224px\" \/><figcaption id=\"caption-attachment-273\" class=\"wp-caption-text\">The side with the notch closes much tighter than the side without the notch.<\/figcaption><\/figure>\n<p>The only thing I didn\u2019t try was drilling holes into the tube, because I didn\u2019t think of that idea (the box cutter knife I was using to cut the tube worked pretty well, but those are better for slits than holes). I can probably find a drill sometime soon to try it though.<\/p>\n<p>I didn\u2019t glue anything in because it\u2019s probably best to have easier access to the boards while we\u2019re testing the mics for now.<\/p>\n<p>For the music session, we noticed that the number of samples printed to the CSV varied widely, from 1200 samples per second on the high end to about 800. Because of this, we started to think something weird was going on. After further research, such as refining the code to use ints instead of floats in case implicit float-&gt;int conversion was sus, since analogRead returns ints (so having a float output was useless).<\/p>\n<p>Unfortunately, that was nowhere near the full problem: apparently Serial printouts are what significantly slow down the sampling, but how else would we know how fast it\u2019s sampling at if we don\u2019t have the printouts to show the timing? Katherine will explain more in her part of the report (continuous analog read).<\/p>\n<p>Since we still can\u2019t reliably get the mic to work, we are proceeding with having the peak detector added as a back up. We think it might be easier to have 2 types of boards made: one with the peak detector and one without, and ship them together to reduce cost. Prof Fedder since alternatively we can also have a jumper wire connection to switch between reading directly from the mic output and reading from the peak detector. Either way, that still means I have to design a new PCB and hope the components can be rearranged to still fit on the same size board (might have to increase the board side a little though).<\/p>\n<figure id=\"attachment_272\" aria-describedby=\"caption-attachment-272\" style=\"width: 224px\" class=\"wp-caption alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-272 size-medium\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-content\/uploads\/sites\/274\/2024\/04\/op-amp-min-224x300.jpg\" alt=\"\" width=\"224\" height=\"300\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-content\/uploads\/sites\/274\/2024\/04\/op-amp-min-224x300.jpg 224w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-content\/uploads\/sites\/274\/2024\/04\/op-amp-min-768x1027.jpg 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-content\/uploads\/sites\/274\/2024\/04\/op-amp-min-766x1024.jpg 766w\" sizes=\"(max-width: 224px) 100vw, 224px\" \/><figcaption id=\"caption-attachment-272\" class=\"wp-caption-text\">The op amp fits under the Beetle, but there&#8217;s not that much room left for wires to go around it.<\/figcaption><\/figure>\n<p>According to the Gaant chart, I have to wait on other parts (like the mic and Bluetooth) to be done since I just have integration tasks left. However, the Gaant chart didn\u2019t account for needing to significantly modify the PCB, so that\u2019s going to be my focus for next week. Like this week, I\u2019ll also probably still be working with Katherine to keep testing the mics, because we\u2019re not sure how responsive they are still\/what range of values we should be getting. For example, tapping seems to output in the thousands, while speaking is only in the tens\/hundreds. This doesn\u2019t feel quite right. (Which is why we also plan to make the modified PCB with the signal envelope detector as a backup.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, I mostly worked on mic-related stuff, but also tried out the casing assembly. For the casing, I gently placed the board into the tube to check the fit, which it did. The tube is easily compressed, so even if the board is flexible, there should be enough room such that it won\u2019t get &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/2024\/04\/06\/fredas-status-report-4-6\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Freda&#8217;s Status Report 4\/6&#8221;<\/span><\/a><\/p>\n","protected":false},"author":836,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[8],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-json\/wp\/v2\/posts\/269"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-json\/wp\/v2\/users\/836"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-json\/wp\/v2\/comments?post=269"}],"version-history":[{"count":2,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-json\/wp\/v2\/posts\/269\/revisions"}],"predecessor-version":[{"id":277,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-json\/wp\/v2\/posts\/269\/revisions\/277"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-json\/wp\/v2\/media?parent=269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-json\/wp\/v2\/categories?post=269"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teama7\/wp-json\/wp\/v2\/tags?post=269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}