Emon TX V3 capabilities

Thank you for your comprehensive reply

Yes, I mean current transformers (Sorry - wrong terminology)

As for your question about the ESP8266 - how would I verify this? The unit, as purchased, was supplied with a screw-on antenna but that probably doesn’t help much. The product description (as per invoice) is an emonttxv3 emergy monitor transmitter in case (pre-assembled). Is the next step to open it up and have a look at the PCB?

Am I irght in thinking the RJ45 socket is not for lan connectivity?

Ta again

You won’t have an ESP8266 inside (if it had, you would have bought this) - though there is probably a header to accept it. You can open it up and look to verify. If there’s no header, the ESP8266 connects to the programmer port, but take care and look very carefully at the photos in the User Guide (link on that Shop page), because one pin needs cutting off, and another bent across.

Correct, it is not. It is for the pulse and temperature sensor inputs only.

So here is a photo of the inside of the unit. Since my last post I have done some more reading and it looks like the RJ45 is for temperature sensors (if I understand correctly)

I’m still not sure if I need to add an 8266 - there is a uart connection on the back of th3 unit that I would normally associate with a programming function…

More reseatxh is obviously needed on my part !

JP3 is where the header goes to accept an ESP8266. You don’t have either header or ESP8266. In its absence, you need to connect the ESP8266 as I mentioned to the programmer port (next to the RJ45), as per those photos.
Note: The (huge - comparatively) extra current needed for WiFi means you also need a 5 V USB adapter to power it. You don’t need the 5 V power (only the a.c. adapter) if you use the internal radio (right behind the antenna socket) and a RFM69Pi on an RPi instead of WiFi.

That makes perfect sense - thank you.

Strictly, I’d recommend a PiZeroW connected directly (wired) to the EmonTX rather than the ESP module and this wouldn’t need the RFM module (unless it was collecting data from another EmonTX).

@BerkshireBugsy Search for ‘PiZero’ and you will find plenty of help (starter for 10)

Many thanks everyone. I like the idea of the Zero - I would prefer a wired connection for obvious reasons.

Sadly work is getting in the way today but - once I understand more about th3 solution - I may just head over to amazon to order the bits :slight_smile:

Thanks again

So having done some reading this morning it would seem that if I want to go down the PiZero route I need the following:

  1. PiZero 2 (I believe that is the current version)
    2)MicroSD card
  2. Software for the above (this I’m currently confused about because as far as I understand the role of the Pizero is to accept the data from the EmonTX and transmit it on to another local device (or in my case cloud)
  3. PSU for the Zero Pi (Note to self - check if the EmonTX stiff needs a 5v supply)
  4. Bits of wire
  5. case for ZeroPI

Have I missed anything?

The PiZero devices didn’t exist when I got into emon, my emonTX V2 is still going strong handling my power reporting as well as Solar Diversion.
So instead I used an OpenWRT device that basically is the same as a PiZero but without needing an SD card. All it does is just reads the emonTX’s serial port and pushes that data directly to emonCMS via its HTTP csv input. I have updated that to also push that csv string to MQTT too.

1 Like

If you’re only using the serial port, and not drawing any power from the emonTx (i.e. whatever you connect to it is powered from somewhere else), then the a.c. adapter can supply enough power to the emonTx. The trouble starts when you connect something that needs more than a few milliamps, because the extra current spoils the shape of the wave you’re measuring, and makes the readings wrong.

Thank you so much for your reply. Is the openwrt device still available ? Thank you

OpenWRT was never a device as such. It was a linux operating system that you could run on several embedded hardware platforms. I ran it on a cheap TL link router. The advantage is that the TL link device had a serial port input, a WiFi adapter and a LAN port. So everything I needed to simply build a bridge between a serial port and the LAN. You don’t need to do any of that now. There are several off the shelf serial to LAN devices available.
Or just use an ESP (or similar), if you are happy with WiFi.

Found this, which will do the job just fine. You can power the TP link and the emonTX from the same 5V PSU.

I have also used devices that provide a cheap Serial to Ethernet bridge.
And while they work fine, they are closed firmware and that means that you need some scripting on the emoncms server to read the data from the LAN device it creates and push that into emonCMS or similar.

e.g.

£6.46 10%OFF | FS100P USR-TCP232-T2 Tiny Serial Ethernet Converter Module Serial UART TTL to Ethernet TCPIP Module Support DHCP and DNS

That is really interesting. Care to start a new thread and explain how you did that?

Looks much the same as these devices which I have used with great success for an IOT AP.

https://www.amazon.co.uk/gp/product/B073TSK26W

In theory, if the EmonCMS server is running emonhub, that should be straightforward.

@TrystanLea @glyn.hudson might be something to explore.

1 Like

I was just looking at that and trying to figure out just how @bruce_miranda used it - it looks like a wireless access point to me - Ethernet ↔ WiFi, which I think isn’t how we use the PiZeroW, or the plain RPi or ESP8266/

Effectively, OpenWRT is a mini Linux OS so you can run a script on it to read the Serial Port and do what ever else you want.

Very clever idea as often you could make use of the AP in that remote location as well.

Is there a serial input available to connect the emonTx? Not as far as I can see.

(I’m looking specifically at the TP-Link “nano router”, not OpenWRT in general.)

I think you will find it has an USB port.

Thanks for all your comments guys. I have another question :slight_smile:

Am I right in thinking the voltages on the uart connector are out 3.3v ? I seem to remember reading that on a wiki somewhere.

In which case can I safely interface the emontx uart with a device that is based on TTL levels ?

I’m trying to create a test environment where I can connect the emontx to a windows pc and see the data flow.