Browse Source

added fm transmitter example

master
then 7 years ago
parent
commit
15a808396d
  1. 27
      gr-limesdr/examples/NarrowFM_transmitter_LimeSDRMini.README
  2. 523
      gr-limesdr/examples/NarrowFM_transmitter_LimeSDRMini.grc

27
gr-limesdr/examples/NarrowFM_transmitter_LimeSDRMini.README

@ -0,0 +1,27 @@
INSTALL LIMESUITE, GNURADIO AND SOAPY
work in progress...
see: https://wiki.myriadrf.org/Gr-limesdr_Plugin_for_GNURadio
INSTALL LIME SDR GNU RADIO PLUGIN
$ sudo apt-get install libboost-all-dev swig
$ git clone https://github.com/myriadrf/gr-limesdr
$ cd gr-limesdr
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install
$ sudo ldconfig
see:
https://wiki.myriadrf.org/Gr-limesdr_Plugin_for_GNURadio
note:
The original examples provided in the gr-limesdr plugin are not optimised for the
lime sdr MINI. They require some hacking.
CONVERT MP3 FILES FOR USE WITH EXAMPLE FM TRANSMITTER PATCH
$ sudo apt-get install libsox-fmt-mp3
$ sox infile.mp3 outfile.wav

523
gr-limesdr/examples/NarrowFM_transmitter_LimeSDRMini.grc

