Careful with this; car 12v is not nice and clean. You will get things like -200v transients when the ignition goes off, and very lumpy power at times.

At the very least, put an in-line diode to protect against reverse voltage transients; ideally, also put a surge supressor after this diode.

Hugo