Jayden’s Status Report for 11/21

Accomplish

This week I helped build the second version of the CapSure hardware. Compared with the interim demo prototype, v2 has much cleaner dimensions, tidier wiring and more permanent soldered connections, which brings it much closer to the final wearable. I worked with Clarence on the wiring and soldering and made sure that the firmware and connections still operated normally. I also built a Blender layout of the enclosure, which we will use in order to improve the footprint of the device.

Progress/Schedule

My software work is on schedule, however I will need to investigate ways to improve the frame rate because now that we have switched a camera there is a bit more overhead to manage to bring our fps back up to 24.

Deliverables

Next week I plan to focus on testing, finalizing the build of the v2 prototype by iterating through a few different versions of the 3d modelled enclosure. Importantly, video quality and heat management are at the top of the priority for the testing phase.

New Tools and Learning Strategies

I have started to use blender because I find it a good way to model 3d objects and also visualize how it owuld look with an esp, camera and battery attached to it. For learning strategies, I found that using AI to help provide detailed feedback and account for unforeseen problems in our designs has helped reduce the amount of blockers we encounter.

Jayden’s Status Report for 11/14

Accomplish

This week we gave our interim demo, and I had the full system working end to end, with clips transferring to the phone in under a minute. I added color correction to fix washed-out footage, raised the resolution to 1280×720, and extended table detection to blue cloth. I also improved the app with live memory usage, thumbnails, and automatic connection.

Progress/Schedule

I am on schedule. The core features were all working for the interim demo, and the work that remains is mainly refinement and testing. The main open items are color consistency, since auto white balance causes slight hue shifts under changing light, and confirming that 1280×720 holds a steady 24 fps in dim rooms.

Deliverables

Next week, I plan to finish the color pipeline with a white-balance lock and settle the final recording settings. I will also test edge cases like a full SD card and work with Clarence to connect safe shutdown to the power circuit.

Jayden’s Status Report for 11/7

Accomplish

This week, I brought up the Wi-Fi link between the device and the phone app and worked to find what limits its speed. The ESP32 hosts its own access point and HTTP server, and I upgraded the app to Expo SDK 58 and added an in-app Wi-Fi test screen. After I attached the external antenna, throughput rose from 0.13 MB/s to about 0.5 MB/s. The device now builds clips on request from the stored two-second segments, supports resumable downloads then worked with Clarence to wire the save button, recording LED, and Wi-Fi switch on the breadboard according to our pin assignments. To work around the per-connection speed limit, I implemented parallel downloads on both the device and the app. Single-connection downloads work, but the parallel version is still timing out on hardware.

Following our shift toward pool players, I added pool-table detection. The device checks a downscaled camera frame and treats the table as present when it detects sufficient pixels in green, and only records when this condition is met. This adds a layer of security for the user and bystanders.

Progress/Schedule

Clip transfer is behind our 2.5 MB/s requirement and at the current speed of about 0.5 MB/s, a one-minute clip takes roughly 70 seconds to transfer. For the demo, we will read clips directly from the SD card. Table detection and gated recording are new features from the pool pivot, and both are working on the breadboard. To recover the transfer schedule, I will either get parallel downloads working or rebuild the firmware with larger TCP buffers to reach 2–3 MB/s.

Deliverables

Next week, I plan to raise clip transfer to at least 1.5 MB/s and measure the result with the benchmark script. I will also test table detection under pool-hall lighting, measure how often it misses the table or triggers without one, and tune the thresholds. I also plan to demonstrate the full path from a table-gated recording to playback in the app.

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.

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.

Jayden’s Status Report for 10/17

Accomplish

This week I focused on the Design Review Report, specifically narrowing our specifications as we have decided to focus on making the Capsure device used by pool players. The most important piece I worked on was the Design Requirements since I needed to balance feasibility with sufficiency, while also making sure that it was well defended. I assisted Clarence with soldering the battery for the ESP32.

Progress/Schedule

In terms of the software component, we are still slightly ahead of schedule. However the more time-variant portion will be to establish a reliable connection between the ESP32 with the device. Now that our use case has narrowed and the design is flushed out, the application integration should be easier to debug when problems arise.

Deliverables

This week I want to test out the ESP32 camera parameters which include resolution, frame rate, compression rates and power consumption. These matter a lot because in the design requirements the numbers were calculated using optimistic values and estimates from online, but it is likely that the measured ones will deviate slightly so we will need to adjust our calculations accordingly.

 

Jayden’s Status Report for 10/03

Accomplish

This week, while we wait for the ESP32 to arrive, I focused on making the phone software robust against failures the real board could cause.

The device client now sends one request at a time, retries when the device reports it is busy, and pauses status updates during transfers.
Downloads now resume where they left off, and each clip is checked for size and parsed before the app tells the device it can free the space.
The app now gives the user clear instructions, such as turning on the Wi-Fi switch, instead of generic errors.
I also added security checks to validate clip IDs coming from the device, accepting only local network addresses. Finally, I updated the mock device so it behaves more like the ESP32 and can simulate dropped transfers. That way these cases are tested before the hardware arrives.

Progress/Schedule

We are still slightly ahead of schedule on software. The hardware hasn’t blocked progress, because the work moved to edge cases and reliability that would otherwise have been found during integration.

Deliverables

The next deliverable is still an end-to-end Wi-Fi transfer from a real ESP32 to the Expo Go app, now tested against the single-client and interrupted-transfer cases. After that, I’ll connect the settings screen to real device readings (battery percentage, temperature, and storage remaining), and work with Ankita on per-device Wi-Fi credentials.

Jayden’s Status Report for 9/26

Accomplish

This week I focused on the scaffolding of the phone side of CapSure, to set up the development environment and transfer over a video wirelessly on a mock application. The app successfully renders and is able to download videos, and I also locked the open transfer architecture questions to using WiFi gated by a physical switch, after reasoning about the user flow within the application.

Progress/Schedule

In terms of software, we are slightly ahead of schedule as I have shown that the current software stack is likely to work, however we will have to wait until the ESP32 arrives before I can adjust the transfer protocol to match the device.

Deliverables

The next main deliverable on my end is a fully flushed out connection over a real board over Wifi, even without the camera it would be an accomplishment to be able to transfer data from an ESP to an ExpoGo app. Additionally, functionality to change the app from a mock to real displays including battery percentage, temperature and memory remaining.

Jayden’s Status Report for 9/19

Accomplish

Did more extensive research on the software constraints for the project. The ESP32 will use Bluetooth Low Energy (BLE) but we should still have Wi-Fi for transfers fast enough to meet our requirements. For development I have chosen to use ESP-IDF in cursor for AI assistance, which will hold an http server and wifi endpoint. I am also choosing to use Swift with Xcode since I have had experience there.

Progress/Schedule

So far, everything is on schedule and we are stretching tasks forward from the gantt chart to frontload work and increase parallelization.

Deliverables

Next week I’ll set up the software stack and design a MVP software architecture with transfer protocols in the Design Review, and also determine how the phone should join the device’s Wi-fi/connection, because a new potential issue is that user’s don’t want the friction of switching Wifis.