@ -0,0 +1,523 @@
<?xml version='1.0' encoding='utf-8'?>
<?grc format='1' created='3.7.12'?>
<flow_graph>
<timestamp>Tue Feb 20 16:22:48 2018</timestamp>
<block>
<key>options</key>
<param>
<key>author</key>
<value>Lime Microsystems</value>
</param>
<param>
<key>window_size</key>
<value></value>
</param>
<param>
<key>category</key>
<value>Custom</value>
</param>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>description</key>
<value></value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(8, 8)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>generate_options</key>
<value>wx_gui</value>
</param>
<param>
<key>hier_block_src_path</key>
<value>.:</value>
</param>
<param>
<key>id</key>
<value>top_block</value>
</param>
<param>
<key>max_nouts</key>
<value>0</value>
</param>
<param>
<key>qt_qss_theme</key>
<value></value>
</param>
<param>
<key>realtime_scheduling</key>
<value></value>
</param>
<param>
<key>run_command</key>
<value>{python} -u {filename}</value>
</param>
<param>
<key>run_options</key>
<value>run</value>
</param>
<param>
<key>run</key>
<value>True</value>
</param>
<param>
<key>sizing_mode</key>
<value>fixed</value>
</param>
<param>
<key>thread_safe_setters</key>
<value></value>
</param>
<param>
<key>title</key>
<value>FM transmitter</value>
</param>
<param>
<key>placement</key>
<value>(0,0)</value>
</param>
</block>
<block>
<key>analog_nbfm_tx</key>
<param>
<key>audio_rate</key>
<value>48000</value>
</param>
<param>
<key>alias</key>
<value></value>
</param>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>_enabled</key>
<value>1</value>
</param>
<param>
<key>_coordinate</key>
<value>(216, 199)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>id</key>
<value>analog_nbfm_tx_0_0</value>
</param>
<param>
<key>max_dev</key>
<value>2e3</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>minoutbuf</key>
<value>0</value>
</param>
<param>
<key>fh</key>
<value>-1.0</value>
</param>
<param>
<key>quad_rate</key>
<value>480000</value>
</param>
<param>
<key>tau</key>
<value>75e-6</value>
</param>
</block>
<block>
<key>blocks_wavfile_source</key>
<param>
<key>alias</key>
<value></value>
</param>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>_enabled</key>
<value>1</value>
</param>
<param>
<key>file</key>
<value>/home/then/Music/out.wav</value>
</param>
<param>
<key>_coordinate</key>
<value>(8, 213)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>id</key>
<value>blocks_wavfile_source_0_0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>minoutbuf</key>
<value>0</value>
</param>
<param>
<key>nchan</key>
<value>1</value>
</param>
<param>
<key>repeat</key>
<value>True</value>
</param>
</block>
<block>
<key>limesdr_sink</key>
<param>
<key>alias</key>
<value></value>
</param>
<param>
<key>channel</key>
<value>0</value>
</param>
<param>
<key>analog_bandw_ch0</key>
<value>5e6</value>
</param>
<param>
<key>analog_filter_ch0</key>
<value>0</value>
</param>
<param>
<key>calibr_bandw_ch0</key>
<value>2.5e6</value>
</param>
<param>
<key>calibration_ch0</key>
<value>0</value>
</param>
<param>
<key>digital_bandw_ch0</key>
<value>100e3</value>
</param>
<param>
<key>digital_filter_ch0</key>
<value>0</value>
</param>
<param>
<key>gain_dB_ch0</key>
<value>60</value>
</param>
<param>
<key>pa_path_ch0</key>
<value>1</value>
</param>
<param>
<key>pa_path_mini</key>
<value>1</value>
</param>
<param>
<key>analog_bandw_ch1</key>
<value>7e6</value>
</param>
<param>
<key>analog_filter_ch1</key>
<value>1</value>
</param>
<param>
<key>calibr_bandw_ch1</key>
<value>10e6</value>
</param>
<param>
<key>calibration_ch1</key>
<value>1</value>
</param>
<param>
<key>digital_bandw_ch1</key>
<value>0</value>
</param>
<param>
<key>digital_filter_ch1</key>
<value>1</value>
</param>
<param>
<key>gain_dB_ch1</key>
<value>0</value>
</param>
<param>
<key>pa_path_ch1</key>
<value>1</value>
</param>
<param>
<key>rf_freq</key>
<value>1447.09375e6</value>
</param>
<param>
<key>chip_mode</key>
<value>1</value>
</param>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>device_number</key>
<value>0</value>
</param>
<param>
<key>device_type</key>
<value>1</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>filename</key>
<value></value>
</param>
<param>
<key>_coordinate</key>
<value>(656, 12)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>id</key>
<value>limesdr_sink_0</value>
</param>
<param>
<key>file_switch</key>
<value>0</value>
</param>
<param>
<key>oversample</key>
<value>0</value>
</param>
<param>
<key>samp_rate</key>
<value>2e6</value>
</param>
</block>
<block>
<key>rational_resampler_xxx</key>
<param>
<key>alias</key>
<value></value>
</param>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>decim</key>
<value>6</value>
</param>
<param>
<key>_enabled</key>
<value>1</value>
</param>
<param>
<key>fbw</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(480, 188)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>id</key>
<value>rational_resampler_xxx_0</value>
</param>
<param>
<key>interp</key>
<value>25</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>minoutbuf</key>
<value>0</value>
</param>
<param>
<key>taps</key>
<value></value>
</param>
<param>
<key>type</key>
<value>ccf</value>
</param>
</block>
<block>
<key>wxgui_fftsink2</key>
<param>
<key>avg_alpha</key>
<value>0</value>
</param>
<param>
<key>average</key>
<value>False</value>
</param>
<param>
<key>baseband_freq</key>
<value>446.09375e6</value>
</param>
<param>
<key>alias</key>
<value></value>
</param>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>fft_size</key>
<value>1024</value>
</param>
<param>
<key>freqvar</key>
<value>None</value>
</param>
<param>
<key>_coordinate</key>
<value>(696, 308)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>grid_pos</key>
<value></value>
</param>
<param>
<key>id</key>
<value>wxgui_fftsink2_0</value>
</param>
<param>
<key>notebook</key>
<value></value>
</param>
<param>
<key>peak_hold</key>
<value>False</value>
</param>
<param>
<key>ref_level</key>
<value>0</value>
</param>
<param>
<key>ref_scale</key>
<value>2.0</value>
</param>
<param>
<key>fft_rate</key>
<value>15</value>
</param>
<param>
<key>samp_rate</key>
<value>2e6</value>
</param>
<param>
<key>title</key>
<value>Transmitting data</value>
</param>
<param>
<key>type</key>
<value>complex</value>
</param>
<param>
<key>win_size</key>
<value></value>
</param>
<param>
<key>win</key>
<value>None</value>
</param>
<param>
<key>y_divs</key>
<value>10</value>
</param>
<param>
<key>y_per_div</key>
<value>10</value>
</param>
</block>
<connection>
<source_block_id>analog_nbfm_tx_0_0</source_block_id>
<sink_block_id>rational_resampler_xxx_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>blocks_wavfile_source_0_0</source_block_id>
<sink_block_id>analog_nbfm_tx_0_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>rational_resampler_xxx_0</source_block_id>
<sink_block_id>limesdr_sink_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>rational_resampler_xxx_0</source_block_id>
<sink_block_id>wxgui_fftsink2_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
</flow_graph>
Loading…
Cancel
Save