Closed nav-star closed 3 years ago
The signal might be out of the frequency window for 250k. Try both rates and -S known
to grab some samples. View them on https://triq.org/pdv/ to see the exact frequency. Pick a center frequency in somewhere in the middle but not exactly on one of the signals.
Also -Y autolevel -Y squelch -M level
are recommended, "level" will give you an idea where the frequencies are.
With -s 1M
you might also want -Y minmax
Thanks for the lightning fast response, zuckschwerdt! I'll give those a try.
Best regards!
Hello,
Indeed the three signals occupied a frequency range from 433.76 up to 433.92 MHz. Setting the tuner frequency around the middle seems to have fixed the issue for me. Even with the default sampling rate of 250kS.
Still it is pretty obscure to me how did the increase of sampling rate make the signal with the greatest freq. offset to become decodable and the other signal with the smaller offset which was pretty well decodable with sampling rate of 250kS to become undecodable with sampling rate of 1MS.
At the end of the day - the important thing is the setup is doing the job.
Thanks for the help provided!
Glad it worked! Higher sample rate means wider frequency bandwidth. The problem with 1M could have been filters that favor the center or increased chance to read spurious pulses.
You can grab the signal at 1M with -S unknown
and compare (same rough freq, same "shape") to the working sample from the grab at 250k. If you manage to get those please upload here as zip so we can diagnose and improve things :)
Hello,
As suggested, I'm putting here captures of the same signal captured with default sampling rate of 250k and again with 1MS/s. rtl_433 manages to properly decode the signal when the lower sampling rate is used. With the higher one in general the signal remains unrecognized, but on rare occasions it gets decoded.
Best regards signal.zip !
This is an interesting test case. The additional sample rate gets more noise in, and we would need tighter filters to smooth the FSK: 250k:
1000k:
Filters are shown for 250k and 1000k as:
baseband_demod_FM: low pass filter for 250000 Hz at cutoff 25000 Hz, 40.0 us
baseband_demod_FM: low pass filter for 1000000 Hz at cutoff 200000 Hz, 5.0 us
If we force e.g. a 20 µs wide filter (-Y filter=20
), the FM is cleared up. But we can't find that setting automatically. Also the demod still won't detect this.
Maybe @merbanan has some idea about this. It's a good example to optimize our FSK further in any case.
Looking at the AM signal there are some spikes in the amplitude. I am not sure what causes them but these spikes distort the FM signal. The filters used need to be strong enough to get rid of the spikes but still pass through the FSK signal. We could try a set of filter limits but the current pipeline does not support that kind of processing. That is the only solution I can come up with.
FWIW, manually specifying a level anywhere from -3 to -9 will pick out the signal in the referenced 1000k sample file.
rtl_433 -r g003_433.83M_1000k.cu8 -Y level=-5
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time : @0.069544s
model : Fineoffset-WH51 ID : 00e30c
Battery level: 0.889 Battery : 1500 mV Moisture : 33 % Transmission boost: 0 AD raw : 189 Integrity : CRC
[Auto Level] Estimated noise level is -18.3 dB, adjusting minimum detection level to -15.3 dB
Hello,
First I would like to thank the author and the community for this great piece of software. It spared me lot's of hours of reverse engineering attempts.
In a recent project of mine I'm trying to read the data sent by three types of sensors - protocols 79, 142 and 145.
Using the default settings I can only decode protocols 79 and 142
Later on I discovered that by setting the sampling rate to 1000k suddenly the device using protocol 145 becomes readable. But for my surprise protocol 142 became undecodable.
I don't really understand how the higher sampling rate affects the reading of protocol which was properly read on lower sampling rates. I tried finding out some "goldilocks" sampling rate, but all sampling rates in the range 500k-1000k failed with warning:
WARNING: Failed to set sample rate.
I'll appreciate your advice.
Thank you!