<p>Sleep plays an important role as it helps human body to rejuvenate, boosts mental function and manage stress. Sleep is restorative function which enhances muscle growth, repairs tissues, maintains health and make physical appearance look or feel better. The lack of sleep in human body can increase the risk of diseases which are asthma, diabetes, depression. For healthy physiological function, sleep is essential and has strong relation to mental condition. Easy way of sleep management is considered for maintaining good mental health. Numerous scientists, doctors and researchers have proposed various ways to monitor sleep, some of those best tests are polysomnography test and actigraphy test. However, taking sleep test covering the whole body with wires and electrodes which is polysomnography test is uncomfortable for patients, and sensors used for different approaches like this are costly and often require overnight treatment and expert monitoring in clinics. Therefore, easy way of detecting roll-over movements which is convenient for patients to wear is proposed. Accelerometer ADXL335 sensor is taped on socks during sleep which is comfortable for patients to wear and do not cause any inconvenience during sleep. Algorithm is proposed to read the dataset and count the roll-over during the sleep based on threshold. Resulting the number of roll-over detected during a sleep period.</p>