Team Status Report for 11/21

Team Progress

Our team worked this week on the features and improvements discussed during our Interim Demos. This includes collecting more video footage in order for Ankita to work on CV features, and designing enclosure and changing layout for a more compact system. We are integrating our new camera and determining its limits.

Risk Mitigation

Major risks now are determining if the footage quality that CapSure records is detailed enough for accurate computer vision. A CV idea in mind is to recreate the shot playback in bird’s eye view. Another small risk is designing a neat enclosure with proper holes for the wiring paths from the ESP to buttons/switches on brim as well as a slots for the camera and LED to poke out. As we don’t have much experience designing, this may prove to be a challenge, especially when 3D printing because we may need to splice our design and hot glue parts together in order to avoid printing with supports.

Changes

No major changes have been made. We are working on compacting our design which moves our system to a smaller mini breadboard (for now).

Team Status Report for 11/14

Team Progress

Our team made significant progress to meet all our MVP features for the Interim Demos. We’ve upgraded our resolution (at the cost of FPS), implemented a blue/green billiard color detection threshold (specific threshold still needs to be tested once we receive our mini billiards table), and confirmed our system works off of LiPo battery power. We also showed successful clip transfers and clean playback.

Risk Mitigation

The major risks now are compacting our system design so it ergonomically seats on the bill of the hat. To do this, we will use resources from 18220/18349 lab and carefully plan out measurements for a new 3D printed enclosure. As a fallback option, Clarence placed an order for a miniature breadboard that is light and small enough to fit on the front of the bill.

Changes

We increased our resolution to 1280x720p and have placed an order for an upgraded OV5640 camera for further testing. We also added pool table detection as a feature for our project, since we had achieved most of the work corresponding to the MVP, and were able to get this done by the Interim Demo. We will continue iterating on this detection to ensure that it works under all types of lighting and is compatible with a wide range of pool tables. Furthermore, to add additional benefit for the user and to expand our use case to be for players wishing to get feedback on their pool shots, we’ve added a “shot analysis” feature to our project schedule. Ankita will begin developing the CV for the shot analysis features.

Validation

During the interim demo, we ran CapSure on LiPo battery power and demonstrated the full recording workflow. We used the hat-mounted button to save pool footage, transferred clips to our phone using the device’s WiFi, and confirmed that they played back cleanly. We also tested the blue/green table recognition using the UC basement pool tables and smaller green pieces of plastic/cardboard during the actual demo.

For our planned integration tests, we will run the ESP32 on battery power with the button, LED, and microSD card connected. We will press the record button 100 times and log whether each press produces the expected LED indication and saves a playable clip. We will also log whether each clip transfers to the phone, how long the transfer takes, and whether the clip plays back in the app. We will calculates the success rate at each stage and the percentage of button presses that result in a playable clip on the phone. We will compare those rates and the measured transfer times with the requirements in our design report. Logging each stage will help us identify where any failures occur.

Then, we will also test table recognition with a variety of conditions, including blue/green cloth and different lighting conditions. Once the mini billiards table arrives, we will repeat the tests to check whether the thresholds still work on that surface. We will record missed detections and false positives by each color and lighting condition, and also measure the achieved frame rate at 1280 x 720 in typical and dim lighting to check whether the higher resolution still provides smooth enough playback for shot review.

Once we have a more compact hat assembly, we will also finally weigh the complete system against the 100g limit and check whether it stays secure and keeps the table in view during normal play. We will measure battery runtime and component temperatures during repeated recording and transfer, then compare those measurements with the design requirements. After we build an initial version of the CV shot analysis feature, we will compare its output with manually reviewed pool clips to check whether it supports the intended shot-review use case.

Team Status Report for 11/7

Team Progress

Our team has done thorough testing on the WiFi capabilities. We’ve also designed and printed our first versions of the clip and enclosure. We are preparing to demo a live recording and clip saving. Due to the current transfer limitations, we may have to use a microSD card reader to show the clip.

Risk Mitigation

