• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Arduino Projects / Making an EGS002 Equivalent Board using Arduino

Circuit Simulator: Assemble and Simulate

Making an EGS002 Equivalent Board using Arduino

Last Updated on May 28, 2025 by Swagatam Leave a Comment

The EGS002 board is nothing but a combination of a microcontroller with a H-bridge driver like the IR2110. So if you are interested to build your own EGS002 equivalent board with exactly identical features, then you can do it using the instructions given in the following article.

Table of Contents
  • Circuit Diagram Overview
  • 1. Arduino SPWM Generator Section
  • 2. Dual IR2110 Driver Stage
  • 3. MOSFET Full-Bridge Output Stage, How it is Connected
  • 4. Opto Coupler Feedback Section
  • How It Works Like EGS002
  • Construction Steps
  • Download Arduino SPWM Code:
  • Features of Our Design
  • Conclusion

So, here we are trying to build our own version of that popular EGS002 sine wave inverter module. But this one we will make using Arduino, and we will feed SPWM directly to a dual IR2110 based full H-bridge MOSFET driver.

And yes, we also got one opto coupler feedback section added for over voltage cut off safety. The whole thing looks solid and should work very close to EGS002.

Let us go step by step and understand how we have built it and how you can build this one too.

warning message: electricity is dangerous, proceed with caution
EGS002 equivalent board

Circuit Diagram Overview

Referring to the image above, we can divide the whole design into 4 main blocks:

  1. Arduino SPWM Generator.
  2. Dual IR2110 H-Bridge Driver Stage.
  3. Power MOSFET Full Bridge Output.
  4. Opto Coupler Feedback for Over Voltage Cut-Off.

1. Arduino SPWM Generator Section

This is the brain of our inverter. So we take Arduino Uno and write a code that creates two sets of complementary SPWM signals. These signals are output from digital pins D9, D10 (for one half-bridge) and D11, D12 (for other half-bridge). These 4 signals go to the HIN and LIN pins of two IR2110 ICs.

We make sure these signals are sinusoidally modulated PWM signals, phase shifted by 180 degrees to drive the opposite legs of the H-bridge alternately. This gives rise to a full sine wave across the load after LC filtering.

2. Dual IR2110 Driver Stage

We use two IR2110 chips, one for each half of the H-bridge. They work like high side and low side MOSFET drivers.

  • HIN and LIN inputs come from Arduino.
  • HO and LO outputs go to MOSFET gates.
  • High side bootstrap capacitor and diode (22uF + 1N4007) is used for high-side MOSFET gate drive
  • Separate 12V for IR2110 VCC, and 5V logic from Arduino to the input pins

Each IR2110 drives 2 MOSFETs... one high side and one low side, in a half-bridge format.

3. MOSFET Full-Bridge Output Stage, How it is Connected

Now here we are using 4 power MOSFETs like IRF3205 or even IRF540 will also work good. We are calling them Q1, Q2, Q3, and Q4.

So Q1 and Q2, we are putting them on one side, that becomes one leg of the bridge. And Q3 and Q4 we are putting on the other side, that becomes the second leg of the full-bridge.

Now the load, like transformer primary or anything, we are not putting it directly with any one MOSFET, instead we are joining it right in the center between these two legs. That means one wire of the load goes to the middle point between Q1 and Q2 and the other wire goes to the middle point between Q3 and Q4.

Also, for the feedback opto coupler we are connecting one 0.33uF polyester capacitor, rated 400V, directly across the load output points. That capacitor helps to step down the current for the opto coupler LED.

And finally, in the opto-coupler stage which is used for feedback or over-voltage protection, we are taking one connection from the output and passing it through one 100 ohm resistor in series with one 10k preset or trimpot. This series path goes to the opto side. This resistor + preset combo allows us to set how much voltage the opto will see, and helps us adjust the protection level properly.

4. Opto Coupler Feedback Section

This part works like a protection. If output voltage becomes too high then the voltage across 10k preset rises, LED in opto coupler turns ON, and transistor conducts.

In the diagram, you can see the opto coupler transistor is configured with the SD (shut down) pins of the IR2110 ICs. In an event of a high voltage situation, the opto conducts and its transistor supplies the collector side +5V to the SD pins of the IR2110 IC causing their outputs to shut down instantaneously, enabling a quick restoration and stabilization of the output AC voltage.

If you want the shut down to happen at the Arduino side, then you can configure the opto stage in the following manner.

This transistor pulls down the Arduino pin (say A0 or D2) and stops SPWM generation. So output shuts down if over voltage happens.

You can adjust the 10k preset to set the cutoff threshold.

How It Works Like EGS002

EGS002 also uses SPWM for creating sine wave from a full bridge stage. It has feedback, protection, dead time, frequency, etc., all done inside EGS002 chip.

Here we are doing same with Arduino + IR2110. Arduino creates SPWM + dead time logic, IR2110 gives gate drive with isolation between logic and power, and opto gives protection.

So overall this is a full EGS002 replacement but done with discrete and open-source method.

Construction Steps

  1. Take a clean double-sided PCB or general purpose board.
  2. First place and solder both IR2110 ICs with all boot capacitors, diodes, resistors.
  3. Connect the MOSFETs close to the IR2110s using thick tracks or wires.
  4. Keep Arduino mounted on a separate PCB and connect pins D9–D12 to IR2110 HIN, LIN pins.
  5. Give 12V to IR2110, 5V to Arduino.
  6. Build the output LC filter if needed (optional).
  7. Add opto coupler circuit on output side with series 100 ohm and preset.
  8. Check and test everything with small DC input first.

Download Arduino SPWM Code:

SPWM-code for ArduinoDownload

If you want to know how optimize and change the above Arduino SPWM code parameters, you can take the help of this Sine Table Calculator.

Features of Our Design

FeatureDetails
SPWM GeneratorArduino UNO (custom modifiable)
Gate DriverDual IR2110 IC
Output StageFull Bridge 4x N-channel MOSFETs
Over Voltage Cut-offOpto Coupler Feedback
Output WaveformPure Sine Wave via SPWM
Input Supply12V for IR2110, High Voltage DC for load
Output Voltage220V RMS AC after LC Filter

Conclusion

So this one is like our homemade EGS002 board. We used Arduino brain to generate sine wave with SPWM and IR2110 muscles to drive MOSFETs. Then one opto eye watches the output voltage and stops everything when danger comes.

You can fully control frequency, waveform shape, duty, etc., through Arduino. It is open source, flexible, and scalable. You can easily build this with off-the-shelf parts.

You'll also like:

  • 1.  Troubleshooting Inverter Output Voltage Drop Issue
  • 2.  Convert Audio Amplifier into Pure Sinewave Inverter
  • 3.  SMS Based Pump Controller with Automatic Dry Run Shut Off
  • 4.  How to Make a Simple Solar Inverter Circuit
  • 5.  How to Interface Servo motors with Arduino
  • 6.  Arduino Musical Tune Generator Circuit

Filed Under: Arduino Projects, Inverter Circuits Tagged With: Arduino, Board, EGS002, Equivalent, Making

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

Previous Post: « BQ24295 Smart Battery Charger IC with Boost + OTG
Next Post: RC Snubber Calculator for MOSFETs, Relay Contacts and Triacs »

Reader Interactions

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar




Subscribe to New Posts

Categories

  • Arduino Projects (89)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (83)
  • Datasheets and Components (104)
  • Electronics Theory (143)
  • Free Energy (37)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (14)
  • Inverter Circuits (88)
  • Lamps and Lights (142)
  • Meters and Testers (69)
  • Mini Projects (46)
  • Motor Controller (64)
  • Oscillator Circuits (27)
  • Pets and Pests (15)
  • Power Supply Circuits (108)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (101)
  • Solar Controller Circuits (59)
  • Temperature Controllers (42)
  • Timer and Delay Relay (49)
  • Transmitter Circuits (29)
  • Voltage Control and Protection (39)
  • Water Controller (36)




Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap




People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Quora
  • Stack Exchange
  • Linkedin



  • Recent Comments

    • Swagatam on 100A AC Load Monitoring Circuit using Arduino, Watt Limit, LCD, Alarm, Auto Shutdown
    • Swagatam on How to Modify 78XX, LM323, LM350, LM317 Voltage Regulator Circuits
    • Swagatam on 5 Simple Audio Mixer Circuits Explained
    • MOSES on 100A AC Load Monitoring Circuit using Arduino, Watt Limit, LCD, Alarm, Auto Shutdown
    • Hamid on How to Modify 78XX, LM323, LM350, LM317 Voltage Regulator Circuits

    © 2025 · Swagatam Innovations