IOT 3 Phase Transformer Load monitoring using Arduino and Nodemcu

(Last Updated On: July 11, 2019)

IOT 3 Phase Transformer

Description:

IOT 3 Phase Transformer Load monitoring- In this Tutorial, you will learn how to make a 3 phase transformer load monitoring system using Arduino, Nodemcu esp8266 wifi module and blynk application. With the help of Nodemcu module and blynk application the load on each phase “Red, Yellow, and Blue” can be monitored in real-time from anywhere around the world using your cell phone.


IOT 3 Phase Transformer

This is the 2nd version of the 3 phase transformer load monitoring system based on IOT “Internet of Things”, while in the first version;

IOT 3 Phase Transformer

I designed an application in vb.net and used this application to monitor all the three phases of the 3 phase transformer prototype model. The transformer wiring, soldering, the acs712 current sensors connections, soldering, and interfacing is already explained in very detail. For the best understanding, I recommend you should watch my first tutorial on 3 phase transformer load monitoring system and then you can resume from here.



3 Phase Transformer Load Monitoring using Arduino, ACS712, and VB.net:

https://www.electroniclinic.com/3-phase-transformer-load-monitoring-using-arduino-acs712-and-vb-net/

In this Tutorial, I will only explain the modifications which are

  1. Nodemcu interfacing with Arduino
  2. Nodemcu programming
  3. Blynk application designing and finally
  4. Testing

The components and tools used in this project can be purchased from Amazon, the components Purchase links are given below:

Arduino Uno: https://amzn.to/2tVz1vu
Mega 2560: https://amzn.to/2ze1kdu
Nodemcu esp8266 wifi module: Best price https://amzn.to/2NAvmiB
LM7805 Voltage Regulator: https://amzn.to/2IZEl5x
Potentiometer: https://amzn.to/2JSLbfg
330 ohm resistors pack: https://amzn.to/2NtlAeh
5v 2A adaptor: https://amzn.to/2GsNfcw
2n2222 npn transistors: https://amzn.to/2EmXsIb
10k Resistor: https://amzn.to/2KTd6OW
lm7805 Voltage Regulator: https://amzn.to/2IZEl5x
330-ohm resistors pack: https://amzn.to/2NtlAeh
female DC power jack socket: https://amzn.to/2KEo1gt
470 uf capacitors: https://amzn.to/2xDCOzf
5×7 cm vero board: https://amzn.to/2OHGbvn
female headers: https://amzn.to/2zqmtiJ
connection wires: https://amzn.to/2DpBuW7
Super Starter kit for Beginners: https://amzn.to/2KJvmKG
Jumper Wires: https://amzn.to/2KMoVXs
Bread Board: https://amzn.to/2MS4q8X
12v Adaptor: https://amzn.to/2Ntr6h1
PCB plate: https://amzn.to/2IUwpCt
Variable Supply: https://amzn.to/2MT4Qfj
Digital Multimeter: https://amzn.to/2Nvft9i
Vero Board / strip board: https://amzn.to/2MTf9jD
Soldering iron kit: “best” You guys should definitely purchase this: https://amzn.to/2zfoNuJ
Solder wire: https://amzn.to/2ufUMWf
Wire Stripper: https://amzn.to/2KOqxfU
wire cutter: https://amzn.to/2ucIq14
PCB small portable drill machine: https://amzn.to/2Nu62XF

Circuit Diagram of the IOT 3 Phase Transformer load monitoring:

IOT 3 Phase Transformer

This is the circuit diagram which I used in version 1, which I have already explained in very detailed and the link is given above. As you can see in the Circuit Diagram above three acs712 current sensors are connected with the analog pins A1, A2, and A3.

Three Phases coming from the Transformer are labeled as Red, Yellow, and Blue.

The three bulbs connected with the Red, Yellow, and Blue Phases. Arduino calculates the load and then send the values to the computer application.


IOT 3 Phase Transformer

