String instruments often go out of tune due to reasons such as temperature and humidity. Hence, musicians are burdened with the task of tuning them often. Guitars are tuned by rotating its pegs until the strings have the right tension. Our aim is to automate this process.