{"id":254,"date":"2025-06-10T00:05:39","date_gmt":"2025-06-10T04:05:39","guid":{"rendered":"https:\/\/wp.stgeorges.bc.ca\/aidenh\/?p=254"},"modified":"2025-06-10T00:05:39","modified_gmt":"2025-06-10T04:05:39","slug":"end-of-the-year-personal-project-finale-fusion-final-project-pt-3","status":"publish","type":"post","link":"https:\/\/wp.stgeorges.bc.ca\/aidenh\/2025\/06\/10\/end-of-the-year-personal-project-finale-fusion-final-project-pt-3\/","title":{"rendered":"End Of The Year &#8211; Personal Project Finale &#8211; Fusion Final Project Pt. 3"},"content":{"rendered":"\n<p>This post is my final blog post for the Fusion 10 Cohort Program. In this post I will be showing you my product, <strong>SleepPlugs\u00a9<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/20250605_203156-1-1024x576.jpg\" alt=\"\" class=\"wp-image-259\" srcset=\"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/20250605_203156-1-1024x576.jpg 1024w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/20250605_203156-1-300x169.jpg 300w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/20250605_203156-1-768x432.jpg 768w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/20250605_203156-1-1536x864.jpg 1536w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/20250605_203156-1.jpg 2040w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>To retrace our steps, let&#8217;s go over what our original problem was.<\/p>\n\n\n\n<p class=\"has-large-font-size\">Our problem:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"has-large-font-size\"><strong>Earplugs lack features; sleep earbuds are not cheap<\/strong><\/p>\n<\/blockquote>\n\n\n\n<p>Foam and silicone earplugs that can be bought in bulk are cheap, easy to get, comfortable for some but may cause irritation due to their low quality and lack extra features. On the other hand, sleep earbuds on the market are quite expensive ($30~$200), may be uncomfortable for side sleepers, can be used as normal earbuds during the day, and usually have active noise cancelling or play music.<\/p>\n\n\n\n<p class=\"has-large-font-size\">Constraint and Scope<\/p>\n\n\n\n<p>For the product, I&#8217;m aiming for people who have trouble sleeping in loud environments as well as people who have trouble waking up to their alarm. IT should be cost-effective, affordable, and simplistic. It will prioritize sound cancellation, comfort, and cost.<\/p>\n\n\n\n<p>For this project, however, I&#8217;m more constrained by time and skill, so I&#8217;ve decided to focus on the electronics and coding side of things, as this is a STEM course. The time frame for my project is 3 months and I am limited to using fairly large Arduino boards and foam earplugs for the prototype.<\/p>\n\n\n\n<p>As I mentioned, this project&#8217;s aim is to maximize sound cancelling, comfort and cost, so I think success would be defined as how noise-cancelling it is (decibels reduced), how comfortable it is (ergonomics and irritation), and how cost-effective I can make it (simplicity of parts).<\/p>\n\n\n\n<p class=\"has-large-font-size\">Design Solution<\/p>\n\n\n\n<p>With that out of the way, let me show you a couple of my original design solutions and the one I eventually chose as my final design.<\/p>\n\n\n\n<p>I was originally going to design an actual pair of silicone earplugs with small electronics that were going to have active noise cancelling at a certain range and would allow really loud noises i.e. alarm clock ringing, to go through. This product was really redundant and I didn&#8217;t really need the selective active noise cancelling, as earplugs already block out sound, and I could actually integrate the alarm into the earbud. I also realized I didn&#8217;t actually have to make the thing true to size &#8211; I just needed to showcase the circuit.<\/p>\n\n\n\n<p>So after some deliberation and further research, I ended up with my current design, a pair of wired foam earplugs with vibration motors embedded in them connected to an Arduino Uno and a HC-05 Bluetooth module. The entire board was originally going to be just an ESP32 microcontroller, as it combined the both in a super small package, but the driver just didn&#8217;t download, so I scrapped it.<\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-fe9cc265 wp-block-group-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/20250605_203156-1-1-1024x576.jpg\" alt=\"\" class=\"wp-image-265\" srcset=\"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/20250605_203156-1-1-1024x576.jpg 1024w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/20250605_203156-1-1-300x169.jpg 300w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/20250605_203156-1-1-768x432.jpg 768w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/20250605_203156-1-1-1536x864.jpg 1536w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/20250605_203156-1-1.jpg 2040w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><em>The prototype &#8211; the Arduino Uno, breadboard, HC-05 (on the right), and the two earplugs<\/em><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-fe9cc265 wp-block-group-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"545\" src=\"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/3.jpg\" alt=\"\" class=\"wp-image-261\" srcset=\"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/3.jpg 1000w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/3-300x164.jpg 300w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/3-768x419.jpg 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p><em>An ESP32 in comparison to a human hand, much smaller than an Arduino Uno, a breadboard, and a HC-05 all together.<\/em><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-fe9cc265 wp-block-group-is-layout-flex\">\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-fe9cc265 wp-block-group-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"399\" src=\"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Copy-of-Bluetooth-HC-05_06-Arduino-1024x399.png\" alt=\"\" class=\"wp-image-262\" srcset=\"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Copy-of-Bluetooth-HC-05_06-Arduino-1024x399.png 1024w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Copy-of-Bluetooth-HC-05_06-Arduino-300x117.png 300w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Copy-of-Bluetooth-HC-05_06-Arduino-768x299.png 768w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Copy-of-Bluetooth-HC-05_06-Arduino.png 1536w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><em>The circuit diagram of the prototype.<\/em><\/p>\n\n\n\n<p>To control the alarm, I also changed my original plan of having an Arduino RTC and an LED display on the breadboard itself to controlling it via a mobile app. The mobile app has a simple design with a Bluetooth devices list, a button to pick your time, a button to set the alarm, and a button to turn it off.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"473\" height=\"1024\" src=\"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Screenshot_20250609_082246-473x1024.png\" alt=\"\" class=\"wp-image-263\" style=\"width:177px;height:auto\" srcset=\"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Screenshot_20250609_082246-473x1024.png 473w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Screenshot_20250609_082246-138x300.png 138w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Screenshot_20250609_082246-768x1664.png 768w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Screenshot_20250609_082246-709x1536.png 709w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Screenshot_20250609_082246-945x2048.png 945w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Screenshot_20250609_082246.png 1080w\" sizes=\"auto, (max-width: 473px) 100vw, 473px\" \/><\/figure>\n<\/div>\n\n\n\n<p><em>A screenshot of the app I built with MIT App Inventor<\/em>.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-fe9cc265 wp-block-group-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"474\" src=\"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Screenshot-2025-06-09-044142-1024x474.png\" alt=\"\" class=\"wp-image-264\" srcset=\"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Screenshot-2025-06-09-044142-1024x474.png 1024w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Screenshot-2025-06-09-044142-300x139.png 300w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Screenshot-2025-06-09-044142-768x356.png 768w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Screenshot-2025-06-09-044142-1536x712.png 1536w, https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-content\/uploads\/sites\/12\/2025\/06\/Screenshot-2025-06-09-044142.png 1638w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><em>Code of the app in MIT App Inventor<\/em>.<\/p>\n<\/div>\n\n\n\n<p class=\"has-large-font-size\">Project Planning<\/p>\n\n\n\n<p>I planned out my project using <a href=\"https:\/\/www.notion.so\/\" data-type=\"link\" data-id=\"https:\/\/www.notion.so\/\">Notion.<\/a> Using it I outlined the steps that I needed to build the prototype, from preliminary research to gathering the materials. I set some deadlines for myself for the prototype, although I didn&#8217;t really follow them that well. I planned to start building the prototype in April, but it was delayed until May. I had also changed my plans midway while debating if I should use the ESP32 and looking for prebuilt Arduino controller apps. I had to rush a little to finish the Arduino and app as I didn&#8217;t expect them to take that long.<\/p>\n\n\n\n<p>I needed to learn about how to use the HC-05 module during the project. It was kind of complicated and inconsistent but I got it to work. I had to also learn how to use MIT App Inventor&#8217;s Alarm and TimePicker. I&#8217;ve had experience with App Inventor and it was easy to use, it was just kind of counterintuitive with its logic.<\/p>\n\n\n\n<p class=\"has-large-font-size\">BOM and Costs<\/p>\n\n\n\n<p>For my project, I needed:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>1 Arduino Uno<\/li>\n\n\n\n<li>1 HC-05 Bluetooth Module<\/li>\n\n\n\n<li>1 breadboard<\/li>\n\n\n\n<li>6 jumper wires<\/li>\n\n\n\n<li>2 vibration motors<\/li>\n\n\n\n<li>4 long wires<\/li>\n\n\n\n<li>4 foam earplugs<\/li>\n<\/ul>\n\n\n\n<p>I borrowed many of the electronics from the school. For the components I had to buy, it cost $50.54 altogether, although I didn&#8217;t use all of them. With this in mind, I should&#8217;ve used around $18.29, without counting the electronics I borrowed. If I did, it would be around $54.72, which is slightly expensive but also inaccurate as it includes an Arduino Uno, an HC-05 and vibration motors which I may not use in the final product. However, this is still cheap compared to current sleep earbuds and I believe this makes it more affordable to the public.<\/p>\n\n\n\n<p class=\"has-large-font-size\">Testing and Validation<\/p>\n\n\n\n<p>My project was hard to test as while I could test it based on my own perspective and others&#8217;, I couldn&#8217;t test how many decibels the earplugs actually reduced, and I was unable to test the alarm as I didn&#8217;t have my phone in the boarding house, which I needed. However, I have tested the alarm when I wasn&#8217;t sleeping and it worked perfectly.<\/p>\n\n\n\n<p>It was really difficult to test my prototype as while I demonstrated the alarm and Arduino, I couldn&#8217;t test anything else as I didn&#8217;t have them. I didn&#8217;t have a silicone earplug and I hadn&#8217;t come up with a design yet. To test the prototypes would be inaccurate and doesn&#8217;t reflect the actual product. However, I believe that my design would work well as silicone earplugs already exist on the market and are proven to be quite effective.<\/p>\n\n\n\n<p class=\"has-large-font-size\">Code of Ethics<\/p>\n\n\n\n<p>For my project, I don&#8217;t believe there is much ethical implications as my SleepPlugs are very simple and only help with sleeping.<\/p>\n\n\n\n<p class=\"has-large-font-size\">Conclusion<\/p>\n\n\n\n<p>This project has made me delve deep into coding, Arduino, and the rabbit hole of sleep earbuds. I also learnt that project management was important in a project as it keeps everything on the right track. Now I&#8217;ll be using my SleepPlugs and getting a good night&#8217;s sleep. See you next time.<\/p>\n\n\n\n<p><em>Aiden, FUSION MKIX<\/em><\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-fe9cc265 wp-block-group-is-layout-flex\">\n<pre class=\"wp-block-code\"><code>int motorPin = 3;\nchar c;\n\nvoid setup() {\n  \/\/ put your setup code here, to run once:\n  pinMode(motorPin, OUTPUT);\n  Serial.begin(9600);\n}\n\nvoid loop() {\n  \/\/ put your main code here, to run repeatedly:\n  if(Serial.available()){\n    c = Serial.read();\n  }\n  if (c == '1'){\n    digitalWrite(motorPin, HIGH);\n  }else if (c == '0'){\n    digitalWrite(motorPin, LOW);\n  } \n}<\/code><\/pre>\n\n\n\n<p><em>Code for the Arduino<\/em><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This post is my final blog post for the Fusion 10 Cohort Program. In this post I will be showing you my product, SleepPlugs\u00a9. To retrace our steps, let&#8217;s go over what our original problem was. Our problem: Earplugs lack features; sleep earbuds are not cheap Foam and silicone earplugs that can be bought in [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-254","post","type-post","status-publish","format-standard","hentry","category-final"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-json\/wp\/v2\/posts\/254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-json\/wp\/v2\/comments?post=254"}],"version-history":[{"count":6,"href":"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-json\/wp\/v2\/posts\/254\/revisions"}],"predecessor-version":[{"id":267,"href":"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-json\/wp\/v2\/posts\/254\/revisions\/267"}],"wp:attachment":[{"href":"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-json\/wp\/v2\/media?parent=254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-json\/wp\/v2\/categories?post=254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.stgeorges.bc.ca\/aidenh\/wp-json\/wp\/v2\/tags?post=254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}