New updated Arduino Power Inverter
The clock voltage and inverter are done in code, see below.
The BJT's let us drive the mosfet gates close to 12v with the 1k pull-up resistors and 100k pull-down resistors creating a voltage divider.
The pull-down resistors on the mosfet gates are there to avoid latch up.
The flyback Diodes are there to avoid inductive spikes (back emf) from the transformer windings.
//code
int gate1, gate2;
gate1 = 6;
gate2 = 7;
void setup()
{
pinMode(gate1,OUTPUT);
pinMode(gate2,OUTPUT);
}
void loop()
{
digitalWrite(gate1,HIGH);
digitalWrite(gate2,LOW);
delay(8);
digitalWrite(gate1,LOW);
digitalWrite(gate2,HIGH);
delay(8);
}
There are currently no comments