Team Status Report for Week 11

Haowen finished the main part of the tag data path. The firmware can now receive Jeffrey’s sensor packets over UART, check the CRC, and discard packets that are corrupted. Valid packets, up to 88 bytes, are then included in the Bluetooth advertisement. The 160-microsecond tone used for angle measurement continues running at the same time. I tested this using a frame generator and on the actual board.

Jeffrey and Matthew also collected pool data at the Cohon pool this week. They recorded all four stroke types and counted the laps by hand. The current algorithm counted almost twice as many strokes in the water as it should. The thresholds were originally tuned using movements on land, which are different from actual swimming movements. Jeffrey is now using the recorded pool data to adjust the algorithm.

On the Raspberry Pi side, the software can receive messages from the anchor and separate the IMU data from the angle data. It also converts the angles into positions and lane information, filters noisy readings, and uses an extended Kalman filter to fill in missing data. We tested this with recorded session data. The connection to the web portal is still being worked on.

For the hardware, we placed the PCB order. The assembled boards are expected to arrive in less than a week and a half. We also reinforced the connections on the base station after experiencing some connection dropouts.

Risks and How We Are Handling Them

One concern is that the PCB may arrive later than expected, since the delivery date is close to Thanksgiving. To avoid holding up the project, we have already prepared the firmware for the same chip on the development board, and the required build versions are ready. If the PCB does not arrive in time, we can continue the pool tests with the current working wearable and test the PCB later in the lab.

Waterproofing and battery safety are another concern. We found condensation inside the prototype, so we are adding a sealed casing and a silica gel packet. We also plan to test the casing with shocks and longer periods of water exposure. If the casing is not ready for the demo, we will use a double-sealed bag while keeping the battery protection circuit in place.

The stroke counting algorithm also needs more work. The thresholds that worked on land caused the system to count too many strokes in the pool. Jeffrey is adjusting the thresholds using the recorded swimming data. We will then test the updated version on a new session rather than using only the data used for tuning. If the accuracy is still below the target, we will report the results separately for each stroke type.

Wireless reliability is another issue. In the initial test, the anchor received about 92% of the tag’s transmissions, and it can track up to 25 tags at the full update rate. We plan to send each packet more than once and test shorter advertising intervals next week. We have also changed the tag capacity requirement from 50 to 25. If more tags are needed later, the system may have to use a second anchor or reduce the update rate.

There is also a limitation with the angle measurements. A single anchor can measure direction, but it cannot directly tell how far away the tag is. This means we need to make some assumptions about the tag’s position in the pool. We plan to test at several measured points along different lanes. For now, the main goal is to make sure the system can correctly identify the swimmer’s lane.

We have reinforced the connections to reduce the chance of losing the hardware, and we are keeping recorded data so that software development and testing can continue even without the physical devices.

Design Changes

We changed the CTE tone length from 128 to 160 microseconds after checking the anchor manual, which requires this setting along with a specific beacon format. This did not require any additional hardware, and we updated the design document before testing.

We also reduced the maximum number of supported tags from 50 to 25 because the anchor can only track 25 tags at the full update rate. This is a smaller capacity than originally planned, but it should still be enough for one lane group. If we can get another anchor, we can consider increasing the capacity.

Another change was adding a 2 ms delay between characters when sending commands to the anchor. We found that commands sent too quickly sometimes lost individual characters. In the test, 11 out of 200 commands failed without the delay, while all 200 worked after adding it. This makes the setup process slightly slower but does not affect normal data transmission.

We also added a sealed casing with silica gel to the wearable design to address the condensation found inside the prototype.

Updated Schedule

During week 12 (November 16–22), we plan to work with Matthew on checking the forwarded packets and running the timing tests. We will also test the UART connection between Jeffrey’s Pico and the development board. On the software side, we need to get the web app and firmware running on the Raspberry Pi and test the updated stroke detection algorithm using a new swimming session. We also plan to complete the first half of the angle accuracy test and build and test the sealed casing.

