User:Duggabe: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(96 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<!-- Guided_Tutorial_Hardware_Considerations -->
Barry Duggan is a graduate of Georgia Tech in Electrical Engineering and is a career computer programmer specializing in real-time control, data communication systems, and email security. He has been an amateur radio operator since 1953.
<!-- "Using GNU Radio with Hardware" -->
= DRAFT REVISION Guided_Tutorial_Hardware_Considerations =
== Introduction ==


One of the great strengths of GNU Radio is how easy it is to move from simulation to real-world operation. In this tutorial, we will build on what you have learned so far and create a complete FM radio receiver which you can use to listen to your local FM radio stations. Also we will discuss considerations that come into play when working with real-world radio hardware.
Barry started working on the GNU Radio project in 2019 and now devotes most of his time doing Wiki documentation, and development of amateur radio applications. He is a member of the GRCon24 Organizing Committee.


== Prerequisites ==
Summary of programming languages used (roughly in chronological order):
 
* FORTRAN
* [[SuggestedReading|Our Suggested Reading list]]
* assembly languages of various computers
* Tutorials:
* COBOL
** [[Guided_Tutorial_Introduction|'''A brief introduction to GNU Radio, SDR, and DSP''']]
* C
** [[Guided_Tutorial_GRC|'''Intro to GR usage: GRC and flowgraphs''']]
* Pascal
** [[Sample_Rate_Tutorial|'''Understanding sample rate''']]
* HTML5
 
* CSS3
== What Will I Need? ==
* XML
 
* JavaScript
Even if you don't have an actual radio to work with, this tutorial is still useful. Perform the following steps:
* JSON
 
* node.js
* Go to https://github.com/gnuradio/gr-tutorial/blob/master/examples/tutorial6/fm_101.8MHz_1Msps.cfile in your browser and click Download.
* PHP
** If not the default, select your Downloads directory.
* Python
 
This tutorial will be most useful, however, if you have a piece of radio hardware that you can use with GNU Radio. There are a large number of vendors who provide hardware with GNU Radio drivers. They span from very cheap $20 receivers to very high-performance tens-of-thousands-of-dollars systems. See [[Hardware]] for additional information.
 
== Building an FM Radio Receiver ==
 
This tutorial is divided into two sections: "Signal Processing" and "Hardware". Various popular hardware devices are shown so that you can build with your available device.
 
=== GNU Radio Signal Processing ===
 
Using gnuradio-companion (GRC) and the following Block descriptions, build this flowgraph:<br>
 
[[File:FM_receiver_fg.png|800px]]
 
==== Block descriptions ====
 
* The Options block identifies the filename for the flowgraph, a title, author, etc.
** id: FM_receive
** Title: Broadcast FM receiver
** click Apply
** click OK
** click on File -> Save As&nbsp;&nbsp;Use the file name 'FM_receive'. the extension '.grc' is added automatically
 
* Variable block
** id: samp_rate
** value: 384000
 
* Variable block
** id: rf_decim
** value: 1000
 
* Variable block
** id: interp
** value: 384
 
* Variable block
** id: deviation
** value: 75000
 
* Variable block
** id: audio_decim
** value: 8
 
* The QT GUI Range block defines an Audio gain (volume) control
** id: volume
** default value: 0.3
** start: 0.0
** stop: 1.0
** step: 0.1
** Widget: slider (or you can choose whichever you like)
 
* File Source
** File: /home/barry/Downloads/fm_101.8MHz_1Msps.cfile    (use your file path)
** Output Type: Complex
** Repeat: Yes
 
* Rational Resampler
** Type: Complex -> Complex (Complex Taps)
** Interpolation: interp
** Decimation: rf_decim
 
* FM Demod
** Channel Rate: samp_rate
** Audio Decimation: audio_decim
** Deviation: deviation
** Audio Pass: 16000
** Audio Stop: 20000
 
* The value of the volume control is used as a multiplier in the Multiply Const block.
** Constant: volume
 
* The speaker output is created by an Audio Sink block. The parameters are:
** Sample rate: set to 48khz (use the pull-down)
** Device name: for most speakers (or headphone jacks) built into the computer, the Device name can be left blank; for other cases, see [[Audio_Sink#Device_Name]]
 
==== Testing ====
 
Using GRC, click the Run icon or click Run -> Execute from the menu. After a few seconds, a GUI window will open with the Volume control and you should hear the radio station.
 
To terminate the process cleanly, click on the 'X' in the upper corner of the GUI rather than using Control-C.
 
=== Hardware Front End ===
 
==== UHD / USRP ====
 
==== ADALM-PLUTO ====
 
==== RTL-SDR dongle ====
 
==== FunCube Pro+ ====

Latest revision as of 16:37, 26 October 2023

Barry Duggan is a graduate of Georgia Tech in Electrical Engineering and is a career computer programmer specializing in real-time control, data communication systems, and email security. He has been an amateur radio operator since 1953.

Barry started working on the GNU Radio project in 2019 and now devotes most of his time doing Wiki documentation, and development of amateur radio applications. He is a member of the GRCon24 Organizing Committee.

Summary of programming languages used (roughly in chronological order):

  • FORTRAN
  • assembly languages of various computers
  • COBOL
  • C
  • Pascal
  • HTML5
  • CSS3
  • XML
  • JavaScript
  • JSON
  • node.js
  • PHP
  • Python