Here are the complete arduino sketches for the main and ethernet units.
Arduino energy monitor ethernet.
They are made up of the stand alone sketches from each section above.
Upload the arduino sketch.
Now you can upload your sketch onto your arduino if you haven t uploaded a sketch before then follow this guide on getting started.
The energy monitor shield is primarily designed to be used for building energy monitoring systems like a customised multimeter but can be integrated into existing systems for enhanced functionality or circuit security.
And here s a short description of how to build an enclosure.
For the rest we use dhcp ip address and such.
The ethernet unit is connected to the router the small box on top of the larger box houses the wireless xbee link.
The resulting energy monitoring shield has a.
Ct sensors interfacing with an arduino.
It is inspired to open energy monitor of which uses a slightly modified version of emontx v2.
Below is a screenshot of the web based graphing that can be seen live here.
Ethernet mac address must be unique on your network mac reads t4a001 in hex unique in your network byte mac 0x54 0x34 0x41 0x30 0x30 0x31.
All the calculations are done in the digital domain on an arduino.
The energy monitor can calculate real power apparent power power factor rms voltage rms current.
From this idea the energy alerter was born.
Because your setup ct resistors and input voltage may be different there is a scaling factor in the sketch which you will need to change before you will get.
Step one gather components.
Main unit assembly installed energy monitor measurement board assembly.
The arduino converts the raw data from its analog input into human readable values then sends them to the serial port monitor.
The sketch is the software that runs on the arduino.
Assemble the components per the diagram above.
It is not only capable of monitoring energy usage but can also interact with compatible arduino boards and shields allowing.
1x 9v ac ac power adapter 1x 100kohm resistor for step down voltage divider.