During week 13 (November 23–29), we will bring up the PCB once it arrives. Pool testing is planned for Monday through Wednesday, including angle accuracy out to 25 m, lane discrimination, packet loss, and latency. We will then focus on final integration and the report. Since Thanksgiving is on November 26, we are not planning project work from Thursday through Sunday.

Verification and Validation

Each subsystem is responsible for testing its own technical requirements, as described in the individual subsystem reports. In addition, we need to test the complete system to make sure it works for the actual swimming use case.

For stroke counting, we will test all four stroke types in the pool and compare the system’s results with laps counted by hand. We will calculate the accuracy for each lap and the average accuracy for each stroke type. The final test will use sessions that were not used to adjust the algorithm. The target is at least 85% accuracy.

For position accuracy and lane discrimination, we will place the tag at points measured with a tape along several lanes, with test distances up to 25 m. We will calculate the position error at each point, along with the mean and 95th percentile error, and check how often the system identifies the correct lane. The position error should stay below 1.07 m.

We will also check timing accuracy by recording wall touches and comparing the actual times from the video with the timestamps shown on the dashboard. We plan to test at least 20 touches and calculate the error for each one, including the average and worst-case error. The target is less than 110 ms. For end-to-end latency, we will record the tag event and dashboard update in the same video and repeat the test at least 20 times. We will calculate the median and 95th percentile latency, which should both stay below 1 second.

To test capacity, we will use real tags along with replayed traffic to simulate 25 tags sending data through the Raspberry Pi and web app. We will check packet loss and latency as the number of tags increases. The system should keep packet loss below 5% and latency below 1 second.

Battery life will be tested by running the wearable PCB from a full charge until shutdown. If needed, we will also measure the average current consumption and use it to estimate battery life. The target is at least 4 hours. Finally, we will check the device’s weight, strap pressure, and waterproofing. This includes weighing the complete device, calculating the pressure from the strap, and checking for water inside after shock and water exposure tests. The device should weigh no more than 55 g, the strap pressure should stay below 9.5 kPa, and there should be no water inside the casing.

For each test, we will record the actual results and the number of samples. If something does not meet the requirement, we will first try a simple change, such as adjusting the advertising interval, changing the stroke detection thresholds, or moving the anchor to a better position.

Team Status Report for 11/7/2026

This week, our team made progress towards continuing to integrate our system and working towards our interim working product. Haowen worked primarily on wireless firmware, Jeffrey worked on the compute firmware for the Pico/Raspberry Pi anchor, and Matthew worked on the PCB wearable used in our final product.

At this point, we are close to achieving a minimum viable product. The biggest risks will therefore be the unexpected challenges we encounter during integration, as well as the accuracy of the metrics we are able to measure. Specifically, some measurements such as wall detection, latency and AoA are still untested untill we have a systemwide integration. We are meeting on Sunday (Tomorrow) to work on systemwide integration, where we are hoping to establish a wireless connection between the wearable and antenna/anchor.

To address risks, In the short term, we have allocated significant time during the day tomorrow to account/derisk for integration challenges/hiccups. In the longer term, we plan to move ahead our integration time line to prioritize the cohesive system, while deprioritizing some lower-risk miscellaneous tasks. However we are still sticking to our relative schedule in terms of major tasks/deadlines. To address the risk relating to accuracy, we plan to do more extensive real-world testing after we are ready for our interim demo. The limited testing we have done with stroke count gives us an okay baseline accuracy, which will only get better with testing reflecting more realistic conditions. And once we have our rough integration ready, we should have a baseline working system that will allow us to make optimizations in parellel, reducing any risk of one dependency holding us up. In addition, Matthew’s prioritizing the PCB development helps derisk us from the PCB bringup risk identified in previous weeks.

Although some smaller tasks have shifted around, our overall schedule in terms of major goals has not changed.

Team Status Report (Week 8)

Overall Summary & Progress Highlights

