RAK811 tx power

Hi guys,

Quick question, I want to configure the transmission power of my RAK811v1.2.
I just want to know how to configure it? I know using the the AT command at+set_config=lora:tx_power:0. What does the zero value represents? Is it zero dbm max power? If i want to use the max EIRP of 16dbm for EU868. What AT command should i use?

Thanks

Hi.
You can refer to this document https://lora-alliance.org/sites/default/files/2018-04/lorawantm_regional_parameters_v1.1rb_-_final.pdf
And this is what the digits (0 to 15) means in AT command.

image

Thank you for the reply @velev.

So with the given values, does it means the command at+set_config=lora:tx_power:0 corresponds to a 16dB power (max for EU868)? And at+set_config=lora:tx_power:7 corresponding to 2dB power?

Is this right?

The max EIRP is what comes after the antenna. When you set a value you have to add the antenna gain. For example:
at+set_config=lora:tx_power:0 will result in 16dB at the antenna port. If you have a 3dBi antenna this will leave you with a total EIRP of 19 (if you are assuming the connector is perfect, you have no antenna line attenuation, etc.)

So basically yes. But keep in mind the antenna gain.

Noted @velev.

Basically we can say that at+set_config=lora:tx_power:0 is the highest setting for tx power while at+set_config=lora:tx_power:7 would yield the lowest tx power setting? Since 8-15 is reserved future usage. Is this right?

Yes, basically right. :slight_smile:

Noted and Thanks @velev.

Do you know what is the maximum payload bytes can be sent per transmission?

It is not so simple. You should check this document https://lora-alliance.org/sites/default/files/2018-04/lorawantm_regional_parameters_v1.1rb_-_final.pdf
It is the main book of LoRaWAN :slight_smile: In page 18 you will find the max payload with different conditions. But as a rule for me is to keep the payload under 12 bytes.