MacBook Pro M2
いくつか触ってみて、以下のことが分かってきた。
使用ソフトウェア: ‣
https://github.com/ryanvolz/radioconda?tab=readme-ov-file#install の手順に従ってシェルスクリプトでインストール
conda 準備。↓を .zshrc に追記し、zsh再起動
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/Users/sho.nakatani/radioconda/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/Users/sho.nakatani/radioconda/etc/profile.d/conda.sh" ]; then
. "/Users/sho.nakatani/radioconda/etc/profile.d/conda.sh"
else
export PATH="/Users/sho.nakatani/radioconda/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
RTL-SDRをMacにUSB接続
rtl_test
で動作確認
% rtl_test
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
Enabled direct sampling mode, input 2
Sampling at 2048000 S/s.
Info: This tool will continuously read from the device, and report if
samples get lost. If you observe no further output, everything is fine.
Reading samples in async mode...
(これで出力止まれば正常動作)
gnuradio-companion
コマンドで起動
https://qiita.com/tshimizu8/items/bafa3d33b46bcd343bda#gnu-radio-フローグラフ を参考にした。
ポイント