Hey Alan Could you do the

Hey Alan

Could you do the calculation with my code on the first arduino and then send the Irms value instead of the analog read value to the second arduino? I think you'd get a faster sample rate that way and it may simplify things a little.

I wrote a bit of code to send Irms, Vrms, values etc from my measurement arduino to the ethernet arduino via xbee. But it will work with a wire connection just the same.  If you download the ethernet sketch here:

 http://openenergymonitor.org/emon/sites/default/files/EthernetSketch27Jan.tar.gz

values are sent from the measurement arduino as a stream of characters and so the ethernet sketch converts this steam of characters back into values that you can then use, have a look through it and let me know if anything doesn't make sense.

Trystan

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

More information about formatting options