Comments (9)
Hello @ktolonen,
From the logs, it seems that the USRP B210 can't use a sampling rate lower than 200kHz. If you based your flowgraph on the example named lora_rx, I would try to set the "samp_rate" to 500kHz and set the "os_factor" parameter of the "Frame sync" block to 4.
If this doesn't help, I would happily take a look at your flowgraph if you can provide a screenshot.
from gr-lora_sdr.
@tapparelj thanks for quick reply!
Unfortunately setting samp_rate to 500kHz doesn't change the situation (os_factor is updating to 4 automatically).
I'm running example/tx_rx_uspr.grc. I changed both samp_rate_tx and samp_rate_rx,
[INFO] [UHD] linux; GNU C++ version 10.3.0; Boost_107400; UHD_4.2.0.HEAD-release
[INFO] [B200] Detected Device: B200
[INFO] [B200] Operating over USB 3.
[INFO] [B200] Initialize CODEC control...
[INFO] [B200] Initialize Radio control...
[INFO] [B200] Performing register loopback test...
[INFO] [B200] Register loopback test passed
[INFO] [B200] Setting master clock rate selection to 'automatic'.
[INFO] [B200] Asking for clock rate 16.000000 MHz...
[INFO] [B200] Actually got clock rate 16.000000 MHz.
[INFO] [B200] Asking for clock rate 32.000000 MHz...
[INFO] [B200] Actually got clock rate 32.000000 MHz.
[WARNING] [AD936X] The requested bandwidth 0.125 MHz is out of range (0.2 - 56 MHz).
The bandwidth has been forced to 0.2 MHz.
usrp_source :info: set_min_output_buffer on block 1 to 512
[WARNING] [AD936X] The requested bandwidth 0.125 MHz is out of range (0.2 - 56 MHz).
The bandwidth has been forced to 0.2 MHz.
modulate :info: set_min_output_buffer on block 5 to 10000000
multiply_const_cc :info: set_min_output_buffer on block 19 to 10000000
Press Enter to quit:
I can run examples/lora_TX.grc and examples/lora_RX.grc on separate USRP B210 boards, and problem is same although RX is already using "samp_rate" 500k. TX has different configuration and there is a warning.
[INFO] [UHD] linux; GNU C++ version 10.3.0; Boost_107400; UHD_4.2.0.HEAD-release
[INFO] [B200] Detected Device: B210
[INFO] [B200] Loading FPGA image: /home/kari/miniconda3/envs/gr310/share/uhd/images/usrp_b210_fpga.bin...
[INFO] [B200] Operating over USB 3.
[INFO] [B200] Detecting internal GPSDO....
[INFO] [GPS] No GPSDO found
[INFO] [B200] Initialize CODEC control...
[INFO] [B200] Initialize Radio control...
[INFO] [B200] Performing register loopback test...
[INFO] [B200] Register loopback test passed
[INFO] [B200] Performing register loopback test...
[INFO] [B200] Register loopback test passed
[INFO] [B200] Setting master clock rate selection to 'automatic'.
[INFO] [B200] Asking for clock rate 16.000000 MHz...
[INFO] [B200] Actually got clock rate 16.000000 MHz.
[INFO] [B200] Asking for clock rate 32.000000 MHz...
[INFO] [B200] Actually got clock rate 32.000000 MHz.
[WARNING] [AD936X] The requested bandwidth 0.125 MHz is out of range (0.2 - 56 MHz).
The bandwidth has been forced to 0.2 MHz.
modulate :info: set_min_output_buffer on block 4 to 10000000
Press Enter to quit:
I'm using examples as those are on master. Only change is to remove hardcoded ip address.
from gr-lora_sdr.
I don't have a b200 or b210 under the hand, but I tested it again on a b200 mini.
By just changing the sample rate in tx_rx_usrp.grc, I receive the packets without any issue. The terminal output is the same as yours, except for the device name, the GNU c++ version (11.2.0), the UHD version (4.1.0.5-3), and I get the received messages printed. The only way I managed to not receive anything is by disconnecting the antennas.
If you use only one radio, can you try setting the receiver to the RX2 port (in the "uhd: usrp source") and be sure that the antennas you use are suited for a carrier frequency around 868MHz?
I wouldn't expect the version difference of UHD and C++ to make much difference. How did you installed gnuradio (from source, apt, conda, pybombs, or other) ?
from gr-lora_sdr.
Then I suspect antennas since not known history for those and there is no markings. Changing receiver port or using two different boards doesn't change the situation. I have to source known good antennas from somewhere. I let you know when have been able to test with those.
I'm using Ubuntu 22.04 and installed gnuradio 3.10.3.0 (Python 3.10.5) from apt.
from gr-lora_sdr.
A quick test using a cable to connect both ports should do the trick to identify if it is the issue.
I think the issue might come from the version of gnuradio. I tried to get the newest version 3.10.5 and this led to a runtime error. Something changed between the version 3.10.1 that I use and the newer ones and something seems to be broken. I will try fixing it as soon as possible, but in the meantime you probably have to revert to a previous version of gnuradio to use this module.
if you installed gnuradio using:
sudo add-apt-repository ppa:gnuradio/gnuradio-releases
and then sudo apt install gnuradio
, you can go back to the default version for ubuntu 22.04 by doing:
sudo add-apt-repository ppa:gnuradio/gnuradio-releases --remove
sudo apt update
sudo apt remove gnuradio
sudo apt install gnuradio
Else, you can try directly specifying the version you want to install as sudo apt install gnuradio=3.10.1.1-2
, but i'm not sure it will work as easily.
from gr-lora_sdr.
I got another set of antennas and the example starts working as expected. I could even revert the sample rate change, and hello world frames were still received.
So confirming that the issue was with antennas not supporting low frequencies. Thanks for your valuable feedback helping out to solve the problem with my setup. Closing this.
from gr-lora_sdr.
Hello this gentleman, I have the same problem as you.
When using two B210s, no matter how I change their antennas (4 antennas in the lab, two VERT2450: 2.4-2.48GHz, 4.9-5.9GHz; VERT900: 824-960MHz, 1710-1990MHz; and one flat antenna, which I guess comes with the B210), I end up with the same problem as you exactly the same problem.
But if I use a cable connection between the two B210s, this does not cause these kinds of problems (receiving Hello World normally).
So I'm very interested in your antenna replacement, can you tell me the type of antenna you replaced and what else you did?
from gr-lora_sdr.
Unfortunately I'm not able to tell any characteristics about antennas. I found some from lab and the one pair works. No additional changes done, just replacing the antennas.
from gr-lora_sdr.
from gr-lora_sdr.
Related Issues (20)
- Implementing encoder and decoder with smaller SF 2-6 HOT 9
- getting nothing terminal window after running setup HOT 18
- PREAMBLE, SYNC WORD and LDRO HOT 6
- HackRF CRC issues HOT 3
- Erroneous Decoding for LDRO Enabled Transmissions HOT 1
- Error `include could not find requested file:` HOT 1
- ModuleNotFoundError even after loading PYTHONPATH HOT 2
- Chirps not appearing in Waterfall HOT 8
- RE:getting nothing terminal window after running setup HOT 6
- GNU Radio3.8.3.1 HOT 3
- Error when increasing spreading factor. HOT 4
- Cannot use a file source to replace USRP source HOT 12
- USRP not working HOT 6
- can’t recv LLCC68 message HOT 2
- Difficulties decoding meshtastic HOT 5
- Performance of cyl_bessel_i() on a low-powered arm64 device HOT 4
- Trouble receiving real-time signals HOT 5
- how to get rssi HOT 1
- Can't decode a signal HOT 8
- InvalidSpec: The package "conda-forge/noarch::adwaita-icon-theme==41.0=ha770c72_1" is not available for the specified platform HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gr-lora_sdr.