I have search all over the forums and github to try to find a sketch that can read from all CT and puls and 4 temperature. I have found some that include puls but they refer to dig2/irq0 and screw terminal 4. My card is labeled dig3/irq1 at screw terminal 4??? This EmonTx was bought i desember 2014.
Re: Need sketch for Emontx 3.4 for 4ct, puls and 4 temperature
See http://openenergymonitor.org/emon/node/6069
Re: Need sketch for Emontx 3.4 for 4ct, puls and 4 temperature
Thank you, but isnt that 3 phase? and can I use interupt 1 as it seems to be on screw 4 on my board?
Re: Need sketch for Emontx 3.4 for 4ct, puls and 4 temperature
Sorry, yes. I misread the title of your post and assumed you wanted three-phase.
Do you want a sketch that measures power continuously, or are discrete samples adequate? (You need "continuous" if you have a rapidly switched load such as an induction hob.)
The emonTx V3.4 does use Dig3 / IRQ1. The previous version, V3.2, used Dig2 / IRQ0 but that can be changed very easily in the sketch.
If you are happy with "discrete" samples (i.e. the power is sampled for 200 ms every 10 s), then you can use the standard sketch "emonTxV3_4_RFM12B_DiscreteSampling.ino" and add to it the pulse parts (and only the pulse parts - do NOT move anything else) from the emonTx V3 sketch "emonTx_V3_Pulse.ino". If you need help with that, ask (but no promises for when I would be able to do it).
However, if you need to use the "continuous" sketch, that will be a lot harder and you will probably need to enlist the help of Robin to incorporate the pulse part.
Re: Need sketch for Emontx 3.4 for 4ct, puls and 4 temperature
Thank you very much;) I will have a try this weekend.