GNU Radio World

PlutoSDR Receive Example

Receive and display spectrum from an ADALM-PLUTO using stock firmware.

Press Load to open this flowgraph in an editor embedded above, then ▶ to run it. Nothing is downloaded until you do.

Open in the full editor ▶ Download the .grc

Blocks used

BlockModuleUsed
QT GUI RangeGNU Radio2
👂 PlutoSDR SourceGNU Radio1
GUI LayoutGNU Radio1
QT GUI ChooserGNU Radio1
QT GUI Frequency SinkGNU Radio1
QT GUI Waterfall SinkGNU Radio1

Flowgraph source

plutosdr/plutosdr_receive.grc
options:
    parameters:
        author: Marc
        copyright: ''
        description: Receive and display spectrum from an ADALM-PLUTO using stock firmware.
        generate_options: qt_gui
        id: PlutoSDR_Receive_Example
        title: PlutoSDR Receive Example
    states:
        coordinate: [10, 10]
        rotation: 0
        state: enabled
blocks:
-   name: center_freq
    id: variable_qtgui_range
    parameters:
        comment: ''
        label: RF Frequency
        min_len: '200'
        orient: QtCore.Qt.Horizontal
        rangeType: float
        start: '70000000'
        step: '1000000'
        stop: '6000000000'
        value: '100000000'
        widget: counter_slider
    states:
        coordinate: [600, 10]
        rotation: 0
        state: enabled
-   name: rx_gain
    id: variable_qtgui_range
    parameters:
        comment: ''
        label: RX Gain
        min_len: '200'
        orient: QtCore.Qt.Horizontal
        rangeType: float
        start: '0'
        step: '1'
        stop: '73'
        value: '65'
        widget: counter_slider
    states:
        coordinate: [850, 10]
        rotation: 0
        state: enabled
-   name: samp_rate
    id: variable_qtgui_chooser
    parameters:
        comment: ''
        label: Sample Rate
        labels: '["2.4 MHz", "2.5 MHz", "3.2 MHz", "3.84 MHz", "4 MHz", "5 MHz", "6 MHz", "7.68 MHz", "8 MHz", "10 MHz", "12 MHz", "15.36 MHz", "16 MHz", "20 MHz", "24 MHz", "25 MHz", "30.72 MHz", "32 MHz", "40 MHz", "50 MHz", "56 MHz"]'
        options: '[2400000, 2500000, 3200000, 3840000, 4000000, 5000000, 6000000, 7680000, 8000000, 10000000, 12000000, 15360000, 16000000, 20000000, 24000000, 25000000, 30720000, 32000000, 40000000, 50000000, 56000000]'
        orient: Qt.QVBoxLayout
        value: '2500000'
        widget: combo_box
    states:
        coordinate: [1100, 10]
        rotation: 0
        state: enabled
-   name: qtgui_freq_sink_x_0
    id: qtgui_freq_sink_x
    parameters:
        affinity: ''
        alias: ''
        alpha1: '1'
        alpha10: '1'
        alpha2: '1'
        alpha3: '1'
        alpha4: '1'
        alpha5: '1'
        alpha6: '1'
        alpha7: '1'
        alpha8: '1'
        alpha9: '1'
        autoscale: 'True'
        average: '0.1'
        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'
        fc: center_freq
        fftsize: '2048'
        grid: 'False'
        label1: ''
        label10: ''
        label2: ''
        label3: ''
        label4: ''
        label5: ''
        label6: ''
        label7: ''
        label8: ''
        label9: ''
        legend: 'True'
        marker1: '-1'
        marker10: '-1'
        marker2: '-1'
        marker3: '-1'
        marker4: '-1'
        marker5: '-1'
        marker6: '-1'
        marker7: '-1'
        marker8: '-1'
        marker9: '-1'
        maxoutbuf: '0'
        minoutbuf: '0'
        name: Spectrum
        nconnections: '1'
        samp_rate: 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_level: '0'
        tr_mode: qtgui.TRIG_MODE_FREE
        tr_tag: ''
        update_time: '0.1'
        width1: '1'
        width10: '1'
        width2: '1'
        width3: '1'
        width4: '1'
        width5: '1'
        width6: '1'
        width7: '1'
        width8: '1'
        width9: '1'
        ymax: '10'
        ymin: '-140'
    states:
        coordinate: [400, 220]
        rotation: 0
        state: enabled
-   name: qtgui_waterfall_sink_x_0
    id: qtgui_waterfall_sink_x
    parameters:
        affinity: ''
        alias: ''
        alpha1: '1'
        alpha10: '1'
        alpha2: '1'
        alpha3: '1'
        alpha4: '1'
        alpha5: '1'
        alpha6: '1'
        alpha7: '1'
        alpha8: '1'
        alpha9: '1'
        axislabels: 'True'
        color1: '0'
        color10: '0'
        color2: '0'
        color3: '0'
        color4: '0'
        color5: '0'
        color6: '0'
        color7: '0'
        color8: '0'
        color9: '0'
        comment: ''
        fc: center_freq
        fftsize: '1024'
        grid: 'False'
        int_max: '10'
        int_min: '-140'
        label1: ''
        label10: ''
        label2: ''
        label3: ''
        label4: ''
        label5: ''
        label6: ''
        label7: ''
        label8: ''
        label9: ''
        legend: 'True'
        maxoutbuf: '0'
        minoutbuf: '0'
        name: Waterfall
        nconnections: '1'
        samp_rate: samp_rate
        update_time: '0.1'
    states:
        coordinate: [400, 380]
        rotation: 0
        state: enabled
-   name: wasm_gui_layout_0
    id: wasm_gui_layout
    parameters:
        affinity: ''
        alias: ''
        columns: '12'
        comment: ''
        layout: '{"center_freq":[0,0,5,1],"rx_gain":[5,0,4,1],"samp_rate":[9,0,3,1],"qtgui_freq_sink_x_0":[0,1,12,3],"qtgui_waterfall_sink_x_0":[0,4,12,6]}'
        row_height: '60'
    states:
        coordinate: [310, 10]
        rotation: 0
        state: enabled
-   name: wasm_plutosdr_source_0
    id: wasm_plutosdr_source
    parameters:
        affinity: ''
        alias: ''
        bandwidth: samp_rate
        bb_dc: 'True'
        buffer_size: '32768'
        center_freq: center_freq
        channels: '1'
        comment: ''
        device: ''
        gain1: rx_gain
        gain2: '30'
        gain_mode1: manual
        gain_mode2: slow_attack
        maxoutbuf: '0'
        minoutbuf: '0'
        quadrature: 'True'
        rf_dc: 'True'
        samp_rate: samp_rate
    states:
        coordinate: [10, 220]
        rotation: 0
        state: enabled
connections:
- [wasm_plutosdr_source_0, '0', qtgui_freq_sink_x_0, '0']
- [wasm_plutosdr_source_0, '0', qtgui_waterfall_sink_x_0, '0']
metadata:
    file_format: 1
    grc_version: 3.11.0.0