For a project to wink my popup headlight, I need to send 12v to one wire for 5 seconds, then 12v to another wire for 5 seconds after a button is pressed. I plan to do this using an Arduino nano, which uses 5v logic. I am wondering if I should use relays or MOSFETS for this project?
I have a 12v source inside the car cabin, which I plan to use to power the nano as well as for the 12v to send to the wires. So the Nano will activate a relay/MOSFET to allow the 12v to pass through to the given wire.
I have noticed in most wiring diagrams, the relay/MOSFET is wired to the ground wire, however the ground for the headlights is in the engine bay and is hard to access. Is it okay to wire the relay/MOSFET to the 12v instead of ground?
I have a 12v source inside the car cabin, which I plan to use to power the nano as well as for the 12v to send to the wires. So the Nano will activate a relay/MOSFET to allow the 12v to pass through to the given wire.
I have noticed in most wiring diagrams, the relay/MOSFET is wired to the ground wire, however the ground for the headlights is in the engine bay and is hard to access. Is it okay to wire the relay/MOSFET to the 12v instead of ground?


