Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSSI value in dBm #41

Closed
pbasista opened this issue Mar 28, 2023 · 2 comments
Closed

RSSI value in dBm #41

pbasista opened this issue Mar 28, 2023 · 2 comments

Comments

@pbasista
Copy link

pbasista commented Mar 28, 2023

Hi,

I have noticed that the RSSI values reported by rtl-wmbus are always positive. Packets received via weak signals have RSSI of around 20 or less. Packets received via strong signals have RSSI as high as 130 or more.

Is there a reasonable way to convert these values to decibel-milliwatts (dBm)?

@pswiatki
Copy link

I guess there is no way that is reasonable. You see: AGC is enabled as far as I know and it changes as necessary during the reception.

@xaelsouth
Copy link
Owner

Hello pbasista,

you can calculate dBm instead of RSSI by using following formula even it doesn't make much sense, see below:

dBm = 10 * log10[ (I^2 + Q^2) / (2 * R * 0.001) ]

Where R is receiver's input impedance, which is typically 75 ohms for DVB-T receivers (some of them have got 50 ohms!), referenced to 0.001W.

This formula can be applied only if no AGC comes into play, as pswiatki has already mentioned. Digital receivers usually take AGC into account and put a corrected RSSI and/or dBm value into their registers.

Xael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants