Smart Current Metering with PLC Arduino

Monitoring the current consumption

Industrial controller for Monitoring Solutions

This project is designed to measure the current consumption in a company using a current sensor. Through a database in the Ethernet controller Arduino itself, it is possible to know the consumption statistics for medium and long-term tracing and even stop the current in case they exceed the allowed limit.

The information can be accessed remotely, through a VPN connected to our MQTT server.

In the company, a Panel PC based on Raspberry Pi3 will monitor the results in graphic form.

PLC Arduino for monitoring

PLC Arduino and smart current metering

M-Duino PLC Arduino for automation


The current sensor is located at a strategic point of current flow.

The data is processed in the industrial Arduino and these are sent to the Panel PC, where the database is located.

In the Panel PC there is also a broker server (MQTT) that is responsible for receiving and sending data between the industrial PLC based on Open Source and the Panel PC.

To monitor the data, Node-Red has been used.

Smart Current Metering with Arduino PLC


The main points to achieve are the following:

  • Accuracy in the measurement.

  • In the taking of measurement no longer intervene people, reason why it is effective against the errors of reading. 

  • Measurement and control of cutting and pre-cutting of electrical energy from the control center in a fully automatic way.

  • It offers data storage, event log, lack of voltage and current. With this feature it would not be necessary for the final consumer to notify or complain due to lack of energy since the team immediately warns the center.

Final Solution (Hardware)

The YHDC current sensor SCT010T-D will be connected to the Ethernet PLC on an analog input. The data is received periodically and it will be sent to the Panel PC via ethernet using the MQTT protocol for sending and receiving data.

Once the data arrives at the Panel PC, these are stored in the SD memory. The database located inside the Panel PC will collect the data received from the industrial automation, and using the Node-Network tool to monitor all the data, in graphic format, to observe the results in the medium and long term.

The client also wanted to remotely access the information, for this reason the system has been connected to a VPN so that a web client can access the server remotely as long as it has permissions.

If an anomaly is detected in the system, the programmable logic controllers automatically cuts the electrical current with a relay output. 

Diagram smart current metering PLC Arduino

Download the Smart Current Metering

Share it with your teammates

Do you want to receive more information about Smart Current Metering?

Open Source technology allows you to develop your Monitor applications.

Just fill the form and we will send you several examples about how to use Open Source based devices on your projects.