One of the major risks that has come up is the WiFi bandwidth which has tested to be much lower than we anticipated. Although in our report we stated that the maximum theoretical Wi-Fi PHY rate was 150 Mbps, we are achieving only 5 Mbps, which is not enough to timely transfer our clips. This is because the 150 Mbps number is the maximum physical-layer signaling rate, not the rate at which an application can transfer file contents. Actual throughput is lower because of Wi-Fi overhead, TCP/IP and HTTP processing, microSD reads, ESP32 memory limitations, and interference. To mitigate this, we are testing alternate WiFi configurations and utilizing different channels to possibly boost the throughput.

Changes

Since Clarence has mostly finished design and researching/purchasing components, he will shift to helping Jayden and Ankita on firmware and integration of all component code for the demo. Other than that, no other changes. Another major change we are adding based on professor feedback is the ability for the ESP to detect whether a green pool table is in view, which will toggle the recording on/off.

Team Status Report for 10/31

Team Progress

This week, our team made significant progress on the firmware for video/audio capture. The device now continuously records timestamped video and audio into rolling 2-second segments on the microSD card, and a save command preserves the previous 60 seconds as a clip without interrupting recording. We verified that clips are saved correctly and converted them into playable video on a laptop. We also fixed dropped video frames by enlarging the camera’s frame buffers, and improved audio with filtering, gain, and corrected timestamping, which removed a buzzing artifact. We confirmed high quality audio (enough to hear Steve Lacy’s “Oh Yeah?”) and proper video resolution. We tested the forehead-mounted camera and realized the brim would block the video, so we have decided to move our camera system forward to the brim. This allows for more accurate line-of-sight POV video and unobstructed video replay.

Risk Mitigation

Moving the camera to the brim places more weight farther from the head, which increases forward torque and could make the cap uncomfortable over a full session. To mitigate this, we will keep the battery and other heavier parts near the crown, keep the brim clip as light as possible, and weigh the full assembly against our 100 g limit. A second risk is wireless transfer: clip saving now works, but we have not yet measured Wi-Fi throughput between the ESP32 and the phone. We will test transfer speed at 3 m next week, before building the app’s download feature.

Changes

As discussed above, we are moving the camera system closer to the brim to keep the brim out of the clips. This led us to a clip-based 3D design that attaches onto the brim. We will update the physical design and mass distribution sections of our design report to match. This change does not affect our budget or schedule.

Team Status Report for 10/24

Team Progress

This week, our team tested the ESP32-S3 Sense and verified both camera and audio functionality. By connecting the ESP32 to a phone’s hotspot, we viewed a live camera stream and experimented with resolution and image quality. At 640×480, the camera sustained 24–28 fps, meeting our 24 fps requirement, with frames averaging 15–16 KB and peaking at 54 KB, below the estimates in our design report. The microphone gave clean, unclipped responses to impact sounds, and the microSD card mounted reliably at up to 40 MHz. Next week, we will measure SD write speed, Wi-Fi throughput, and current draw, then begin integrating these components into a single capture pipeline.

Risk Mitigation

During testing, the ESP32 felt quite hot to the touch after about 10 minutes of continuous video streaming, a concern for a device worn on the head. Since our final design keeps Wi-Fi off during normal recording, we will attach the included heat sink and retest with Wi-Fi disabled to see whether further ventilation or enclosure changes are needed. A second risk is storage throughput because the camera driver occasionally reported frame-buffer overflows, which could cause dropped frames once frames are also written to the SD card. We will measure the card’s sustained write speed and size the PSRAM queue to absorb brief write stalls.

Changes

No major changes have been made to our system design. Because the measured frame sizes were smaller than our original estimates, we will update the data-rate, storage, and transfer calculations in our design report to reflect measured values. This does not affect our component selection or budget. We remain on schedule, and slightly ahead on the software side, while continuing to evaluate potential thermal improvements based on our testing results.

Team Status Report for 10/17

Team Progress

This week our team worked together to complete the Design Review Report. After discussing with the course staff, we narrowed our use case to be primarily for billiard players. This way, our use-case requirements and report could be more specific in defending in what we presented.

Risk Mitigation

Now that the ESP32 has arrived some risks shift from theoretical to physical. Soldering errors and damaged components during assembly are a concern, since short circuits and weak connections could cause further damage later on and become difficult to diagnose. To mitigate this we have spare components for most hardware pieces, so that we are able to isolate errors to components and switch them out if necessary. Another risk is that the software transfer protocol in the current version of the application doesn’t work with the ESP32, and we can mitigating this risk by adapting the firmware and software to the hardware based on our testing this upcoming week.

Changes

Narrowed our primary use case to billiard players. However, we still noted that CapSure has many other applications but aren’t directly supported by our requirements.

Weekly Prompt

Part A: CapSure is designed to help billiard players capture and review shots without having to record an entire practice session. This need is not limited to one location or type of player. Billiards is played recreationally and competitively in many countries, so the system should be simple enough to use without requiring advanced technical knowledge or expensive equipment.  The recordings can be transferred directly to a phone over Wi-Fi, which avoids relying on cloud services or a constant internet connection. This makes the product more practical in pool halls, homes, or other environments where internet access may be unreliable. Keeping the system lightweight and built around a standard baseball cap also helps make it portable and usable across different settings.

Part B: CapSure addresses the desire to preserve memorable shots while respecting social expectations of shared playing spaces. Players may have different attitudes towards being recorded, and our intended use therefore involves informing participants as they are recording and making footage easily able to be discarded. The outward-facing indicator makes active capture readily visible, while local storage and user-controlled export give the wearer control over whether footage is shared. CapSure’s accessible physical controls allow players to save a shot without handling a phone, limiting interruptions to the pace of play, which is important for etiquette during a billiards game.

Part C: CapSure’s environmental footprint is small but not zero, since it is adds a battery powered electronic device to a customer’s tech ecosystem which will eventually result in e-waste. The housing will also be a plastic filament which is not biodegradable and will end up in landfill. However, the low resolution and low frame rate capture keeps power draw minimal and extends battery health, and since we are not using cloud storage, there is no ongoing energy cost of remote data centers. Option of local battery disposal and recycling will reduce the impact even more, depending on the user’s region.

Part A was written by Clarence, Part B was written by Ankita, and Part C was written by Jayden.

Team Status Report for 10/03

Team Progress

After the Design Review presentation on Monday, our team worked on the Design Report and on preparing for the hardware’s arrival. Ankita planned the firmware implementation and explained how our firmware choices support continuous recording, clip preservation, and transfer to the phone. Clarence sourced the remaining parts we need for integration, including connectors, switches, buttons, and breadboards. He also arranged access to a 3D printer for the enclosure and began learning CAD. Jayden made the phone app more robust against failures the real board could cause. Interrupted downloads now resume, each clip is checked before the device is allowed to delete it, and the app now validates the network being used.

Risk Mitigation

The main risk is still the arrival of the ESP32-S3, since sustained recording and recording during a transfer can only be measured on the real board. To prepare, Ankita is reviewing the camera, microphone, PSRAM, and SD card interfaces and writing initialization code so testing can start immediately. Her first goals are to confirm memory and storage, capture a JPEG, and check the microphone before building the full recording pipeline. Dropped frames from SD card write delays or Wi-Fi activity remain a concern, and we plan to address them with buffering and by batching SD writes. On the app side, we updated our mock device to behave like the ESP32, so connection problems surface during development instead of at integration.

Changes

There were no changes to our requirements or hardware this week. The app now downloads each clip as a series of small chunks, so an interrupted transfer only has to redo the chunk it was on. This fits within our existing communication protocol, but the firmware will need to handle many small requests reliably. We also plan to replace the shared development Wi-Fi password with a separate password for each device, so one user cannot connect to another user’s hat.

Team Status Report for 9/26

Team Progress

This week our team made lots of progress on flushing out all the details of our hardware and communication protocol between the CapSure module and mobile app.

Risk Mitigation

Right now the most significant risk is probably the delivery time of the ESP32-S3 which is the most essential piece of hardware we need to begin testing and development. To mitigate this, we will read the documentation and begin writing preliminary firmware so that we instantly have code ready to program once it arrives. Another risk to figure out is the transfer of the footage from the SD card to the phone, as write delays or Wi-Fi transfers could cause dropped frames or gaps in the rolling buffer, which would compromise the footage that we intend to preserve. To manage this, we updated testing requirements to test simultaneous saving and downloading; if these tests fail, we will adjust buffer allocation and SD write batching.

