-s and -g options

52 views
Skip to first unread message

David Powell

unread,
Mar 3, 2024, 8:41:18 PMMar 3
to rtl_433

Can someone please explain the proper way to calculate the values for -s and -g in rtl_433? The help/docs seem pretty vague about it.

Thanks

-- 
I have not lost my mind--I know exactly where I left it.

Michael Cadiere

unread,
Mar 3, 2024, 10:05:25 PMMar 3
to rtl_433
so for an rtl2832u it would be samples like
3200000, 2800000, 2560000, 2400000, 2048000, 1920000, 1800000, 1400000, 1024000, 900001, 250000

default is 250000

gains would be  0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6

default is auto

so if you wanted a sample rate of 1024000 and a gain of 32.8
rtl_433 -s 1024000 -g 32.8

you will prolly get a flood of unwanted hit

best would be to keep the default sample rate and hop to the frequencies you want , like

rtl_433 -v -f 315M -f 433.92M -f 915.83M -H 30

David Powell

unread,
Mar 4, 2024, 12:40:25 AMMar 4
to rtl...@googlegroups.com

What I really want to know is how to calculate the actual value to put there.  I know what the fields mean, I just don't know how to decide what to put there for my particular use case.

--
You received this message because you are subscribed to the Google Groups "rtl_433" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtl_433+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rtl_433/eef0582a-7023-45aa-b988-d0d8ec9ed6b0n%40googlegroups.com.
-- 
You can kidnap me and force me to be your watchdog if you want to. But I'm telling you, I will bark at any sound I hear and it will drive you crazy. 

Fred Murray

unread,
Mar 4, 2024, 9:35:28 AMMar 4
to rtl_433
I was faced with the same choice, with no objective basis for a decision.
Weeks later, I realized that I could use SDR++ or SDRConsole to determine the ideal S/N setting for the frequency of interest, then use that value
for RTL_433's -g parameter.

YMMV,
            Pete/wa4hei
Reply all
Reply to author
Forward
0 new messages