While this is the modified circuit diagram, in which Nodemcu is used. The 5v regulated power supply is based on the lm7805 voltage regulator. Two 470uf capacitors are connected at the input and output of the regulator. A 330-ohm resistor connected in series with a 2.5v led. This is a current limiting resistor, while J1 is the dc female power Jack, this is where we can connect a 12v adaptor or battery. The output of the 7805 Regulator is connected with the Vin pin of the Nodemcu module while the ground is connected with the ground. Connect the TX pin of the Nodemcu module with the RX pin of the Arduino and connect the RX pin of the Nodemcu module with the TX pin of the Arduino and also make sure you connect the ground pin of the Nodemcu module with the ground pin of the Arduino. So this is the only modification that I made in the 2nd version.


Interfacing:

IOT 3 Phase Transformer

As you can see all the connections are exactly the same as explained in version 1. The Red, Yellow, Blue, and Neutral wires are connected with the PVC Strip connector.

IOT 3 Phase Transformer

As you can see I am using the same connections, the only modification that I made is the addition of the Nodemcu module and a 5v regulated power supply. This time I am power up the Arduino and Nodemcu module using a 12v adaptor.



IOT 3 Phase Transformer

While with this PVC strip connector 220vac 100 watt bulbs are connected.

IOT 3 Phase Transformer

This is the 5v regulated power supply as explained in the circuit diagram. The output of the regulated power supply which is 5v is connected with the Vin pin of the Nodemcu module and the ground of the power supply is connected with the ground of the Nodemcu module. The TX and RX pins of the Nodemcu module are connected with the RX and TX pins of the Arduino. the ground of the Nodemcu module is connected with the ground of the Arduino, while rest of the connections are exactly the same as explained in version 1 of the 3 phase transformer load monitoring system using a Computer application. Now let’s make a blynk application.

Blynk Application Setup for the IOT 3 Phase Transformer:

  • First of all, open the blynk application.
  • Click on the new project and write the project name.
  • Click on choose device and select Nodemcu, and make sure the connection type is set to wifi and then click on the create button, an authentication token will be sent on your email id, simply copy and paste it in the programming.
  • Click on the screen and search for the terminal widget and add it.
  • Click on the terminal to open the terminal settings, set the terminal name.
  • Click on the PIN and select virtual pin V3 and activate the add new line.

IOT 3 Phase Transformer

  • Our basic application setup is completed now discuss the Arduino and Nodemcu programming.

For the detailed explanation and Step by Step making of the Blynk application watch Video Tutorial given at the end of this Article.

Programming of the IOT 3 Phase Transformer Load Monitoring:

This Project is based on two Programs, one Program is written for the Arduino Uno while the other Program is written for the Nodemcu ESP8266 Wifi Module. The Arduino Program as explained in my Previous Tutorial remains the same. Link to the Version1 of the 3 phase transformer load monitoring system is given above.

Arduino Programming:


Nodemcu ESP8266 WIFI Module Programming:



Nodemcu Program explanation:

Before you start the programming for the IOT 3 Phase Transformer Load Monitoring System, first of all, make sure that you download all the necessary libraries and you install the Nodemcu board and you also install a driver for the USB UART.

This condition make sure that the entire message is received.The entire message which is received is split using the getvalue function, which is a user defined function. Each  value is then stored in variables l , m and n. these values are basically the RMS values of the Red, Yellow, and Blue phases. At the end we empty the string for new data and use a delay of half second.Sensor value is a user-defined function and is used to send the text messages and values to the blynk terminal.Getvalue is a user-defined function and it takes three arguments as the input, data, separator and the index. This function is used to split the string message using a comma as the delimiter.If you have missed anything, you can watch the following video Tutorial. If you have any Questions let me know in a comment. Subscribe my YouTube channel.


Watch Video Tutorial:

Recommended For You

About the Author: Engr Fahad

My name is Shahzada Fahad and I am an Electrical Engineer. I have been doing Job in UAE as a site engineer in an Electrical Construction Company. Currently, I am running my own YouTube channel "Electronic Clinic", and managing this Website. My Hobbies are * Watching Movies * Music * Martial Arts * Photography * Travelling * Make Sketches and so on...

Leave a Reply

Close