LowPowerLab Forum

Hardware support => RF - Range - Antennas - RFM69 library => Topic started by: eddy6098 on January 16, 2017, 02:52:39 AM

Title: RFM69W receiver hangs
Post by: eddy6098 on January 16, 2017, 02:52:39 AM
Hi All,
I am basically using two RFM69W modules for trasmitting and receiving data every sec.
It is observed that the transmission takes place every SEC but the receiver node hangs most of the time and the packets are lost in this way (sending data of 40 bytes).
How do I debug this problem? Is there any fix ?
Title: Re: RFM69W receiver hangs
Post by: Felix on January 16, 2017, 04:28:59 PM
What mcu/hardware?
What library?
What sketch?
Title: Re: RFM69W receiver hangs
Post by: eddy6098 on January 17, 2017, 02:26:31 AM
Hi Felix,
I am using the hardware from Hope RF (RFM69W) on a RaspberryPi 3 (2 RPi) (for intial tests)
Library from low power labs. Without ACK
Followed the connections from this link (http://rdepablos.merlitec.com/mixed/rfm69-library-for-raspberry-pi)

Thanks,
Eddy
Title: Re: RFM69W receiver hangs
Post by: Felix on January 17, 2017, 07:59:30 AM
Wait, that's not my library?!
Title: Re: RFM69W receiver hangs
Post by: eddy6098 on January 17, 2017, 08:20:58 AM
Hi felix,

For connections to the Rpi I reffered to the above link.
But for the library, followed this (https://github.com/LowPowerLab/RFM69 ). This one is right?
Title: Re: RFM69W receiver hangs
Post by: Felix on January 17, 2017, 08:26:54 AM
My library is for AVRs not for RaspberryPi.
Title: Re: RFM69W receiver hangs
Post by: eddy6098 on January 17, 2017, 08:34:16 AM
Yes I know this, I have ported your library for Raspberry Pi.
Everthing works fine in the first few minutes and then there are packet losses periodically (roughly 15 secs every time ).
If you have any idea on how to debug this problem would be helpful
Title: Re: RFM69W receiver hangs
Post by: Felix on January 17, 2017, 08:39:50 AM
Some folks in the forum (I recall joelucid) reported the Pi is noisy and will affect the RFM69.
Otherwise I don't know how to further advise.
Title: Re: RFM69W receiver hangs
Post by: eddy6098 on January 17, 2017, 08:43:27 AM
Thanks for the info felix :)