emonTxV3_4_3Phase_Voltage does not communicate over rfm69cw

Hello all,

I have a 2 or 3 week old emonTx v3.4, which was working fine with the default discrete sampling sketch.

I have uploaded the latest 3 phase sketch in git (4th May), it apparently runs well and sends out the data over the serial line, however, I can no longer receive anything via jeelink+emonhub (not a single byte).

I have checked all the configurations for RFM, and cannot find anything wrong.

I am using RFM69CW, 433Mhz, Group 210.

 

Any ideas what could be wrong, or what to look for?

 

Thanks

Robert Wall's picture

Re: emonTxV3_4_3Phase_Voltage does not communicate over rfm69cw

Experiment with changing the frequency. According to the RFM69CW data sheet, the frequency setting (Frf) should be 0xC64000, whereas if I remember correctly, I worked out that JeeLib set it to 0xC68000

So try changing line 619 to:
    writeReg(0x08, 0x80); // RegFrfMid

I have only 868 MHz modules. I tested over a range of only about 100 mm, so it worked on 433 MHz at that range. It doesn't work over about 3 m with 0xC64000, whereas it does most of the time with 0xC68000.

jdpmendes's picture

Re: emonTxV3_4_3Phase_Voltage does not communicate over rfm69cw

Thanks, this was exactly the reason!

Robert Wall's picture

Re: emonTxV3_4_3Phase_Voltage does not communicate over rfm69cw

It appears to want to work at 433.75 MHz, not 433 MHz. I'll get Glyn to change it on GitHub.

glyn.hudson's picture

Re: emonTxV3_4_3Phase_Voltage does not communicate over rfm69cw

I've checked line 619 to: writeReg(0x08, 0x80); // RegFrfLsb

​Please confirm this is correct? 

https://github.com/openenergymonitor/emonTxFirmware/blob/master/emonTxV3/RFM/emonTxV3.4/emonTxV3_4_3Phase_Voltage/emonTxV3_4_3Phase_Voltage.ino#L619

Robert: have you got a GitHub account? Can I give you push access so you can dive straight in to update the code. This can easily be done just by clicking edit just like a drupal page: https://help.github.com/articles/editing-files-in-your-repository/

Robert Wall's picture

Re: emonTxV3_4_3Phase_Voltage does not communicate over rfm69cw

No (to the GitHub account, and I haven't figured out how to use (i.e. make it useful to me, as distinct from operate) GitHub yet!) - and I need to check the other frequencies too. I shouldn't have believed the comments. I hope to get back to this in a day or two.

Comment viewing options

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