Hello,
When I use heatmap.py with output from rtl_power I get regularly spaced
vertical lines that do not appear to be related to any signal. They
look they like repeat at the dongle bandwidth (2048000Hz in this case).
The crop option for rtl_power reduces the presence but I am not sure f
that is intended by that option. Even at -c of 70% they are still there
(see attachment).
Is this because of small bin width? If I use a larger bin (32k) they
are still there. In this case there is no frequency legend along top so
can't compare if they happen more often.
Are these lines to be expected?
John
Hi there,
In debian, sdrangelove is having some build issues on mipsel [0].
At first, there was an issue regarding the '-msse2' switch.
If I delete the switch, then another build error happens:
======== 8< ========
[...]
[ 21%] Building CXX object CMakeFiles/sdrbase.dir/sdrbase/dsp/interpolator.cpp.o
/usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB
-DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB
-DUSE_FFTW -Dsdrangelove_EXPORTS -g -O2 -fstack-protector-strong
-Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG
-fPIC -isystem /usr/include/mipsel-linux-gnu/qt5 -isystem
/usr/include/mipsel-linux-gnu/qt5/QtCore -isystem
/usr/lib/mipsel-linux-gnu/qt5/mkspecs/linux-g++ -isystem
/usr/include/mipsel-linux-gnu/qt5/QtWidgets -isystem
/usr/include/mipsel-linux-gnu/qt5/QtGui -isystem
/usr/include/mipsel-linux-gnu/qt5/QtOpenGL -isystem
/usr/include/mipsel-linux-gnu/qt5/QtMultimedia -isystem
/usr/include/mipsel-linux-gnu/qt5/QtNetwork
-I/tmp/buildd/sdrangelove-0.0.1.20140824/obj-mipsel-linux-gnu
-I/tmp/buildd/sdrangelove-0.0.1.20140824/include
-I/tmp/buildd/sdrangelove-0.0.1.20140824/include-gpl -fPIC -o
CMakeFiles/sdrbase.dir/sdrbase/dsp/interpolator.cpp.o -c
/tmp/buildd/sdrangelove-0.0.1.20140824/sdrbase/dsp/interpolator.cpp
In file included from
/tmp/buildd/sdrangelove-0.0.1.20140824/sdrbase/dsp/interpolator.cpp:4:0:
/tmp/buildd/sdrangelove-0.0.1.20140824/include-gpl/dsp/interpolator.h:4:23:
fatal error: immintrin.h: No such file or directory
#include <immintrin.h>
^
compilation terminated.
[...]
======== 8< ========
Do you have any hint for this?
Thanks, best regards.
PS: Please keep me in CC, i'm not subscribed.
[0] https://buildd.debian.org/status/fetch.php?pkg=sdrangelove&arch=mipsel&ver=…
--
Arturo Borrero González
Hello,
When I use heatmap.py with output from rtl_power I get regularly spaced
vertical lines that do not appear to be related to any signal. They
look they like repeat at the dongle bandwidth (2048000Hz in this case).
The crop option for rtl_power reduces the presence but I am not sure f
that is intended by that option. Even at -c of 70% they are still there
(see attachment).
Is this because of small bin width? If I use a larger bin (32k) they
are still there. In this case there is no frequency legend along top so
can't compare if they happen more often.
Are these lines expected? Can they be removed?
John
Hi Jose,
It looks like working; what is problem? Did you check the antenna?
I did the same in my setup Ubuntu 14.04 with GNU 3.7.7.1 and mine worked
same with bigger signal.
Regards,
Murat
On 07/21/2015 06:32 PM, Jose Perez Junior wrote:
> Hi,
>
> I have one RTL-SDR and in my home computer it is working well. Now I
> am tryint to run in my office.
> Here is Ubuntu 14.04 and GNU Radio 3.7.8... For a simple flowgraph
> just with RTL-SDR Source and a FFT Sink I can't vizualise nothing in
> FM (88 - 108 MHz). I have also here a USRP and a BlackRF and both oof
> then are working well. Is there something to solve this?
>
> This is the output of Terminal to rtl_test -t
>
> Found 1 device(s):
> 0: Realtek, RTL2838UHIDIR, SN: 00000001
>
> Using device 0: Generic RTL2832U OEM
> Found Rafael Micro R820T tuner
> Supported gain values (29): 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
> Sampling at 2048000 S/s.
> No E4000 tuner found, aborting.
>
>
>
> And this is the output of GNU Radio.
> Imagem inline 1
>
>
>
>
> Thanks so much,
> --
> .: José Perez Jr
Hi,
I have one RTL-SDR and in my home computer it is working well. Now I am
tryint to run in my office.
Here is Ubuntu 14.04 and GNU Radio 3.7.8... For a simple flowgraph just
with RTL-SDR Source and a FFT Sink I can't vizualise nothing in FM (88 -
108 MHz). I have also here a USRP and a BlackRF and both oof then are
working well. Is there something to solve this?
This is the output of Terminal to rtl_test -t
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 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
Sampling at 2048000 S/s.
No E4000 tuner found, aborting.
And this is the output of GNU Radio.
[image: Imagem inline 1]
Thanks so much,
--
.: José Perez Jr
Hi Hayati,
You're doing great contribution to RtlSdr works; Congratulations.
I really appreciate and get benefit from your efforts.
Regards,
Murat
-----Original Message-----
From: osmocom-sdr [mailto:osmocom-sdr-bounces@lists.osmocom.org] On Behalf Of Hayati Ayguen
Sent: Sunday, July 19, 2015 2:15 PM
To: osmocom-sdr(a)lists.osmocom.org
Subject: Re: rtl_fm: degraded demodulation caused by self-introduced DC !?
Hi,
i could find the problem last night.
The problem was caused by the DC spike, from the analog front-end!
In my prior mail(s), i rejected this explanation .. but now i found out, that the digital anti-alias filter is such bad quality (a simple averaging), that the DC is folded into the receive band when decimating samplerate!
I could fix the problem my moving the new DC filter ("-E rdc") to full input at capture_rate. That eliminates the DC problem completely and therefor also removes the extra noise produced on demodulation.
For being able to apply DC filter before mixing, i had to do conversion of captured 8 bit samples to 16 bit first, before mixing up the desired band to zero with rotate_90. Therefore i also changed rotate_90 to work with 16 bit samples.
The above works fine with default parameters (-F 0). It does NOT work when using option "-F 9". Could not figure out why!?
Find attached the patch file. Please consider merging it upstream.
kind regards,
Hayati
Am 18.07.2015 um 10:54 schrieb Hayati Ayguen:
>
> Hi Murat and all others,
>
> what i have hear is definitely NOT the DC spike coming from the analog
> front-end!
>
> Whilst my experiments, trying to get rtl_fm run on Raspi 2, i added an
> option to rtl_fm to be verbose ("-v 1"). See
> https://github.com/hayguen/librtlsdr
>
> When calling rtl_fm with "-s 24000 -f 433.25M -M raw" i get following
> outputs:
> "capture_rate = 42 * 24000 = 1008000"
> "capture_freq = freq + capture_rate / 4 = 433502000"
>
>
> From capture_rate you see, that the RTL's ADC works at a samplerate of
> 1.008 MHz. And the RTL is parametrized to 433.502 MHz.
> So, the RTL's DC is at 433.502 MHz - far away from the desired 433.25 MHz.
> On digital signal preprocessing the rtl_fm mixes the desired frequency
> up to baseband 0 Hz and the does low pass filtering and decimation to
> the samplerate of 24 kHz.
> This result is what i recorded in my previous mail and had a look with
> SDR#, the screenshot.
>
> At the moment, I had no look into the source of low pass filter. I
> suppose that the DC is introduced here.
>
> kind regards,
> Hayati
>
>
>
> Am 18.07.2015 um 08:45 schrieb Murat Tologlu:
>> Dear Hayati,
>>
>> I am glad to see that my Debian-Jessie suggestion helped you to progress.
>>
>> Regarding your recent question: If I don't understand wrong, This is
>> a well-known problem called as DC Spike which exist more or less in
>> all SDR receivers. . Dr. Wickert of UCCS has an excellent laboratory
>> note on RTL-SDR also explains this nature (see page 7) :
>> http://www.eas.uccs.edu/wickert/ece4670/lecture_notes/Lab6.pdf You
>> can reach Dr. Wickert's other DSP notes from here:
>> http://www.eas.uccs.edu/wickert/index.shtml
>>
>> DC Spike comes from analog front end of the RTL-SDR dongle and we can talk about several solutions. First and the easiest solution is to move the center frequency a bit up and down to avoid interference with DC spike (this is called as offset tuning). Some hardware manufacturer claim that they manufacture better quality thus lower DC spike sdr chips and boards. You may also consider a software "notch filter" to reduce the DC spike !
>>
>> Kind regards,
>> Murat
>>
>> -----Original Message-----
>> From: osmocom-sdr [mailto:osmocom-sdr-bounces@lists.osmocom.org] On
>> Behalf Of Hayati Ayguen
>> Sent: Saturday, July 18, 2015 2:02 AM
>> To: osmocom-sdr(a)lists.osmocom.org
>> Subject: rtl_fm: degraded demodulation caused by self-introduced DC !?
>>
>>
>> Hi,
>>
>> after i got rtl_fm run on Raspi 2 with Debian Jessie .. now i have some additional noise in the FM demodulated audio!
>>
>> With a "raw" recording (see attachment) i can see an additional carrier at the DC frequency of the demodulated output. That corresponds to the tuned frequency (= 433.25 MHz) parametrized to rtl_fm.
>> Due to calibration error, the FM carrier has some offset: ~ -1.3 kHz as visible in screenshot.
>> The DC carrier does demodulate to some distortion!
>>
>> Option "-E dc" does not help, cause that removes a DC in the demodulated output. An additional option to filter DC before demodulation does help a bit .. but does not solve the problem, which looks to be introduced earlier ..
>>
>> I would not have expected such a DC, cause IMHO it's produced whilst downconversion or filtering.
>> It's not the RTL dongle's DC, which should be far far away by 1/4 of the high samplerate.
>>
>> Someone else seen this problem?
>> Does anyone have a useful solution?
>>
>> kind regards,
>> Hayati
>>
>>
Hi,
after i got rtl_fm run on Raspi 2 with Debian Jessie .. now i have some
additional noise in the FM demodulated audio!
With a "raw" recording (see attachment) i can see an additional carrier
at the DC frequency of the demodulated output. That corresponds to the
tuned frequency (= 433.25 MHz) parametrized to rtl_fm.
Due to calibration error, the FM carrier has some offset: ~ -1.3 kHz as
visible in screenshot.
The DC carrier does demodulate to some distortion!
Option "-E dc" does not help, cause that removes a DC in the demodulated
output. An additional option to filter DC before demodulation does help
a bit .. but does not solve the problem, which looks to be introduced
earlier ..
I would not have expected such a DC, cause IMHO it's produced whilst
downconversion or filtering.
It's not the RTL dongle's DC, which should be far far away by 1/4 of the
high samplerate.
Someone else seen this problem?
Does anyone have a useful solution?
kind regards,
Hayati
Hi,
just wanted to ask, what to do, so that my changes on
https://github.com/hayguen/librtlsdr get merged into
https://github.com/steve-m/librtlsdr ?
Just now, in this moment, i realize, that there's alos
git://git.osmocom.org/rtl-sdr.git referenced at
http://sdr.osmocom.org/trac/wiki/rtl-sdr
Ok, which is the real origin for rtl-sdr?
What is needed to get the changes there?
Besides the changes on rtl_fm i've developed a small tool, i called
"stdin2wav". It's used by piping rtl_fm's output into stdin2wav, which
then saves the output into wave files using libsndfile.
Besides saving, it can be combined with the squelch function of rtl_fm.
stdin2wav closes the wave file when no more data comes from stdin .. and
re-opens a new wave file when new data arrives, cause the squelch opened ..
Can/should this small tool also merged to rtl-sdr? Someone has a better
place?
By the way: someone has a better name?
kind regards,
Hayati