RFM69H power settings

Started by initex, January 25, 2017, 10:29:58 AM

initex

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:
#define IS_RFM69HCW   true // set to 'true' if you are using an RFM69HCW module


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

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
#define IS_RFM69HW

as per the example code.

That should work.  Does it?

initex

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.
//  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

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.