Introduction: Pure Sine Wave Inverter

Picture of Pure Sine Wave Inverter

My research

Step 1: Pure Sine Wave Inverter Using Atmel Attiny 13 and IR2110 Mosfet Driver

Picture of Pure Sine Wave Inverter Using Atmel Attiny 13 and IR2110 Mosfet Driver

This is my pure sine wave inverter. Works great with all kind of sensitive electronics like TV's, electrical drilling machines. The maximum output power is around 300W depending which transformer is used.

The main advantage of this schematic is the using of power mosfets. It has also an overload protection using a TLC272 operational amplifier.

In this project a 6V to 220 V 100W transformer is used. The 6V winding pads are pad11,8,10 (three wires because of the big current) and pad7,6,9.

The output is 220V @50Hz.

An UPS transformer can be used for this project with the two windings mounted in parallel but be careful because the two windings must be placed in such a way that it is mandatory to have the same winding sense. If you don't know what to do please do not try this.

Step 2: The Circuit

Picture of The Circuit

This is the schematic for printing (scale 1:1 mirror view).

Step 3: Electronic Components Displacement

Picture of Electronic Components Displacement

Here you can find the electronic component displacement (seen from above).

Step 4: Finished Product Demonstration

The finished product in action.

Step 5: Files Togheder With Hex Code for Attiny 13

Here you can find all the files needed to start this project.

You can use ponyprog 2000 to write the hex to attiny.

I have also included schematic for a simple avr programmer for attiny.

A more powerfull version without transforme will follow.

For questions do not hesitate to contact me.

Step 6: Pure Sine Demo(low Voltage) at H-bridge Exit

Step 7: Pure Sine Demo(high Voltage After Transformer)

This is the wave form after transfomer. A 1/10 probe was used as shown in the video.

Step 8: Eagle Files for Inverter and Programmer

Hello guys,

Here you can find an update with eagle files.

You'll need also fuse bits for attiny:

lock byte:0XFF;

fuse byte:0X7A;

fuse high byte:0XFF;

calibration byte:0X51;


geraldino250 (author)2014-10-14

hi, you have eagle files original and code of 60hz, great project...

maryan_r85 (author)geraldino2502014-10-20

Hi, the code is not my design. I cannot help you with 60Hz version.

I can, however, send you the original eagle files. Please send me your email.

geraldino250 (author)maryan_r852017-09-23

my email is

geraldino250 (author)maryan_r852014-10-20

hi, thanks again please send file eagle of this project to the follow, thanks, the link original of this project you have of thios is of some friend?, thanks again

maryan_r85 (author)geraldino2502014-11-01


I'm trying to send you the files but I get failure notice. Are you sure that this mail is correct?

PicL1 (author)maryan_r852017-04-12

Dear Sir,

I have sen your Pure sine wave inverter project with attiny13, I want to make the circuit for testing , can you provide original hex file or source code ?because attached hex file making 5Hz only but need 50Hz ,Pls send the code at



geraldino250 (author)maryan_r852014-11-04

yes man it is my e-mail, that correct function no proble with this account, try again please thanks...

maryan_r85 (author)geraldino2502014-11-16


Sorry for delay.Now you can find eagle files in the new attachment.

Best regards.
Please send the originak eagle files

geraldino250 (author)maryan_r852014-10-30

hi maryan please send me eagle files my e-mail

roobert (author)2016-03-23

helo maryan_r85

1- What is the value and type of R20 resistor ?

2-What is the Pad1 and how can I use it؟

3- what is 22-23-2031 pads?

please help me

thanks a lot

phelps_br (author)roobert2017-09-06

Helo Roobert,

R20 is a fuse, see in the video.This guy use a car fuse 10 Amp.

JerryG4 (author)2017-07-07

Can TLC272 be replaced with TLO72

SilvioD (author)2015-01-25

Hello Orngrimm I don't know why you are so sarcastic about this circuit, having a sine wave the way you want it will not be practical as the fets have to be driven in class AB or so and that brings a lot of loses. The way our friend build this inverter is that the sine wave is generated in square wave steps of different duty cycles thus the resultant outcome is a sine wave at 50Hz. An output filter will surly be needed as harmonics will be present in the output. Well if you want a pure sine wave I believe it has to be made by a rotating generator which will be the pure birth of a sinusoidal wave.

JerryG4 (author)SilvioD2017-07-07

We are talking of inverter and you are talking of generator

daniela13 (author)2015-02-21

ok sir thank you for the respond,can i use microC Programmer to program ATTINT13? thanx you looking forward to hear from you soon.

you can check this link to write code of pure sine wave inverter using mikro C

Your circuit don't work