Changes

We took the feedback from the professors and agreed to update our use-case and matching design requirement for the battery life of our system. CapSure will now aim to support over 5 hours of continuous use to better suit the wide range of use-cases our intended audiences will have. We also updated our system such that Wi-Fi is a separate switch from the button to preserve the last 60 seconds; this allows the user to use CapSure in situations where they do not have their phone.

Additionally, we updated our Gantt Chart for our Design Presentation to include Division of Labor as well as important deadlines.

 

Weekly Prompt

Part A) CapSure addresses public health, safety, and welfare by allowing users to preserve a preceding minute of what just occurred in front of them without need to anticipate an event or immediately take out their phone. While some use-case scenarios are more fun (ex: capturing a missed moment at a sports game), CapSure also promotes welfare by accommodating cases where a person may be alone and want to record their surroundings for safety. Since CapSure is hands-free and records without needing a human trigger, this can  reduce the distraction of actively filming and help users document unexpected incidents. To support physical well-being, our design targets a module weighing less than 100g and contact-surfaces below 43°C, to liit the added weight and heat exposure for the user during wear. Retrospective recording can also support psychological well-being by giving users a way to revisit important events. To address the safety of bystanders and avoid CapSure being used as a hidden camera, a visible recording indicator on an LED will be on whenever the camera is on. The user is also able to delete footage on the app easily after it is saved, in the case that a bystander requests so. Wi-Fi only activates when the user presses a separate button, and saved clips remain protected until the phone verifies receipt. By keeping recording and retrieval local rather than requiring internet access or a cloud subscription, CapSure supports users’ access to personal records while limiting ongoing costs and dependence on external services.

Part B) CapSure is designed to meet the need for capturing unexpected moments after they occur while also considering the privacy concerns created by wearable cameras. A user may want a record of an incident, conversation, or event, but the people around them may not expect or feel comfortable being recorded. Attitudes toward recording in public can also vary between communities and social settings. To make recording more visible, CapSure includes an LED that remains on whenever the camera is actively capturing, giving nearby people a clear indication that the device is in use.

CapSure also limits how much footage is retained. The system continuously maintains only the most recent 60 seconds of footage, and a clip is permanently saved only when the wearer presses the physical trigger. This avoids creating an all-day archive of everyone the wearer encounters. Saved clips are stored locally rather than automatically uploaded to a cloud account, and transferring a clip requires the user to deliberately enable Wi-Fi and initiate the transfer. These design choices allow CapSure to provide retrospective recording while reducing unnecessary collection and sharing of footage involving bystanders.

Part C) Market alternatives like action cameras ($500+), smart camera glasses ($300+), and standard dashcams ($300+) carry high financial barriers for everyday use. CapSure addresses these economic factors by streamlining the product life cycle across production, distribution, and consumption. In production, using low-cost, modular commodity hardware like an ESP32-S3, 3D-printed mounts and simple switches keeps the initial manufacturing bill of materials under $50 while allowing flexible design iterations to easily swap components such as larger SD cards or better microphones to match evolving consumer demands. For distribution, CapSure fits directly into the user’s existing tech ecosystem by mounting on hats they already own and offloading clips directly to the smartphone they already carry, eliminating the need for redundant displays or extra peripherals. Finally, for consumption, CapSure operates on a buy-once, zero-subscription model since no cloud storage is necessary, delivering a low-cost and accessible way to capture and store personal moments.

Part A was written by Ankita, Part B was written by Clarence, and Part C was written by Jayden.

Team Status Report for 9/19

Team Progress

After our Proposal Presentation where students and professors brought up good questions during the Q&A, we finalized our use-case scenarios and with that the quantitative requirements we want our project to achieve. We are now moving forward with the design phase where we are doing deeper research into hardware components, specifications, and software architecture.

Risk Mitigation

The most significant risk to our project is lack of research into parts leading to us ordering hardware that won’t be used or turns out to be insufficient to our project demands. To mitigate this, we are flushing out the design which will be presented in our Design Review deliverables next week.

Changes

No changes to the project plan or schedule were made.