Author Topic: RFM69H power settings  (Read 2174 times)

initex

  • NewMember
  • *
  • Posts: 2
  • Country: lv
RFM69H power settings
« on: January 25, 2017, 10:29:58 AM »
Hello!

I have weird problem with RFM69H modules. My hardware  - Arduino pro mini 3.3V, RFM69H and mini stepdown module.I hooked RFM69 up like in this tutorial - https://learn.adafruit.com/adafruit-rfm69hcw-and-rfm96-rfm95-rfm98-lora-packet-padio-breakouts/rfm69-test.
Everything working ok - I can send and receive.
The problem is with power settings - I don't think that it's transmitting at max power, because power consumption an RFM69 module is 16mA.
I use settings:
Code: [Select]
#define IS_RFM69HCW   true // set to 'true' if you are using an RFM69HCW module

Code: [Select]
radio.setHighPower();    // Only for RFM69HCW & HW!
  radio.setPowerLevel(31); // power output ranges from 0 (5dBm) to 31 (20dBm)

Have tried different settings-still no more power.

Any thoughts?

WhiteHare

  • Hero Member
  • *****
  • Posts: 1300
  • Country: us
Re: RFM69H power settings
« Reply #1 on: January 25, 2017, 11:46:12 AM »
Looks like Adafruit or you forked Felix's library and/or the example.

Try using Felix's library and example.  Ignore the HCW distinction and just set
Code: [Select]
#define IS_RFM69HW
as per the example code.

That should work.  Does it?

initex

  • NewMember
  • *
  • Posts: 2
  • Country: lv
Re: RFM69H power settings
« Reply #2 on: January 25, 2017, 01:42:37 PM »
I uploaded example node sketch on 1st and gateway sketch on 2nd - nothing (node is sending and gateway is just listening).
I realized, that adafruits use reset pin before RFM69 initializing.
Code: [Select]
//  Hard Reset the RFM module
  pinMode(RFM69_RST, OUTPUT);
  digitalWrite(RFM69_RST, HIGH);
  delay(100);
  digitalWrite(RFM69_RST, LOW);
  delay(100);
Without that I couldn't manage to send/recieve sucessfully.

After all I'm thinking maybe theese are some Cinees defective modules?

WhiteHare

  • Hero Member
  • *****
  • Posts: 1300
  • Country: us
Re: RFM69H power settings
« Reply #3 on: January 25, 2017, 04:56:23 PM »
Since you're dealing with a fork, it's really hard to know.  As I've said to others like you recently, I'd suggest you order at least a couple of Moteino's, which "just work" out of the box.  Then, if you want to branch out from there, at least you'll have a functional baseline for comparison.