This week, our team has fully integrated the base station with the web-app, and is ready to finish integrating the wearable device with the base station. Jeffrey loaded the web-app onto the Raspberry Pi 4 base station and successfully connected to it via USB. By feeding pre-recorded swimming data Jeffrey and Matthew collected at the Cohon University Center pool into the app, we validated both the webapp’s functionality and the wearable prototype’s functionality. Additionally, Jeffrey updated the stroke detection algorithm to take into account both the magnitude of acceleration and the rotational position, greatly reducing error.
Haowen has developed firmware for the nRF52833 DK (our transciever chip) such that we can flash it onto the wearable PCBs – we should be able to do this for the prototype if the PCB chips do not arrive on schedule. She has also been developing a solution for the ANT-B10’s 25-device limitation; because each device will spend approximately half of the time under water, we can re-connect to devices above the surface, taking advantage of the ~50% duty cycle. Each device will periodically advertise its availability and perform a handshake with the base station before sending its motion data. While this will not matter for our demonstration (we will only have 2-3 devices to test), we believe that this is still a good design choice.
Currently, our biggest risk is the wearable PCBs being delayed in shipping. To mitigate this risk, we have been conducting testing and developing firmware for the much larger prototype device, and have determined that it can serve the same functions as the PCBs, should they not arrive in time. While it does not meet the size and comfort requirements, it is more than enough to demonstrate the device’s telemetry, which we can showcase alongside the final wearable’s casing, which will represent the device’s final dimensions.
While our overall goals have not changed, the smaller details of our plan are being adjusted to account for integration risks/issues.
