Sleep problems as menopausal symptoms
Both snoring and obstructive sleep apnea could lead to earlier impairment of cardiac function in women.
“Snoring” refers to a sleeping pattern in which a person breathes while emitting a snorting or grunting sound.
Snoring might become more dangerous as people age, and it can also lead to heart disease.
There are different types of sleep apnea, but the most common is called Obstructive Sleep Apnea (OSA).
This condition affects breathing patterns while sleeping, causing a person to stop breathing and start again repeatedly. About half of people who snore loudly have OSA.
When OSA occurs, the muscles in the throat that are responsible for keeping the airway open actually prevent the flow of air.
A good position of the body when sleeping helps to have a good breath where the body rests and it is properly oxygenated. In order to help in this problem is to have an alert to accommodate or move the body for a correct air flow in our body.
Snoring or having a bad position to sleep is warned by the brain, but we do not always notice that brain signal. So we can help our body sensing a bad position of the body or detect the loud snoring through some device that move body to comfortable position or "hear" snoring.
To develop a device that can check the position of objects in space and detect sound, I looked for those sensors. I got a sensor that allows sensing 3-axis position, as well as a sound detector that was a microphone.
I selected a microcontroller ESP8266 MOD that allows to control those two devices, as well as their remote configuration. In this case I can generate a local Web Server to interchange data from any browser and setting devices.
To alert the sleeping individual, I was able to obtain a small motor to alert the individual who is turned on for a period of 3 seconds when the motion sensor detects body position more than 70 degrees from its bed. The microphone senses sounds with a high peak at 15% compared to the last recorded sound. The parameters to alert the inclination or the hearing percentage are configurable through the browser of a nearby device.
As part of this project, a motor was added as indicated above, this motor cannot be started due to the demand for electrical current from the devices, the microcontroller has a maximum output of 3.3 volts and a maximum current of 40 mA, so a new circuit had to be created and added to the microcontroller. The resistances were calculated and the used transistor behaved like an on/off switch called saturation mode. Motor Battery was added.
Comments