Intro: Make A.C 220 Volt Automatic Stabilizer Using Arduino NANO or UNO
In this instructables, I will show you how to make automatic voltage stabilizer using Arduino NANO that will show AC voltage, watt, steps, transformer temperature & auto fan on-off for cooling.
This is 3 steps Automatic Voltage stabilizer
1st steps is normal/output
2nd steps adds 20 V to output
3rd steps adds 50 V to output
A.C high voltage can kill you, if you are not careful what you are doing & I will not suggest electric beginner to do this, unless you are qualify and have idea what you are doing.
Step 1: Part List and Requirement
1 - Arduino NANO -> Amazon link
1 - Voltage Sensor -> How to make it
1 - DC to DC steps down, Buck Converter -> Amazon link
1 - 5v Relay Module -> Amazon link
1 - Current sensor ACS712 -> Amazon link
1 - LCD 16x2 module -> Amazon link
2 - 10k preset -> Best to buy it from local stores cheap price.
3 - 16v 1000uf capacitor -> Best to buy it from local stores cheap price.
1 - 220ohm resistor -> Best to buy it from local stores cheap price.
1 - zener diode 5.1v -> Best to buy it from local stores cheap price.
5 - 1N4007 diode -> Best to buy it from local stores cheap price.
1 - Stabilizer Transformer -> How to make your Own See the youtube tutorial -> Or buy from your local store. Note -: transformer must have 12v output for controllers.
I made 800va transformer by buying parts from local stores, and my transformer have 3 steps, step 1 is normal/output, 2nd steps increase 20v, and 3steps increase 50v.
Step 2: Schematic, Diagram & Connection
As the circuit diagram you see above, I change a bit for stability & add other components in same board for less space.
Connect & Soldier parts according to the schematics.
Input transformer 12v line to the circuit -> 12VAC in mark area.
input Sensor connections
Connect Voltage sensor positive to A0 pin of arduino and Negative to ground
Connect Current Sensor Vcc pin to 5v line, Gnd pin to gnd line and out pin to A1
Connect Temperature Sensor LM35 Vcc pin to 5v, Gnd pin to gnd line and data pin to A2
Connect toggle switch as show in diagram, middle pin to A3, right pin with 10k resistor to GND, left pin to 5v line.
output connections Relay
Connect Arduino D7 to relay pin1
Connect Arduino D8 to relay pin2
Connect Arduino D9 to relay pin3
Connect Arduino D10 to Relay Pin 4
LCD - D7 -> Arduino D2
LCD - D6 -> Arduino D3
LCD - D5 -> Arduino D4
LCD - D4 -> Arduino D5
LCD - RW -> Arduino D6
LCD - E -> Arduino - D11
LCD - RS -> Arduino D12
Relay to transformer connection
Connect as shown in diagram above.
Download Circuit Diagram Below Fritzing
Step 3: Coding & Describing Codes
Introduction of codes, & what it will do
It will monitor AC voltage through pin A0 of arduino and control which relay to be active in that time. Example -> If arduino get 199VAC then it will active relay 1 which will increase voltage to 219VAC. In brief if voltage is less than 210 and also greater than 180 it will active relay 1 which will boost 20V, If voltage is greater than 210 and less than 230 it will deactivate relay 1.
The monitoring AC voltage will also display on LCD, and it also display output voltage by adding steps voltage to input voltage which will show the output voltage. Note:- output voltage is less accurate when more load is connect because there is no sensor on output voltage.
ACS712 module sense how much current is drawn from output, then arduino will calculate in watt and show in to the LCD display.
It also monitor temperature of the transformer, if temperature is getting high of the set point, it will turn on the fan.
I hope You will like this instructables