Arduino as tachometer

i believe you could put a piezo in with very little/no issue.