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 Pi 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 PLC and it is sent to the Panel PC, where the database is located.

In the Panel PC, there is also a broker server (MQTT) 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.


The main points to achieve are as follows:

  • Accuracy in the measurement.

  • Taking of measurement is completely automated and involves no humans, reason why it is effective against reading errors.

  • Fully automatic measuring and control of electrical energy cutting and pre-cutting from the control centre.

  • Data storage, event log, lack of voltage and current. With this feature, notifying or complaining  about lack of energy would not be necessary for the final consumer  since the team immediately warns the centre.

Smart Current Metering with Arduino PLC

Conclusion (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, it is stored in the SD memory. The database located inside the Panel PC will collect the data received from the industrial automation PLC and use the Node-Network tool to monitor all the data, in graphic format, and observe the results in the medium and long term.

The customer 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 any anomaly is detected in the system, the programmable logic controllers automatically cut electricity with a relay output. 

Diagram smart current metering PLC Arduino

Check the products of this case study

Industrial Arduino PLC and HMI Raspberry Pi

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.