Posts

Showing posts from May, 2023

Iteration 4/5 Jack - Improving Sensor Values readouts and Finalising.

Image
Introduction: This iteration involved updating the code and improving the outputs for both the Pulse Sensor and Breathing iterations of the project. This iteration is also the final one where everything is being closed off. I was responsible for upgrading and improving the functionality of the sensors while Dominik worked on sorting out the cloud connectivity with MQTT and the hardware side of the hat. Changes: The sensors need to be adjusted to work better. Some general adjustments were made to the systems to function more consistently. These changes ranged from adjustments to values like thresholds/slopes or even adding flags and triggers to the system. I also needed to add a few more value outputs to the system, including: Pulse Sensor BPM Breathing In Time Breathing Hold Time Breathing Out Time Breaths per Minute  Pulse Sensor BPM: The BPM of the pulse sensor was pretty easy to calculate. The system already counted the pulses so I just had to count every second one. This was be...