How Arduino read data from energy meter?
This meter is equipped with an optical infrared interface and a RS485 interface to distribute the collected data via the so called SML protocol. In this project we will use the RS485 interface to connect an Arduino to the meter and read out the values for total power consumption and real power.
How do I make an Arduino energy monitor?
How to Build an Arduino Energy Monitor – Measuring Mains Current Only URL Embed
- Step 1: Gather Components. URL. Embed. You will need:
- Step 2: Assemble the Electronics. URL. Embed.
- Step 3: Upload the Arduino Sketch. URL. Embed.
How does Arduino measure power?
You can refer the Arduino dB meter in which I have used a similar method. Finally, once we have calculated the value of actual voltage and actual current through the load, we can calculate the Power using the formulae (P=V*I). Then we display all the three values on the LCD display using the code below.
How does optocoupler connect to energy meter?
Now user needs to connect anode terminal of LED at pin number 1 of Optocoupler and cathode terminal to pin 2. Pin number four of optocouper should be directly connected to ground. A LED and a Pull-up resistor are connected at pin number 5 of optocoupler. And same terminal should go to the Arduino pin 8 too.
How do you make a power meter?
DIY POWER METER INSTRUCTIONS
- Drill a small hole in the spindle.
- Glue strain gauges onto the spindle.
- Wire up the strain gauges and feed wires through the small hole.
- Connect the electronic module (SG53) and battery.
- Do preliminary calibration and adjust gain setting resistor if needed.
What is Arduino energy meter?
So this meter measures the supply current to your home through a CT (current transformer) and then does a couple of calculations to give you your current, power, maximum power and kilowatt hours consumed. Its also really easy to add your local tariff and display the cost of electricity used to date.