Would like to upgrade old firmware on my emonTx V3 device

Many years ago I have bought an emonTX V3 device that has worked fine all the time.
Now I want to update the firmware to:

* emontx3/firmware/emonTx34/emonTx_3Phase_PLL at master · openenergymonitor/emontx3 · GitHub

As my emontTx device is sending data to my raspberrry pi with the RFM69Pi v3 expansion board, I would like to use the jeelib classic/native protocol as that is currently the protocol that my RFM69Pi expansion board understands.

So when compiling the firmware I have set:

#define RadioFormat RFM69_JEELIB_CLASSIC

or set

#define RadioFormat RFM69_JEELIB_NATIVE

The problem is that in both cases it doesn’t compile as it can’t include:

  • rfmTxLib.h (in case of RFM69_JEELIB_CLASSIC)
  • rfm69nTxLib.h (in case of RFM69_JEELIB_NATIVE)

I looked everywhere but I can’t find those include files.

Straight from the horse’s mouth:

rfmTxLib.zip (61.3 KB)

rfm69nTxLib.zip (62.2 KB)

(They must be on Github somewhere, but I can never find my way around that.)

Installation instructions if you need them Using the Arduino IDE — OpenEnergyMonitor 0.0.1 documentation

1 Like

It took me some time to reinstall the drivers on my macbook.

I am using `OpenEnergyMonitor USB to serial UART Programmer sold before January, 2021`
so I followed the instructions at :

When trying to install the driver (SiLabsUSBDriverDisk.dmg) I was facing the problem:

The issue and solution are:

One appears to be asking for permissions, but pressing OK causes it to hang. On closer inspection, you have to click the other button and accept the permissions directly within setting. Then the installation will finish successfully

So now I can continue with upgrading the firmware.

As a first test I would like to get the following repository working:

I managed to compile and download it to my emon tx device

The problem is that it doesn’t seem to be working properly.
It is every x seconds outputting the following message in the serial monitor:

emonTx V3.4 Discrete Sampling V3.40
OpenEnergyMonitor.org

No EEPROM config
RFM69CW Node: 10 Freq: 433Mhz Group: 210

I also tried to send commands (e.g. h for help) to the serial monitor but that is also not working.

Fixed above issue.
I had to change:

#define RF69_COMPAT 1   

into

#define RF69_COMPAT 0   

serial commands is also working.
Note that there is only a short window you can window enter serial command and first you have to enter +++.

If your radio is a RFM12B ( for pictures, see Docs → Electricity Monitoring → Networking → RFM12B & RFM69CW Wireless Transceiver Modules), then you must have

#define RF69_COMPAT 0

or remove (comment out) the line, but if it is the later RFM69CW, then

#define RF69_COMPAT 1

is correct.