LowPowerLab Forum

Hardware support => Moteino => Topic started by: gert on May 14, 2017, 10:07:18 PM

Title: Not getting RF talking [SOLVED]
Post by: gert on May 14, 2017, 10:07:18 PM
Hi All,

New Moteino user here. I got my pair of Moteinos (one of them the USB version) and want to see the RF working. From the examples I picked the 'node' and 'gateway' programs and uploaded them. Gateway went to the USB-Moteino and node to the other. The compiling went fine but no screen output showed up.  As a test I uploaded 'Blinky' to both of them and the ran that fine.

Here's what I got from the gateway and nodes when connected to the IDE (on my PC).


Transmitting at 868 Mhz...
SPI Flash MEM not found (is chip soldered?)...
RFM69_ATC Enabled (Auto Transmission Control)

nothing...
Sending[1]: 1 nothing...
Sending[2]: 12 nothing...
Sending[3]: 123 nothing...
Sending[4]: 123  nothing...
Sending[5]: 123 A nothing...
Sending[6]: 123 AB nothing...
Sending[7]: 123 ABC nothing...
Sending[8]: 123 ABCD nothing...
Sending[9]: 123 ABCDE nothing...




Listening at 868 Mhz...
SPI Flash Init OK. Unique MAC = [D7:66:8C:64:13:6C:27:26:]


Here is my setup in the software for node and gateway.
(http://skywatcher.space:8000/download/Gateway_bug.jpg)

The USB-motino says 'Lora' on it. Is that making it not work with the node that does not say it?
(http://skywatcher.space:8000/download/Node_Gateway_01.jpg)

Backside:
(http://skywatcher.space:8000/download/Node_Gateway_02.jpg)

Your help is much appreciated.

Thanks,
Gert
Title: Re: Not getting RF talking
Post by: WhiteHare on May 15, 2017, 07:57:13 AM
Quote from: gert on May 14, 2017, 10:07:18 PM

The USB-motino says 'Lora' on it. Is that making it not work with the node that does not say it?


Yes.  In theory they could talk, but the LPL library doesn't support FSK on the LoRa module.  Not sure if the RadioHead library supports that configuration.  Anyone know?
Title: Re: Not getting RF talking
Post by: gert on May 15, 2017, 11:59:45 AM
Hi All,

UPDATE:

I got a second 'non-LoRa' moteino. Now both node and gateway are identical. Both pass 'Blinky' test.
But still no RF communications. Using same source code as above. Are the code settings of frequency correct?
How should I proceed to debug?

The two moteino boards:
(http://skywatcher.space:8000/download/Node_Gateway_03f.jpg)

(http://skywatcher.space:8000/download/Node_Gateway_03b.jpg)

Thanks,
Gert
Title: Re: Not getting RF talking
Post by: Felix on May 15, 2017, 05:52:24 PM
These are both RFM69W in your last post.
They need the IS_RFM69HW commented out, that's a very common mistake people make.
Title: Re: Not getting RF talking
Post by: gert on May 15, 2017, 10:30:32 PM
@Felix,

Thanks! Patching the RFM69HW issue solved the problem.

Cheers,
Gert