Hardware & Wearable Assembly: After receiving the remaining prototype components, we assembled and soldered the wearable prototype. Using component schematics as a reference, we connected the Raspberry Pi Pico WH to the ST LSM6DSOX IMU, including power, ground, and data connections. A custom test script successfully captured 6-axis motion data from the IMU. The Nordic radio was also configured and soldered to the Pico, bringing the wearable hardware closer to completion. In addition, we built a custom wiring harness to connect the u-blox ANT-B10 antenna array to a computer for base station testing.

Signal Subsystem (u-blox ANT-B10 & nRF52833 Tags): The development environment was set up in Visual Studio Code using the nRF Connect SDK and Zephyr RTOS. We resolved macOS dependency and CMake package registry issues and configured the 18500signal workspace and core firmware files, including CMakeLists.txt and prj.conf, in preparation for BLE direction-finding development. The next step is to implement and validate 20 Hz periodic advertising with a 128 μs Constant Tone Extension (CTE) on the target hardware.

Software & Web/Cloud Backend: We initialized and configured the core AWS cloud infrastructure, including the database schema and endpoint listeners, in preparation for receiving and processing telemetry data. End-to-end data transmission remains to be tested once the serial parser and data stream are integrated.

Project Risks, Management & Contingency Plans

A key risk is successfully establishing communication and validating direction-finding performance between the wearable’s Nordic radio and the u-blox ANT-B10 antenna array. Indoor RF interference may affect reception and measurement accuracy. Another uncertainty is whether motion data collected on land will adequately represent swimming strokes in a pool environment.

To manage these risks, we completed the initial hardware assembly using prototype breakout boards and tested the IMU independently, allowing motion-data collection to begin before full system integration. The software development environment is being prepared in parallel with hardware integration so that receiver data parsing can proceed once the antenna array is connected to the host computer. Land-based stroke data collection will provide an initial baseline before in-water testing.

System Design Changes

No major changes were made to the system requirements, block diagram, or core specifications this week. We built a custom wiring harness to connect the ANT-B10 antenna array to a computer because a suitable off-the-shelf adapter was not available. This was a minor hardware integration adaptation rather than a change to the overall system design. The harness was assembled in-house, avoiding the need to source a separate adapter. No schedule impact has been identified from this adaptation.

Schedule Update & Deliverables for Next Week

The project remains on schedule this week, with the main outstanding tasks being the completion of the Signal Subsystem firmware and end-to-end integration testing.

Next week, we plans to begin collecting stroke motion data on land and integrate the existing test scripts into the wearable’s unified firmware on the Pico, implement the tag firmware for 20 Hz periodic advertising and 128 μs CTE, build the firmware for the nrf52833dk_nrf52833 target, begin developing a Python serial parser for incoming +UUDF ASCII frames and begin testing the telemetry pipeline from the serial parser to the AWS database endpoints.

Schematic:

Team Status Report for 10/11/2026

This week, we began the process of assembling our product/system, with Jeffrey and Matthew doing work on assembling the prototype wearable, and Haowen beginning development work with the ANT-B10 antenna array. Additionally, we all worked on the design review to finalize details of our planned implementation.

At this point, the most significant risks are pertaining to the accuracy of the measurements we will receive, as well as the timeline for our product. Both risks were accounted for in our planned implementation in our design report. Our accuracy can not be truly gauged until we can begin real-world testing, so we have invested in the development of the prototype wearable based on the same system to begin development early. The prototype development will also help our general timeline, as we can begin code development/system ingreation in parallel with the bringup of the PCB.

Since last week, the only major change ot our system design was the substitution of a Raspberry Pi 4 instead of an FPGA. This decision, which was elaborated in our design report, was conducted based on testing from this week. It does not represent a significant deviation from our timeline, as the code for the FPGA was not planned until later, so we can simply replace the FPGA programming to-do with programming the Pi. Pictured in the prototype wearable that Matthew and Jeffrey began assembly of.

 

