Where do I have to start? - RPM reading and action at certain engine speed

You put more than a tiny bit of -V on an Arduino pin, the pin burns up.

If you're not really sure then really don't connect unless you can afford to burn up chips.