Team Status Report for 10/31/2026

Overall Summary

This week, our team finalized the wearable PCB layout for manufacturing export, validated the core wearable firmware modules, and established our Bluetooth direction-finding toolchain. While working around limitations such as RF keepout rules for the NINA-B406 (our transciever chip), we completed and verified our final PCB design, replacing vertical pin I/O with through-hole pads to minimize water resistance. Core wearable firmware (including CRC16 verification, packet serialization, and ring-buffer management) passed stress tests, and small simulated swimming IMU datasets were recorded across all four strokes. On the direction-finding front, we configured the nRF Connect SDK, built tag firmware, and developed automated test scripts for validation.

Key Progress

Hardware

Matthew: Created the 24x32mm wearable PCB layout, passing all design rule checks and preparing files for Gerber export. Optimized board z-height and water resistance by replacing vertical battery and Qi pin headers with through-hole solder pads. Configured copper clearances and RF ground fill around the NINA-B406’s internal trace antenna, widened +3V3, V_BAT, and GND power traces to minimize impedance, and integrated as many hardware test points for power rails/debug lines as possible.

Firmware & Embedded Systems

Jeffrey: Implemented, debugged, and validated core wearable firmware, including CRC16 checksum calculation, timestamp/IMU/battery packet assembly, and a ring-buffer structure designed to buffer telemetry while submerged and burst-transmit upon surfacing. Validated routines and edge cases with testbenches and random stress tests.

Haowen: Configured nRF Connect SDK v3.4.1 and compiled direction_finding_connectionless_tx for the nRF52833 DK.

Signals & Base Station:

Haowen: Reviewed the ANT-B10 Manual and created anchor_tool.py supporting anchor configuration for verification.

Jeffrey: Connected the Raspberry Pi 4 base station to the ANT-B10 antenna array to supply power and establish the communication interface. Conducted initial dry-land wearable stroke simulations with Matthew, gathering baseline 6-axis IMU data across freestyle, backstroke, breaststroke, and butterfly; confirmed that stroke counting and classification are viable via planar motion filtering and peak detection.

We are largely on schedule for baseline testing with the prototype. While the webapp dashboard is running slightly behind, we believe that prioritizing the hardware is more important at this point in time.

Matthew Kwee – Status Report for 10/31

This week, I finalized the wearable PCB design, and am ready to export it to a Gerber file for fabrication with a manufacturer.

The wearable PCB had a few design constraints I needed to work around. First, the overall PCB dimensions were 24x32mm – making it significantly larger would add uncomfortable water resistance to the final wearable. Additionally, the NINA-B406 (our nRF52833 transceiver chip) required special consideration regarding its own placement and the placement of other components.

The NINA-B406 (U_MCU1 on the circuit schematic) uses an internal metal sheet trace antenna rather than an external antenna. This means that any unrelated components or traces around this area can interfere with its signal, increasing noise. To mitigate this issue, I minimized the amount of metal near this part of the component, removing copper fills and only including the necessary GND traces in this area. Note that the 3V3, V_BAT, and GND power traces are thicker than the other signal traces to reduce impedance.

After drafting the circuit schematic and creating an equivalent initial PCB design, I found that my choice of connecting the LiPo battery and charging assembly with pins extending upwards from the circuit board would significantly increase the device’s thickness, in turn increasing the device’s water resistance, which goes against one of our fundamental design requirements.

To mitigate this issue, I made the decision to replace the vertical pins with through-hole solder pads, which reduced the board thickness but occupied more horizontal area. Fortunately, there was still barely enough horizontal area for the necessary components and debug test-points, the placements of which are shown below.

I probably could have done better with the via placements but I was running out of space

I have done my best to verify the integrity of my design, and I believe that it will not cause any potential issues. However, I have included as many oscilloscope test points as possible for debugging.

While I am still slightly behind schedule, I believe that I should be able to complete my next priorities (finalizing the webapp’s live dashboard and helping set up the base station) without too much issue.

Jeffrey’s Status Report for 10/31/2026

This week I made progress in firmware development and in testing/collecting data using the prototype wearable. 

I implemented, debugged, and validated the core functionality of the wearable, including the code to calculate/encode the crc16 checksums; the code to assemble data with timestamps, IMU values, and battery information into packets; and store packets into a ringbuffer (to store buffered packets that will be sent all at once upon surfacing). Additionally, I tested and validated the code using testbenches that account for edge cases, as well as a stress test using constrained random testing to simulate real-world behaviors. All tests passed. That is the majority of the firmware for the prototype wearable; the major thing left is the code to interface with the Nordic radio, which will be further implemented once the antenna side is functional. Otherwise it is difficult to verify if the signals are sent. We intentionally limited the computation done on the wearable to save on compute/battery life. The more complex algorithms are run on the compute station.

