Power Gain and Sensitivity
Last updated
Last updated
When configuring a node and a network, one important parameter is related with power gain and sensitivity.
The setPowerLevel()
function permits to set the power level at which the device transmits conducted power. The parameter range: from 0 to 4. Default value is 4.
The boost mode improves the receive sensitivity by 2 dB and increase the transmit power by 3 dB. By default boost mode is enabled.
The setPowerMode()
function allows user to set the power mode (boost mode). The parameter values are: 0 (boost disabled) or 1 (boost enabled).
Example of use
Related variables:
xbeeZB.powerLevel
→ stores the power output level selected
xbeeZB.powerMode
→ stores the power output level selected
• Power Level configuration example:
https://development.libelium.com/waspmote/zb-14-setread-power-level
It reports the Received Signal Strength of the last received RF data packet. It only indicates the signal strength of the last hop, so it does not provide an accurate quality measurement of a multihop link.
Example of use
Related variables:
xbeeZB.valueRSSI
→ stores the RSSI of the last received packet
The ideal working mode is getting maximum coverage with the minimum power level. Thereby, a compromise between power level and coverage appears. Each application scenario will need some tests to find the best combination of both parameters.
• Getting RSSI example:
Setting
Power Level (boost mode disabled)
0
5 dBm 1
1
-1 dBm
2
+1 dBm
3
+3 dBm
4
+5 dBm