RP (RSSI PWM Timer)

This command applies to the XTC RF Module.

Enables a pulse-width modulated (PWM) output on the RSSI pin (pin 7). We calibrate the pin to show the difference between received signal strength and the sensitivity level of the device. PWM pulses vary from zero to 95 percent. Zero percent means the RF signal the device receives is at or below the device's sensitivity level.

The following table shows dB levels above sensitivity and PWM values. The total time period of the PWM output is 8.32 ms. PWM output consists of 40 steps, so the minimum step size is 0.208 ms.

dB above sensitivity PWM percentage (high period / total period)
10 30%
20 45%
30 60%

A non-zero value defines the time that PWM output is active with the RSSI value of the last RF packet the device receives. After the set time when the device has not received RF packets, it sets the PWM output low (0 percent PWM) until the device receives another RF packet. It also sets PWM output low at power-up. A parameter value of 0xFF permanently enables PWM output and always reflects the value of the last received RF packet.

Binary command

0x22 (34 decimal)

Parameter range

0 - 0xFF [x 100 ms]

Default

0x20 (3.2 seconds)

Bytes returned

1