# How to Make an Inverter Using ARDUINO

37,684

74

50

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

### Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

## 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.

## Recommendations

• ### Internet of Things Class

22,751 Enrolled

## 50 Discussions

Hello the output from L293d is 0.14v it does not drive the mosfet so output does not appear please give me solution

My transformer has two wire in the primary coil and two wire in the secondary coil. Can i use this kind of transformer for making inverter? Thank you.

Sir i ask that all grounds are common or mosfet ground are different from L293D IC ?? And also if all are common than its put on arduino ground??

Can you add a tranfirst irfp064 I also suffer from a very large temperature increase in transistors

As it is not a high frequency so i did not use snubber.

You must always use snupper circuit when working with sqare waves! Theres a lots of harmonic distortion.

Hello. How does the code modify if I'm not using battery?

There are a lot of ways that you can do it. But the easiest thing that you could do is just get an Arduino shield with an LCD display on it.

Sir could u tell the transformer rating to be used in this circuit & can i use 6-0-6 transformer

After including timer1header in the code it is again showing like this error code

Arduino: 1.8.3 (Windows 7), Board: "Arduino/Genuino Uno"

C:\Users\Hackers\Documents\Arduino\inverter\inverter.ino:1:54: fatal error: Timer1.h: No such file or directory

#include "Timer1.h" // include Timer1.h

^

compilation terminated.

exit status 1

Error compiling for board Arduino/Genuino Uno.

2 replies

Nice project.But suppose i want to implement this project for synchronisation of grid using zero crossing detector would it be possible?

if yes then what should be the changes in this circuit.

nice post.......... :D
can you please make video on the feedback circuit