Arduino Current Voltage Total Energy MAX471 by armelroudaut

Cloned from Sketch Arduino_CurrentVoltageMeasurementSensor by hypnotist

This sketch is missing a short description
Code for the Max471: https://www.youtube.com/watch?v=T4yyK0G9Zgg Arduino Energy Meter http://www.instructables.com/id/ARDUINO-ENERGY-METER/ Final code: http://www.instructables.com/id/ARDUINO-ENERGY-METER/step10/Data-logging-in-a-SD-card/ I mixed the 2 codes for be able to see how many watts is used since the beginning. Each 1/2 second the sensor take the voltage and amps, calculate the watts and the total, for have a better accuracy we can reduce the delay, take for exemple 1/4 sec, so change 7200 for 14 400(3600 = 1sec so we do 3600*4). It can be used for calculate the battery capacity for exemple : ).

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:173620" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>