Update to 3-Phase PLL sketch

An updated version of this sketch is attached here.

The significant change is this now incorporates a switch to choose between the JeeLibs “Classic” radio format and the new “RFM69 Native” format. Full details of that are posted separately under the heading “The EmonPiCM” (The emonPiCM) which explains when the ‘Native’ format must be used.
Although the name of the sketch now includes “rfm69n” signifying the “Native” format, the sketch can be set to transmit using the old “Classic” format to maintain compatibility with the emonPi that has not been upgraded to continuous monitoring.

The code for the RFM69CW radio is no longer part of the sketch, either the “Native” format library rfm69nTxLib.h or the “Classic” format library rfmTxLib.h is needed.

The other changes are the correction of a typo in the Serial output, and the restriction on the serial baud rate to 9600 has been removed.

This release is the version linked in the “The EmonPiCM” post.(The emonPiCM)
and future updates to this sketch will appear here.

MD5 Hashes:
emonTx_3Phase_PLL_rfm69n.zip 427b02b563eab4d6b782e5d54e158f29
emonTx_3Phase_PLL_rfm69n.ino 7f0d982b8ecaa2d37ce344e1f8be574a
emonTx_3Phase_PLL_rfm69n_config.ino e90bcffbaaa8f87296f69f8491f2e2da
emonTx 3-phase PLL User Doc.pdf b94ebe6dc103a71520ae3579437694e5

emonTx_3Phase_PLL_rfm69n_V2.0.1.zip (137.0 KB)

This sketch will also require one of the following libraries:

rfmTxLib.zip (61.3 KB)
or
rfm69nTxLib
depending on whether ‘Classic’ or ‘Native’ format is required for the radio.

1 Like