• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Circuit Ideas for You

Get free circuit ideas online.

  • Home
  • Privacy Policy
  • About
Home » Arduino Based Power Inverter Circuit

Arduino Based Power Inverter Circuit

Last updated on 3 August 2025 by Admin-Lavi Leave a Comment

Inverter is a useful device in electronics.

It changes DC (Direct Current) to AC (Alternating Current).

In this project for Arduino Based Power Inverter Circuit we will make simple inverter using Arduino.

It takes 12V DC and gives 230V AC.

We have used Arduino UNO, IC 7809, some transistors and a reverse transformer to get AC.

This circuit helps run small devices when power is gone.

Coding:

const int pin1 = 3; // Pin D3 connected to Q1
const int pin2 = 4; // Pin D4 connected to Q2

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

void loop() {
  digitalWrite(pin1, HIGH);
  digitalWrite(pin2, LOW);
  delay(10); // 50Hz frequency (20ms period, 10ms HIGH per side)

  digitalWrite(pin1, LOW);
  digitalWrite(pin2, HIGH);
  delay(10);
}

Code Explanation:

  • Code sets pins D3 and D4 as output.
  • In loop, Arduino makes D3 HIGH, D4 LOW, waits 10ms and then swaps with D3 LOW and D4 HIGH.
  • This makes 50Hz square wave to drive transistors.
Arduino Based Power Inverter Circuit Diagram

Parts List:

ComponentQuantity
Resistors
100Ω, 1k 1/4 watt2 each
Semiconductors
Arduino UNO Board1
IC 78091
Transistors BC547, TIP31C2 each
Step down transformer 12-0-12V AC 1 Amps1

IC 7809 gives stable 9V to Arduino and control circuit.

This makes circuit work better.

Arduino sends square wave from pins D3 and D4.

When D3 is HIGH, D4 is LOW and opposite.

This makes pulses for transistors.

BC547 Q1 and Q2 boost weak signals from Arduino.

Then sends to TIP31C Q3 and Q4 power transistors.

R1 and R2 100Ω resistors protect BC547 by limiting base current.

TIP31C Q3 and Q4 act like switches.

They power the transformer one by one.

R3 and R4 1k resistors help TIP31C work properly.

Transformer is used in reverse and it takes 12V DC pulses and gives 230V AC output.

Formulas:

Here is the formula for frequency in this inverter circuit:

Frequency (ƒ) = 1 / Period

Total period = 10ms HIGH + 10ms LOW = 20ms

ƒ = 1 / 0.02s = 50Hz

Cautions:

  • Use heat sink for TIP31C as they get hot.
  • Add fuse or overcurrent protection for safety.
  • Be careful as high voltage is risky and test the circuit with help from anyone if new with electronics.

How to Build:

To build a Arduino Based Power Inverter Circuit follow the below mentioned steps for connections:

  • First collect all parts shown in circuit diagram.
  • Give 12V DC to input pin of IC 7809.
  • Connect GND pin of 7809 to circuit ground.
  • Output pin of 7809 gives 9V and connect it to VIN pin of Arduino UNO.
  • Connect D3 pin of Arduino to base of BC547 Q1 using 100Ω resistor R1.
  • Connect D4 pin of Arduino to base of BC547 Q2 using 100Ω resistor R2.
  • Connect emitters of Q1 and Q2 to ground.
  • Connect collectors of Q1 and Q2 to base of TIP31C Q3 and Q4 through 1k resistors R3 and R4.
  • Connect emitters of Q3 and Q4 to ground.
  • Collectors of Q3 and Q4 goes to two ends of primary side of step down transformer.
  • Connect center tap of transformers primary to 12V supply.
  • Use a 12V to 230V step down transformer but in reverse.
  • Secondary winding will now give 230V AC output.

Conclusion:

This small Arduino Based Power Inverter Circuit shows how to turn DC into AC using easy parts.

It is good for low power devices.

We can also upgrade it for better performance.

References:

How to make inverter with arduino and mosfet

Filed Under: Arduino Projects, Inverter Circuits

About Admin-Lavi

Lavi is a B.Tech electronics engineer with a passion for designing new electronic circuits. Do you have questions regarding the circuit diagrams presented on this blog? Feel free to comment and solve your queries with quick replies

Previous Post: « Smart Headlight Automation Circuit using IC 555
Next Post: Simple Boost Converter Circuit using IC LM2577 »

Reader Interactions

Leave a Reply Cancel reply

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

Primary Sidebar




Categories

  • Alarm Circuits (33)
  • Amplifier Circuits (67)
  • Arduino Projects (36)
  • Audio Circuits (94)
  • Automobile Circuits (19)
  • Battery Charger Circuits (48)
  • Free Energy (13)
  • Heater and Temperature Controllers (10)
  • High Voltage (1)
  • Indicator Circuits (38)
  • Inverter Circuits (13)
  • LDR Circuits (15)
  • LED and Lamps (116)
  • Meters and Testers (28)
  • Motor Controllers (18)
  • Oscillator Circuits (34)
  • Power Supply Circuits (92)
  • Remote Control Circuits (6)
  • Security and Protection (25)
  • Sensors and Detectors (84)
  • Solar Circuits (17)
  • Timer Circuits (30)
  • Transistor Circuits (57)
  • Transmitter Circuit (12)
  • Tutorials (5)
  • Water Level Controller (4)

Recent Posts

  • Sound Sensor Circuit using IC LM393
  • Sound Sensor Direction Circuit using Arduino
  • Dancing Water Fountain Circuit with Arduino
  • Arduino Based Obstacle Avoidance Robot Circuit
  • Arduino Based Automatic Gate Opening and Closing Circuit

Recent Comments

  1. Admin-Lavi on Constant Voltage, Constant Current Battery Charger Circuit
  2. Bill on Constant Voltage, Constant Current Battery Charger Circuit
  3. Admin-Lavi on Long Range FM Transmitter Circuit (2km)
  4. Sina on Long Range FM Transmitter Circuit (2km)
  5. Admin-Lavi on Long Range FM Transmitter Circuit (2km)

Copyright © 2025 | New Circuit Ideas