Overview:
This project focuses on enhancing sleep quality by addressing environmental factors such as light, temperature, and humidity. By utilizing sensors and the microcontroller(M5Stack), we aim to monitor and control these parameters in real-time and automatically, ensuring optimal conditions for restful sleep.Research:
The reason we made this project was due to the staggering data about poor sleep quality within Singapore.
Facts:
Singaporeans experience one of the worst rates of healthy sleep in Asian countries.Singaporeans average 6.8 hours of sleep per night, with 27% achieving the recommended seven or more hours.
Singapore has been identified as one of the most sleep-deprived countries globally, with only one in four individuals getting more than seven hours of sleep daily.Contrasting to this, countries like India report higher percentages of citizens sleeping more than the recommended amount.Why would this happen?The main factors are as follows:
Light Exposure:
- Exposure to light, especially blue light, suppresses melatonin production, disrupting sleep patterns.
- Managing light exposure in the bedroom, such as using blackout curtains or sleep masks, can enhance melatonin production and improve sleep quality.
Temperature:
- The optimal bedroom temperature for sleep is around 18°C. Temperatures outside this range can cause restlessness and disrupt sleep.
- Studies have shown that temperature is a primary factor affecting sleep quality, with environments set at 20°C and 55% relative humidity positively influencing sleep both subjectively and objectively.
Humidity:
- Excessive humidity can lead to discomfort and disrupt sleep by causing excessive sweating and promoting the growth of allergens like mold and dust mites.
- Maintaining a relative humidity between 40% and 60% is generally conducive to better sleep quality.
So, how do we solve this?
Project Solution - Components:
- ENV II Sensor - Measures temperature and humidity
- Angle Unit - Adjustment of temperature
- Light Sensor - Detects light levels
- Servor Motor - Movement of the curtain
- pAHub - Connection of components
- pBHub - Connection of components
Description:
The ENV II Sensor connects to the M5Stack via the pAHub, which then sends this data(digital) to the M5Stack. At this point, the M5Stack now acts as a hub to connect to "Qubitro". "Qubitro" is a website to display temperature. Using Wi-Fi connection, the data is able to be transferred and shown to the user wirelessly without the need of being face-to-face with the microcontroller. Then, when the user wants to adjust the temperature to their liking, they are able to use the Angle Unit to "adjust" the temeperature. Additionally, the display will give them a UI on whether they are increasing/decreasing the temperature. Furthermore, the servor motor in tandem with the light sensor will move the curtain attatched to the motor automatically with the data of the light sensor. The user may also press a button on the M5Stack to open the curtain manually.
Flowcharts:
Comments
Please log in or sign up to comment.