Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace USRP block with RTL SDR #57

Closed
sajadmathe opened this issue Aug 20, 2023 · 2 comments
Closed

replace USRP block with RTL SDR #57

sajadmathe opened this issue Aug 20, 2023 · 2 comments

Comments

@sajadmathe
Copy link

sajadmathe commented Aug 20, 2023

Hi
I am a new in gnuradio.
I replaced USRP block with RTL SDR block in lora_RX.grc.
Screenshot from 2023-08-20 06-57-55

when i run lora_RX.grc flowgraph in GNURadio i see this outpot:

Screenshot from 2023-08-20 06-21-07

I don't understand anything from this output. Can you guide me?

thanx

@sajadmathe sajadmathe changed the title eplaced USRP block with RTL SDR replaced USRP block with RTL SDR Aug 20, 2023
@sajadmathe sajadmathe changed the title replaced USRP block with RTL SDR replace USRP block with RTL SDR Aug 20, 2023
@tapparelj
Copy link
Owner

Hi @sajadmathe,
Based on the error, it seems that the SDR you are using doesn't support a sample rate of 125kHz. To know which rates it supports, try searching in its datasheets.
If it supports any multiple of 125kHz, you can simply add a Keep one in N block to decimate the signal. Else you might need to use a Fractional resampler or a Rational resampler.

In addition, I see some errors with the parameters you set in the block:

  • The Sample rate should be set to the variable samp_rate (you can use variables in flowgraphs). The example uses an oversampling factor of 4 (that I would recommend to keep) to synchronize, hence being set to 500kHz for a LoRa bandwidth (bw) of 125kHz.
  • The Frequency should be set to the variable center_freq. This variable of course needs to match the frequency used by your transmitter.

If you are new to gnuradio, try having a look at the tutorials here to get familiar with the main concepts of flowgraphs.

@tapparelj
Copy link
Owner

I'll close this issue as there has been no follow-up in the past two months, but feel free to reopen it if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants