Replies: 7 comments 12 replies
-
I'm going to assume there is an SX127x in your module, since you didn't mention which transceiver this is about. SX127x has two possible RF output pins: PA_BOOST or RFO. You have to select the correct one, otherwise you will be transmitting into an unconneted pin, which is a quick way to destroy the transceiver. RadioLib assumes PA_BOOST is used by default, since that seems to be case on almost all off-the-shelf modules. You can select RFO by providing a second argument the output power method:
I don't know what schematic you are referring to, does it show the SX127x transceiver? As mentioned above, and in the SX127x datasheet, it has either RFO or PA_BOOST. It has no ANT pin, so you might be looking at a pinout of just the TTGO module.
There is no difference there. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi When trying to use the RFO output (setOutputPower(20,1), I do have far less output power using the +20dBm level and nothing with +10dBm. (at leat what I can measure) These HPD14 modules are not described anywhere, no docs, no datasheet. I'm not smart enough to check in the library how all these parameters (PA_BOOST, RegPaDac, RegOcp) are handled when trying to use +20bDM output. Something else, is there a program example with which I could check the sensitivity of reception part ? Just to check if the RF path from connector to chip is correct ? Thanks again, |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
OK Jan, What I try to achieve, is to get a non modulated carrier at a level I want. I've added radio.setCurrentLimit(240), it did increased the output power to +17.5 dBm ! Still some dB missing, but it's better ! I noticed that from +2-17 dBm, the power follows the setting. I don't understand why I don't have a pure carrier but a modulated one. Meanwhile, I managed to write a small script that displays the RSSI signal on the OLED screen. Here the code of the TX test I use with only the part concerning Radiolib.
Sorry for the long post. |
Beta Was this translation helpful? Give feedback.
-
BTW how can I detect the chip version under the hood of the HPD14 module ? |
Beta Was this translation helpful? Give feedback.
-
I'm using a T-beam board, so ESP32.
VSC and PlatformIO.
Here part of my code :
int TXpowerHi = 20;
int TXpowerLo = 10;
SX1278 radio = new Module(LORA_SS, LORA_DIO0, LORA_RST, LORA_DIO1);
AFSKClient audio(&radio,32);
void setup() {
int state = radio.beginFSK();
state = radio.setFrequency(TXfreq);
state = audio.begin();
}
void loop() {
int state = radio.setOutputPower(TXpowerHi);
audio.tone(1500);
radio.receiveDirect();
audio.tone(1000);
state = radio.setOutputPower(TXpowerLo);
radio.transmitDirect();
}
Le mer. 20 déc. 2023 à 10:23, Jan Gromeš ***@***.***> a
écrit :
… The first time I call it, I get this error
Which exact method are you calling? AFSKClinet::tone()? And if so, which
version of ESP-IDF are you using?
—
Reply to this email directly, view it on GitHub
<#903 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMUDBKNNFAVC57NWBTZZ73YKKVCTAVCNFSM6AAAAABAYGBYKCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TSMBWGE3TC>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Patrick Egloff
email : ***@***.***
Web page : http://www.egloff.eu
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I wanted to test how much power the Lilygo T3 and T-beam modules are producing, as I do have a suspicious module.
I wrote a small script that uses radiolib FSK transmission, so that I have a steady carrier I can measure.
I set the power with setOutputPower(20)
When I measure the output power, On healthy modules I only get about 26 mW which is around +14 dBm.
On the suspicious one, 5mW what confirms that it is somewhere broken.
Looking at the Lilygo schematics, there is no PA_BOOST output pin, only one ANT output.
I didn't find any output power informations on Lilygos pages. :-(
Is there a difference in output power handling when using FSK or LoRa with Radiolib ?
Any suggestion on how to increase the output power or can someone confirm my results ?
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions