Making tachometer using arduino