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.

Clarence’s Status Report for 11/7

Accomplish
This week, I designed, printed, and tested the first version of our clip and enclosure for the main ESP system. I used OnShape for the 3D design and sent in the order to TechSpark through the FBS system. I’ve tested that the clip easily attaches to the brim of the hat and remains in place. In addition, I sent in purchase forms for a miniature billiards table for our demo and testing. I also prepared one of our ESPs to connect to the battery by soldering JST connector pigtails onto the bottom pads while preparing a test setup with a breadboard for our full integrated system.

Progress/Schedule
The progress on my part is pretty on track although I would like to begin integration testing with the battery and ESP instead of using laptop power for the ESP. I plan to work with Ankita and Jayden on the firmware for power on/off when the SPST switches arrive.

Deliverables
Next week, I want to refine the enclosure design to support the camera that will be facing outwards and better stabilize the ESP module. I would like to account for wires and components that will be connected to the ESPs pins, likely by directly soldering the wires.

Ankita’s Status Report for 10/31

Accomplish

This week, I worked through the firmware’s operating behavior and developed state-machine pseudocode for startup, continuous recording, saving clips, Wi-Fi transfers, recovery, and shutdown. I clarified how overlapping saved clips will share stored footage and remain protected until the app verifies successful receipt. I also outlined the external pin assignments for the save button, Wi-Fi switch, and recording LED, with proposed power-control connections pending coordination with Clarence.

I also explored the physical mounting design and developed a concept for a 3D-printed brim clip with a shallow rectangular board tray above the brim and wires exiting the side.

Progress/Schedule

The firmware plan now defines the main states, triggers, and hardware interfaces more clearly. Implementation and hardware validation are the next steps. The main remaining hardware dependency is confirming the power-control circuit so firmware can finish pending writes before power is removed.

Deliverables

Next week, I plan to begin implementing the firmware structure and testing the button, switch, and LED connections. I will prioritize initializing the camera, microphone, and SD card before integrating rolling capture and clip-saving logic. For the mount, I plan to measure the assembled board and hat brim and use those dimensions to create an initial CAD model for a fit-test print.

Jayden’s Status Report for 10/31

Accomplishments
This week I built the first version of the capture firmware and confirmed it can save clips to the SD card. The videos clearly captured music, talking to people and using my computer. The device continuously records timestamped camera frames and audio into rolling 2-second segment files. When a save is triggered, it protects every segment that overlaps the previous 60 seconds and writes a json file describing it. I tested the clip selection and confirmed it keeps the correct window. I also wrote a decryption script that converts a saved clip into a playable MP4 for testing. Along the way I fixed dropped video frames by enlarging the camera’s frame buffers and fixed an audio big which removed a buzzing. During recording, nothing was dropped from our write queue, the worst SD write took about 20 ms, and the queue peaked at about 221 KB of its 4 MB.

Progress/Schedule
We are still slightly ahead of schedule on the software side. The core capture-and-save pipeline now works end to end, which was the most important piece of device firmware. The microSD card is keeping up comfortably, so storage is no longer a major risk.  Audio-video sync and smooth playback also still need tuning and the main remaining risk is reliable, fast wireless transfer from the ESP32 to the phone.

Deliverables
Next week I will:

measure the audio-video offset and fix any remaining playback timing issues
decide whether to add an external microphone, based on testing the onboard mic in different positions
measure Wi-Fi throughput at 3 m and current draw while capturing

I will then start the device’s Wi-Fi server, so the phone app can list and download saved clips.

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.

Clarence’s Status Report for 10/31

Accomplish
This week, I accomplished the deliverables I set out from last week. Some new things added to the BOM and ordered were simple baseball caps, a breadboard kit, and SPST switches for our power and WiFi switch. The power switch will be in between the battery and ESP so we can easily unplug and charge as well as turn on/off the device when not in use. I researched different switch’s power/current ratings to ensure it was compatible with our 2000mAh battery. In addition, I have preliminary LLM generated designs for how our how to design a clip to attach CapSure to the hat. I’ve also found starter models on Thingiverse to build off of.

Progress/Schedule
The progress on the hardware, 3D design side is on schedule as these components are not necessary until later.

