/r/GNURadio

Photograph via snooOG

A subreddit dedicated to the GNU Radio project and any software-define radio (SDR) related content (including USRP, etc. news).

Interesting technical papers or articles are particularly welcome!


Recommended subreddits

/r/GNURadio

5,766 Subscribers

2

USRP - 2974 FMCW Radar

Hi all, I am pretty new to use of SDR and am trying to build a FMCW Radar for Object Detection and this has been my setup

https://preview.redd.it/b5twd5xc7kzd1.png?width=1345&format=png&auto=webp&s=ea1baa966334c9dbdb64f16339688fc3d4c8b0d3

my setup consists of an USRP-2974 which connected to an UDBox and a BBox one Beamformer, transmitting at 28GHz, and am receiving the following Outputs

https://preview.redd.it/s9jiz31v7kzd1.png?width=1850&format=png&auto=webp&s=ebe6698cc362cb7c0dad480b2bf5a3f8d30984ba

https://preview.redd.it/p5p0l6yv7kzd1.png?width=1850&format=png&auto=webp&s=1aff0659ced125c312fc51c2f1ae106d8dc4db99

https://preview.redd.it/rfktdg1x7kzd1.png?width=1792&format=png&auto=webp&s=d90a883caed8498bd1b712067f2caabade54675a

and a Range resolution of

https://preview.redd.it/0skuwgg98kzd1.png?width=463&format=png&auto=webp&s=c1650d5b7e6bff59775d445faec2c8f9b9694763

with object distance from peak of beat_signal as

https://preview.redd.it/0ovvhmff8kzd1.png?width=428&format=png&auto=webp&s=2a9d17acd531683cc93a0dc76cb984e622229cde

can someone help me to verify if my gnuradio setup is correct. My beamformers are placed 22inch apart with an object at 5 inch distance

1 Comment
2024/11/07
23:02 UTC

1

which sink I should use for hackRF microwave transmition?

