Inverter 12V DC to 230V AC using Arduino Nano with Code

Inverters are often needed at places where it is not possible to get AC supply from the Mains. An inverter circuit is used to convert the DC power to AC power. Inverters can be of two types True/pure sine wave inverters and quasi or modified inverters. These true /pure sine wave inverters are costly, while modified or quasi inverters are inexpensive.
These modified inverters produce a square wave and these are not used to power delicate electronic equipment. 

Here, a simple voltage driven inverter circuit using power transistors as switching devices is build, which converts 12V DC signal to single phase 220V AC.


Principle Behind this Circuit

The basic idea behind every inverter circuit is to produce oscillations using the given DC and apply these oscillations across the primary of the transformer by amplifying the current. This primary voltage is then stepped up to a higher voltage depending upon the number of turns in primary and secondary coils.


Circuit Diagram

Schematic for Inverter 12V DC to 230V AC using Arduino Nano


Din1: PWM input from Arduino Nano
Din2: PWM input from Arduino Nano


Component Used in Circuit

  1. Arduino Nano
  1. 230V to 12V Center Tap Transformer
  1. TIP121 Transistor
  1. 1N5819 Diode
  1. Varistor


Arduino Code 

int pin1=10,pin2=11; 
//int fbpin=A1;
int freq=50;

void setup()
{
    pinMode(pin1,OUTPUT);
    pinMode(pin2,OUTPUT);
    //pinMode(fbpin,INPUT);
}

void loop()
{
    digitalWrite(pin2,0);
    delay(1);
    digitalWrite(pin1,1);

    delay(500/freq);
    digitalWrite(pin1,0);
    delay(1);
digitalWrite(pin2,1);
    delay(500/freq);
}


You can View Schematic and Program Here





You may also check other Posts  

Inverter 12V DC to 230V AC using Arduino Nano

How to Install Mplab Harmony Integrated Software Framework



#tags
Arduino
Nano
Transistor
Transformer
PWM
Inverter
Arduino IDE
Varister
DC
AC
IoT

Post a Comment

2 Comments

  1. hi dear its very first-class and very helpful submit for those who are new and thinking to begin a weblog site.Your posts are very helpful and creative click on right here and see about inverter

    ReplyDelete