NBA-004Application note for NB-24 · October 2026
NBA-004 · Application note
IoT sleep monitor, from sensor hub to server
- Sponsor
- Dream Cantec Inc.
- Program
- SFU Mechatronics capstone
- Duration
- 8 months
- Stack
- PCB, MQTT, PyQt
Abstract
A capstone project funded by Dream Cantec Inc. with SFU’s School of Mechatronic Systems Engineering. Over eight months, Neeraj’s team designed a device that collects sleep sensor data, sends it through an MQTT broker to a server for storage, and shows it to the user in a desktop interface.
1Development stages
The team planned the whole system first, then built it in this order.
| Stage | Work |
|---|---|
| 1. Breakout board | Designed a breakout board to test the sensors and the system before committing to final hardware |
| 2. Production PCBs | Designed the PCBs that go inside the device, including the sensor hub |
| 3. User interface | Built a PyQt desktop interface so the data is easy to read |
| 4. Communication | Implemented device-to-server communication over MQTT, new to everyone on the team |
| 5. Enclosure | Designed the mechanical housing once the electronics were ready, and 3D printed it |
2Hardware


3What made it hard
None of the team had built device-to-server communication before. MQTT was chosen because it is widely used in IoT devices and would leave room for future development.