Caltech's medical device prototype: improved performance and stability

About the client

Location
United States
Industry

Our client is an interdisciplinary research group at the California Institute of Technology (Caltech) developing versatile devices for electrochemical biomedical research. They focus on the design and application of innovative devices to better understand complex biological systems.

The challenge

The Caltech research group was working on a medical device prototype — a mouthguard with an embedded system that analyzes a patient’s saliva. However, the hardware performance wasn’t ideal: the system lacked stability and responsiveness, while the battery drained too quickly. To achieve better results, the team decided to switch from the legacy Cypress chip to a more powerful and efficient MCU.

The new microcontroller had to provide more processing capacity, integrate all the necessary peripherals, ensure low power consumption, and fit the limited package size, all at the same time. The selected MCU required migration to another MCU family — from Cypress to STM32 — and completely rewriting the device’s firmware.

Delivered value

Same functionality, better performance
The selected STM32 MCU and developed firmware reproduce the original device logic and features, improving system responsiveness and stability without functional tradeoffs.
Efficient battery consumption
The implementation of low-power mode for the STM32 chip, which puts the device into sleep between analysis sessions, enabled optimal energy efficiency.
Wireless communication support
To make sure that the new MCU works smoothly with the Cypress BLE dongle, our team ported and integrated the original Cypress BLE stack into the STM32-based firmware to support the existing BLE dongle.
Stable operation through polished hardware
To ensure the final PCB version would work reliably, Lemberg Solution’s engineers helped the client’s team with board design and development, providing schematic improvements and making electronic changes to the test version.

The solution

The medical device the Caltech team prototyped is a silicone mouthguard that contains a tiny embedded system with an electrochemical sensor. The system collects, transforms, and transfers data on the chemical composition of a patient’s saliva via BLE to a PC-connected BLE dongle for further analysis. 

Decoding the system logic

The development started with analyzing the existing PCB and firmware and reconstructing the system behavior — it was important to keep the original device functionality despite the new hardware foundation. Our team reverse-engineered the application's functions and control flow, learned the MCU-to-BLE dongle interaction, and figured out the overall application logic.

Overcoming performance and power constraints

The entire embedded system, including the electrochemical sensor, MCU, and peripherals, had to fit onto a tiny, 25x10 mm circuit board. With the support of our embedded consultants, the client opted for an STM32 MCU model offering a lot of low-power mode options. The firmware, designed and implemented for the chip, provided performance and power consumption improvements, better-structured code, and bug fixing along the way. To enable support for the Cypress BLE dongle, the team integrated the Cypress BLE stack into the ST-based firmware.

Troubleshooting board design issues

When the Caltech group provided the first revision of the STM32-based PCB for bring-up, the initial review revealed several critical issues in schematic design. Poor soldering quality and chip misalignment caused short circuits, and some copper traces didn’t align properly, leading to operational errors. To solve this, our electrical engineers manually resoldered the MCU and provided layout refinement suggestions. After implementing these changes in the second PCB revision, the research group achieved a fully functional board.  

Safeguarding future deliveries

To ensure the final PCB version corresponded to the client's request, we conducted rigorous functional and power consumption testing. The engineering team provided comprehensive support during the user acceptance testing phase, including additional documentation, investigations, and testing to ease further development on the STM32 platform for the client.
 

Technologies
STM32
Cypress MCU
Bluetooth Low Energy (BLE)

Lemberg did a great job on porting our BLE application from a Cypress module to an STMicroelectronics module. Their team was consistently responsive, friendly, and responsible throughout the project. They handled all our questions with care and were upfront about what they could deliver, ensuring there were no surprises along the way. Their straightforward and reliable approach made working with them a positive experience.

Research Group
Caltech

How it works

Data collection
A sample of the patient’s saliva is presented to the device’s electrochemical sensor.
Data processing and transfer
The system transforms the sensor data into machine-readable signals and transfers it via BLE to the PC-connected BLE dongle.
Analysis
The received data is analyzed by a desktop application.

Contact us

Kick-start your software development project with expert engineers

Share your business challenge with our experts so we can discuss it in detail and come up with the most feasible solution shortly.

Andrew Mospan, Business Development Manager at Lemberg Solutions
Andrew Mospan
Account Executive

As an Account Executive, Andrew is dedicated to helping our clients unlock the full potential of embedded & IoT technologies in their projects. Leveraging over 15 years of experience in the industry, Andrew guides businesses in adopting cutting-edge solutions to drive growth and stay ahead of the competition.

Schedule a call