SDR is very new thing for me. And I decided to build BPSK modulated signal transmitter with Hackrf.
In all guides that I found people use osmocom sink. Didn`t find it in block list.

3 Comments
2024/11/07
13:47 UTC

1

USRP X300 - no ping

Hi all!

I got USRP X300 and cannot ping it. I tried to reflash FPGA with newest HG image (UHD 4.7.0), but still no reponse from unit. My interface is configured with 192.168.10.1/24 address. I'm using SFP-T SF-CP100C-GP (SFP-to-RJ45 converter) on SFP0 port. Seems X300 see sticked SFP (green led on). My PC NIC interface supports up to 2,5Gb and patchcord Cat6.

Does anyone know how to handle this bricked unit? I got only HW without power supply, SFP converter and other accessories attached to it. Now I'm wondering if my SFP converter is supported by X300 (I cannot find any info about it). I tried 10Gb on SFP 1 port with DAC cable and still nothing (ip 192.168.40.1).

0 Comments
2024/10/31
12:02 UTC

2

Cannot recover the entire file via QPSK in GNU Radio, using LimeSDR

Hi Everyone, I'm trying to use GNU Radio to create a QPSK flowgraph and am testing it by sending a file (>10k words) via SDR. Now I have noticed that I am able to receive most of my data successfully, but the last couple of chunks (1k words) seem to go missing. I am not sure why this is the case, as I've tried sending small files & large files but the problem still remains that the last chunks do not get picked up by the receiver.

I have tried this with/without using packets and the problem still remains. Perhaps there is some setting in the buffer or something that I need to fix but I'm not sure. Does anyone have an idea why this could be the case? I am using the examples shown in https://wiki.gnuradio.org/index.php?title=QPSK_Mod_and_Demod page.
Here is my transmitter part of the code

https://preview.redd.it/mumxe9862uxd1.png?width=1043&format=png&auto=webp&s=c561728dbde06f69a49a9723d41459469e65bea7

And the receiver

https://preview.redd.it/itj4kbkj2uxd1.png?width=1496&format=png&auto=webp&s=7ab09aa6f81062a462f928f8c3db415929502c54

2 Comments
2024/10/30
05:57 UTC

1

USRP X410 unreachable

My device is a USRP X410. When I tried using uhd_find_device, I encountered the following results. I attempted three methods: performing a factory reset with usrp_update_fs, updating the file system with the mender system, and directly refreshing the eMMC, but all resulted in 'unreachable.' I can SSH into the internal system of the USRP, which indicates that the network connection should be fine.

Please help me; I’m overwhelmed by this issue

https://preview.redd.it/2jqg6wr5s2xd1.png?width=696&format=png&auto=webp&s=367f2277d07c236ad7cb838bd5a22c3733b01405

2 Comments
2024/10/26
10:12 UTC

1

Add oot modules to gnu radio windows version

Hey all!
Is there any guide for building oot modules for the windows version? I have found a repo with some oot modules that fits my needs, but I cant find any building guide for this version. I know that for the linux version is easy but I want it for the windows version cause my pc is already slow so in a vm machine is terribly slow.

3 Comments
2024/10/23
15:57 UTC

3

GNURadio and hackRF jamming program for drones

Hello everyone! I have a project for my bachelor degree where I have to jam a drone that fly over an unauthorized place. I have to use GNU and hackRF to jam it and make it stop working. The drone that I'm using is a cheap one, that costs less than 30 euro. I will be in a classroom and demonstrate it in front of the commission. The thing is that, the drone operates at 2.4ghz and when I want to activate it, I will send an white noise signal for let's say 5Ghz and it will stop working because of jamming, making it lose contact to my remote and this is how I will demonstrate it works. The problem is that I tried to run it without my hackRF hardware because I don't have its possession yet, so I used QT Gui Sink block instead of osmocom sink block, but it doesn't work. When I run the program it gets blocked at 0Ghz, it doesn't fluctuate at 2.4ghz, it just stays at 0Ghz. I don't know what is the problem, maybe a block not configured well or maybe I have to add or remove a block. Can sb help?

https://preview.redd.it/nibov89hgiwd1.png?width=1920&format=png&auto=webp&s=b6af29bfc50ae53e0fcb6a56f97edc1a9081b4f2

https://preview.redd.it/y90kl2kngiwd1.png?width=1920&format=png&auto=webp&s=4ffcf27eb106f4a1de51426dd38789e69e266dfe

https://preview.redd.it/3tmpcgkogiwd1.png?width=1920&format=png&auto=webp&s=bd423df9175524440a7b7cf9763301d9851c7ddc

17 Comments
2024/10/23
13:51 UTC

2

GNU Radio on windows 10 64-bit

Hi there, i was wondering how to install gnuradio on windows, does anyone has a link for that, or a video tutorial?

Thanks in advance

4 Comments
2024/10/22
13:12 UTC


1

Bind python to C++ in GNU Radio

Hey, any help to bind python and C++ in building GNU custom blocks? I'm trying to add a library to my GNU radio. Have the codes to built the blocks but it's extension is python. cc , can't understand how to bind the files.

1 Comment
2024/10/21
10:57 UTC

1

USRP (custom ports) to audio sink?

Hi all

I am trying to work out if this software can pipe audio in and out of chan_USRP in asterisk.

I'm looking to achieve this:

Audio line in -> conversion -> USRP 192.168.0.10:32001

USRP 192.168.0.10:34001-> conversion -> Audio line out

Is this possible please? I've had a look around the software but I cannot work out the settings.

Thank you!

0 Comments
2024/10/21
06:39 UTC

2

Help needed GNU radio FM

I needed to do one project on gnu radio in the topic presence of noise in FM reciever.. Can anyone have to know how implement this.. Please shoutout..

1 Comment
2024/10/18
16:32 UTC

5

Change default editor in python block

my GNU radio python block default editor is set to Notepad, but I would like to change it to another editor. However, when I check the options for selecting an editor, I don't see any Python specific editors. Any help to solve?

1 Comment
2024/10/18
03:25 UTC

1

Reading data from BPSK modulated signal

https://preview.redd.it/hyvrbq8416vd1.png?width=850&format=png&auto=webp&s=e2593fc1c7ad0794be8981387c77c2d5cbfb472c

I'm receiving wireless BPSK signal with RTL SDR.

I want to demodulate and see the bits/bytes. How can I setup blocks to extract bits/bytes?

Is the .dat a right format to do this at file sink?

1 Comment
2024/10/16
18:59 UTC

2

Send "value" to GR block from C++ using UDP

Hi all,

I am trying to send the frequency value of the GR "Signal Source" block from an external C++ code, using UDP.

So far I can send UDP packets (as arrays of bytes) to GR from my C++ code, but I don't know how to extract the value for the frequency and how to pass it to Signal Source input. If I understood correctly, the parameter "frequency" is a GnuRadio message type, so I need to convert the byte(s) I send with UDP into a GR message, but I am not 100% sure if this is correct and how to do it.

Any help would be greatly appreciated.
Thank you

3 Comments
2024/10/16
16:50 UTC

1

pluto+ and gqrx

does gqrx work with pluto sdr ?

if so, what is the device string for plutosdr ?

0 Comments
2024/10/14
21:35 UTC

3

Decimation not affecting to length of signal

https://preview.redd.it/pxfxufx57sud1.png?width=1447&format=png&auto=webp&s=8cdc9b9d5e3477f96ddd784c041de243dde21afc

I'm using rational resampler to apply decimation and convert sample rate to 48k Hz which is the sample rate that signal originally generated from.

However, even I applied rational resampler, the signal length is same as when the sample rate is 1,008,000 Hz. I'm expecting the signal play time to be longer. How can I play original signal length from the rightmost Frequency Sink?

Thanks for your advice in advance.

11 Comments
2024/10/14
20:28 UTC

2

GNUradio and HPSDR emulation

If I wanted emulate an Ethernet HPSDR device with a tuner implemented in GNUradio, is there something prebuilt I should look into?

I want to use software like PowerSDR with a BladeRF and/or USRP.

I’ve stumbled across projects going the other direction with source/sink in GNUradio interfacing to an HPSDR radio, but I need to go the other direction.

I don’t mind throwing something like a raspberry pi 4 or 5 or an N110 micro desktop at the computation portion for any needs not handled by the FPGA.

I wish to integrate with other existing radio hardware I have that uses HPSDR, in part because I intend to use with transceiver functionality, and not things like GSM/LTE.

0 Comments
2024/10/13
17:47 UTC

1

GNURadio on windows 11

Hello! Do GNURadio and hackRF tool work on windows 11 or i have to downgrade to windows10?

6 Comments
2024/10/11
18:42 UTC

2

GNUradio ImportError: cannot import name 'soapy' from 'gnuradio'

Hello! I am new to radio so please bear with me. I am trying to make GNU radio work with my SDRplay RSPdx" While, running a very simple flow diagram, I get the following error:
from gnuradio import soapy ImportError: cannot import name 'soapy' from 'gnuradio' (/usr/local/lib/python3/dist-packages/gnuradio/__init__.py)

Here are more details that might help:
Hardware used: Rpi400 running bullseye
GNU radio version: 3.8.0
Soapy SDR version: v0.8-3
GR-Soapy version: v2.1.3.1
SDRplay API version: 3.15

What I have figured out so far:

  • On running "SoapySDRUtil --find", Soapy SDR is able to recognize my RSPdx which is good news I guess.
  • I believe that the reason GNU radio is throwing the above error is because it cannot find gnuradio-soapy (gr-soapy).
  • I have reinstalled gnuradio-soapy (gr-soapy) a million times with many different options for CMAKE. I see gr-soapy files installed in /usr/local/lib.
  • However I do not see any gr-soapy files in /usr/local/lib/python3/dist-packages
  • I have also made sure to update the python path variable in my bashrc file and then source bashrc file later on.
  • I've also made sure to run sudo ldconfig every single time I changed something.
  • By the way, if you are wondering why I am using that old GNU radio version 3.8 instead of the newer 3.9 or 3.10 it's because I figured that gr-soapy needs swig and swig was replaced with something else in GNU radio 3.9 and above. That's why I downgraded to GNU radio 3.8.0.

So, how do I go about fixing this? Is gr-soapy even the issue? What is causing that GNU radio error?

It would also be very helpful if anyone who has successfully managed to run RSPdx on an RPi in GNU radio could enlighten me with the the version numbers for all the software I have listed above. I have been facing lots of version compatibility issues.

TIA!

1 Comment
2024/10/11
02:14 UTC

2

RFID device for GNURadio Soapy

Is there an RFID Transceiver that is compatible with Soapy?

4 Comments
2024/10/10
16:37 UTC

6

GNURADIO Trx Duo HF Transceiver

I just uploaded a video of an experimental HF transceiver that uses a SDR. I am building this system.

https://youtu.be/PbQbCEwYnA8?si=SCFOGcjHLcNjVd4j

4 Comments
2024/10/09
20:40 UTC

1

GNURadio TDOA scheme question

Hey, guys. It's my first month with SDR and GNURadio , so I feel totally stuck. I'm trying to implement TDOA method. So, I've faced question about GNURadio scheme. I am trying to record signal at 915 MHz with 2 MHz bandwidth and 20e6 samp_rate (for better accuracy of location) when source is active to the file, for the next Time Difference of Arrival calculations. Question is:
a) Is there any critical mistake in this, that mess up my scheme?
b) I guess I miss something about processing. Should I add some other blocks?
c) how I deal with FHSS type signal (I am trying to detect my remote with ELRS)?

I am literally don't know what I am trying to record with my SDR. Thank you !

https://preview.redd.it/fpr1hy4o3ltd1.png?width=2108&format=png&auto=webp&s=f90699f4187e52f58299007fe06cd1aed9b9ed4e

2 Comments
2024/10/08
19:30 UTC

1

Utilizing stream tags to toggle GPIO on USRP

Hi

I want to utilize stream tags to toggle a GPIO pin on a USRP X310. I have made a custom python block connected in gnu radio companion which sets an ON tag and an OFF tag on the signal. How do I need to adapt this tag so that it can be interpreted by the USRP to toggle the GPIO pins?

I was thinking about using uhd commands directly to toggle the GPIO, but I want to make sure that the tags are synchronized with the signal.

Thanks!

2 Comments
2024/10/08
11:50 UTC

1

SDR_Rx problem when running program

Hi there

So I was trying to find a way to receive the RDS signal in gnuradio, the thing is that i did found some code out there, but i keep getting the same output logs:

https://preview.redd.it/8nhnj7wkwqsd1.png?width=890&format=png&auto=webp&s=193a377bce8d7bf71951a60501237551e1519c65

I mean i managed to follow this tutorial successfully: https://wiki.gnuradio.org/index.php?title=RTL-SDR_FM_Receiver and everything worked out, but the problem arises when running code like the one i got from this guy dabori in https://www.reddit.com/r/GNURadio/comments/1b0p6bw/rds_doesnt_work_what_am_i_doing_wrong/, well i tried to run rds_rx as you can see but i get those logs.

Any help would be appreciated.

0 Comments
2024/10/04
14:04 UTC

2

Multiple OFDM transmitters?

Hello, I am very new to GNU- and software defined radios, but have been tasked with creating a disturbance environment of something that should look like wifi 6 data that covers 40 MHz of the 2.4GHz band.

I read up a bit and decided to try to implement 2 OFDM transmitter block where the first one was occupying one wifi channel and the other one occupying the next non overlapping one, like so: |-----20MHz----|----20MHz-----|.

My problem is that I do not understand how to shift one of the OFDMs up (or one up and one down). If I increase the sample rate of my USRP in order to cover the whole 40MHz I am interested in, it effects the subcarrier width and all my shifting is doing is moving the baseband signal with in that bandwidth.

So is there a way to have 2 modulated signals (in this case using the OFDM transmitter block) put on the same carrier with an offset between them? Or running the USRP at 40Msample but each of the OFDM blocks at 20?

I guess I could achieve what I like by using only one transmitter block and increase fft size and define the occupied carriers accordingly but that would that do to null carriers if I want to not send on all of the subcarriers?

Hope this made some sense at all... Any help is appreciated, I dove right in, hoping my signal processing and digital communication courses from a decade ago would speak to me. Have not happened so far.

8 Comments
2024/10/02
14:01 UTC

5

Project bachelor degree in GNURadio and hackRF

Hello everyone! I'm new in this SDR area, but I choosed for my bachelor degrees a project in communications using hackRF and GNU Radio as software(or other sofwares in case it is needed). So first of all, I will graduate an engineering academy, which makes me become a future policeman. I have trouble in finding a project for my bachelor degree using hackRF and gnu radio because I'm new into this and i don't know exactly what's the best project i can choose. It has to has aplicability as a policeman. At first, i was thinking about a HF project in which i can send signals in areas where telecommunications are dead, from a long range. Then, I was thinking about controlling a drone and sending it to coordinates X Y Z. Then I was thinking about a project which can prevent a car key from being jammed and hacked. The point is that I need an idea where i can find a lot of informations because my documentation should be at around 60 pages (50% my contribution and 50% what others did)in word and I don't want to get something too hard so I will get blocked. It cannot be very simple either because it will result in a bad mark. I want something moderate where I can find a lot of informatios and won't be very hard to achieve. Do you have any ideas? I have to present in on july next summer so I have some time, but I don't want it to be a full time job. XD

2 Comments
2024/10/01
19:43 UTC

1

Trying to install Multi RTL and i get this error: CMake Error at CMakeLists.txt:116 (message): GnuRadio Runtime required to compile gr-gsm

CMake Error at CMakeLists.txt:116 (message):

GnuRadio Runtime required to compile gr-gsm CMake Error at CMakeLists.txt:116 (message):

GnuRadio Runtime required to compile gr-gsm

So i try to install this on my dragonOS system via pybombs but i keep getting this error. Is there other programs that support use of multiple sdr:s simultaneously or could this be installed?

1 Comment
2024/10/01
14:16 UTC

2

Generating idle sequence betwwen frames, ideas?

I need to insert an idle sequence inbetween frames that arrive as PDUs. I have an approach that kind of works but has a few issues. My approach is to use a oot source block that recieves tPDUs and puts them in a queue. In the work function, any queued pdus are added to the output buffer and any remaining space is filled with an idle sequence.

The main issue with this approach is the latentcy that occurs when there are big variances in the number samples the scheduler requests. When you first start the flow graph for instance, you get a LOT of idle sequence before the pdus start tricking in.

Anyone else tackled this problem before?

0 Comments
2024/09/26
05:35 UTC

Back To Top