Last active
May 18, 2024 23:47
-
-
Save jh4xsy/c03050d2a25f535a083873383af74262 to your computer and use it in GitHub Desktop.
gr-lora_SDRとRTLSDRを使ってLoRa衛星を受信するフローグラフ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
options: | |
parameters: | |
author: JH4XSY/1 | |
catch_exceptions: 'True' | |
category: '[GRC Hier Blocks]' | |
cmake_opt: '' | |
comment: '' | |
copyright: '' | |
description: '' | |
gen_cmake: 'On' | |
gen_linking: dynamic | |
generate_options: qt_gui | |
hier_block_src_path: '.:' | |
id: lora_RX | |
max_nouts: '0' | |
output_language: python | |
placement: (0,0) | |
qt_qss_theme: '' | |
realtime_scheduling: '' | |
run: 'True' | |
run_command: '{python} -u {filename}' | |
run_options: prompt | |
sizing_mode: fixed | |
thread_safe_setters: '' | |
title: Polytech_Universe-3 decoder | |
window_size: '' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [16, 4] | |
rotation: 0 | |
state: enabled | |
blocks: | |
- name: bw | |
id: variable | |
parameters: | |
comment: '' | |
value: '62500' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [360, 84.0] | |
rotation: 0 | |
state: enabled | |
- name: center_freq | |
id: variable | |
parameters: | |
comment: '' | |
value: 436.55e6 | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [648, 12.0] | |
rotation: 0 | |
state: enabled | |
- name: cr | |
id: variable | |
parameters: | |
comment: '' | |
value: '2' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [520, 84.0] | |
rotation: 0 | |
state: enabled | |
- name: has_crc | |
id: variable | |
parameters: | |
comment: '' | |
value: 'True' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [792, 84.0] | |
rotation: 0 | |
state: enabled | |
- name: impl_head | |
id: variable | |
parameters: | |
comment: '' | |
value: 'False' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [704, 84.0] | |
rotation: 0 | |
state: enabled | |
- name: pay_len | |
id: variable | |
parameters: | |
comment: '' | |
value: '68' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [592, 84.0] | |
rotation: 0 | |
state: enabled | |
- name: samp_rate | |
id: variable | |
parameters: | |
comment: '' | |
value: '250000' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [360, 12.0] | |
rotation: 0 | |
state: enabled | |
- name: sf | |
id: variable | |
parameters: | |
comment: '' | |
value: '8' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [448, 84.0] | |
rotation: 0 | |
state: enabled | |
- name: soft_decoding | |
id: variable | |
parameters: | |
comment: '' | |
value: 'True' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [872, 84.0] | |
rotation: 0 | |
state: enabled | |
- name: import_0 | |
id: import | |
parameters: | |
alias: '' | |
comment: '' | |
imports: import numpy as np | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [256, 92.0] | |
rotation: 0 | |
state: enabled | |
- name: lora_sdr_crc_verif_0 | |
id: lora_sdr_crc_verif | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
output_crc_check: 'False' | |
print_rx_msg: '2' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [656, 392.0] | |
rotation: 0 | |
state: enabled | |
- name: lora_sdr_deinterleaver_0 | |
id: lora_sdr_deinterleaver | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
soft_decoding: soft_decoding | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [1016, 276.0] | |
rotation: 0 | |
state: enabled | |
- name: lora_sdr_dewhitening_0 | |
id: lora_sdr_dewhitening | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [448, 408.0] | |
rotation: 0 | |
state: enabled | |
- name: lora_sdr_fft_demod_0 | |
id: lora_sdr_fft_demod | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
max_log_approx: 'True' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
soft_decoding: soft_decoding | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [632, 276.0] | |
rotation: 0 | |
state: enabled | |
- name: lora_sdr_frame_sync_0 | |
id: lora_sdr_frame_sync | |
parameters: | |
affinity: '' | |
alias: '' | |
bandwidth: bw | |
center_freq: int(center_freq) | |
comment: '' | |
impl_head: impl_head | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
os_factor: int(samp_rate/bw) | |
preamb_len: '8' | |
sf: sf | |
show_log_port: 'False' | |
sync_word: '18' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [448, 244.0] | |
rotation: 0 | |
state: enabled | |
- name: lora_sdr_gray_mapping_0 | |
id: lora_sdr_gray_mapping | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
soft_decoding: soft_decoding | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [824, 276.0] | |
rotation: 0 | |
state: enabled | |
- name: lora_sdr_hamming_dec_0 | |
id: lora_sdr_hamming_dec | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
soft_decoding: soft_decoding | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [1208, 276.0] | |
rotation: 0 | |
state: enabled | |
- name: lora_sdr_header_decoder_0 | |
id: lora_sdr_header_decoder | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
cr: cr | |
has_crc: has_crc | |
impl_head: impl_head | |
ldro: '0' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
pay_len: pay_len | |
print_header: 'True' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [160, 404.0] | |
rotation: 0 | |
state: enabled | |
- name: note_0 | |
id: note | |
parameters: | |
alias: '' | |
comment: '' | |
note: sampling rate = bw * 4 | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [456, 20.0] | |
rotation: 0 | |
state: true | |
- name: note_0_0 | |
id: note | |
parameters: | |
alias: '' | |
comment: '' | |
note: Polytech_Universe-3 | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [752, 20.0] | |
rotation: 0 | |
state: true | |
- name: rational_resampler_xxx_0 | |
id: rational_resampler_xxx | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
decim: '4' | |
fbw: '0' | |
interp: '1' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
taps: '[]' | |
type: ccc | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [264, 164.0] | |
rotation: 0 | |
state: true | |
- name: soapy_rtlsdr_source_0 | |
id: soapy_rtlsdr_source | |
parameters: | |
affinity: '' | |
agc: 'False' | |
alias: '' | |
center_freq: center_freq | |
comment: '' | |
dev_args: rtl=0 | |
freq_correction: '0.6' | |
gain: '40' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
samp_rate: samp_rate*4 | |
type: fc32 | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [72, 244.0] | |
rotation: 0 | |
state: enabled | |
connections: | |
- [lora_sdr_deinterleaver_0, '0', lora_sdr_hamming_dec_0, '0'] | |
- [lora_sdr_dewhitening_0, '0', lora_sdr_crc_verif_0, '0'] | |
- [lora_sdr_fft_demod_0, '0', lora_sdr_gray_mapping_0, '0'] | |
- [lora_sdr_frame_sync_0, '0', lora_sdr_fft_demod_0, '0'] | |
- [lora_sdr_gray_mapping_0, '0', lora_sdr_deinterleaver_0, '0'] | |
- [lora_sdr_hamming_dec_0, '0', lora_sdr_header_decoder_0, '0'] | |
- [lora_sdr_header_decoder_0, '0', lora_sdr_dewhitening_0, '0'] | |
- [lora_sdr_header_decoder_0, frame_info, lora_sdr_frame_sync_0, frame_info] | |
- [rational_resampler_xxx_0, '0', lora_sdr_frame_sync_0, '0'] | |
- [soapy_rtlsdr_source_0, '0', rational_resampler_xxx_0, '0'] | |
metadata: | |
file_format: 1 | |
grc_version: 3.10.5.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment