Dockpro Bed Cooling System controls the temperature of your sleep. Non-wearable sleep tracker allows to gain insights into sleep metrics, including HRV, respiratory rate, and sleep staging.
INTRODUCTION
A heating/cooling unit attached to the users bed gives confort in their sleep.
With a non-wearable sleep tracker the user places it under mattress topper or sheet and the device tracks every night automatically. Gaining insights into sleep metrics, including HRV, deep sleep, and sleep score, can help improve user's sleep and overall health.
BUSINESS OBJECTIVES
The objectives of the project set for IOMICO team by the Client were the following:
To find and fix a device’s problem with Wi-Fi connection;
To review and improve stability of the existing firmware;
Change the operating logic of the device's LED indication.
Possibilities for new developments and constant improvement.
BUSINESS PROBLEM/OPPORTUNITY
APPROACH
Iomico team reviewed and analyzed the existing device’s firmware and PCB design and created a report. The report contained a list of possible problems with both firmware and hardware parts of the device and suggestions for the problem solving.
The customer approved the work to improve the firmware. The next solutions were implemented:
Error handlers and restart logic for unpredictable and critical situations;
Fixed unsafe dynamic memory allocation implementations in the firmware;
Increased Keep alive interval for MQTT connection;
Improved MQTT connection logic on connection issues. The device now detects connection problems and tries to re-establish connection using different techniques from reconnection up to full device restart;
Changed the operating logic of the device's LED indication;
This was on the initial phases of the project. Further on, other ideas and improvements appeared.
Telemetry sending, such as device's performance and notifications;
Improvement of bug reports to the cloud;
Features logic redesign for numerous functionalities such as performance test, user interface, etc;
TECHNICAL DETAILS
DockPro
Bed cooling system. A device pumping water into a thin mattress which grants comfort to the users sleep.
The device, centered around an ESP32, is able to connect to the cloud, uploading measurements and receiving orders set by the user with the mobile app. With this, the user is free to control the temperature, running schedules, etc. Using ADC, pwm and more, the device measures the temperature of the water comming in and out of the mattress and adjust the power to reach the desired setpoint.
SleepTracker
The device is built on the ESP32 module with ESP-IDF framework. The ESP32 uses WiFi to communicate with the server over MQTT and BLE connection for the initial device setup (BlueFi). The device collects ADC data from an external pad that the user places on the sleeping area.
RESULTS
The customer tested implemented changes and left positive feedback.
The relationship is been going for more than one year, with IOMICO now in charge of developing the firmware for their new product to be released.
LESSONS LEARNED
A structured and systematic approach to the device testing and documentation creation helped to solve the tasks and satisfy the customer’s needs;
A systematic approach and correct atomization of each task heplped the progress of the project;
CONCLUSION
The team demonstrated to the customer their ability to solve problems and to work with complex projects.
Complex review with PCB testing was a better approach to schedule the next version of the device development.
New unit under development.
Our services
Embedded Software Development
Industry
Healthcare
Technology
C/C++, AWS IoT, OTA
Team
Project Manager
DevOps
Firmware Developer