Closed whoim2 closed 1 week ago
SPIWriteReg(LR_RegPaConfig,LR_PASELECT_PA_POOST|0x70|power)
PA_POOST is correct settings?
the module works and the power meter shows the power declared by the manufacturer
And what is this declared value, in dBm? I also assume your power meter is set up for the correct frequency, with correct impedance matching etc.
but in fact the connection disappears in a couple of hundred meters, which is surprising - a similar module from ebyte (e32-400M) works at 15 kilometers
That suggests an antenna issue. If the power the module is outputting is as you expect, then the library is working correctly. I have previously verified the output power of SX1278, so I'm fairly confident this is correct in the library. As such, I will convert this to a discussion.
I also assume you have all the necessary paperwork you probably need to be transmitting at high power (30 dBm?) in some 150 MHz band.
Hello. Im have trouble with use this module sx1278 150mhz:
my init:
the module works and the power meter shows the power declared by the manufacturer, and the spectrum analyzer shows peaks at the specified frequency. Everything looks functional, but in fact the connection disappears in a couple of hundred meters, which is surprising - a similar module from ebyte (e32-400M) works at 15 kilometers. I think that I am initializing the module incorrectly. As far as I understand, there is a RFO pin and PA_BOOST and you should switch between them via SetOutputPower (pwr, RFO_if_true). Since the module frequency is lower than that of the e32, then the RFO pin is probably used, I thought. However, when you specify true in SetOutputPower, the spectrum analyzer shows nothing.
I am completely confused and ask for help in correctly configuring the module based on the configuration example from the manufacturer.
In this case, the code example is given for frequency 433, that is, another module from this manufacturer, although on the same chip 1278. So I can't be sure that this setting is exactly correct. But I could use your hints to try.