From e6bbb6cdc594e2e8b8364e2ae552504fbc4bc7d6 Mon Sep 17 00:00:00 2001 From: Wojciech Kaczmarski <44336093+sp5wwp@users.noreply.github.com> Date: Thu, 19 Sep 2024 17:24:16 +0200 Subject: [PATCH] rtl-sdr receiver flowgraph update --- examples/receiverRTLSDR.grc | 309 +++++++++++++++++++----------------- 1 file changed, 164 insertions(+), 145 deletions(-) diff --git a/examples/receiverRTLSDR.grc b/examples/receiverRTLSDR.grc index 1f32f04..0feb853 100644 --- a/examples/receiverRTLSDR.grc +++ b/examples/receiverRTLSDR.grc @@ -28,7 +28,7 @@ options: bus_sink: false bus_source: false bus_structure: null - coordinate: [48, 24.0] + coordinate: [8, 8] rotation: 0 state: enabled @@ -42,16 +42,16 @@ blocks: min_len: '200' orient: QtCore.Qt.Horizontal rangeType: float - start: '-100' + start: '-10' step: '0.1' - stop: '100' - value: '0' + stop: '10' + value: '1.2' widget: counter_slider states: bus_sink: false bus_source: false bus_structure: null - coordinate: [328, 32.0] + coordinate: [296, 12.0] rotation: 0 state: true - name: rf_gain @@ -66,13 +66,13 @@ blocks: start: '0' step: '1' stop: '49' - value: '10' + value: '15' widget: counter_slider states: bus_sink: false bus_source: false bus_structure: null - coordinate: [432, 32.0] + coordinate: [416, 12.0] rotation: 0 state: true - name: samp_rate @@ -84,7 +84,7 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [232, 32.0] + coordinate: [192, 12.0] rotation: 0 state: enabled - name: variable_qtgui_check_box_0 @@ -96,12 +96,12 @@ blocks: label: AFC 'true': '1.0' type: real - value: '1.0' + value: '0.0' states: bus_sink: false bus_source: false bus_structure: null - coordinate: [544, 32.0] + coordinate: [536, 12.0] rotation: 0 state: true - name: analog_quadrature_demod_cf_0 @@ -117,7 +117,7 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [528, 216.0] + coordinate: [400, 324.0] rotation: 0 state: enabled - name: audio_sink_0 @@ -134,7 +134,25 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [384, 480.0] + coordinate: [2240, 292.0] + rotation: 0 + state: disabled +- name: blocks_file_sink_0 + id: blocks_file_sink + parameters: + affinity: '' + alias: '' + append: 'False' + comment: '' + file: /tmp/fifo1 + type: float + unbuffered: 'False' + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1264, 76.0] rotation: 0 state: enabled - name: blocks_moving_average_xx_0 @@ -154,7 +172,7 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [776, 192.0] + coordinate: [432, 420.0] rotation: 0 state: enabled - name: blocks_multiply_const_vxx_0 @@ -172,7 +190,7 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [1008, 216.0] + coordinate: [600, 444.0] rotation: 0 state: true - name: blocks_packed_to_unpacked_xx_0 @@ -191,9 +209,9 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [432, 304.0] - rotation: 180 - state: enabled + coordinate: [1432, 284.0] + rotation: 0 + state: disabled - name: blocks_short_to_float_0 id: blocks_short_to_float parameters: @@ -208,9 +226,9 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [64, 480.0] + coordinate: [1936, 292.0] rotation: 0 - state: enabled + state: disabled - name: blocks_stream_to_vector_0 id: blocks_stream_to_vector parameters: @@ -226,9 +244,9 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [272, 320.0] - rotation: 180 - state: enabled + coordinate: [1592, 296.0] + rotation: 0 + state: disabled - name: blocks_sub_xx_0 id: blocks_sub_xx parameters: @@ -244,7 +262,7 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [1240, 192.0] + coordinate: [672, 328.0] rotation: 0 state: true - name: digital_symbol_sync_xx_0 @@ -271,8 +289,8 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [872, 300.0] - rotation: 180 + coordinate: [984, 284.0] + rotation: 0 state: enabled - name: import_0 id: import @@ -284,7 +302,7 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [48, 128.0] + coordinate: [8, 100.0] rotation: 0 state: true - name: m17_m17_decoder_0_0 @@ -292,19 +310,21 @@ blocks: parameters: affinity: '' alias: '' + callsign: 'False' comment: '' debug_ctrl: 'False' - debug_data: 'False' + debug_data: 'True' maxoutbuf: '0' minoutbuf: '0' - threshold: '2.0' + signed_str: 'False' + threshold: '7' states: bus_sink: false bus_source: false bus_structure: null - coordinate: [664, 296.0] - rotation: 180 - state: enabled + coordinate: [1264, 276.0] + rotation: 0 + state: disabled - name: qtgui_eye_sink_x_0 id: qtgui_eye_sink_x parameters: @@ -334,7 +354,7 @@ blocks: color9: blue comment: '' ctrlpanel: 'False' - entags: 'True' + entags: 'False' grid: 'True' gui_hint: '' label1: M17 baseband @@ -398,8 +418,104 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [920, 472.0] - rotation: 180 + coordinate: [984, 172.0] + rotation: 0 + state: disabled +- name: qtgui_eye_sink_x_0_0 + id: qtgui_eye_sink_x + parameters: + affinity: '' + alias: '' + alpha1: '1.0' + alpha10: '1.0' + alpha2: '1.0' + alpha3: '1.0' + alpha4: '1.0' + alpha5: '1.0' + alpha6: '1.0' + alpha7: '1.0' + alpha8: '1.0' + alpha9: '1.0' + autoscale: 'False' + axislabels: 'True' + color1: blue + color10: blue + color2: blue + color3: blue + color4: blue + color5: blue + color6: blue + color7: blue + color8: blue + color9: blue + comment: '' + ctrlpanel: 'False' + entags: 'False' + grid: 'True' + gui_hint: '' + label1: M17 baseband + label10: Signal 10 + label2: Signal 2 + label3: Signal 3 + label4: Signal 4 + label5: Signal 5 + label6: Signal 6 + label7: Signal 7 + label8: Signal 8 + label9: Signal 9 + legend: 'True' + marker1: '-1' + marker10: '-1' + marker2: '-1' + marker3: '-1' + marker4: '-1' + marker5: '-1' + marker6: '-1' + marker7: '-1' + marker8: '-1' + marker9: '-1' + nconnections: '1' + samp_per_symbol: '1' + size: int(samp_rate/100) + srate: samp_rate + style1: '1' + style10: '1' + style2: '1' + style3: '1' + style4: '1' + style5: '1' + style6: '1' + style7: '1' + style8: '1' + style9: '1' + tr_chan: '0' + tr_delay: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_slope: qtgui.TRIG_SLOPE_POS + tr_tag: '""' + type: float + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + ylabel: Amplitude + ymax: '5' + ymin: '-5' + yunit: '""' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1264, 164.0] + rotation: 0 state: enabled - name: qtgui_time_sink_x_0 id: qtgui_time_sink_x @@ -495,105 +611,8 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [528, 392.0] + coordinate: [2232, 180.0] rotation: 0 - state: enabled -- name: qtgui_time_sink_x_0_0 - id: qtgui_time_sink_x - parameters: - affinity: '' - alias: '' - alpha1: '1.0' - alpha10: '1.0' - alpha2: '1.0' - alpha3: '1.0' - alpha4: '1.0' - alpha5: '1.0' - alpha6: '1.0' - alpha7: '1.0' - alpha8: '1.0' - alpha9: '1.0' - autoscale: 'False' - axislabels: 'True' - color1: blue - color10: dark blue - color2: red - color3: green - color4: black - color5: cyan - color6: magenta - color7: yellow - color8: dark red - color9: dark green - comment: '' - ctrlpanel: 'False' - entags: 'False' - grid: 'False' - gui_hint: '' - label1: Signal 1 - label10: Signal 10 - label2: Signal 2 - label3: Signal 3 - label4: Signal 4 - label5: Signal 5 - label6: Signal 6 - label7: Signal 7 - label8: Signal 8 - label9: Signal 9 - legend: 'False' - marker1: '-1' - marker10: '-1' - marker2: '-1' - marker3: '-1' - marker4: '-1' - marker5: '-1' - marker6: '-1' - marker7: '-1' - marker8: '-1' - marker9: '-1' - name: '""' - nconnections: '1' - size: '100' - srate: '4800' - stemplot: 'False' - style1: '1' - style10: '1' - style2: '1' - style3: '1' - style4: '1' - style5: '1' - style6: '1' - style7: '1' - style8: '1' - style9: '1' - tr_chan: '0' - tr_delay: '0' - tr_level: '0.0' - tr_mode: qtgui.TRIG_MODE_FREE - tr_slope: qtgui.TRIG_SLOPE_POS - tr_tag: '""' - type: float - update_time: '0.10' - width1: '1' - width10: '1' - width2: '1' - width3: '1' - width4: '1' - width5: '1' - width6: '1' - width7: '1' - width8: '1' - width9: '1' - ylabel: Amplitude - ymax: '5' - ymin: '-5' - yunit: '""' - states: - bus_sink: false - bus_source: false - bus_structure: null - coordinate: [664, 392.0] - rotation: 180 state: disabled - name: rational_resampler_xxx_0_0 id: rational_resampler_xxx @@ -612,7 +631,7 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [304, 192.0] + coordinate: [232, 300.0] rotation: 0 state: enabled - name: rational_resampler_xxx_1 @@ -632,9 +651,9 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [208, 456.0] + coordinate: [2072, 268.0] rotation: 0 - state: enabled + state: disabled - name: root_raised_cosine_filter_0 id: root_raised_cosine_filter parameters: @@ -655,8 +674,8 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [1176, 320.0] - rotation: 180 + coordinate: [776, 300.0] + rotation: 0 state: enabled - name: soapy_rtlsdr_source_0 id: soapy_rtlsdr_source @@ -665,8 +684,7 @@ blocks: agc: 'False' alias: '' bias: 'False' - bufflen: '16384' - center_freq: int(433475000*(1+ppm*1e-6)) + center_freq: int(144875000*(1.0+ppm*1e-6)) comment: '' dev_args: '' freq_correction: '0' @@ -679,7 +697,7 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [48, 208.0] + coordinate: [32, 316.0] rotation: 0 state: true - name: vocoder_codec2_decode_ps_0 @@ -695,9 +713,9 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [80, 312.0] - rotation: 180 - state: enabled + coordinate: [1744, 292.0] + rotation: 0 + state: disabled connections: - [analog_quadrature_demod_cf_0, '0', blocks_moving_average_xx_0, '0'] @@ -708,8 +726,9 @@ connections: - [blocks_short_to_float_0, '0', rational_resampler_xxx_1, '0'] - [blocks_stream_to_vector_0, '0', vocoder_codec2_decode_ps_0, '0'] - [blocks_sub_xx_0, '0', root_raised_cosine_filter_0, '0'] +- [digital_symbol_sync_xx_0, '0', blocks_file_sink_0, '0'] - [digital_symbol_sync_xx_0, '0', m17_m17_decoder_0_0, '0'] -- [digital_symbol_sync_xx_0, '0', qtgui_time_sink_x_0_0, '0'] +- [digital_symbol_sync_xx_0, '0', qtgui_eye_sink_x_0_0, '0'] - [m17_m17_decoder_0_0, '0', blocks_packed_to_unpacked_xx_0, '0'] - [rational_resampler_xxx_0_0, '0', analog_quadrature_demod_cf_0, '0'] - [rational_resampler_xxx_1, '0', audio_sink_0, '0'] @@ -721,4 +740,4 @@ connections: metadata: file_format: 1 - grc_version: 3.10.10.0 + grc_version: 3.10.7.0