Coder Social home page Coder Social logo

brotherbus / gr-fcdproplus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dl1ksv/gr-fcdproplus

0.0 0.0 0.0 247 KB

gnuradio funcube dongle and funcube dongle pro+ source

License: GNU General Public License v3.0

CMake 17.84% Python 1.22% C 43.74% C++ 37.20%

gr-fcdproplus's Introduction

gr-fcdproplus is an linux and OSX addon for gnuradio to implement a funcube dongle and a funcube dongle pro+ source. On linux it autodetects the correct soundcard from /proc/asound/cards. This idea was taken from the osmosdr drivers.

To control the device the hidapi usb version is used.

  1. Dependencies:
  • gnuradio (>= 3.8 )
  • alsa usb drivers activated
  • hidapi-libusb

If the hidapi lib of your distro is installed then this hidapi version is used. Otherwise bundled code will be used. In case of MAC OSX this is hidmac.c otherwise hid.c ( This new MAC Version is untested, due to a lack of access to MAC OSX. So reports of success or bugs are welcome. )

  1. Installation:

get the latest code from https://github.com/dl1ksv/gr-fcdproplus

The build process is cmake based. So change to code directory. There

$mkdir build

$cd build

$cmake -DCMAKE_INSTALL_PREFIX=<where gnuradio is installed> ../

$make

$su

$make install

After that you'll find in grc in Custom - Fcd Funcube Dongle Funcube Dongle control Funcube Dongle Pro+ Funcube Dongle Pro+ control

  1. Important

Don't forget the udev rules: For instance:

Udev rules for the Funcube Dongle Pro (0xfb56) and Pro+ (0xfb31)

HIDAPI/libusb:

SUBSYSTEMS=="usb" ATTRS{idVendor}=="04d8" ATTRS{idProduct}=="fb56" MODE:="0666" SUBSYSTEMS=="usb" ATTRS{idVendor}=="04d8" ATTRS{idProduct}=="fb31" MODE:="0666"

HIDAPI/hidraw:

KERNEL=="hidraw*", ATTRS{busnum}=="1", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fb56", MODE="0666" KERNEL=="hidraw*", ATTRS{busnum}=="1", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fb31", MODE="0666"

  1. Usage

Four modules are available:

  • fcd control
  • fcd
  • fcdpp_control
  • fcdproplus

The control modules only controls the dongles, while the other modules control the dongles and provide the IQ samples. All modules accept messages to control the frequency. That was the reason to introduce the control modules.

The fcd modules where introduced, as gnuradio 3.8 does not contain gr-fcd at the moment.

See the examples of a simple fm receiver in the examples directory or see a more complex example in in gr-display

  1. Credits

Some code is taken from qthid-4.1 by Alexandru Csete, OZ9AEC. The hid part is taken from http://github.com/signal11/hidapi

Thanks to Michael Dickens, who gave valuable hints for implementing message in hier2_blocks.

gr-fcdproplus's People

Contributors

777arc avatar dl1ksv avatar michaelld avatar yarda 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.