I also made progress with testing the prototype wearable. After getting the IMU working, with Matthew helping perform the swimming strokes, I collected IMU data on the four types of strokes, which will be used to implement the code on the Raspberry Pi’s side. A visualization of the motion data we collected is linked below. Before each stroke, the device was tapped a different amount of times(3 for freestyle, 4 for backstroke, 5 for breath stroke, 6 for butterfly) Based on the IMU data it seems like peak detection + filtering will be sufficient for counting strokes. And each stroke has a clear path it traces in a different plane, which should make identifying stroke type not too difficult. This week I also connected our Raspberry Pi 4 base station to the ANT-B10 array to power it, so it is now able to interface with a computer to receive code. 

I am on schedule. Next week my main goal is to make progress towards the development on the Raspberry Pi side, which I can do with the IMU data collected this week. We will also likely collect more data using the prototype wearable to get a larger volume of data (data so far is limited to a few stationary tests), which may help make the algorithms more accurate. I will also help with the systemwide integration/connection of components.. 

IMU Testing Data converted into motion gif

Haowen’s Weekly Status Report (Week 9)

What I Accomplished This Week

Toolchain and firmware setup

I set up nRF Connect SDK v3.4.1 and built Nordic’s direction_finding_connectionless_tx sample for the nRF52833 DK. I also reviewed prj.conf and main.c to understand the sample’s default configuration. The settings I noted include a 160 μs CTE, five CTEs per event, and the periodic advertising interval. These settings will be considered when configuring our firmware.

ANT-B10 documentation review

I reviewed the ANT-B10 System Integration Manual and the u-locateEmbed AT command manual to better understand the anchor’s interface and configuration requirements. I found several details that are relevant to our design. The documented CTE requirement is 160 μs, while our original plan used 128 μs. The tag also needs to include an Eddystone-UID frame in its extended advertisement. The documentation specifies a maximum of 25 continuously tracked tags, which may be an issue given our target of 50 tags. On the other hand, the UART supports baud rates up to 1 Mbaud, and hardware flow control can be disabled, giving us more flexibility when configuring serial communication. I also recorded the pinout, default UART settings, and the message formats for +UUDF and +UUDFP, then shared the relevant findings with the team.

Tag firmware changes

I used u-blox’s open-source c209-aoa-tag project as a reference and modified main.c for our tag configuration. The current version is configured to broadcast an Eddystone-UID frame, using the tag ID as the instance ID, with a 160 μs CTE and a 50 ms periodic interval. The firmware compiles successfully, with reported memory usage of 19.6% of flash and 14.2% of RAM. The actual advertising behavior still needs to be checked on the hardware.

Test script

I wrote anchor_tool.py to support upcoming ANT-B10 tests. The script includes functions for AT command testing, anchor configuration, monitoring +UUDF and +UUDFP messages, collecting statistics, testing baud rates, listing serial ports, and running a fake anchor for testing without physical hardware. It uses Python’s standard library on Linux/macOS and pyserial on Windows. I tested the six subcommands using the fake anchor with both serial backends. These tests checked the script’s behavior without requiring the physical ANT-B10, so actual communication with the anchor still needs to be tested.

Is My Progress on Schedule?

Yes. The firmware currently compiles, but its behavior still needs to be checked on the actual hardware.

Plans for Next Week

Next week, I plan to flash the firmware to the nRF52833 DK, check the startup logs, and use a phone scanner to see whether the Eddystone beacon is visible. Once the DK is communicating with the anchor, I will check the first +UUDF message and compare the reported angle with the expected direction. Ideally, the angle should be close to 0° when facing straight ahead, with the sign changing when moving from left to right.

I also plan to run baud-rate tests at 230400, 460800, and 921600 and record the results. Finally, I will review whether the XIAO board is still needed based on the current nRF firmware setup and the results of the upcoming tests.

Matthew Kwee – Status Report for 10/24

This week, I deviated from my expected schedule – after consulting with a course instructor and TA, I decided to develop the PCB instead of setting up the base station so that I can place an order with a PCB manufacturer and receive the final wearable PCB as soon as possible.

In addition to making a small change to the wearable device’s design, I drafted the schematic for the wearable PCB with KiCad, an open-source tool for electronic design.

When re-reading the specifications for the NINA-B406 (our nRF52833 transceiver chip), I found that the NINA-B40 series has open CPU architecture, allowing it to run custom programs. This means that we can omit the Seeed XIAO RP2040 microcontroller and write code for the NINA-B406 instead. Writing code for the B406 will likely be more difficult than for the XIAO, omitting the XIAO will allow us to slightly reduce the size and weight of the final wearable and cut about $4-5 off the device’s unit cost, which is approximately 10-15% of its previous estimated cost. Additionally, without the XIAO, we expect significantly reduced power consumption, increasing the device’s battery life by a few hours.

