10-26-2018, 08:49 AM
Sorry I'm a little confused, what boards require 12v? That seem like silly relay you have, most work using low voltages to switch on/off.
Not sure about boosting the voltage but you can use a NPN transistor however you might want a Logic MOSFET instead of BJT, BJT uses current to switch, the MOSFET uses voltage and are a little easier to work with. Not much power is required for the relay so most Logic MOSFET's will work. Make sure it's a logic type though so it works with low voltages.
If you connect the 3.3v from controller to MOSFET it'll switch a GND on/off. On the relay you would connect +12v to input and the GND input would come from the MOSFET. The 3.3v from controller would then turn the MOSFET on/off which turns the relay on/off because the DC GND to it is cut.
Not sure about boosting the voltage but you can use a NPN transistor however you might want a Logic MOSFET instead of BJT, BJT uses current to switch, the MOSFET uses voltage and are a little easier to work with. Not much power is required for the relay so most Logic MOSFET's will work. Make sure it's a logic type though so it works with low voltages.
If you connect the 3.3v from controller to MOSFET it'll switch a GND on/off. On the relay you would connect +12v to input and the GND input would come from the MOSFET. The 3.3v from controller would then turn the MOSFET on/off which turns the relay on/off because the DC GND to it is cut.