Author Topic: change moteino frequency  (Read 1096 times)

stern0m1

  • Full Member
  • ***
  • Posts: 113
  • Country: us
change moteino frequency
« on: December 26, 2017, 02:39:00 PM »
Is it possible to change the frequency of a moteino with rfm69w?
Thanks
It all started with a Moteino!

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6866
  • Country: us
    • LowPowerLab
Re: change moteino frequency
« Reply #1 on: December 26, 2017, 03:06:10 PM »
If you look at the examples in the library you will find this and many other things you can do.

Code: [Select]
radio.setFrequency(Hz)

stern0m1

  • Full Member
  • ***
  • Posts: 113
  • Country: us
Re: change moteino frequency
« Reply #2 on: December 26, 2017, 03:10:44 PM »
Is there documentation besides for examples and source code?
It all started with a Moteino!

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6866
  • Country: us
    • LowPowerLab
Re: change moteino frequency
« Reply #3 on: December 26, 2017, 03:17:31 PM »
No. The function is pretty self explanatory. But here is some documentation

Code: [Select]
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

  • Full Member
  • ***
  • Posts: 113
  • Country: us
Re: change moteino frequency
« Reply #4 on: December 26, 2017, 03:22:01 PM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 6866
  • Country: us
    • LowPowerLab
Re: change moteino frequency
« Reply #5 on: December 26, 2017, 05:43:11 PM »
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.