This project attempt to monitor your sleep in various parameters and instead of showing graphs and numbers, plays a short audio so that you can 'hear' what your sleep sound. However, this does not actually record your room during the sleep. Instead, it convert data into sound, using sonification method.
This project requires two microbits. The one works as a wearable device, I will name it 'sender'. As you can see photo below, it is powered by 2 AA batteries. Alternatively, you can use your usb cable to power it. This sender is connected to MAX30105 pulse oximeter sensor, attached to finger using rubber band. When it read signal from blood saturation, it will send the data to another 'receiver' microbit using radio.
This one is 'receiver' microbit. It is connected by usb and midi cable to PC. Through the usb cable, it is powered and gets codes from Mu editor. When it receives radio signal from sender, the signal is sliced into integers and send to Puredata with midi cc. As you can see below, a small sound detector is connected to the breadboard.
As a result, after you wake up, you can hear how well was your sleep and hear if you had any troubles such as snoring, body movement, bright environment.
Hopefully, this can help people suffering from various sleep problem. Because I have sleep apnoea myself, it aims to monitor obstructive sleep apnoea. However, I think this can also monitor other kinds of sleeping issues.
There will be several parameters for this project. In order to monitor the sleeping environment, following factors will be monitored to encourage better sleep environment.
1. Light Level
An exposure to light during the night could ruin your sleep [1]. In order to observe such events, 'receiver' micro;bit will monitor the light level of the environment using its built-in LEDs.
2. Noise level
The sound detector sensor will monitor amplitude value of its input. The input can be either environmental noise, or your snoring sound. In any case, it indicates something is wrong with your sleep.
Also, a wearable micro:bit will monitor your activity and bio signal.
This include :
3. body movement
4. blood-oxygen level (SPO2)
According to NHS, SPO2 indicates ratio of haemoglobin in blood, saturated with oxygen[2]. Studies suggest that SPO2 is an important parameter to observe sleep apnoea [3][4].
After gathering all data, you can hear know different values make sound on Puredata.
References
[1] http://sleep.mysplus.com/library/category2/article1.html
[2] http://sleepeducation.org/sleep-disorders-by-category/sleep-movement-disorders
Comments