From 71127c2d4082119ea086f9f881b349922ed8cf24 Mon Sep 17 00:00:00 2001 From: Wayne Roberts Date: Sun, 8 Jul 2012 16:57:01 -0400 Subject: digital: adding a GFSK mod/demodulator. Includes GRC files and an example in gr-digital/examples/demod --- gr-digital/examples/demod/gfsk_loopback.grc | 646 ++++++++++++++++++++++++++++ 1 file changed, 646 insertions(+) create mode 100644 gr-digital/examples/demod/gfsk_loopback.grc (limited to 'gr-digital/examples/demod/gfsk_loopback.grc') diff --git a/gr-digital/examples/demod/gfsk_loopback.grc b/gr-digital/examples/demod/gfsk_loopback.grc new file mode 100644 index 000000000..f74a83526 --- /dev/null +++ b/gr-digital/examples/demod/gfsk_loopback.grc @@ -0,0 +1,646 @@ + + + Sun Jul 8 16:56:18 2012 + + variable_slider + + id + freq + + + _enabled + True + + + label + Frequency (Hz) + + + value + 500 + + + min + 0 + + + max + samp_rate/2 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (34, 241) + + + _rotation + 0 + + + + gr_sig_source_x + + id + gr_sig_source_x_0 + + + _enabled + True + + + type + float + + + samp_rate + samp_rate + + + waveform + gr.GR_COS_WAVE + + + freq + freq + + + amp + 1 + + + offset + 0 + + + _coordinate + (215, 26) + + + _rotation + 0 + + + + gr_throttle + + id + gr_throttle_0_0 + + + _enabled + True + + + type + float + + + samples_per_second + samp_rate + + + vlen + 1 + + + _coordinate + (272.5, 142.0) + + + _rotation + 0 + + + + blks2_packet_encoder + + id + blks2_packet_encoder_0 + + + _enabled + True + + + type + float + + + samples_per_symbol + 2 + + + bits_per_symbol + 1 + + + access_code + + + + pad_for_usrp + True + + + payload_length + 0 + + + _coordinate + (261, 227) + + + _rotation + 0 + + + + variable + + id + samp_rate + + + _enabled + True + + + value + 10000 + + + _coordinate + (10, 170) + + + _rotation + 0 + + + + digital_gfsk_demod + + id + digital_gfsk_demod_0 + + + _enabled + True + + + samples_per_symbol + sps + + + sensitivity + fm_sensitivity + + + gain_mu + 0.175 + + + mu + 0.5 + + + omega_relative_limit + 0.005 + + + freq_error + 0.0 + + + verbose + False + + + log + False + + + _coordinate + (669, 257) + + + _rotation + 0 + + + + variable + + id + sps + + + _enabled + True + + + value + 8 + + + _coordinate + (47, 445) + + + _rotation + 0 + + + + digital_gfsk_mod + + id + digital_gfsk_mod_0 + + + _enabled + True + + + samples_per_symbol + sps + + + sensitivity + fm_sensitivity + + + bt + 0.35 + + + verbose + False + + + log + False + + + _coordinate + (456, 277) + + + _rotation + 0 + + + + variable + + id + fm_sensitivity + + + _enabled + True + + + value + 1.0 + + + _coordinate + (40, 366) + + + _rotation + 0 + + + + blks2_packet_decoder + + id + blks2_packet_decoder_0 + + + _enabled + True + + + type + float + + + access_code + + + + threshold + -1 + + + _coordinate + (705, 130) + + + _rotation + 0 + + + + gr_quadrature_demod_cf + + id + gr_quadrature_demod_cf_0 + + + _enabled + True + + + gain + 1 + + + _coordinate + (627, 417) + + + _rotation + 0 + + + + options + + id + gfsk_loopback + + + _enabled + True + + + title + + + + author + + + + description + + + + window_size + 1280, 1024 + + + generate_options + wx_gui + + + category + Custom + + + run_options + prompt + + + run + True + + + max_nouts + 0 + + + realtime_scheduling + + + + _coordinate + (10, 10) + + + _rotation + 0 + + + + wxgui_scopesink2 + + id + wxgui_scopesink2_0 + + + _enabled + True + + + type + float + + + title + Scope Plot + + + samp_rate + samp_rate + + + v_scale + 0 + + + v_offset + 0 + + + t_scale + 1./freq + + + ac_couple + False + + + xy_mode + False + + + num_inputs + 1 + + + win_size + + + + grid_pos + + + + notebook + + + + trig_mode + gr.gr_TRIG_MODE_AUTO + + + y_axis_label + Counts + + + _coordinate + (907, 59) + + + _rotation + 0 + + + + wxgui_scopesink2 + + id + wxgui_scopesink2_1 + + + _enabled + True + + + type + float + + + title + Scope Plot + + + samp_rate + samp_rate + + + v_scale + 0 + + + v_offset + 0 + + + t_scale + 0 + + + ac_couple + False + + + xy_mode + False + + + num_inputs + 1 + + + win_size + + + + grid_pos + + + + notebook + + + + trig_mode + gr.gr_TRIG_MODE_AUTO + + + y_axis_label + Counts + + + _coordinate + (853, 400) + + + _rotation + 0 + + + + digital_gfsk_mod_0 + digital_gfsk_demod_0 + 0 + 0 + + + gr_sig_source_x_0 + gr_throttle_0_0 + 0 + 0 + + + gr_throttle_0_0 + blks2_packet_encoder_0 + 0 + 0 + + + blks2_packet_encoder_0 + digital_gfsk_mod_0 + 0 + 0 + + + digital_gfsk_demod_0 + blks2_packet_decoder_0 + 0 + 0 + + + blks2_packet_decoder_0 + wxgui_scopesink2_0 + 0 + 0 + + + digital_gfsk_mod_0 + gr_quadrature_demod_cf_0 + 0 + 0 + + + gr_quadrature_demod_cf_0 + wxgui_scopesink2_1 + 0 + 0 + + -- cgit