Hello,
are now three months that I have the emontx v3 with emoncms on rpi, now I want to put the sensor out of the house, to monitor the gas and water but the signal of RFM12PI is not powerful enough.
I have bought a couple of modules RFM69CW and can replace them directly on RFM12PI V2 ??
What is the firmware to be loaded and the procedure to load ??
i'm using Emonhub version rc1.2 https://github.com/emonhub/emonhub/tree/development
is the correct version?
Regards
Gabriele
Re: RFM12Pi V2 replace RFM12B with RFM69CW
You will need to swap couple of the 100nF caps to 10uF, otherwise the RFM69CW will brown out the ATMega328 at startup. Just leave the 100nF cap on the DTR line, the other two (side ones) need replacement.
Other than that, it is pretty straight forward, load this sketch and you are good to go:
https://github.com/openenergymonitor/RFM2Pi/tree/master/firmware/RFM69CW...
Re: RFM12Pi V2 replace RFM12B with RFM69CW
Yes, the RFM69CW can be used on the RFM12Pi V2 PCB. Make sure the Arduino bootloder in in place before attaching the RFM69CW module as ISP flashing will not be possible afterwards. Code can be uploaded in the usual way via serial from Raspberry Pi GPIO, this is documented in the technical wiki: http://wiki.openenergymonitor.org/index.php?title=RFM12Pi_V2
You should use this firmware the the 69: https://github.com/openenergymonitor/RFM2Pi/tree/master/firmware/RFM69CW_RF_Demo_ATmega328
Re: RFM12Pi V2 replace RFM12B with RFM69CW
"Make sure the Arduino bootloader in in place before attaching the RFM69CW module as ISP flashing will not be possible afterwards."
Hi Glyn, That's interesting ! Why is ISP flashing not possible with a rfm69 fitted?
Is it a hardware thing or a firmware thing? Just wondering if it effects other devices being programmed via ISP if a rfm69 is fitted and whether it means the rfm module must be removed if the bootloader gets corrupted.
Paul
Re: RFM12Pi V2 replace RFM12B with RFM69CW
The RFM69CW requires a 10K-100K pull-up resistor on the SEL to de-select it from the SPI bus to allow ISP uploading: http://openenergymonitor.org/emon/buildingblocks/rfm69cw
The RFM69Pi has got this extra pull-up resistor included on board.
Re: RFM12Pi V2 replace RFM12B with RFM69CW
Fantastic! So the emonTx v3.4 already has a 120k fitted and the emonTx v2 would need one installed as would the RFM2Pi v2. got it! Thanks.
Paul
Re: RFM12Pi V2 replace RFM12B with RFM69CW
Yup, correct. This little bug has me stumped for a while trying to ISP flash an RFM12Pi with an RFM69CW fitted!
Re: RFM12Pi V2 replace RFM12B with RFM69CW
Thanks to everyone for the help, but I bought the wrong card :(
The RFM69W is compatible with the CW version but is not pin compatible
Now I'm waiting for the arrival of the card right !!
Re: RFM12Pi V2 replace RFM12B with RFM69CW
Yesterday I received the proper cards RFM69CW!
Last night I first sent the correct firmware for the new board, then turned off the RPI and I unsoldered the old RFM12B and I replaced it with the new RFM69CW. after restarting the RPI, the emonhub did not work but after commenting the line: com_baud = 9600 in the file /etc/emonhub/hmenohub.conf and restarted the service it worked !!
Thanks to everyone !!!
Another question:
RSSI that the range of values has ?? the datasheet is written -115dBm, it is right ??
I have the emontx v3 which is about -90 / -97 of rssi is a problem ??
hopefully I can do the same thing to replace the RFM12B with RFM69CW on emontx v3 ??
greetings