Stephen’s Status Report for 4/30

The last task I need to finish before the public demo is the completion of the central module for our project, which will isolate the ESP32 and supporting circuitry from the user while they play the game. I spent several hours trimming down some wire headers and soldering them to a general-purpose through-hole breadboard which will help reduce the over size of the circuitry and also fix the connections in place so they cannot be jostled loose. Currently, I’m about 70% of the way done with this soldering, and this video shows the current functionality of that board:

Other than this, all I need to do is 3D print a small housing for the board once I’ve finished soldering it. This box shouldn’t be very expensive compared to the drums, as it doesn’t need to withstand any significant forces, which permits the use of thin walls. I’m expecting this module to cost around ~$15 when printed.

Regarding where I am in regards to completing these tasks, I’m confident I’ll be able to wrap everything up every next week. Most of my classes finished up this recent week with their last exam or a final project, so I have little else to work on other than these tasks, as well as the final report due at the end of next week.

Stephen’s Status Report for 4/23

The majority of this week was spent on finishing the 4 drum modules and starting my testing in preparation for the final presentation on Monday. The following video shows the current state of the drum setup:

The main takeaways from this demo are that all 4 drums have had their PCBs soldered, and are situated within the drum modules. Furthermore, the wooden bases and rubber pads on top of the modules have been placed as well (although I have opted to only secure the bases in place with tape for now in case I need to disassemble and repair anything inside).

One thing I’d like to highlight is that the rubber pads do not depress heavily when pressure is applied, which is important for maintaining a good “bounce” when the drums are hit by the user.

Additionally, the other primary task for this last week was performing the testing needing for out final presentation this upcoming week. Between the user feedback session we held on Wednesday and specification testing I’ve performed on my own, I have almost all the data I need for the report. To recap, the 4 categories of testing related to the drums are user set-up time, compactness, latency, and recognition accuracy.

The user-setup time and compactness tests had good results, however I did have some issues regarding drum recognition and latency. Regarding recognition, some of the drums were noticeably less responsive than others (which was feedback I received during our user testing session) and to remedy this I placed small paper squares in the main force bearing column of the drum.

These paper squares bring the sensor and rubber pad ever so closer together, which increased the sensitivity greatly.

Regarding the latency, the main issue I encountered was not with the latency itself, but with measuring the output, as the serial monitor I used to check for messages from the drum only outputs results every 60 ms or so, which means I can’t reliable use it to check for latency around the 30 ms mark. I’m going to try a similar test using an oscilloscope tomorrow in the hopes that this will provide better results, however if that doesn’t pan out we may need to use a full latency test from drum to program instead of measuring the drum and program latencies in isolation.

Regarding where I am in the project, I feel confident in my ability to finish the product before the final demo, as most of the remaining tasks I have are mainly aesthetic improvements, such as gluing the drum bases on firmly and printing a module for the ESP32 to be placed in to isolate it from the user. Everything regarding the functionality of these drums is working, although I may be able to make some marginal improvements, and both of those tasks I mentioned earlier will be tackled next week.

Stephen’s Status Report for 4/16

The majority of this week was spent creating the 4 final drum modules, which included soldering each of the PCBs and 3D printing the drum housings. As of right now, all of the PCBs are soldered and (mostly) functional and I’ve printed 3 of the 4 total drums (the dremel printers in TechSpark were occupied most of this week so I’m printing the last one this weekend).

https://drive.google.com/file/d/1T9HWiaXTrl7rABxwUqzvM6yQnoAtga9A/view?usp=sharing

https://drive.google.com/file/d/1MaeZnkecdY8ms-ItmZ9qRBaB1ymTffSX/view?usp=sharing

Currently, 2 of the 4 PCBs I’ve soldered are operating perfectly, with all 4 LEDs receiving feedback from the ESP32.

https://drive.google.com/file/d/1JVWyY8zhrED-C6ImZAhHwnd7PPoJRTvZ/view?usp=sharing

https://drive.google.com/file/d/1JCIqvQrxr8q2foaXEXLrCToc0U5jX7bv/view?usp=sharing

 

However, the two other PCBs have minor soldering issues with some of their LEDs, so I haven’t trimmed their leads and placed them into drums yet, as I want to resolder their connections properly.

https://drive.google.com/file/d/1CVYEODAB1FGnWKjktggWexWcM0r705bB/view?usp=sharing

https://drive.google.com/file/d/1Js0cr5h1dcjLEnHlIN9yyXimBuaWOt4X/view?usp=sharing

