Our aim is to build a low-cost and portable device, which can be controlled by patient's android smartphone, to measure sleep. the device is easy to use and consists of airflow (rate of respiration), pulse oximeter (heart rate and spo2), accelerometer (plm), and eeg (brain waves) sensors. the data is stored in cloud. the results are summarized and seen on phones of doctors and patients. the product serves as a screening device for sleep apnea. you can now be tested in comforts of your home to check whether you should go for an expensive polysomnography test (psg) in the hospitals.