Special Considerations:

 

Part A was written by Jeffrey Liu

Geographically, our product solution could have a global reach, as swimming is not a localized activity and is done at a high level throughout all continents. However, although nothing about our solution is local to the Pittsburgh area, some of our use case research was based on US specific information, such as NCAA guidance for practice duration and team size. That is not to say that it would negatively affect global users of our product, as our product could be applied well anywhere in the world, but the use case was catered towards U.S-specific guidelines. 

A larger impact may be found in the gap between those who are not technologically savvy and those who are. In our implementation, we are seeking to enable greater access to swimming metrics, aiding those who are less technologically savvy. In doing so, we are putting those with a medium technical proficiency on the same level of those with higher proficiency. However, in doing so, swimming teams with lower levels of technical proficiency may fall further behind, as they will not have access to information that more teams will now have access to. Similarly, this may negatively impact swimmers in teams or areas without the means to afford this solution. Although lower in cost than higher-end systems, the projected cost of our system (anchor + each wearable) may be beyond reach financially for certain teams

Part B was written by Matthew Kwee

Our project is designed to support a good team culture; we believe the system will improve the dynamic between coaches and swimmers during daily practices. Because coaches with stopwatches can only time one or two swimmers at any given moment, they can only realistically provide feedback to a handful of team members (usually the fastest swimmers), leaving other athletes with little feedback. By automatically tracking up to 50 swimmers at once, our system effectively performs the first, most tedious step of a coach’s analysis automatically, freeing up their time to focus on more detailed instruction. Slower, developing swimmers receive the same objective split times and stroke data as the top athletes, which we believe will foster a more inclusive and encouraging team environment.

The platform also should help athletes develop a better technical understanding of swimming. Having access to metrics like stroke rate, distance per stroke, and turn times will help driven swimmers understand how technique affects speed, allowing them to train smarter. However, continuous tracking can also cause stress if athletes feel they are constantly being watched and assessed. To prevent unnecessary performance anxiety and unhealthy peer comparison, the system includes privacy controls that lets teams turn off public leaderboards while allowing swimmers to see their personal improvement.

Part C was written by Haowen Huang

Our project is designed with both user safety and environmental impact in mind. It uses Bluetooth Low Energy to keep radio emissions low. The wearable tags are made with materials to help prevent skin irritation and keep unwanted materials out of the pool water.
To save energy, the system uses power-efficient firmware. This can extend battery life, reduce the need for replacements, and create less battery waste. Processing data locally also reduces the need to send information to remote servers.
The system also uses random delays between transmissions to reduce the chance of multiple tags sending signals at the same time. Its modular design makes it easier to repair or replace individual parts, such as wearable tags, base stations, and computing devices, without replacing the entire system. This helps the equipment last longer and reduces electronic waste.

Team Status Report for 10/3

Overall Summary:

This week, we delivered our design review presentation and focused on component selection, toolchain configuration, and prototyping our initial development hardware. We verified the functionality of our core dev boards (u-blox ANT-B10, Raspberry Pi Pico WH, and FPGA), established communication with the FPGA’s Linux core via SSH, and finalized key wearable components, such as selecting the low-power ST LSM6DSOX IMU on a breakout board to de-risk prototype assembly. We also set up our Nordic direction-finding software environment. Our project is on schedule for fabricating the prototype next week to gather data.

Key Progress

Design Presentation:

Haowen + Matthew: Assisted in writing the Design Presentation slide deck.

Jeffrey: Wrote and delivered the Design Presentation on Wednesday.

Signals:

Haowen: Unboxed and verified the u-blox ANT-B10 antenna array, mapped SWD and UART pin headers, and configured the nRF Connect SDK environment to prepare for flashing the direction-finding firmware and testing 20 Hz BLE Constant Tone Extension (CTE) packet broadcasts from the Pico WH.

Software:

Matthew: Maintained development trajectory for the web platform’s upcoming historical data portal, setting up infrastructure for serving performance insights to users.