Deliverables
Next week, I hope to have a rendered model in OnShape or Tinkercad with more accurate dimensions. The hats should arrive by then so I will have a better perception of what we need.

Ankita’s Status Report for 10/24

Achievements

This week, I primarily helped test the ESP32-S3 Sense camera with the team. We viewed the live camera stream and experimented with resolution and image quality. At 640×480, the camera achieved approximately 24–28 fps, meeting our 24 fps requirement. The measured frame sizes were also smaller than our original estimates, which gives us more room for storage and transfer. During testing, we noticed heating after extended streaming and occasional frame-buffer overflow messages, which we will need to investigate during integration. I reviewed how the camera test code could fit into our final firmware and outlined the next steps for the capture pipeline. This included planning how to timestamp camera frames, write recordings into short segments on the microSD card, and reuse older segments to maintain the rolling 60-second buffer. I also considered how a button press should protect the preceding minute from being overwritten while the clip waits to transfer to the phone.

Progress

We are currently on track, but a significant amount of firmware work needs to be completed to stay on schedule. The individual component tests are a useful starting point, but we still need to integrate camera capture, audio capture, timestamping, and SD writes into one reliable pipeline. My next priorities are implementing the rolling 60-second buffer and button-triggered saving. Starting integration early will give us time to address issues such as dropped frames, storage delays, and audio/video synchronization.

Deliverables
Next week, I plan to begin integrating camera capture with timestamped writes to the microSD card. I will also help measure sustained SD write speed and investigate the frame-buffer overflows so we can understand how much buffering is needed. Once that basic path is working, I will work toward incorporating audio and organizing recordings into rolling segments. We will also retest heating with the heat sink attached and Wi-Fi disabled to better represent normal recording conditions.

Jayden’s Status Report for 10/24

Achievements

This week I set up the Arduino toolchain on my laptop, which meant working through several compatibility issues. Then I wrote small test programs for the camera, microphone, microSD card and Wi-Fi. At 640×480 the camera ran at about 24–28 fps, so it meets our 24 fps requirement. Frames averaged 15–16 KB, with a largest frame of 54 KB. The microphone gave a clean, quiet baseline at rest and reacted sharply to impact sounds without clipping. The microSD card mounted reliably at every SPI speed up to 40 MHz, and the Wi-Fi camera stream connected successfully.

Progress/Schedule
We are still slightly ahead of schedule on the software side. The measurements came in better than the estimates in our design report. The measured average frame is well below our assumed 25 KB, which brings the average data rate down to about 416 KB/s and a 60-second clip down to about 25 MB. The largest frame of 54 KB is about half our 100 KB budget, so our storage and transfer requirements have extra margin. The main remaining risk is still reliable, fast transfer between the ESP32 and the phone. Each component now works on its own, which should make integration problems easier to isolate.

Deliverables
Next week I will finish the measurements that are still open:

  • microSD sustained write speed, against our 5 MB/s target
  • Wi-Fi throughput at 3 m
  • current draw while capturing, and the battery voltage reading

I will then start the firmware that writes timestamped camera and audio data to rolling 2-second segments on the SD card, so we can begin implementing the capture portion of the device.

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.

Clarence’s Status Report for 10/24

Accomplish
This week, I set up an FBS account with TechSpark so that our team can submit custom parts for 3D printing later in the project. However, it is still difficult to begin designing exact enclosure components until we finalize the placement and sizing of the hardware on the hat. After our weekly meeting on Wednesday, I also began revising the design report based on the written feedback we received. Most of these revisions are relatively small, such as improving diagram labels, making the block diagram more compact, and clarifying some of the technical details so that our design decisions are easier to understand.

Progress/Schedule
Our progress on the hardware side is currently on schedule, and we have not made any major changes to either our overall timeline or system design. Moving forward, we also want to spend more time considering the professors’ feedback about demonstrating additional technical depth in the project. This may involve adding another meaningful feature, potentially something involving computer vision, as long as it fits within the scope of CapSure and does not interfere with our core requirements.

Deliverables
For the upcoming week, I plan to place orders for a baseball cap and any additional switches or buttons that we need for the physical controls. I also want to create an initial, rough 3D model of the enclosure. This first design will mainly be used to explore component placement, approximate dimensions, mounting, and how the electronics can fit comfortably on the hat before we move toward a more finalized design.