Advice on the data coming out of the emonTX

Hi

I have built and programmed my emonTX and emonBase, and between them they are successfully posting data to the emonCMS demo site under the feeds tailzerpower and tailzerbattery.

The data from the power value goes both posaiive and negative, is there something I'm missing when i add the feed into CMS or should the data be returning only + readings? I'm generally getting -3000 to +3000 range.

I only consume power (no solar etc) so would have expected + readings?

Also the readings are a little sparadic, the base is currently plugged into my PC via the FTDI cable, is it a bad idea to run on that for prolonged periods? The TX is flashing away every 10 secs or so.

Have to admit a little glee when I first saw my data even if it is a bit wrong at the moment!

:O)

glyn.hudson's picture

Re: Advice on the data coming out of the emonTX

Great work getting your data up! Values don't look right though

 

Could you tell me a bit more about your setup: 

Are you using an AC-AC adapter to measure voltage or are you just using a CT?

What are you monitoring? Whole house domestic load? - Have you got the CT clipped round either the live or neutral wire (not both!) 

What sketch are you running on the emonTx? 

 

Something to check is that the payload structure being sent via the RFM12B is identical on the emonTx and Nanode. 

glyn.hudson's picture

Re: Advice on the data coming out of the emonTX

No problem powering emonTx from FTDI as long as non-rechargeable batteries are not inserted  

Tailzer's picture

Re: Advice on the data coming out of the emonTX

 cheers for the fast reply.

i am just using 1 ct at the moment clipped onto the live feed out of my meter, so measuring the whole house load.

 

using the single ct sketch on the TX and the single ct using ethercard example posted a couple days ago on the nanoderf.

just gt in from work but will get the two sketches up tonight and check  whats being sent and expected, also going to move the tx to an extension scket with a 2kw heater so i have more of an idea what it should be pushing out.

 

its the nanoderf thats being powered by the ftdi btw,  tx is running on AAs

 

glyn.hudson's picture

Re: Advice on the data coming out of the emonTX

Remember to split the cable (carefully when switched off) to expose the live and neutral then just clip the CT round one of them

 

 

Tailzer's picture

Re: Advice on the data coming out of the emonTX

 looks like its sending the +3000 to -3000 all the time even without it being accross a load or even with the ct plugged in.

Time for to open the box up, may have been too hasty boxing it!

Tailzer's picture

Re: Advice on the data coming out of the emonTX

 question, on the emonTX board i have there is an extra 3 pads just above the LED marked IRQ I/O and then 5v  3.3V

do these have to be shorted to tell it which voltage like the nanodeRF?

Could this be my problem?

glyn.hudson's picture

Re: Advice on the data coming out of the emonTX

No, totally different thing to the NanodeRF. The emonTx Atmega will always run at 3.3V. If you'r not using the IRQ pulse counting port you don't need to worry about the solder jumpers. They are to select the voltage on the VCC pin of the IRQ pulse counting port, usefull when interfacing directly with pulse output utility meters or controlling relays. This blog post should explan all: http://openenergymonitor.blogspot.com/2011/12/new-emontx-pcb.html

emonTx single CT and EtherCard Single CT sketch examples should work fine together. Sorry that the emonTx examples are a bit jumbled are have not yet been ported to Arduino 1.0. We'r working on it :-)

Tailzer's picture

Re: Advice on the data coming out of the emonTX

 ok thanks, Ive reuploaded the sketch with 1.0 and it seems to be behaving itself now, contant posative numbers, adjust the cal roughly for 2KW and I now 2100ish, and when I put the heater @ 1/2 power I get 980 so not too bad!

wahoooooooooooo! 

is the demo site down for maintanance? wont respond at the moment.

Oh well, next stage to get my emonCMS working on my server. Great stuff, really chuffed.

Thanks

Gary

ps will try and do some documentation on what ive learnt etc for any newbies using this new combo.

glyn.hudson's picture

Re: Advice on the data coming out of the emonTX

Fantastic. It's back up now! Not sure why it went down. We have sent our server hosts a message. 

Yes, installing emoncms on your own server is your best bet for long term logging. In the meantime feel free to create your own account on the server, this will give you your own private API key. 

Documentation of your experiance would be great. 

Tailzer's picture

Re: Advice on the data coming out of the emonTX

 Thanks I'' register untill I get me cms sorted, all installed and working but the nanode is unable to send to it as its going out to the internet and back in rather than local. will have a closer look tomorrow.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.