In order to keep the schematic tidy, I broke the design into four “blocks”: Power (LiPo battery and induction charging coil), Voltage Regulator (reduces the battery’s 3-4V to >=3.3V), IMU Subsystem (powering and receiving signals from the ST LSM6DSOX 6-Axis IMU), and Processing/Transceiver (the NINA-B406 subsystem, plus a debug connector). These blocks should be visible in the below KiCad screenshot.

Unfortunately, despite my progress, I am now slightly behind my ideal schedule, as I did not anticipate KiCad’s learning curve – although I certainly should have expected as much. As such, I have not yet created the full PCB footprint/traces that I will need to send to the PCB manufacturer. In the next week, I hope to finalize the wearable design and place the order, ideally receiving the final circuit boards in the next couple weeks.

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:

Jeffrey’s Status Report for 10/24/2026

This week I focused primarily on the assembly of the prototype wearable device. All of the prototype components arrived over break, so I was able to start connecting and troubleshooting the prototype’s assembly (Matthew assisted with some of the soldering). I consulted the parts datasheets/schematics to figure out the connections (power/ground/data/GPIO) between the Pico and the IMU and soldered the connections. With that, as well as a simple test program I ran on the Pico, the device was able to start reading the 6-axis motion data. I also consulted schematics to set up the Nordic radio in the right configuration we need and figure out the connections to the Pico, which were also soldered. The prototype device is essentially complete hardware-wise. The only thing is that I could not validate functionality of the Nordic radio yet, as the antenna receiver is not yet set up. 

I also assisted in manufacturing the wiring harnesses required to connect the ANT-B10 array to a computer via USB (no off-the-shelf adapter existed so we had to create one). Additionally, I have begun organizing more formally the exact code that needs to run on the Pico in order to start writing the device’s final firmware (I have been using test programs so far to test specific components).

I am not behind schedule. Next week, I hope to start gathering motion data on swimming strokes (on land most likely) as well as make significant progress towards the prototype wearable’s firmware.

Haowen’s Weekly Status Report (Week 8)

This week, I spent over 12 hours working on the software setup for the Signal Subsystem. I started by configuring the local development environment on macOS. During the setup process, I encountered several issues related to the Zephyr RTOS toolchain and CMake package registry. I spent time troubleshooting these problems and resolving the configuration issues so that the required development tools could work together properly.

After setting up the development environment, I created the 18500signal project repository and organized the initial firmware project files. This included setting up CMakeLists.txt for the build configuration and prj.conf for the project settings related to BLE 5.1 and Direction Finding. These files provide the starting point for implementing the firmware and configuring the features required by the Signal Subsystem. I also checked the project structure and IDE workspace to make sure the files were organized correctly and that I could continue development within the configured environment.

The project is currently on schedule for the Week 9 milestone. Although the SDK setup and dependency issues took longer than expected, I was able to resolve the main configuration problems and complete the initial project setup. This work establishes the development environment needed for the upcoming firmware implementation. At this stage, the main focus has been on environment configuration and project initialization, so firmware implementation and build testing remain tasks for the next week. No changes to the current project schedule are needed at this point.

Next week, I plan to focus on implementing and testing the nRF52833 Tag firmware in C. The first goal is to implement 20 Hz periodic advertising with a Constant Tone Extension (CTE), which is an important part of the planned Bluetooth Direction Finding functionality. I will also build the project for the nrf52833dk_nrf52833 target and address any compilation errors or configuration issues that arise during the process. Once the initial firmware work is underway, I will begin developing a Python-based serial parser to receive and decode +UUDF ASCII frames from the base station. This will provide an initial software component for processing the data received during subsequent testing and integration.

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.

Matthew Kwee – Status Report for 10/11

This week, in addition to writing the Design Review document with my team, I started work on the performance history utilities for the web-app, drafting databases and Django templates.

Much of my contribution to the Design Review document involved putting existing, unrefined ideas into clear, concise terminology, particularly deriving the quantitative Design Requirements and Trade-Offs from qualitative ideas such as “user comfort/convenience” and “low-maintainance systems.”

Additionally, I assisted Jeffrey in assembling the wearable prototype, soldering the power shim to the RPi Pico* and covering as many sharp edges with hot glue as possible – the glue is necessary because we will be testing the prototype device in the CUC pool during free swim hours and would like to minimize the risk of water leaking into the plastic bag housing the device.

Below is the tentative database relational schema for the site:

 

I am still on schedule. Next week, I plan to complete the web-app’s View History functions and move on to setting up the Raspberry Pi that we will use as the base station, so that we can begin testing ASAP.

*If anything goes wrong with the Pico’s connections, I accept full responsibility and apologize in advance I am confident that my ability to solder connections was adequate for this task – there should be no issues.