Allison’s Status Report for 11/21

This week, we focused on testing and refining the spine modeling portion of the project. I fine-tuned the spine model to improve its performance and functionality. I also successfully got the motor working, and completed the hardware functionality side of the project. On the software side, we completed testing of the website to verify that it is working as expected.

We have completed initial testing of the website and have been working on verifying the spine modeling and motor functionality. These tests help ensure that the individual software and hardware components are working as intended.

Next week, we plan to focus on additional hardware testing as described in the design report. We hope to fine-tune the firmware so it is as accurate as possible. Carys and I hope to also adjust the vest so that it attaches more securely to any user. This will be useful as shifting sensors mess up the accuracy of the system.

Allison’s Status Report for 11/14

This week, we completed the PosturePal demo. After accounting for sensor drift on Sunday, the firmware started performing well and we decided it was performant enough for the demo. I’m waiting for the remaining connector and battery components, and my next hardware task is to install the motor disc on the vest.

We’re on track and plan to move into more systematic testing. We’ll review relevant medical and ergonomics guidelines to inform our settings, which include how far a user can deviate from their calibrated posture and how long that deviation should persist before the vest vibrates. We’ll then test those settings on the vest. I also want to start testing the battery, as we discussed doing whole-day-wear tests. Our drift remedial methods are sufficient for a short demo, but we might see different results over a long period of time, so it will be interesting to see results and test different solutions for that.

Allison’s Status Report for 11/7

This week, my PCB arrived, and I worked with the team to integrate the hardware into the vest. While testing a portable LiPo battery, I discovered that its connector had reversed polarity relative to the board, which damaged the microcontroller. I ordered a replacement board and it arrived within a day (today) Although it does not support Bluetooth, it provides the functionality needed to continue hardware integration and prepare for the demo. Today I resoldered the header pins on our PCB and our replacement board and tested IMU function. All three successfully connected and reported back to the MCU, so I am somewhat confident in the replacement board and PCB.

Despite this initial setback, my hardware work remains on track for the demo. I ordered the correct replacement components, which should arrive before the final demonstration. My next steps are to finish securing the hardware to the vest, verify the assembled system, and support testing and firmware adjustments.

Allison’s Status Report for 10/31

This week, my PCB design was ordered, which is a major step toward getting our hardware into a more permanent setup. Our multiplexer also arrived, so we were able to integrate all three IMUs instead of just two. We tested the three-sensor setup and verified that it worked before attaching the components to the vest.

Carys also worked on the vest design. Once we verified the sensors, we temporarily taped the components and wiring onto the vest and tried demoing the system while wearing it. Our code currently uses a very basic method for sensing posture and determining when to alert, but this gave us a chance to see how the integrated prototype behaved. We also identified parts of the vest that need to be more adjustable and realized that we need better ways to secure the components so they stay stable during use.

Next week, we plan to work on integrating VQF and evaluate whether it improves our orientation estimates and posture detection. We will also continue adjusting the vest design to improve its fit and keep the sensors securely positioned against the body. In particular, we want to make the straps more adjustable and improve how we attach the components and manage the wiring.

Overall, I think we are making good progress. Ordering the PCB and getting all three sensors working were important milestones, and testing the system on the vest helped us identify issues that were harder to see when testing the components separately. There is still work to do on the sensing logic and physical stability before the system can reliably detect posture, but we now have a clearer idea of what needs improvement. While we wait for the PCB, we can continue making progress on the firmware and vest so that we are ready to integrate the board when it arrives.

Allison’s Status Report for 10/24

This week, I focused on designing and routing the PCB for PosturePal in Fusion Electronics. I worked on the connections between the Feather nRF52840, I²C multiplexer, three IMU connectors, and haptic motor driver. I also created and refined a custom footprint for the Feather, checking the header spacing and board dimensions so that it can be mounted using headers.

After completing the schematic, I worked on component placement and routing for the two-layer board. This included routing the I²C connections, choosing trace widths, and adding ground and 3.3 V pours. I also checked component footprints and connector pin numbering and ran the electrical and design rule checks, which showed no errors. Finally, I worked on preparing the bill of materials and identifying which components should be populated initially and which optional components can remain unpopulated.

The PCB design has progressed to preparation for fabrication, and I’ve sent out the order. I hope to receive the PCB soon; two of them should come pre-assembled and three will not be. While waiting for the PCB, I also hope to continue testing with the breakout-board prototype so that hardware and firmware integration can move forward. If it doesn’t arrive in time, then I will be helping Carys prototype a more reliable vest with the breakout boards we have at the moment, making sure their connections are secure and their placement in the vest doesn’t shift around too much. Overall, I think we are on track with our schedule. If the PCB works as expected after assembly and initial testing, the main hardware development will be complete, and I can shift more of my focus toward helping with the vest design and firmware integration. I also plan to test the reliability of the hardware over longer periods, checking for intermittent connections, sensor communication issues, and any effects of motor vibration on the readings. This will help us identify any remaining issues before moving on to full-system testing.

Allison’s Status Report for 10/10

This week, I primarily worked on the PosturePal design report and generated graphs and figures to support the explanations of our system. I revised the hardware architecture and implementation sections to describe how the IMUs, I2C multiplexer, microcontroller, and haptic driver connect and work together. I also helped clarify how the system measures regional posture changes relative to a calibrated baseline and how our design requirements will be evaluated during testing. A significant portion of this work involved making the report understandable to someone unfamiliar with the project, including explaining our component choices and the tradeoffs behind them. I worked on organizing the report in LaTeX, formatting equations and figures, and reviewing the text for consistency between the requirements, implementation, and validation sections. The updated design report and accompanying graphs and figures document this week’s progress.

Overall, I think our progress is on schedule. This week was focused heavily on completing the design report, so most of my work involved documenting and refining our design rather than advancing the physical hardware. Writing the report also helped identify details that need to be checked before finalizing the PCB, particularly the connections between the sensing, power, and haptic subsystems. My next priority is to translate those design decisions into the board layout and keep hardware development moving forward over break.

Over break, I plan to work on routing the PCB. I will first review the schematic and component placement, then route the power and signal connections while accounting for connector access, cable organization, and how the board will fit into the wearable. I also plan to check the layout for routing errors and review the connections against our prototype before preparing it for fabrication. My goal is to have a routed PCB ready for team review so that we can address any remaining issues before ordering the board.

Allison’s Status Report for 10/3

This week, our team finished our design presentation, and I worked on several of the slides, including hardware diagrams and component research that helped us finalize our prototype design. Our ordered parts also arrived on Wednesday, so Carys and I began physically prototyping the system. While Carys worked on the vest design and we discussed ways to securely position the IMUs, I soldered header pins onto several of our components, including the nRF52840 MCU and motor controller, and soldered leads onto the vibration motor. Soldering the MCU was a little nerve-wracking because I initially had the iron set too high and left a small scorch mark near some of the traces. Since we only have one MCU, damaging it could have significantly delayed our progress, but fortunately the board still worked properly. I then wrote a basic program in the Arduino IDE and successfully tested the nRF52840 with the motor controller, making the vibration motor buzz every two seconds. The motor was much smaller than I expected (around half the size of a penny) so I also experimented with how noticeable the vibration would be when worn. I found that applying some pressure against the motor makes the vibration easier to feel, which is something we will need to account for in the vest design. I am also considering whether using multiple motors could improve the feedback, although we would first need to check the additional power requirements and motor driver limitations.

Overall, I think our progress is on schedule. We have moved from component selection and design into physical prototyping, although we still need to verify that the complete sensor system works together as expected. Next week (Monday), our main goal is to assemble an initial E2E prototype for the design report. Once the vest arrives, we can begin testing component placement, but in the meantime we can wire the nRF52840 to the IMUs and begin collecting accelerometer and gyroscope data. We also plan to start developing the MCU firmware for sampling and processing the IMU data so that we can begin reconstructing the relative orientation of the sensors and eventually use that information to estimate posture. These initial experiments should also give us concrete data and results to incorporate into our design report. Additionally, I hope this prototyping gives me the confirmation I need to begin working on the PCB board. Hopefully if I order it by fall break, it can arrive in time.

Here is a picture of the nRF with the pins soldered on (from the back). It was fun, I hope I can do some more!

Allison’s Status Report for 9/26

This week, I focused on finalizing the hardware design for our design presentation and preparing for prototyping. After identifying the components we wanted to use last week, I researched manufacturer and distributor pages to compare availability, shipping times, and specifications. I prioritized parts that could arrive quickly so we can hopefully prototype before the design report is due. This would let us collect preliminary IMU data for our posture calculations while also testing factors such as communication latency and power consumption. I also found breakout-board versions of our components to make initial prototyping easier.

I also researched how these components would translate to our eventual custom PCB. Since we will likely use SMD versions of components such as the IMUs, I checked their availability to avoid potential lead-time issues and found PCB fabrication options as well along the way. Reading through the component documentation also helped me understand their wiring and interface requirements. For example, while considering I2C versus SPI, I realized that I can include jumper or solder pads on the PCB to keep configuration options open rather than committing to one design immediately.

I believe my progress is currently on schedule. Next week, I hope to meet with my team to verify that the complete hardware design works together and begin testing the breakout boards once our components arrive. My main goal is to use what we learn from prototyping to begin the custom PCB schematic, including component connections, power distribution, and configurable interface options, while my team can work in parallel with the breakout board components to begin firmware development.

Below is what our parts list looks like right now. I hope to keep maintaining it like this, maybe adding more columns if necessary, to keep track of our components and budget.

Parts List

Allison’s Status Report for 9/19

My goal this week was to determine the hardware we need for PosturePal and develop a more concrete system architecture. Our main components consist of three IMUs placed at T3, T12, and S1 to measure spinal orientation and movement, and a central controller that will process the sensor data, determine when to trigger haptic feedback, and communicate over Bluetooth with our companion software. We are heavily leaning toward the LSM6DSOX for the IMUs, and I investigated how its support for I²C and SPI, but not wireless communication, affects the rest of our design. Rather than putting a battery and wireless controller at every sensor, we plan to connect the three IMUs by thin wiring to one central hub. I also determined that a Raspberry Pi is likely unnecessarily powerful, large, and power-hungry for our application. Instead, I investigated smaller, lower-power microcontrollers/SoCs with integrated BLE, particularly the nRF52840, while keeping wireless STM32 options under consideration. The nRF52840 appears promising because it can handle our sensor processing and Bluetooth communication on a single device.

From this research, I developed a preliminary design consisting of one custom central PCB and three much smaller, identical sensor PCBs. The central PCB would contain the MCU/SoC, battery and charging circuitry, voltage regulation, sensor interfaces, potentially an I²C multiplexer, and possibly the haptic-driving circuitry. Each sensor PCB would contain an LSM6DSOX and connectors that allow a thin cable to continue along the spine between the hub, S1, T12, and T3. I also investigated several design tradeoffs that we do not want to finalize before prototyping. I²C requires fewer wires and is attractive for a wearable, while SPI avoids some addressing issues but requires more conductors. Both also require us to consider the timing differences between measurements from the three IMUs, so our current plan is to timestamp samples. I also began investigating our haptic feedback design, particularly whether localized feedback at multiple points along the spine provides a meaningful benefit over a single haptic motor. Multiple motors could provide more intuitive feedback about where the user’s posture needs correction, but would add wiring, power consumption, and potential interference with the IMU measurements. We therefore plan to test both localized and centralized haptic feedback before finalizing the design. Overall, I believe my progress is on schedule and this week significantly narrowed our hardware architecture while identifying the remaining decisions that need experimental validation.