diff options
author | FreeArtMan <dos21h@gmail.com> | 2022-05-06 11:24:33 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2022-05-06 11:24:33 +0100 |
commit | 75c0b8c1b77c161c95d0cd83686c42d55088ac81 (patch) | |
tree | fb9a5f84954c8d1354666210b4c71c47b4c1f4b5 /md | |
parent | 6032d390e790ca22140af39c30b1bb7d1b441dad (diff) | |
download | md-content-75c0b8c1b77c161c95d0cd83686c42d55088ac81.tar.gz md-content-75c0b8c1b77c161c95d0cd83686c42d55088ac81.zip |
Added bladerf notes
Diffstat (limited to 'md')
-rw-r--r-- | md/img/gnuradio/bladerf_fm_radio.png | bin | 0 -> 28911 bytes | |||
-rw-r--r-- | md/img/gnuradio/bladerf_fm_radio_prev.png | bin | 0 -> 160805 bytes | |||
-rw-r--r-- | md/writeup.md | 1 | ||||
-rw-r--r-- | md/writeup/bladerf_quick_guide.md | 116 |
4 files changed, 117 insertions, 0 deletions
diff --git a/md/img/gnuradio/bladerf_fm_radio.png b/md/img/gnuradio/bladerf_fm_radio.png Binary files differnew file mode 100644 index 0000000..5da73b0 --- /dev/null +++ b/md/img/gnuradio/bladerf_fm_radio.png diff --git a/md/img/gnuradio/bladerf_fm_radio_prev.png b/md/img/gnuradio/bladerf_fm_radio_prev.png Binary files differnew file mode 100644 index 0000000..42e0a17 --- /dev/null +++ b/md/img/gnuradio/bladerf_fm_radio_prev.png diff --git a/md/writeup.md b/md/writeup.md index 7434954..a536432 100644 --- a/md/writeup.md +++ b/md/writeup.md @@ -4,6 +4,7 @@ title: Writeup page ## Writeup's +[BladeRF quick guide](writeup/bladerf_quick_guide.md) [Writing linux mount utility](writeup/writing_linux_mount_utility.md) [Naive FFT implementation in C](writeup/naive_fft_implementation_in_c.md) [Web assembly audio with fir filter](writeup/web_assembly_audio_with_fir_filter.md) diff --git a/md/writeup/bladerf_quick_guide.md b/md/writeup/bladerf_quick_guide.md new file mode 100644 index 0000000..1ece22e --- /dev/null +++ b/md/writeup/bladerf_quick_guide.md @@ -0,0 +1,116 @@ +title:BladerRF quick quide +keywords:sdr,bladerf,gnuradio,gqrx + +# BladeRF quick guide + + +## Intro + +BladeRF is SDR device capable to transmit in range 47-6000Mhz and receive in range 70-6000Mhz. +With samplerate 0.52-61Mhz and max bandwidth 0.2-56MHz. As it capable to RX/TX on quite +wide range there is infinite possibilities what can be done with it. + + +## Quick test + +Run +```bash +bladeRF-cli -p +``` +Output will show if any BladeRF device is connected + + + + +## Running GQRX + +Lunch any of command below to start graphical SDR +```bash +gqrx +gqrx-alsa //if first one fails with some pulse audio error +``` + +Choose device selection dialog and add to +__Device string__ + +```bash +bladerf=0,fpga=/usr/share/bladerf/fpga/hostedxA4.rbf +``` + +This will set to first bladerf and load FPGA bitstream, find path to bitstream on your PC from distro package. +Now GQRX will ready to go + +### Enable biastee +If there are attached LNA or LNB to BladeRF SMA ports you can enable biastee by adding to +GQRX __Device string__ with comma separation between parameters +```bash +biastee=rx +``` + +## Running from command line + +To start interactive commandline point to fpga bitstream, can be found in distro package. + +```bash +bladeRF-cli -i -l /usr/share/bladerf/fpga/hostedxA4.rbf +``` + + +### Receive + +Set frequency to AA Megaherz with sample rate BB bandwidth CC and write to file DD in signed complex 16 bit, with 20M entries + +```bash +set frequency rx AAM +set samplerate rx BBM +set bandwidth rx CCM +rx config file=DD.sc16q11 format=bin n=20M +rx start +rx wait +rx +``` + + + +### Transmit + +Set frequency to AA Megaherz with sample rate BB bandwidth CC and read from file DD in signed complex 16 bit + +```bash +set frequency tx AAM +set samplerate tx BBM +set bandwidth tx CCM +tx config file=DDsc16q11 format=bin +tx start +tx wait +tx +``` + + +### Enable biastee + +To enable/disable biastee set channel RX1/RX2/TX1/TX2 to 0/false to disable and 1/true to enable biastee on particular channel + +```bash +set biastee RX1 true +``` + +## Gnuradio + +Gnuradio is opensource tool that allows you to utilize DSP blocks and create +processing pipeline. It works like a block diagrams drawing tool, except the block are +DSP processing steps and as output you get processed signal. Here is example how to +create FM radio listening design and as result you can hear to your local radio stations. + +![BladerRF fm radio block diagram](/img/gnuradio/bladerf_fm_radio.png) + + +## Links + +[https://www.nuand.com/bladerf-2-0-micro/](https://www.nuand.com/bladerf-2-0-micro/) +[https://gqrx.dk/](https://gqrx.dk/) +[https://www.nuand.com/product/bt-100/](https://www.nuand.com/product/bt-100/) +[https://www.nuand.com/product/bt-200/](https://www.nuand.com/product/bt-200/) +[https://github.com/Nuand/bladeRF/wiki/bladeRF-CLI-Tips-and-Tricks](https://github.com/Nuand/bladeRF/wiki/bladeRF-CLI-Tips-and-Tricks) +[https://sites.google.com/site/sdrbladerf/home/bladerf-getting-started](https://sites.google.com/site/sdrbladerf/home/bladerf-getting-started) +[https://www.gnuradio.org/](https://www.gnuradio.org/)
\ No newline at end of file |