[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Spectrum sensing
From: |
Rensi Mathew |
Subject: |
[Discuss-gnuradio] Spectrum sensing |
Date: |
Tue, 13 Nov 2018 06:35:55 +0000 (UTC) |
Dear all
I am working on B200 USRP for sensing the ISM band spectrum.
My parameters is 2.4 G - 2.5G, FFT size 1024 (6.4MHz), sampling rate 40e6, taking 832 bins of 1024 from 96th bin to 928th bin, totally 19 subbands, each of 5.2 of 6.4 MHz, and frequency between two bin values is 6250Hz.
When I run usrp_spectrum_sense.py code, with default values, I find that the code is running smoothly specifically, yellow LED is not blinking.
But when I modify the code to run the parameters of my project, I find that with each change in centre frequency, the yellow LED is blinking.
the skeleton of the code is as given below:
top block
self.freq_step=5200000
self.min_center_freq = self.min_freq +(5200000/2)
nsteps = 19
self.max_center_freq = self.min_center_freq + ((nsteps-1) * self.freq_step)
main program
def bin_freq(i_bin, center_freq):
freq = center_freq -(6400000/2)+ (tb.channel_bandwidth * i_bin)
return freq
...
bin_start= 96
bin_stop =928
...
for i_bin in range(bin_start, bin_stop):
center_freq = m.center_freq
freq = bin_freq(i_bin, center_freq)
#calculate power level
#print store etc
I want to know the LED blinking - Does it in anyway affect the reading? the health of my USRPB200?
Kindly help. thanking you
Rensi
Research Scholar
Anna University,India
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Discuss-gnuradio] Spectrum sensing,
Rensi Mathew <=