I'd like to put a small gadget that I made into my car and power it from the car battery. The gadget works on 12 volts and the car provides 12 volts also. And the consumption would be somewhere around 2-4A. However as I understand those 12 volts from the car are not very stable and can have short spikes up to 60 volts. Which would be a problem for my board.
Could you recommend a good way to stabilize those 12 volts from the car? I'm wondering between maybe buck converter, linear stabilizer and overvoltage protection.