I have a working relay drive circuit using a low-side N-Channel MOSFET driven by a microcontroller. The relay coil is 6V, and everything there works. However, I want the same coil to work with a 12-volt supply as well, without burning the coil. My thought was to have a resistor in series with the coil to drop the voltage, and another MOSFET in parallel with that resistor. If the voltage is below 8, the MOSFET is driven to bypass the resistor. If it's above 8V, the MOSFET is off so that the resistor can drop the voltage. It's the part where I drive the MOSTFET based on voltage levels that I'm struggling with.




