Speed, direction control of dc motor for simple linear slide mechanism project