Hello,
I'm already using EMoncms on my own server, but I'm a newbie at the hardware level. I have an arduino uno + ether shield,can I plug the emontx shield on the ethershield, using the emontx sketch and the ethernet library to send variables using http get ?
Thanks in advance
Guillaume
Re: Emontx Shield + Ethernet Shield
I doubt you can stack the ethershield and emontx shield together - there is likely to be pin conflicts, plus there isn't a combined tx + base sketch.
The shield is designed to send readings via the rfm12b back to an emonBase (Nanode or similar).
At some point someone may come up with a way of doing this, though I'm not sure if there are enough pins on an Arduino to handle the TX functions as well as the radio module and ethernet.
Re: Emontx Shield + Ethernet Shield
Ok thank you, still investigate
guillaume
Re: Emontx Shield + Ethernet Shield
It is possible and I have done it. see my experience here
http://harizanov.com/2012/04/rfm12b-and-arduino-ethernet-with-wiznet5100...
Re: Emontx Shield + Ethernet Shield
It should be possible, you will need to change the RFM12B CS pin since this is required for Etherent Shield: see emonTx Shield documentation: http://wiki.openenergymonitor.org/index.php?title=EmonTx_Arduino_Shield#Hardware_Setup_Instructions
The Ethernet shield will need to be stacked underneath the emonTx Shield
Re: Emontx Shield + Ethernet Shield
Thank you very much, I will try
Guillaume
Re: Emontx Shield + Ethernet Shield
For information, I've just finished mounting, and it's working, with an Arduino Uno + Ethernet Shield + Emontx Shield, following instructions from the wiki and precious informations from mharizanov , thanks to him, and I'm posting to Emoncms values from arduino + Ethernet
Still struggling with calibration, CT sensors sends some random values, even if there's nothing plugged on female jack, is it normal ?
Thanks for help
Guillaume
Re: Emontx Shield + Ethernet Shield
I have the same setup with UNO, ethernet card (w5100) but I have made my own shield with a breadboard (one ds18b20 and one CT). Yesterday I connected it up and managed to do some measurements. I just modified the Webserver example supplied with arduino to show values on a webside.
Next step is to send data to emoncms.org. Could you share your arduino code for me?
I also have some more work also with calibrating the CT I used a 47 ohm burden and only had an 5uF cap available but most of the time it seems to delivery reasonable values. I will get an 10 uF capacitor and probably change the burden. I aim to do measurements up to max 30 A (rms) so with higher burden then the 33 ohm recommended should give higher resolution?. Then I will calibrate it.
Thnaks
Pär
Re: Emontx Shield + Ethernet Shield
"so with higher burden then the 33 ohm recommended should give higher resolution"
When you do that, you run the risk of saturating the c.t., leading to an inaccurate waveform and inaccuracy in the measurements.
Re: Emontx Shield + Ethernet Shield
Hello,
Here's the code I use to send to my emoncms server
Guillaume
Re: Emontx Shield + Ethernet Shield
I have the 013-000 and my conclusions from "report-yhdc-sct-013-000-current-transformer" is that it should be out of saturation if Rb is under 200 ohms (for 30 A). I guess I will use something like 70 ohms and be in 50 A area. My mains fuse is 25 Amps. I have access to an variable current source so I will try doing some calibration later.
Am I thinking right here?
Re: Emontx Shield + Ethernet Shield
gcarlier Thanks!!
Re: Emontx Shield + Ethernet Shield
I'm not sure but maybe you should hide the API??
I have no RFM12 so I quess I can skip that part.
Are you sending data to 2 places?
EMONCMS first and then SYNOLOGY PHP
/Pär
Re: Emontx Shield + Ethernet Shield
Hi,
The API key is fake.
I'm sending two CT sensors values to 2 cms different inputs, and then the same values to a PHP script for further processing to others online services like thingspeak or open.sen.se
Guillaume
Re: Emontx Shield + Ethernet Shield
Guillaume, do you mind to post an example of that php-script?
I'm currently using COSM and emoncms and now I fetched both JSON strings in the arduino sketch. but that's not an really flexible sollution at all. Because I have to remove my nanodeRF basestation everytime that I wan't to change something for that processing to COSM. So a separate PHP script on my own server would be a nice work-a-round this.
Re: Emontx Shield + Ethernet Shield
I have the 013-000...
You might be OK in that case. The test will be to see how much the waveform distorts (both amplitude and phase) with your maximum current and chosen burden. If you are happy with the result, then all is well.
Re: Emontx Shield + Ethernet Shield
Sorry for the late reply, but there is a good guide to choosing a suitable sized burden resistor for the power given a certian CT and power monitoring range in the building blocks section here: http://openenergymonitor.org/emon/buildingblocks/ct-sensors-interface
Re: Emontx Shield + Ethernet Shield
Regarding burden size, I will go for max 50 A => 70 ohm burden (68 or 75 standard values); After calibration I might report it in the Forums, however it can take some time before I have the time.....
Re: Emontx Shield + Ethernet Shield
@alco
Here's an exemple in php to post data from arduino to sen.se, using parameters from previous script
guillaume