tachometer using arduino and ir sensor