Arduino and tachometer from 12V car battery gen

FYI GrumpyMike just provided this in another post
input protecton
http://www.thebox.myzen.co.uk/Tutorial/Protection.html