Jeffrey: Established SSH access to the FPGA’s Linux environment and began implementing a C benchmark suite on the ARM core to evaluate processing latency against FPGA SystemVerilog logic.

Hardware:

Matthew: Evaluated multiple IMUs and selected the ST LSM6DSOX 6-axis chip for its ultra-low power consumption (~0.5 mA) and decently low output error.

Jeffrey: Validated basic power and GPIO operation across all received microcontroller boards.

New Risks + Mitigation: Dead Reckoning Drift vs Angle of Arrival Inaccuracy

Tracking swimmer position down the lane relies on combining wearable IMU dead reckoning with Bluetooth Angle of Arrival (AoA) direction finding at the poolside base station. However, both modalities face compounding error sources. Dead reckoning suffers from exponential integration drift within seconds of forward swimming, while AoA suffers from signals reflecting off the water’s surface, and periodic signal loss when the wearable is submerged

We plan to manage these issues through a combination of the two systems:

1. Swimmers should be physically restricted to linear lanes, and cannot deviate from a 1D line by more than 1.5m. Rather than solving for 2D/3D positions, we will project AoA angle rays directly onto the swimmer’s known 1D lane vector.
2. The continuous IMU dead reckoning model will be updated periodically whenever the wearable surfaces and transmits a valid AoA packet.
3. Zero-Velocity Reset: Every time the IMU detects an impulse from a swimmer pushing off the wall, their spatial position and velocity will be hard-reset to the known physical pool boundary, clearing all accumulated dead-reckoning drift every lap.

 

No significant changes to the schedule were made at this point in time.

Team Status Report for Week 5

Executive Summary

This week, we locked down our hardware choices, set up the web dashboard UI, and validated our BLE 5.1 Angle of Arrival (AoA) pipeline. Offloading RF processing to Nordic silicon avoids complex FPGA timing work. Next week, we’ll focus on assembling the wearable prototype to collect real telemetry data.

Key Progress

  • Signal (Haowen): Confirmed the nRF5340 Network Core handles BLE CTE sampling in hardware, outputting clean angle scalars over UART (115200 baud). Designed a 2-stage filter (Median + Moving Average) to handle water surface multipath. Unboxed the nRF5340-DK, ANT-B10, and Pico WH, and prepped the nRF SDK in VS Code.
  • Software (Matthew): Set up the web app repo and built a poolside-friendly UI featuring an Outdoor High-Contrast mode, a 2-second touch-lock screen, and Wake-Lock API integration. Added a stream-level Jitter Buffer for out-of-order packets and built a 3-tap tag pairing menu.
  • Hardware (Jeffrey): Established a two-phase wearable strategy (off-the-shelf prototype -> custom PCB). Selected Raspberry Pi Pico + Pimoroni MCP73831 for the prototype and XIAO RP2040 Plus + LiFePO4 battery for the final PCB. Created architecture diagrams for the design review.

Risks & Mitigations

  • Shipping & Power Supply Delays: FPGA power supply is delayed -> Mitigated by using off-the-shelf Pico WH and nRF5340-DK boards to assemble the wearable prototype first.
  • Water Surface Reflections: Splashes cause signal jitter -> Mitigated via Median filtering on compute and a Jitter Buffer on the web app.

Considerations

Part A was written by Jeffrey Liu:

We don’t expect our product to have too much of a direct impact on public health, safety, and welfare. One could make the argument that since exercise is good for health, by making a device that improves the swimming experience and improves coaches’ ability to train swimmers, that there will be a broad benefit to public health by encouraging more people to exercise and stay healthy. Swimming is also an important survival skill in certain areas, so encouraging swimming may help public health in that regard. With regards to safety, our main concern with our project is that there is no safety hazard to the users. In our case, the primary safety consideration would be that the wearable device needs to have a battery. With that in mind, our battery choice of a LiFePo battery is among the safest lithium-ion battery chemistries that is available and we will keep battery safety in mind when designing the surround circuitry. Additionally, the material we will make sure is skin-safe in water, as it will be worn for prolonged times. Our project is probably least applicable to welfare, as swimming training/guidance is not a basic provision that people need to survive.

