Extend emonTx

Hi to everybody,

I builded emonTx pcb for read PV and cosumation and I connected only two CT (one for pv and 1 for consumation), its works fine, but I would to know if there's a method to extend the emonTx functionality to read a digital value without to change a pcb. I need to read a value coming from an external device, Is there a pin that can use?

I hope my explanation is clear

Thanks

Robert Wall's picture

Re: Extend emonTx

Yes, the temperature sensor does exactly what you want using the one-wire protocol.

Also, look at this http://openenergymonitor.blogspot.co.uk/2012/08/reading-watt-hour-data-f... which uses the pulse input.

 

boelle's picture

Re: Extend emonTx

let's hope it's not serial data he want's to read... and worse if he wants to ways serial com with the external device..

given up on figure that one out for the emontx myself

Robert Wall's picture

Re: Extend emonTx

Others have successfully implemented serial input, if you cannot do it, it does not mean the everybody is the same.

Petrik's picture

Re: Extend emonTx

 

There is a pulse input on the standard board which is designed to read a digital value, i am using it to read rpm for a heat pump. My experience is that its more difficult to read exact ad values with current emontx scripts.

 

 

boelle's picture

Re: Extend emonTx

nope it does not mean that... i have seen threads about input only but it will be another thing for meters that require a request before they output anything.

ianselmi's picture

Re: Extend emonTx

Thanks to all for reply.

My goal is to read a digital value that comes from an alarm system.

If value is true means that my allarm is active otherwise is turned off

I not need to read a serial data, I need to read only one value

boelle's picture

Re: Extend emonTx

hmm... i think you can use the pulse input... of course it will require a small mod so it does only report either on or off..

the pulse i normal used to messure things like water or electricity that gives 1 pulse for every liter or kwh (in most cases it requires more pulses to say 1 liter etc)

if you used the pulse input without mods you will only have a pulse when alarm is activated or turned off.. of course it would work somehow but you would have to go back and figure if the alarm is on or off instead of a simple value of on or off

logic's picture

Re: Extend emonTx

By digital value, do you mean a voltage out on the alarm?  If so then if you can adjust it to provide a suitable input voltage for the emontx (not sure if has to be 3.3v or if 5v will do).

This page http://openenergymonitor.org/emon/emontx/reference%20  gives the pin uses of which Digital 5, 6 and 7 could be used for 'if pin HIGH = alarm triggered'.

This page http://solderpad.com/openenergymon/emontx/  should help you identify the pins, but they are the pads set out to be compatible with the Jeenodes.

Maybe you mean something else though?

Dennis

ianselmi's picture

Re: Extend emonTx

Thanks,

For summary

Digital 5, corresponding to pin 11 that is connect to CT3 connector is free

Digital 6, corresponding to pin 12 that is connect to AC-DC 9 V measurement, connector already in use

Digital 7, corresponding to pin 13, that is connect to to CT1, connector already in use

Digital 4, corresponding to to pin 6, that is connect to temperature measure, connector is free

If I understand correctly I can use Digital 5 or Digital 4, correct?

On  P1 is connected also the CT2 connector, if I use the Digital 4, is compromise CT2
read ?
Thanks

 

logic's picture

Re: Extend emonTx

Not from how I read it, unless you mean you have built/designed your own board?

If using the OEM Emontx then:

Digital 5, 6 & 7 are all free, and ready setup to use the Jeenode layout.

CT3 is connected to Analogue 1/ Digital 15/Pin 24 which can be used if you don't use CT3, but as there already unassigned pins then why use it - maybe you want to make use of the available jack?

9v AC input is connected Analogue 2/ Digital 16/Pin 25.

On P1 the digital port is in use, but it is the One Wire Temperature input.

Dennis

ianselmi's picture

Re: Extend emonTx

Sorry but perhaps I wrong to read a schema.

If I understand if something use the pin AIO of PX connector, this is in use. I look a DIO pin of PX connector.

If it is connect where, in the schema, I connect my cable to read a input?

 

Thanks

Comment viewing options

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