Project

General

Profile

Blink_xmit - Jeenodes are not communicating

Added by USF 11 months ago

Hello,

when running the port library demos blink_xmit and blink_recv with two Jeenodes (v6, RF69CW) there are no transmissions occurring on the transmitter side.

The Jeenodes communicate successfully when running both the RF12demo. All transmissions are checked with JeeLink (31, RF12_868MHZ, 5).
The blink_ports demo on the receiver also runs fine.

The configuration set by the RF12demo is:
Transmitter: (1, RF12_868MHZ, 5)
Receiver: (2, RF12_868MHZ, 5)

The configuration in blink_xmit is:
RemotNode bob(2, RF12_868MHZ, 5)

Trying to debug with Serial.print I can see that even setup() is not running.

Any suggestions or tips would be very much appreciated.
Thanks
Ulrich


Replies (2)

RE: Blink_xmit - Jeenodes are not communicating - Added by martynj 11 months ago

@USF,

Failing in setup() suggests trying to talk to the wrong radio module type.
Try this to select the correct conditional compile for the RFM69CW instead of the default RFM12.

#define RF69_COMPAT 1 // define this to use the RF69 driver i.s.o. RF12

before

#include <JeeLib.h>

RE: Blink_xmit - Jeenodes are not communicating - Added by USF 11 months ago

Martin, thanks for your quick reply.
I know that #define RF69_COMPAT 1 has always to be inserted before #include for RFM69CW modules.
Other demos run fine so far.

There is not much code before setup() to fail.
I looked into PortsRF12.cpp library and commented rf12_config() out for a quick test. In this case setup() is running.
Could it be a problem of the RemoteHandler when initializing before setup()?

Thanks for your support
Ulrich

    (1-2/2)