RFM69 custom frequency
-
Hi,
For the pupose of testing, I would like to set up an additional gateway and I want this to be set at a different (custom) frequency to keep it seperated from my existing Mysensors network. All my RF modules are RFM69HW.It seems to be possible to set a custom frequency with the new RFM69 driver, but I'm not sure how to actually implement it in the sketch. Advice appreciated.
-
Welcome to the MySensors forum @olka
Use
#define MY_RFM69_NETWORKID number
where number = 0-255MY_RFM69_FREQUENCY is also available, but is only used to select different bands (433 and 868 for example).
-
Thanks, and thanks for the tip, I will try to use MY_RFM69_NETWORKID.
-
@mfalkvidd said in RFM69 custom frequency:
Welcome to the MySensors forum @olka
Use
#define MY_RFM69_NETWORKID number
where number = 0-255MY_RFM69_FREQUENCY is also available, but is only used to select different bands (433 and 868 for example).
Is this current info? I haven't tried it, but the API doc (RFM69 new driver) refers to "Custom frequency in Hz":
#define MY_RFM69_FREQUENCY (RFM69_868MHZ)
The frequency to use.RFM69_315MHZ
RFM69_433MHZ
RFM69_865MHZ
RFM69_868MHZ
RFM69_915MHZ
Custom frequency in Hz (new RFM69 driver only). <------------------------ NOTE
See also
MY_RFM69_NEW_DRIVER
-
@grubstake yes it is still current info and works both for the new driver and for the old driver, which is used by default (and what OP asked about)
If you are using the new driver you can set the frequency in hertz if you want to.
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
Meet in Malmö, Summer 2016?
General Discussion • 1 Feb 2016, 15:34 • bjacobse 28 days ago -
Running out of nodeId's
General Discussion • 3 Sept 2024, 07:33 • NielBierman 25 Jan 2025, 17:19 -
No merge into master in the last 5 years, should we use development?
General Discussion • 23 Sept 2024, 17:48 • kiesel 6 days ago -
ESP-NOW
General Discussion • 22 Apr 2018, 05:58 • NeverDie 17 Feb 2025, 22:24 -
Why is the output of ACS712 current measurement module unchanged?
General Discussion • 19 Jul 2021, 09:09 • Tessie T 2 days ago