• Stars
    star
    375
  • Rank 114,096 (Top 3 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created almost 11 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A collection of GNU Radio flow graphs

sdr-examples

Author: Clayton Smith ([email protected])

This project is a collection of GNU Radio examples created for a tutorial session given at the Ottawa Amateur Radio Club.

multi_tx.grc & multi_tx.py

This example transmits the following signals simultaneously:

  1. Narrowband FM at 440.9 MHz
  2. Wideband FM at 441.0 MHz
  3. AM at 441.120 MHz
  4. LSB at 441.131 MHz
  5. USB at 441.134 MHz
  6. CW at 441.140 MHz
  7. PSK31 at 441.142 MHz

It is built for the BladeRF, but it should easily be adaptable to other boards such as the USRP B200/210 or HackRF.

Output power is split approximately equally between the six signals, with the gain set such that no clipping occurs.

pager_rx.py

This example allows the reception of the FLEX protocol used to send messages to pagers. It is intended for use with a RTL-SDR dongle such as the NooElec TV28T.

To use it, first set the frequency correction slider to the correct value to match your dongle's crystal. The gain slider should be set to the highest value which does not cause clipping. (If it's too high, you'll see spurious signals appearing.)

Choose a band (929-930 MHz or 931-932 MHz) by clicking the appropriate radio button. The band waterfall will display all signals in that band. Click on a signal to tune to its channel. When transmitting, you should see the channel's signal in the channel waterfall display. When the frequency correction slider is set correctly, the signal should be centered in the channel waterfall display.

pager_rx_929.py

This example demonstrates reception of multiple FLEX channels simultaneously. It tunes three Ottawa-area FLEX transmitters at 929.1875, 929.2875 and 929.6625 MHz. As with the previous example, for correct decoding the frequency correction slider must be set so that the signals appear in the center of the channel waterfall. The gain slider should be set as high as possible without causing spurious signals to appear.

va3rft.grc & va3rft.py

This example receives an Ottawa-area DMR digital voice repeater, VA3RFT on 444.475 MHz. It is intended for use with an RTL-SDR dongle such as the NooElec TV28T. It depends on my GNU Radio DSD block, which can be downloaded at https://github.com/argilo/gr-dsd.

To use it, set the frequency correction slider to the correct value to match your dongle's crystal. If necessary, set the gain slider to an appropriate value to prevent clipping.

If the frequency correction slider is set correctly, you should see transmissions appearing in the center of the band in the middle of the waterfall. Even when nobody is using the repeater, it transmits some packets about once every 80 seconds.

va3odg.grc & va3odg.py

This example is very similar to the DMR receiver above, but instead it receives D-STAR. It is intended to receive the Ottawa-area D-STAR repeater VA3ODG on 444.850 MHz.

Since the D-STAR receiver in DSD is not yet optimized for GMSK reception, I have worked around this problem by doing the GMSK demodulation in GNU Radio (with a Clock Recovery MM and a Binary Slicer block), then re-modulating the signal before passing it on to DSD. This improves the bit error rate.

atsc-blade.py & atsc-blade-usb2.py

These examples transmit an ATSC digital television signal using the BladeRF. An file containing an MPEG 2 transport stream must be supplied as input. MPEG 2 transport streams can be produced with tools such as avconv and OpenCaster. The first example, atsc-blade.py requires USB 3.0 to work properly, while the second example, atsc-blade-usb2.py reduces the output sample rate so as to run on a USB 2.0 port. Both examples transmit on 438-444 MHz, but this can be changed by adjusting the center_freq variable.

Making Bootable USB Images for GNURadio

Install Some Kind of Ubuntu/Debian

Install Xubuntu 14.04 LTS 64-bit (or newer) onto a 8 GB or larger flash drive. Force the root partition to be 7.5 GB so that it can be installed on approximately 8 GB drives that may vary in size a bit.

Boot Xubuntu, install updates and restart.

In /etc/default/rcS, set UTC=no so it won't mess up the system clock on Windows laptops.

Install a few essential pieces in order to make it easier for people to use the system and work with these example flow graphs:

sudo apt-get install linux-firmware-nonfree

sudo apt-get install git
git clone --recursive https://github.com/argilo/sdr-examples.git

Install GNURadio and Related Tools

Install the core GNURadio packages:

sudo add-apt-repository ppa:gqrx/releases
sudo apt-get update
sudo apt-get install gnuradio gnuradio-dev gnuradio-doc gqrx-sdr

Install drivers for some of the most common SDR dongles:

sudo apt-get install rtl-sdr hackrf bladerf-host \
    gr-fcdproplus qthid-fcd-controller

Add GRC and gqrx to the favourites in the xfce menu.

Compress Bootable Image

Purge old kernels.

sudo apt-get install localepurge
sudo apt-get clean
cat /dev/zero > zero.fill ; sync ; sleep 1 ; sync ; rm -rf zero.fill

Shut down.

sudo dd if=/dev/sdb bs=1M count=7500 |\
    gzip --rsyncable > bootable_image.img.gz

More Repositories

1

secplus

A software implementation of the Security+ system used by garage door openers
Python
147
star
2

gr-dsd

GNU Radio block for Digital Speech Decoder
C++
131
star
3

gr-elster

A GNU Radio block that decodes packets transmitted by Elster R2S smart meters
CMake
120
star
4

gr-nrsc5

A GNU Radio implementation of HD Radio (NRSC-5)
Python
101
star
5

gr-qam

A QAM-64 transmitter for GNU Radio. This project was merged into GNU Radio in version 3.7.10.
Python
47
star
6

gr-ham

A collection of GNU Radio blocks useful for amateur radio
Python
37
star
7

contest-sdr

An SDR-based transeciver for amateur radio contests
Python
35
star
8

gr-flarm

FLARM receiver for GNU Radio
CMake
26
star
9

gr-tenna

goTenna Mesh receiver and transmitter for GNU Radio
Python
26
star
10

nrsc-5

Prototype implementation of HD Radio (NRSC-5). Superseded by https://github.com/argilo/gr-nrsc5
Python
21
star
11

pico-jiggler

Simulate periodic mouse movements using a Raspberry Pi Pico
C
18
star
12

BusFollower

Ottawa Bus Follower Android app
Java
16
star
13

gr-queue

GNU Radio queue block, useful for trunked radio systems
CMake
11
star
14

grcon22

Challenges for GRCon 2022
Python
7
star
15

ham-utils

Various amateur radio utilities
Python
6
star
16

gr-dsdcc

GNU Radio block for DSDcc
CMake
5
star
17

bbhn-utils

Utilities that may be useful for Broadband-Hamnet nodes
Python
5
star
18

BlackHatBadgeReader

Read the contents of your Black Hat USA 2012 badge on your NFC-enabled Android phone
Java
4
star
19

pico-projects

Projects for the Raspbery Pi Pico
Python
3
star
20

pi-frontend

A tool to configure a Raspbery Pi as a MythTV frontend
Shell
3
star
21

ringzer0

My solutions for RingZer0 CTF problems
Python
1
star
22

argilo-net

La persona retejo de Clayton Smith
HTML
1
star
23

advent

My solutions for Advent of Code puzzles
Python
1
star
24

anagramoj

Programo por trovi anagramojn en Esperanto
C
1
star
25

irrational-net

The personal website of Clayton Smith
HTML
1
star