Coder Social home page Coder Social logo

gr-dsss's Introduction

GNU radio Direct Sequence Spread Spectrum blocks with examples

This repository contains two blocks: dsss_encoder_bb and dsss_decoder_cc which can be used to set up a DSSS PSK transceiver (currently only BPSK has been tested to work).

Spreading codes can be specified as bit vectors (C++) or lists (Python). Included are GRC examples for using Barker codes and pseudonoise codes with lengths up to 1024 bits.

The DSSS encoder block takes 8 packed bits into a byte and outputs unpacked bits

  • the original bits spread with the spreading bit sequence. These spread bits can be modulated later and the chip rate will be Bit_rate_In * Spreading_sequence_length.

The DSSS decoder block takes as an input a RRC filtered complex waveform and outputs a correlation value with a mean amplitude of 1 for maximum correlation. The output of the decoder block sample rate is equal with:

input_sample_rate / (spreading_sequence_len * samples_per_symbol)

The DSSS decoder block uses a FIR filter whose length (based on spreading sequence length and the samples per symbol value) will determine what is the maximum sample rate which can be supported.

Screenshot

Installation instructions

Clone this repository then:

cd gr-dsss/
mkdir build/
cd build/
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local ..
make
sudo make install

The blocks will become available in GNU radio companion in (no module specified) / dsss.

Credits

The original author of this GNU radio module is:

Copyright 2014 Eric de Groot

With bug fixes, additions and GRC examples by:

Copyright 2019 Adrian Musceac YO8RZZ

The code is available under the GNU GPLv3 license.

gr-dsss's People

Contributors

kantooon avatar ericdegroot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.