change moteino frequency

Started by stern0m1, December 26, 2017, 02:39:00 PM

stern0m1

Is it possible to change the frequency of a moteino with rfm69w?
Thanks
It all started with a Moteino!

Felix

If you look at the examples in the library you will find this and many other things you can do.

radio.setFrequency(Hz)

stern0m1

Is there documentation besides for examples and source code?
It all started with a Moteino!

Felix

No. The function is pretty self explanatory. But here is some documentation

radio.setFrequency(Hz)


What it does: sets the transmit/receive frequency of the radio module. The parameter is in Hz. For 915mhz you would pass 915000000. Note that setting a 433mhz module for instance to 915mhz would work but it would grossly underperform since it is hardware conditioned to bandpass only the 433mhz frequencies, and attenuate other frequencies. Hence, try to keep in band with the module's intended frequency range.

stern0m1

I meant complete documentation for the whole library...
Can I set it to 315mhz?  What's the range that I could set?
Thanks
It all started with a Moteino!

Felix

Yes you can set it in software but you will need a 315mhz module otherwise it will barely work due to RF signal path mismatch.