The issue which caused this is regarding the small solder beads depicted below, as all 4 LEDs on the PCBs worked immediately after soldering, but upon bringing them back to my dorm I realized that the LED leads were jostled in my backpack, which caused the hardened solder to break itself off from the PCB, ultimately disconnecting it from the circuit. To fix this, all I need to do is reheat the solder and form a better (more shock resistant) connection.

https://drive.google.com/file/d/1UG_pr4wPE5gjd6lG7UZG1uREZa2nyTdW/view?usp=sharing

Lastly, I also acquired some wooden bases and supports for the drum modules this week. These bases will be fixed to the bottom of the PCB and to the drum’s base, which will provide support and isolate users from the drum internals. Additionally, I opted to use wood for this purpose as it was cheaper than 3D printing these parts and by using wood the bases will have more friction with whatever surface they are placed on, which should help prevent them from sliding around as much.

https://drive.google.com/file/d/1WeOysxl3Cy4t8Gs_CMU4My-Iigs1XabT/view?usp=sharing

https://drive.google.com/file/d/16U3gzAclyG5kQM6xwUeATo90310gCExV/view?usp=sharing

Regarding where I am in regards to our schedule, I think I’ve caught back up on pace this week/weekend, as once I’ve finished printing the last drum and resoldering those PCBs, the drums themselves will be in their finished state (barring some aesthetic improvements possibly) which will allow me to perform some needed testing this week. I do also need make a housing for the ESP32, but that will be purely to isolate it from the user rather than having a major functional purpose, so all I really need to do there is fix the ESP32 in a small box with holes for it’s wires, which shouldn’t take much time.

Stephen’s Status Report for 4/10

The majority of this week was spent preparing to print the final drum modules, as earlier this week the PCBs arrived from PCBway, and after soldering the components to verify that they perform as expected, I was ready to 3D print the final drum design. The only change I made from my recently posted drafts was to reduce the thickness of the top wall of the housing from 5 mm to 2 mm. This is mainly to allow the LEDs more room to stick through the holes in this layer, as I hadn’t originally accounted for how the stubs of the other through-holes components may prevent them from getting as close to the roof of the housing as the PCB would naturally allow.

The print had reduced scaffolding and height compared to the demo design, which brought the cost down from $56.50 previously to just $36.00 for this final version.

However, after clearing the scaffolding, I encountered an issue with the design’s size, as although both the drum’s internal cavity and the PCB measured 11 cm, the PCB was slightly too large to fit within the drum.

Since this size difference was less than a millimeter, I’ve been trying to sand down the interior of the drum enough to allow the PCB to fit. However, although the difference in size has shrunk from my efforts, the PCB is still unable to fit smoothly even after several hours of sanding.

I still believe this drum module is salvageable, as I was able to shorten the difference greatly, however I’ll need to dedicate more time to sanding or use a tool within TechSpark to assist me in doing so. Going forward, I plan on reducing the side walls of the housing from 5 mm to 3 mm for the other three drums, with all of the gained space going to the inside of the module. This may give me too much room on the drum’s inside, however it will be much easier to remove the additional space rather than to create more through sanding.

Regarding where I am in regards to our schedule, I am now slightly behind where I had hoped to be after carnival, as I was hoping to have a fully functional final module ready going into this week. However, This is not a major delay, as if I am able to perform a successful 3D print tomorrow with the new design I’ll only be a day behind where I expected to be. Other than that, the rest of this week will be focused on finalizing the drums and the Arduino code which communicates with them, so that hopefully I’ll be able to assist with other tasks going into the last few weeks.

Stephen’s Status Report for 4/2

Over the course of the last week I’ve been primarily working on getting the C++ code to work on my Windows computer, as well as prepping for the upcoming interim demo on Wednesday 4/6.

Although last week I mentioned that I was expecting the PCBs I had ordered to arrive, I had actually misread the manufacturing completion date as the shipping arrival date. The true shipping arrival date turned out to be 4/4, so I haven’t gotten my hands on the PCBs yet, which has prevented me from soldering the components and printing the final drum design like originally planned.

As such, I’ve mainly been working on other minor tasks in preparation for next week. For example, both I and Shreya spent some time working with Visual Studio 2022 in an effort to get the C++ code working on our Windows machines. We did manage to get it working eventually, but only after removing an audio library, which will be necessary in our final product and so we’ll need to find a way to incorporate it back into the Windows version of the codebase later.