Part B is written by Matthew Kwee:

Our platform addresses technological and socioeconomic disparities across competitive swimming. Swimming has a well-documented resource divide: elite collegiate programs and affluent private clubs can afford multi-thousand-dollar camera rigs, underwater timing gates, and dedicated biomechanics staff, while municipal clubs and public high schools rely solely on hand-held stopwatches and visual estimates. By delivering accessible, low-cost tracking, our project democratizes sports analytics. This lowers the barrier to data-driven coaching for underfunded teams, fostering greater competitive equity across different socioeconomic communities.

Our system also meaningfully alters coach-athlete dynamics. In a typical practice with 20 to 30 swimmers circling in crowded lanes, a coach can realistically only focus their stopwatch and feedback on one or two athletes at a time. This naturally leads to unintentional disparities in attention and may result in perceived bias. By providing simultaneous, automated metrics across all lanes, coaches can distribute attention and constructive feedback much more equitably, building a fairer and more supportive team training environment.

We must also consider the social and psychological impact of continuous performance surveillance on young athletes. In high-pressure sports environments, constant metric tracking and public leaderboards can sometimes foster unhealthy peer comparison, burnout, or anxiety. To protect team culture and swimmer well-being, we will design the software around configurable privacy controls. Coaches can decide whether performance data is shared openly on a team board to foster healthy camaraderie, or kept private between the individual swimmer and the coaches to focus purely on personal development.

Part C is written by Haowen Huang:

For our project, economic considerations directly shaped our choice of hardware, aiming to deliver high-precision tracking without the prohibitive price tag of existing solutions. By using commercial off-the-shelf components (Nordic nRF5340, u-blox ANT-B10 array, and Raspberry Pi Pico), we avoided the heavy development and production costs of custom ASICs or sub-nanosecond FPGA hardware. This keeps both our prototyping expenses and eventual unit manufacturing costs low. Our system also fills a major cost gap in sports analytics. Existing swimmer-tracking tech usually relies on optical camera rigs or underwater timing systems that cost thousands of dollars, putting them out of reach for most high school programs or local swim clubs. Using BLE 5.1/5.2 Angle of Arrival lets us deliver real-time spatial data at a fraction of the hardware cost, making data-driven coaching accessible to smaller teams with tighter budgets. Finally, long-term maintenance costs are kept low through a modular design. The wearable tag uses an energy-efficient microcontroller and a rechargeable battery to extend hardware lifespan. Because individual tags are cheap and easy to swap out, a damaged or depleted tag can be replaced on the spot without replacing or reconfiguring the poolside base station.

Next Week’s Goals

  1. Signal (Haowen): Flash the nRF5340 SDK Rx sample, verify raw angle output over UART, and wire it to the Pico WH.
  2. Software (Matthew): Pause web development temporarily to assist Jeffrey with physical wearable assembly and data logging setup.
  3. Hardware (Jeffrey): Place orders for verified prototype/PCB parts and assemble the initial wearable prototype once parts arrive.

Team Status Report for 9/19/2026

At this point, the most significant risks we foresee pertain to how quickly we can finalize some of the additional choices in our design, such as whether the wearable will utilize a microcontroller vs PCB and the components on the wearable such as the IMU, the voltage the devices will operate at, and the exact frequency band.

To manage these risks, we have assigned different areas of further research into the commercially available microcontrollers and components, and the optimal frequency to transmit at. In case our microcontroller/PCB decision ends up needing to be changed, we will still be able to test out components such as the radio transmitter on off the shelf components we have (Arduino).

We have not made any changes to the design of our system yet, as we are still working to finalize some of the final pieces of our initial design. No changes to our schedule have occurred.