Site icon Circuit Ideas for You

Arduino Based Power Inverter Circuit

An inverter is a really important electronic gadget that changes DC Direct Current power into AC Alternating Current power.

In this project, we are going to create a basic inverter circuit powered by an Arduino that can turn a 12V DC supply into 230V AC.

We will use an Arduino UNO, IC 7809, some transistors and a transformer that works in reverse to get the AC output.

This kind of circuit can come in handy for running small devices when the power goes out.

Circuit Working:

Parts List:

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

The IC 7809 makes sure that the Arduino UNO and the control circuit get a steady 9V power supply.

This helps the circuit work more reliably.

In this article the Arduino UNO sends out square wave signals from pins D3 and D4.

These signals work in opposition so when one pin is HIGH the other is LOW.

This back and forth creates the pulses needed to operate the transistors.

The BC547 transistors Q1 and Q2 serve as amplifiers for these signals.

They take the low current signals from the Arduino and boost them to control the base terminals of the TIP31C power transistors Q3 and Q4.

Resistors R1 and R2 which are 100Ω each help limit the base current to keep the BC547 transistors safe.

The TIP31C transistors Q3 and Q4 act as high current switches taking turns to power the primary winding of the step down transformer.

Resistors R3 and R4, each 1k help ensure that the TIP31C transistors are properly biased.

The step down transformer is set up in reverse.

When it receives the alternating signals from the TIP31C transistors, it increases the 12V DC to about 230V AC at its secondary winding.

Coding with Explanation

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:

Formulas:

Below mentioned is the formulas for frequency calculations for Arduino Based Power Inverter Circuit:

Frequency (ƒ) = 1 / Period

Cautions:

How to Build:

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

Gather all the components as mentioned in the above circuit diagram

Conclusion:

This easy Arduino Based Power Inverter Circuit shows how to create AC power from a DC source using simple parts.

Although this setup is good for low power uses, it helps you learn how inverters work and can be changed to improve performance or handle more power.

References:

How to make inverter with arduino and mosfet

Exit mobile version