Additionally, I’ve been prepping the demo drum module for use in the interim demo. A video of such can be seen here:

When pressing the drum, the ESP32 simultaneously sends a serial signal to the computer (to be read by the C++ code) while also powering the feedback LEDs that give users a physical means of knowing their hit was detected. Other than improvements to the design/layout, this is exactly how the final drum module is planned to function.

Other than those two tasks, I’ve also been working on some modifications to the ESP32 code to handle multiple drum inputs as well as designing some drafts of what the ESP32 housing will look like. Due to the cost and time required to get custom PCBs, that likely won’t be feasible for the ESP32 module. As such, I’m planning on using a combination of breadboards and internal wiring to achieve the needed stability and connection quality with the ESP32.

Regarding where I feel this progress is at, I think I’m on schedule as what I have currently is sufficient for presentation during the interim demo next week. Although I would’ve liked to have the final drum module/PCB printed, soldered, and assembled together by then, I may still be able to do so depending on when the PCBs arrive next week. Once I do get that final module printed and assembled, most of the remaining objectives I’ll have going forward will be related to integration and helping out on other tasks where I can.

Stephen’s Status Report for 3/26

As mentioned in my previous status report, this week’s tasks were primarily focused on designing the finalized version of the drum module which incorporated what I learned through the prototype, designing a PCB to house the circuitry within that final module, and drafting the BOM for the components I’d need.

Here are the results of that progress:

The New Drum Module Design:

The EAGLE PCB board:

And the BOM for the EAGLE board and for the FSRs I’ll need:

The main change between these designs and the old prototype module is that I’ve removed the center platform in the drum module. This platform led to some undesired force dissipation along the crossbars, and as such I’m going to instead have the FSR supported through a platform that comes directly through the center of the PCB from the module’s base. Additionally, I’ve trimmed some of the wasted material from the prototype design, which when combined with the removed crossbar should hopefully reduce the printing costs.

The PCB also has LEDs in its 4 corners, which was a post-MVP target we had and which I feel should be readily achievable. I’ve already performed tests of the drum module using some spare LEDs I ad on hand, so I’m confident the ESP32 should be capable of adding this light feedback to the system. The needed holes for these LEDs to stick through have also been added to the drum module design.

Regarding the BOM, all of the components have been ordered. The PCBs are currently expected to arrive this Monday and I picked up the other components (excluding the FSRs) yesterday. I currently plan to test these components on a breadboard this weekend, and then solder them to the PCBs once they arrive this week. Assuming everything goes well, I’ll likely also print the new drum module by the end of this week to test the entire system together.

Regarding how this progress fits into our timeline, I think I’m on good pace with our initial estimations. As I mentioned last week, I feel the place I’m currently at aligns well with where I’d like to be for MVP even though I technically didn’t have the drum count we targeted for MVP (due to the additional 3D printing costs). If everything goes exactly as planned, I’ll likely have some flexible time in the coming weeks, so I’ll hopefully be able to help with improving the C++ code in areas like the game’s main menu.

Stephen’s Status Report for 2/26

The beginning of this week was primarily spent preparing for the design presentation, as we needed to finalize our slides as a group and I personally needed to practice for the presentation itself.

However, I also began testing my various piezoelectric sensors this week so I could narrow down and hopefully select a final component that will go into the final design. Initially, I had three piezoelectric options.

  1. The Flexiforce Piezoelectric Sensor we purchased from SparkFun (Bottom)
  2. Two FSR 400 Series sensors from Interlink Electronics (referred to as IE going forward) that I had left over from a previous project (Middle)
  3. Some cheap handmade Piezoelectric sensors I purchased off Amazon (Top)

After just some quick initial force tests, it was clear that the FlexiForce sensor was the least easy sensor to use. When tapping the sensor with a level of force similar to that of a hit with a drum stick, the resistance hardly changed, and even when applying as much force as I could with my fingers, the change was still only half that of the other two sensors. On the other hand, both the IE FSR and discount Amazon sensors worked much better, with quick and large responses to only light applications of force. However, the Amazon sensors performed poorly in the test I performed before turning on the camera, which gives me the concern they may act inconsistently if used in the final product. As such, I’ve decided to focus all my testing on the IE FSR going forward, as that one seems to be the most promising sensor.

First clip: FlexiForce

Second Clip: Amazon sensors

Third Clip: IE FSR

After selecting my final sensor, I began familiarizing myself with Fusion 360, so that I can 3D print an initial draft of the drum pad housing. Once I have this complete, I’ll be able to combine it with the IE FSR and the Neoprene rubber sheets to create a prototype drum pad, which should greatly aid in future testing by better replicating the expected endcase environment. Here is the module I’ve developed so far using Fusion 360.

The sensor will be fixed to the raised central platform and all the needed supporting circuitry will be located in the cavity underneath it. Additionally, the gap in the base on one side of the module will be used for connecting this module to another module that will house the ESP32 development board. Lastly, we should be able to attach a 3D printed sheet to the bottom of this module after placing the circuitry inside, which should protect the sensitive circuitry inside.

After designing this module, I began working with the ESP32 development board, as this one is slightly different than the ones I’ve used in the past and as such I expected that I’d have some issues getting it to work as my last board did. As I expected, I have been encountering some difficulties but I expect to be able to run simple code by the end of this weekend.

My plans going forward for the rest of the week are to work more with the ESP32 so that going into spring break I’ll be ready to jump right into coding the ESP32’s ADC features. Once I have the ADC features implemented and I have connected it with my sensors I’ll then begin working on sending the ADC information over USB in a form recognizable by George’s program, which should set me up well for reaching MVP by our goal date next month.

Stephen’s Status Report for 2/19

Last week, I submitted purchase requests for the items in my initial testing BOM so that they could be ordered on Tuesday 2/15 and hopefully arrive on 2/17.  During the stretch from 2/13 – 2/17, I worked on developing a testing plan such that when the components arrived I would already know what tests I needed to perform to assess the quality of these initial parts.

These initial tests can be found here: test_plans_01

I retrieved the components in the afternoon of 2/17 and everything matched my expectations other than the Neoprene rubber sheets. Specifically, the Neoprene seems less rigid than I anticipated, which isn’t a catastrophic or even a particularly large issue, but this does mean that the drum pads should be made thinner than originally planned to avoid too much loss of force as the pads compress. To compensate, I now plan on placing a rigid material (such as plastic) under the neoprene to create extra drum thickness without losing much more force.

On 2/18, I spent most of the day editing the design presentation slides that pertained to the hardware sections of the presentation so that we could receive feedback over the weekend. Unfortunately, this took longer than expected and so I didn’t have time to perform the tests yesterday (2/18). My current plan is to perform these tests later today (2/19), and if I finish early I may be able to edit this report before midnight.

For the next week, I’d like to finish all outstanding tests I have planned, develop and perform any new tests I deem necessary based on the results of those tests, and begin designing a 3D model of the drum pad prototype using Fusion 360.

Stephen’s Status Report for 2/12

The weekend of 2/5 and 2/6 was primarily spent revising the proposal presentation based on feedback we had received during the week before that. Afterwards from 2/7 through 2/12,  I researched component options and drafted a Bill of Materials (BOM) for our first round of purchases.

(Sorry the image is blurry. I’ve attached the Excel sheet at the end of this post for better clarity)

The five items in this BOM are a piezoresistive force sensor, op-amps (for use with the sensor), a set of cheaper piezoresistive sensors (as a back-up precaution in case the higher quality sensor is damaged), neoprene rubber sheets, and an ESP32 development board. Altogether, these components will form the initial drum pad prototype we’ll need to assess the difficulty of converting forces into electrical signals. If everything goes well with these initial tests, it will even become possible to begin programming the ESP32 to receive these signals and communicate them to a PC, which would allow us to test the software side of this project more easily.

One important detail to note here is the fact that the rubber sheets are made of neoprene. From my research, neoprene is a quality elastic substance which should produce the bounce we’ll need for our drum pads, unlike other synthetic rubbers like polynorbornene. I would’ve liked to order some natural rubber as well to compare the two options, but natural rubber is far more expensive than neoprene and we wouldn’t be able to afford natural rubber for all our drum pads while remaining in our $600 budget.

Regarding ordering/shipping dates, this research unfortunately took longer than expected and so I wasn’t able to submit this order by Thursday (2/10) and as such it will go out this next Tuesday instead (2/15). This is suboptimal scheduling-wise, so to mitigate this loss of time I opted for the quicker shipping options of each product not available through Amazon and I currently plan on developing my testing plans for these components before their arrival so that I’ll be ready to jump directly into testing once they arrive (expected arrival is 2/17). By the next update (2/19) I hope to have these components within my possession and have collected data on the force sensitivity of the sensor.

Here is the BOM in excel form: BOM_18500