Electronic – Should a diode and/or transistor be used with an automotive (Bosch style) relay for accessory power

diodesrelaytransistors

I am a total beginner with electronics, so I apologize if this question has been answered already, I find similar questions but they seem to always be some variant and not quite what I am seeking, so I am asking here..

My automobile has power ports (cigarette lighter) that is always on. If I forget to unplug my dashcam I have a dead battery in a couple of days. To avoid this I would like to add a relay and tap into the accessory position circuit. Seems pretty straight forward, but then I see a bunch of videos on the importance of diodes due to kickback voltage as the magnetic field on the coil collapses which could cause a problem with the trigger circuit. When looking at the image below we see a manual switch activates the relay…

MGI Speedware Image

… but my automobile has something called "Retained Accessory Power" (A.K.A., RAP) which is what I will attempt to tap into. My concern is that a voltage spike on this RAP circuit could be problematic. So I am seriously considering using a diode. Then when I investigate all the circuits I find describing diodes includes the use of a transistor too. Question: Should I use a diode? Should I use a transistor? If so, what kind/size? Using this image as an example, how would the diode and/or transistor be wired to protect the trigger circuit?

Best Answer

You should put one in though it is not as critical in this case since the a manual switch is a lot hardier to voltage spikes than a transistor which is often the first thing to blow from the spike. Even so, having one will prevent the switch from arcing and wearing it out.

You should put one in anyways just so the spike doesn't affect other things connected to your battery. Place the diode parallel to the relay coil in the direction that does NOT normally conduct current and short the battery out.

enter image description here