hari2palai (author)2017-03-14

hi, you have eagle files original and code for atmega328 or any other. Can I add a lcd display to it also , great project can you mail it to me

eprojectszone (author)hari2palai2017-03-22

Here you can find a program to generate a pure sine wave(with low pass filters) from an arduino uno:

Hope that help!

hari2palai (author)eprojectszone2017-04-04

thank you..

Kienkoj9 (author)2017-03-24

pls send me too complete circuit

Kienkoj9 (author)2017-03-24

pls send me too complete circuit

PrinceG36 (author)2017-01-19

pls send me too complete circuit

arakib (author)2016-07-17

would you please give me the source file. I mean .c file of this .hex file.Thank you

derik2052 (author)2016-03-28

Could someone help me ?, i need to construct a pure sine wave inverter with continuos current input and make the sine wave by arduino PWM, the power side of this project is easy ( just 4 transistors ) but i'm trying to find a programation of arduino, that can alternate the frequency and the width of the continuous wave quick enough to have the sine output. I will appreciate any help, because i have no idea the way i need to go in programation

gal-jabi (author)2016-03-01

hi thanks man for sharing nice project

can you give us source code

or basic info for drive ir2110 to write my own code

gal-jabi (author)gal-jabi2016-03-07

can any one help plz

gal-jabi (author)gal-jabi2016-03-02

can any one help for control h-bridge method or just switching timing sequnce

hery-04 (author)2015-12-29

hey sir i am very interesting with your project it's very nice project could you please send me the circuit diagram or eagle file and the firmware of this project my email addres . thank you.

RoyO1 (author)2015-09-03

I tried to download you PDF, but with out going pro it will not let me. I can remember when knowledge was shared freely over the internet. Your site is like many others, and I have never contributed my work to this type of site. Thank you, and sorrey. notifications from this site henceforth will be marked as Spam.

amir hosseinG (author)2015-05-02

Thanks a lot for project ,I want use Atmega , so , you can send your project source code to my email ( .

Akinsinmideayo (author)2015-03-15

Hey guys check-out for more circuit and code @

daniela13 (author)2015-02-26

sir please in the video there is green wire connected to the side of 7805 but i cant see it in the component displacement

daniela13 (author)2015-02-21

ok sir thank you for the respond,can i use microC Programmer to program ATTINT13? thanx you looking forward to hear from you soon.

daniela13 (author)2015-02-21

ok sir thank you for the respond,can i use microC Programmer to program ATTINT13? thanx you looking forward to hear from you soon.

ainsworthl (author)2015-02-20

where can I get this pcb board to order cheap could you send a link, and also can I get a programmed micro controller to buy

maryan_r85 (author)ainsworthl2015-02-21


You can't find this board ,this is my own design. You can make this board using the following method:

Instead of photo paper you can use oracal 641.

Regarding programming the micro controller you can use o prototype board, or make your own board as described above. The file name you can use is programator.brd.

daniela13 (author)2015-02-20

sir please i cant find the code is it the one named attiny_sin_v2.hex? code? thanx im looking forward to hear from you soon

maryan_r85 (author)daniela132015-02-20


Yes, the code you need is the one with .hex extension.

daniela13 (author)2015-02-20

sir please i cant find the code is it the one named attiny_sin_v2.hex? code? thanx im looking forward to hear from you soon

zkalkk (author)2014-12-25 great project

vkg.ganesh (author)2014-12-18

hi sir,great thanks for your project. one doubt your circuit the resistance R5 one end is connected through the 7805 positive(+) another end is connected GND(-) is right or wrong?

blackcatdeath45 (author)2014-12-04

sir, can i get source code? i have atmega 16. pls send to

amit.joshi.10485546 (author)2014-11-05

Hello ,

i wanna make this project...but i dont know so much coding you can send me source code of this project and can you guide me on this project???

please send me on details on my mail:

Thanks with Regrads

Amit Joshi


For programming you can use the hex I have included in attachment.

francde (author)2014-11-04

hi sir this a good circuit thank you for this sheering this circuit,sir i want to build this circuit but my problem is the Attiny13 how can i program it can you plaese send me the code? this is my email daniel adusei thank you looking forward to hear from you

maryan_r85 (author)francde2014-11-14

You can find the code and also programming circuit in attachments.

francde made it! (author)2014-10-15

hi sir first of all let me thank you for good woke you done,sir please im very much interesting about your circuit i want to build it bu my problem is the ATtiny13 ic it very complicated to get it in my country so can you please refile me to any common ic in place of attiny13@ thank you looking forward to hear from you.

About This Instructable




More by maryan_r85:Pure sine wave inverter
Add instructable to: