Hi there, this project is all about designing an inverter from scratch, I am always fantasized by the projects which involves a software controlling an hardware. With this inverter, you can power up various electronic Appliances like TV, Fan etc.

Working : The aim of the inverter circuit is to convert 12VDC to 220VAC, Now to achieve this, we have to first convert 12VDC to 12VAC first followed by 12VAC to 220VAC

In short we can classify the designing of inverter circuit into three stages

1) Driver stage

2) Power stage

3) Transformer

## Step 1: MAKING DRIVER STAGE

The tasks that are performed in driver stage are generation of modified sine wave, monitoring the battery voltage, handling the other housekeeping tasks such as short circuit protection etc. Here i have used an Arduino NANO to accomplish all these tasks.

Arduino is generating a modified sine waveform of 5V which is amplified to a level of 12V using L293D ic. Battery voltage is monitored every 20ms using timer interrupt.

## Step 2: MAKING POWER STAGE

As the inverter output power is 600VA and it is 75% efficient so the input current at full load comes out to be 75Amp approx. (using ohm's law)

Now this current amplification task is performed by the power stage . In this stage two N-Mosfets are configured in push-pull topology to amplify the current.

Mosfet Chosen are IRF3205

## Step 3: TRANSFORMER

Now this is very simple, the output waveform from the pushpull topology is fed into the transformer to generate the 220V.

## Step 4: Designing Transformer

Designing transformer

## Step 5: Schematics

This is the complete schematics drawn in Eagle software.

## Step 6: Code

Here is the complete code of the Arduino.

## Step 7: Complete Image of the Inverter

<p>nice post.......... :D<br>can you please make video on the feedback circuit</p>
Please give circuit diagram feedback system
Hey can u tell me where to connect the probes to view the result of driver stage?
<p>great project<br>how did you design snubber circuit</p>
In program error is showing that timer1is not declared in the scope
<p>Include Timer1 header in the code</p>
After including timer1header in the code it is again showing timer1not declared in the scope
<p>include TimerOne.zip in the library. I faced the same problem as you.</p>
<p>can you please provide the simulation results you acquired after building the circuit on the eagle software ?.please </p>
<p>the converter 12v to 5 v you buy it ro you made it ? and how ?</p>
I used a a converter from market. You can also make it your own using 7805 ic.
<p>Thanks </p>
<p>what if i use 9 volt dc instead of 12 v ?</p>
You can use 9v DC but then you have to alter your transformer ratio.
<p>Thanks for the reply. I just want 12 volt ac output not further. please clear me about Analog pin a0, where is it connected?</p>
Siya. Thanks for your opinion. But i can imagine your mental level btw :P
<p>Is it possible to change frequency?</p>
Yes it's possible. Please watch my video . I have shown each and every line of the code and explained it.
Mega skills.
how to get a sin wave from the output not square a inf voltage will produce because of strait voltage drop
<p>To get Sine wave, you have to use SPWM followed by a low pass LC filter</p>
Any tips on what changes I should make if I want to have it output 120v instead of 220v?
<p>You have to change the transformer in that case. </p>
<p>SERIOUSLY, VERY COOL; THUMBS UP</p>
<p>Thanks man ....</p>
Do you have some schematics oder the code?
<p>Hi 15Minoda, I have already designed the schematics and written the code in my Video(step 1). But now i have also added the schematics in Step 5 and code in Step 6 </p>
alright thanks
<p>Cool. This will let you automatically turn the inverter on when you need it and turn it off when you don't</p>