

W5500-esp32
Shonan_Lite for Android phone + SSB/FM transceiver tab (port of Langstone-V2 by G4EML)
- Size
- 72 × 115 mm
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 30
- Nets
- 45
- Pads
- 109
- Tracks, vias
- 122, 4
- Pours
- 39
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 27 Sep 2026
- Updated
- 16 Oct 2026
Overview
W5500-esp32 is an open-source printed circuit board by kazushinjo, from the kazushinjo/Shonan_Lite-androidPhone-SSBFM repository on GitHub, published under the GPL-3.0 licence. It is a 4-layer board of 72 × 115 mm with 30 parts on 45 nets, routed with 122 tracks and 4 vias.
It is built around the L7805, LM2940T-3.3 and 2SC1815. Its parts include 8 resistors, 6 connectors, 3 capacitors, 3 transistors and 2 ICs. It belongs with the ESP32 boards of this library.
Main components
3L7805
TO-220ST0℃~+125℃@(Tj) 1 1.2A 20V 2V@(1A) 42uV 500uA 5V 73dB@(120Hz) Fixed Positive Short Circuit Protection TO-220ST Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSOSENVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsLM2940T-3.3
TO-220-40℃~+85℃@(Tj) 1 1A 26V 3.3V 500uA 630mV@(1A) Fixed Over Current Protection、Over Temperature Protection、Reverse connection protection Positive TO-220 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSHTC Korea TAEJIN TechVoltage Regulators - Linear, Low Drop Out (LDO) Regulators2SC1815
SOT-23-55℃~+150℃ 1 NPN 100nA 130 150mA 200mW 250mV 50V 5V 80MHz NPN SOT-23 Bipolar (BJT) ROHShongjiachengBipolar (BJT)
README
README.mdShonan_Lite-androidPhone-SSBFM
Pluto直結のアマチュア無線用トランシーバー「Shonan」のAndroidスマートフォン版です。DVB-S2によるDATV(デジタルATV)の 送受信に加えて、SSB(USB)・FMの音声送受信とRSSI測定ができます。SSB/FMの信号処理は Langstone-V2(Colin Durbridge氏 G4EML、GPLv3)のAdalm Pluto版をC++へ移植したものです。 元になったのは電話版Shonan_Lite-androidPhoneで、 狭い画面幅に合わせて、画面上部のタブで機能を切り替える単一画面構成にしています。
An Android smartphone version of "Shonan", an amateur-radio transceiver directly connected to a Pluto. In addition to DATV (digital ATV) transmit/receive with DVB-S2, it provides SSB (USB) and FM voice transmit/receive and RSSI measurement. The SSB/FM signal processing is a C++ port of the Adalm Pluto version of Langstone-V2 by Colin Durbridge, G4EML (GPLv3). It is based on the phone version Shonan_Lite-androidPhone and uses a single screen whose functions are switched with tabs at the top, to fit a narrow phone screen.
- アプリ名「Shonan SSB/FM」、アプリID
com.shinjo.shonanandroid.ssbfm。元の電話版(com.shinjo.shonanandroid)と同じ端末に並べてインストールできます。 - App name "Shonan SSB/FM", app ID
com.shinjo.shonanandroid.ssbfm. It can be installed side by side with the original phone version (com.shinjo.shonanandroid). - 実装の詳細は
android/README.mdを参照 / Seeandroid/README.mdfor the implementation details.
主な機能
画面上部のタブで切り替えます(左から順に)。上部バーには表示言語の切り替え(「日本語|English」)・「アプリ再起動」・「終了」があります。
| タブ | 内容 |
|---|---|
| SSB/FM | PlutoでUSB・FMの音声送受信(Langstone-V2の移植)。バンド1.2G/2.4G/5.6G、スペクトル・ウォーターフォール、PA/PTTコントローラ連携 |
| (空白) | SSB/FMとDATV側のタブの区切り(押しても何も起きません) |
| 送信 | DATV送信(UDP-TSでPlutoへ送り、Pluto内蔵の変調器で送信。HD 1280x720・30fps) |
| 受信 | DATV受信(外部復調機器からのUDP-TS、またはオンデバイス復調)。ロックすると全画面表示 |
| RSSI測定 | 運用周波数の周辺を走査してRSSIを測り、最も強い周波数を探す |
| 周波数 | DATVのバンドと周波数 |
| 設定1 | オンデバイス復調(GNU Radio)・PA/PTTコントローラ |
| 設定2 | DATVの受信感度(AGC/手動 0〜73dB)・送信出力(出力減衰量 -70〜0dB) |
| 設定3 | DATVのシンボルレート・誤り訂正(1/2・3/5・8/9)・変調方式(QPSK・8PSK) |
| 設定4 | 映像ソース(カメラ/写真/テストパターン、マイク音声)・配信先(PlutoのIPアドレス、受信ポート) |
| ヘルプ | アプリ内の操作説明とクレジット |
そのほか、起動時のPluto自動検出(端末の接続中ネットワークを探し、見つからなければESP32ブリッジへ問い合わせ)と Pluto再起動、日本語/英語表示に対応します。
操作説明
SSB/FMの使い方
- 初回のみ「設定4」タブの「配信先」でPlutoのIPアドレスを確認する(SSB/FMもDATVと同じPlutoを使います)。
- PA/PTTコントローラ(ESP32+W5500)を使う場合は、「設定1」タブで「PA/PTTコントローラを使う」をONにしてIPアドレスを入れる (既定はON・192.168.0.100。使わない場合はOFFにします)。
- 「SSB/FM」タブでバンド(1.2G・2.4G・5.6G)とモード(USB・FM)を選び、周波数を合わせる。
- 「開始」を押して受信を始める(DATVの送受信・RSSI測定は自動で止まります)。
- PTTを押すと送信、もう一度押すと受信に戻る(トグル動作)。終わったら「停止」を押す。
DATV送信の設定順序
- 「設定4」タブの「映像ソース」で送信する映像(背面カメラ・前面カメラ・写真・テストパターン)を選ぶ。
- 「周波数」タブでバンドと周波数を設定する(相手の受信周波数と一致させる)。
- 「設定3」タブでシンボルレート・誤り訂正・変調方式を設定する(相手と一致させる)。
- 「設定4」タブの「配信先」でPluto TxのIPアドレスを確認する(初回のみ。送信はPlutoのUDP-TSポート8282へ固定で送ります)。
- 「設定2」タブで出力減衰量を設定する(0dBが最大出力、負の値ほど出力が下がる)。
- 「送信」タブでプレビューを確認し「送信開始」を押す。
DATV受信の設定順序
- 「周波数」「設定3」の各タブを、送信側と同じ値に設定する。
- 「設定1」タブで受信方式を選ぶ。オフ(既定)なら外部復調機器からのUDP-TSを「設定4」タブ「配信先」のTSポート/ステータスポートで 待ち受けます。オンにするとPlutoのRF信号をAndroid自身が復調します(送信と同時に行う場合は必ずアッテネータを接続すること)。
- 「設定2」タブでAGC(自動)のままにするか、オフにして手動でゲインを設定する。
- 「受信」タブで「受信開始」を押す。ロックすると自動で映像が全画面表示になります。
各タブの説明 / Tab Reference
画面の画像は実機(日本語表示)で撮影したものです。
The screenshots were taken on a real device with the Japanese display.
SSB/FM
DATVの送受信・RSSI測定とは同時に使えず、「開始」を押すとそれらを止めてから受信を始めます。開始時にPlutoの DATV送信処理(pluto_dvb)をSSHで止め、「停止」でPlutoの設定(サンプルレート・周波数・ゲイン)を開始前の状態へ戻します。
- 周波数表示: MHz単位の7桁(例 1295.100、最下位は1kHz)。桁をタップするとその桁が同調ステップになり、「−」「+」で1ステップずつ 動きます。長押しで周波数を直接入力できます。
- バンド: 周波数表示の右の1.2G・2.4G・5.6Gで切り替えます。バンドごとに最後の周波数とモードを覚えます (初回は1295.000/2427.000/5760.000 MHz・FM)。
- モード: USB・FM(±5kHz偏移)。
- スペクトル/ウォーターフォール(幅48kHz): 左右にドラッグすると同調、タップするとその周波数へ移動します。
- Sメーター: 受信中は信号の強さ(相対値)、送信中はマイクレベルを表示します。
- 音量・スケルチ(FMのみ有効。USBではグレー表示)・マイク・RF利得(AGCのチェックで自動)・送信減衰(0〜89dB)。
- PTT: トグル動作です。押すと送信、もう一度押すと受信に戻ります(送信中はボタンが赤く「送信中」と表示)。
- PA/PTTコントローラ連携: 「設定1」タブで「PA/PTTコントローラを使う」がONのときは、送信開始時にESP32+W5500
(W5500_PA_PTT_Control)へ
GET /tx?state=onを送って150ms待ってから電波を出し、送信終了時は電波を止めてからGET /tx?state=offを送ります。ONなのにESP32が応答しない場合は、警告を表示してPA/PTTを切り替えないまま送信します。 DATVの送信やアプリの起動・終了での動作は、下の「オプション: ESP32 W5500」の節を参照してください。
It cannot run at the same time as DATV TX/RX or RSSI measurement; tapping Start stops them first and then starts receiving. On start, the app stops Pluto's DATV transmitter process (pluto_dvb) over SSH, and Stop restores Pluto's settings (sample rate, frequencies, gains) to what they were before.
- Frequency display: 7 digits in MHz (e.g. 1295.100; the last digit is 1 kHz). Tap a digit to make it the tuning step, and use − / + to move one step. Long-press to type a frequency.
- Band: switch with the 1.2G/2.4G/5.6G buttons to the right of the frequency. Each band remembers its last frequency and mode (initially 1295.000/2427.000/5760.000 MHz, FM).
- Mode: USB or FM (±5 kHz deviation).
- Spectrum/waterfall (48 kHz wide): drag left/right to tune, or tap to jump to that frequency.
- S-meter: shows the signal strength (relative) while receiving and the mic level while transmitting.
- Volume, squelch (FM only; grayed out in USB), mic gain, RF gain (check AGC for automatic), and TX attenuation (0–89 dB).
- PTT: toggle operation. Tap to transmit and tap again to return to receive (the button turns red and shows "TX" while transmitting).
- PA/PTT controller link: when "Use the PA/PTT controller" is on (Config 1 tab), at TX start the app sends
GET /tx?state=onto the ESP32+W5500 (W5500_PA_PTT_Control), waits 150 ms, and then transmits; at TX end it stops transmitting first and then sendsGET /tx?state=off. If it is on but the ESP32 does not respond, the app shows a warning and transmits without switching the PA/PTT. For DATV transmission and app start/exit, see the "Option: ESP32 W5500" section below.

送信 / Transmit
「設定4」の映像ソースのプレビューを表示し、「送信開始」で現在の周波数・シンボルレート・変調方式・誤り訂正・出力減衰量で 送信します。オンデバイス復調が有効なら「受信画面へ」ボタンで受信タブへ移動できます。
Shows a preview of the video source set on Config 4; Start transmits with the current frequency, symbol rate, modulation, FEC, and attenuation. When on-device demodulation is enabled, the "Receive Screen" button opens the Receive tab.

受信 / Receive
「受信開始」で受信を始め、ロックすると映像を全画面表示にします(上部のタブも隠れます)。画面をタップすると5秒間だけ 状態カードとボタンを表示します。ロックが1.5秒以上外れると全画面表示を解除します。
Start begins receiving; once locked, the video goes fullscreen (the tabs at the top are hidden too). Tap the screen to show the status card and buttons for 5 seconds. Fullscreen ends if the lock is lost for 1.5 seconds or more.

RSSI測定 / RSSI
「周波数」タブの運用周波数を中心に±5/10/20MHzをステップ(kHz)ごとに走査し、RSSIのグラフと「最も強い周波数」を 表示します(RSSIは値が小さいほど強い信号)。検索方法は「連続」(「測定停止」まで繰り返す)と「1回」、RXゲインは「設定2」と共通です。 「設定1」のオンデバイス復調がONのときはテスト用で、「測定開始」と同時に自局もテストパターンで送信して自分の電波を測ります (アッテネータを必ず接続すること)。OFFのときは送信せず、相手局の電波を測ります(相手局が送信していなければグラフが平らなのは正常)。 受信中は使えません。SSB/FMは測定開始時に自動で止めます。タブを離れると検索は止まります。 画像はAGC OFF(手動60dB)・オンデバイス復調ONで1回測定した例で、1273MHzで送信した自局のDATV信号が山として表れています。
Sweeps ±5/10/20 MHz around the operating frequency (Frequency tab) in kHz steps and shows an RSSI graph and the strongest frequency (a smaller RSSI value means a stronger signal). Search modes are Repeat (until Stop Measuring) and Once; the RX gain is shared with Config 2. When on-device demodulation (Config 1) is on, this is a test mode: the app also transmits the test pattern and measures its own signal (always connect an attenuator). When it is off, the app does not transmit and measures the other station (a flat graph is normal if nobody is transmitting). It cannot run while receiving; SSB/FM is stopped automatically when measuring starts. Leaving the tab stops the search. The image shows one measurement with AGC off (manual 60 dB) and on-device demodulation on; the station's own DATV signal transmitted at 1273 MHz appears as the peak.

周波数 / Frequency
左のバンド一覧から選ぶか、右のテンキーで周波数(kHz)を直接入力します。DATVの送信と受信で共通です (SSB/FMの周波数はSSB/FMタブで別に設定します)。
Choose a band from the list on the left, or type the frequency in kHz on the keypad on the right. DATV transmit and receive share it (the SSB/FM frequency is set separately on the SSB/FM tab).

設定1 / Config 1
オンデバイス復調(ONにするとPluto1台でRFループバック試験ができる。有効化時に アッテネータの警告を表示)、PA/PTTコントローラ(使う/使わない、IPアドレス)。
On-device demodulation (enables an RF loopback test with a single Pluto; an attenuator warning is shown when enabling it), and the PA/PTT controller (on/off, IP address).


設定2 / Config 2
DATVの受信感度(「自動(AGC)」または手動0〜73dB。受信のロック状態も表示)と送信出力(出力減衰量-70〜0dB)。
DATV receive gain ("Auto (AGC)" or manual 0–73 dB; the receive lock state is also shown) and transmit power (attenuation -70–0 dB).

設定3 / Config 3
シンボルレート(プリセット250k〜2000k、または直接入力100〜5000 kS/s)・誤り訂正・変調方式(コンステレーション表示付き)。 下段に組み合わせと帯域幅・ビットレートの目安を表示します。
Symbol rate (presets 250k–2000k, or Custom 100–5000 kS/s), FEC, and modulation (with a constellation diagram). The bottom line shows the combination and the estimated bandwidth and bit rate.

設定4 / Config 4
左が映像ソース(背面カメラ・前面カメラ・写真・テストパターン。写真にはコールサインと備考を焼き込める。 マイク音声の送信ON/OFF)、右が配信先(PlutoのIPアドレスと「自動検出」、UDP-TSポート8282(固定)、受信用のTSポート/ステータスポート)。 ここのPlutoのIPアドレスはDATV・SSB/FM・RSSI測定のすべてで使います。
Video source on the left (rear camera, front camera, photo, or test pattern; a callsign and note can be burned into the photo; mic audio on/off) and stream output on the right (Pluto's IP address with Auto-Detect, the fixed UDP-TS port 8282, and the TS/Status ports for receiving). This Pluto IP address is used for DATV, SSB/FM, and RSSI measurement.

上部バー / Top bar
「日本語|English」で表示言語を切り替えます(選択中の言語が水色)。「アプリ再起動」は送受信(DATV・SSB/FM)を 止めてからPlutoへ再起動を要求し、復旧を待ちます(起動時にも同じ処理を行います)。「終了」は確認のあとアプリを終了します。
"日本語 | English" switches the display language (the selected one is light blue). "App Restart" stops TX/RX (DATV and SSB/FM), asks Pluto to reboot, and waits for it to come back (the same happens at startup). "Quit" closes the app after a confirmation.
Features
Switch with the tabs at the top (from left to right). The top bar has the language switch ("日本語 | English"), "App Restart", and "Quit".
| Tab | Contents |
|---|---|
| SSB/FM | USB/FM voice transmit/receive with Pluto (a port of Langstone-V2). Bands 1.2G/2.4G/5.6G, spectrum and waterfall, PA/PTT controller link |
| (blank) | A spacer between SSB/FM and the DATV tabs (tapping it does nothing) |
| Transmit | DATV transmit (UDP-TS to Pluto, modulated by Pluto's onboard modulator; HD 1280x720 at 30 fps) |
| Receive | DATV receive (UDP-TS from an external demodulator, or on-device demodulation); fullscreen when locked |
| RSSI | Sweeps around the operating frequency, measures RSSI, and finds the strongest frequency |
| Frequency | DATV band and frequency |
| Config 1 | On-device demodulation (GNU Radio), PA/PTT controller |
| Config 2 | DATV receive gain (AGC or manual 0–73 dB) and transmit power (attenuation -70–0 dB) |
| Config 3 | DATV symbol rate, FEC (1/2, 3/5, 8/9), and modulation (QPSK, 8PSK) |
| Config 4 | Video source (camera/photo/test pattern, mic audio) and stream output (Pluto IP address, receive ports) |
| Help | In-app instructions and credits |
It also auto-detects Pluto at startup (searching the network the device is connected to, then asking the ESP32 bridge), reboots Pluto at startup, and supports Japanese and English.
Operating Instructions
Using SSB/FM
- First time only: check Pluto's IP address on the Config 4 tab (Stream Output). SSB/FM uses the same Pluto as DATV.
- If you use the PA/PTT controller (ESP32+W5500), turn on "Use the PA/PTT controller" on the Config 1 tab and enter its IP address (default: on, 192.168.0.100). Turn it off if you do not use one.
- On the SSB/FM tab, choose the band (1.2G/2.4G/5.6G) and mode (USB/FM), then tune the frequency.
- Tap Start to begin receiving (DATV TX/RX and RSSI measurement are stopped automatically).
- Tap PTT to transmit and tap it again to return to receive (toggle). Tap Stop when you are finished.
Setup Order for DATV Transmit
- On the Config 4 tab (Video Source), choose what to transmit (rear camera, front camera, a photo, or the test pattern).
- On the Frequency tab, set the band and frequency (it must match the receiving station's frequency).
- On the Config 3 tab, set the symbol rate, FEC, and modulation (they must match the receiving station).
- On the Config 4 tab (Stream Output), check Pluto Tx's IP address (first time only). The stream always goes to Pluto's fixed UDP-TS port 8282.
- On the Config 2 tab, set the attenuation (0 dB is maximum output; more negative values reduce the output).
- On the Transmit tab, check the preview and tap Start.
Setup Order for DATV Receive
- Set the Frequency and Config 3 tabs to the same values as the transmitting station.
- On the Config 1 tab, choose the receive path. Off (default) listens for UDP-TS from an external demodulator on the TS/Status ports set on the Config 4 tab (Stream Output); on makes Android demodulate Pluto's RF signal itself (always connect an attenuator if you transmit at the same time).
- On the Config 2 tab, keep AGC (auto) on, or turn it off and set the gain manually.
- On the Receive tab, tap Start. Once locked, the video switches to fullscreen automatically.
Tab Reference
See "各タブの説明 / Tab Reference" above for the description of each tab and its screenshot (in Japanese and English).
SSB/FM機能の技術メモ / Technical Notes on SSB/FM
-
受信: Plutoを528kspsで受け、周波数変換+1/11間引きで48kHzにし、複素帯域フィルタ(USB +300〜+3000Hz / FM ±7.5kHz)→ 復調(USB: 実部+AGC、FM: 直交復調+75µsディエンファシス)→音声フィルタ→スピーカー(AAudio)。受信LOは100kHz単位に置き、 希望周波数を+50〜+150kHz側で受けます(DC付近を避けるLangstoneと同じ方式)。
-
送信: マイク48kHz→USB: 複素帯域フィルタで片側波帯を生成 / FM: 75µsプリエンファシス+周波数変調→11倍補間→Pluto。 送信中は受信LO、受信中は送信LOを止めます。
-
Plutoの扱い: 528kspsはAD9361のFIRなしの下限を下回るため、libAD9361-iioの
ad9361_set_bb_rate()と同じ手順でFIR (fir_128_4)を読み込みます。GNU Radioの実行エンジンは使わず、libiio v1を直接使います。 -
実装:
android/app/src/main/cpp/ssbfm_dsp.h(DSP)、ssbfm_bridge.cpp(Pluto制御・AAudio・JNI)、android/app/src/main/kotlin/.../ssbfm/、ui/SsbFmScreen.kt。android/app/src/main/cpp/test/ssbfm_dsp_test.cppは 送信DSP→疑似RF→受信DSPの折り返し検証です(実機で側波帯抑圧・SINAD・処理時間を確認。ビルド方法はファイル先頭)。 -
Receive: Pluto at 528 ksps → frequency shift and 1/11 decimation to 48 kHz → complex band-pass filter (USB +300 to +3000 Hz / FM ±7.5 kHz) → demodulation (USB: real part + AGC; FM: quadrature demodulation + 75 µs de-emphasis) → audio filter → speaker (AAudio). The RX LO is placed on a 100 kHz grid and the wanted frequency is received 50–150 kHz above it (the same approach as Langstone, which avoids the DC region).
-
Transmit: mic at 48 kHz → USB: single sideband generated by a complex band-pass filter / FM: 75 µs pre-emphasis + frequency modulation → 11× interpolation → Pluto. The RX LO is powered down while transmitting and the TX LO while receiving.
-
Pluto handling: 528 ksps is below the AD9361's minimum without its FIR, so the FIR (fir_128_4) is loaded with the same procedure as libAD9361-iio's
ad9361_set_bb_rate(). The GNU Radio scheduler is not used; libiio v1 is called directly. -
Implementation:
android/app/src/main/cpp/ssbfm_dsp.h(DSP),ssbfm_bridge.cpp(Pluto control, AAudio, JNI),android/app/src/main/kotlin/.../ssbfm/,ui/SsbFmScreen.kt.android/app/src/main/cpp/test/ssbfm_dsp_test.cppis a loopback test (TX DSP → simulated RF → RX DSP) run on a real device to check sideband suppression, SINAD, and processing time (build instructions are at the top of the file).
インストール
前提条件
- macOS + Android Studio(Android SDKが同梱されます)
- Android Studio の SDK Manager > SDK Tools から NDK (Side by side) 27.3.13750724 をインストール
- Android端末(minSdk 26以上、arm64-v8a)。端末の開発者向けオプションでUSBデバッグを有効化
未クローンのマシンで初めて使う場合
このリポジトリはPrivateなので匿名のcurl | bashは使えません。gh auth login済みのマシンであれば、bootstrap.shだけ先に
取得してから実行することで、手動でcloneせずに始められます:
gh api repos/kazushinjo/Shonan_Lite-androidPhone-SSBFM/contents/bootstrap.sh \
--jq '.content' | base64 -d > bootstrap.sh
chmod +x bootstrap.sh
./bootstrap.sh # $HOME/Shonan_Lite-androidPhone-SSBFM へclone
./bootstrap.sh ~/path/to/dir # clone先を指定する場合
./bootstrap.sh ~/path/to/dir --build-only # install.shへの追加引数も渡せるgit-lfsが未インストールなら自動でbrew install git-lfsを試みます。既に~/Shonan_Lite-androidPhone-SSBFM等に
cloneが存在する場合はgit pull --ff-onlyで更新してから続行します。
既にクローン済みの場合の手順
./install.sh- Android SDK/NDKの検出、
android/local.propertiesの自動生成、assembleDebugビルド、接続中の端末へのadb installまでを自動で行います - 端末が1台も接続されていない場合は、生成されたAPK(
android/app/build/outputs/apk/debug/app-debug.apk)を手動で端末へ転送してインストールしてください - 複数端末が接続されている場合は、対象を指定した
adb installコマンド例を表示するので、それに従ってください
オプション
./install.sh --build-only # ビルドのみ行い、adb installはしない
./install.sh --clean # ビルド前に ./gradlew clean を実行する
./install.sh --release # assembleReleaseでビルド--releaseは、android/keystore/keystore.properties(と鍵ファイル。Git管理外)があれば署名して端末へインストール
まで行います。無い場合は未署名APKになり、そのままでは端末にインストールできません。
Android Studioなしでビルドする場合(一般ユーザー向け)
Android Studioをインストールしていない場合でも、cli-install.shを使えばコマンドラインのみでソースコードからビルド・
インストールできます。Android SDK Command-line Toolsの取得、必要なplatform/NDKのセットアップまで自動で行い、最後に
install.shへ処理を引き継ぎます。
brew install openjdk@17 # Javaが未インストールの場合のみ
./cli-install.shinstall.shと同じオプション(--build-only、--clean、--release)がそのまま渡せます。
./cli-install.sh --build-onlyInstallation
Prerequisites
- macOS + Android Studio (bundles the Android SDK)
- Install NDK (Side by side) 27.3.13750724 from Android Studio's SDK Manager > SDK Tools
- An Android device (minSdk 26+, arm64-v8a). Enable USB debugging under Developer Options
First use on a machine with no clone yet
This repository is private, so an anonymous curl | bash won't work. On a machine already signed in with
gh auth login, you can fetch just bootstrap.sh first and run it to get started without cloning by hand:
gh api repos/kazushinjo/Shonan_Lite-androidPhone-SSBFM/contents/bootstrap.sh \
--jq '.content' | base64 -d > bootstrap.sh
chmod +x bootstrap.sh
./bootstrap.sh # clones to $HOME/Shonan_Lite-androidPhone-SSBFM
./bootstrap.sh ~/path/to/dir # clone to a specific directory
./bootstrap.sh ~/path/to/dir --build-only # extra args are passed through to install.shIf git-lfs isn't installed, it automatically tries brew install git-lfs. If a clone already exists (e.g. under
~/Shonan_Lite-androidPhone-SSBFM), it updates it with git pull --ff-only before continuing.
Steps if you already have a clone
./install.sh- Automatically detects the Android SDK/NDK, generates
android/local.properties, runs anassembleDebugbuild, and runsadb installon any connected device - If no device is connected, manually transfer the built APK (
android/app/build/outputs/apk/debug/app-debug.apk) to your device and install it - If multiple devices are connected, it prints an
adb installcommand for each device; follow the printed instructions to pick one
Options
./install.sh --build-only # build only, skip adb install
./install.sh --clean # run ./gradlew clean before building
./install.sh --release # build with assembleReleaseWith --release, if android/keystore/keystore.properties (and the key file, both outside Git) exist, the APK is signed
and installed on the device. Otherwise the APK is unsigned and cannot be installed on a device as is.
Building without Android Studio (for general users)
If you don't have Android Studio installed, cli-install.sh lets you build and install from source using only the command
line. It automatically downloads the Android SDK Command-line Tools, sets up the required platform/NDK, and then hands off
to install.sh.
brew install openjdk@17 # only if Java isn't installed yet
./cli-install.shIt accepts the same options as install.sh (--build-only, --clean, --release).
./cli-install.sh --build-onlyオプション: ESP32 W5500(PA_Power/PTTコントローラ) / Option: ESP32 W5500 (PA_Power/PTT controller)
ESP32とW5500(有線LAN)で、PA等の12 V電源とPTTをLAN経由でON/OFFするオプションの制御基板。
使わなくてもShonan_Liteは動作する。
ファームウェアはhardware/W5500_PA_PTT_Control/W5500_PA_PTT_Control.ino、
基板はhardware/W5500_PA_PTT_Control/kicad/(KiCad、Rev.1.0)。基板とファームウェアはShonan_Lite-RasPI5版と共通。
| 基板の3D表示 / 3D view of the board | 基板レイアウト(KiCad) / PCB layout (KiCad) | ケース(OpenSCAD) / Case (OpenSCAD) |
|---|---|---|
![]() | ![]() | ![]() |
| 項目 Item | 内容 Details |
|---|---|
| 構成 Configuration | Freenove ESP32-WROOM-32E DevKitC(ソケットに差し込み)+W5500 Lite(SPI接続) Freenove ESP32-WROOM-32E DevKitC (plugged into a socket) + W5500 Lite (SPI) |
| 12 V電源 12 V power | 2SJ334(Pチャネル MOSFET)のハイサイドスイッチでJ5の12 V出力をON/OFF。放熱器付きで目安は約7 Aまで J5's 12 V output is switched by a 2SJ334 (P-channel MOSFET) high-side switch; with its heatsink, up to about 7 A |
| PTT PTT | 2SC1815で無線機のPTT端子をGNDへ落とす(J6) A 2SC1815 pulls the radio's PTT line to GND (J6) |
| 電源入力 Power input | +12 V(13.8 V系)をJ2へ。L7805で5 V(ESP32)、TA48033Sで3.3 V(W5500)を作る +12 V (13.8 V class) to J2; an L7805 makes 5 V (ESP32) and a TA48033S makes 3.3 V (W5500) |
| 表示LED Indicator LEDs | 外付け。J7=12 V出力(赤)、J8=12 V入力(緑)(JST XH) External; J7 = 12 V output (red), J8 = 12 V input (green) (JST XH) |
| ネットワーク Network | 固定IP(初期値192.168.0.100)。ブラウザでhttp://<IP>/を開くと手動でON/OFFでき、http://<IP>/configでIPや遅延時間を変更できるStatic IP (default 192.168.0.100); open http://<IP>/ in a browser to switch ON/OFF manually, and http://<IP>/config to change the IP and delays |
| 基板 Board | 72×115 mm、4層(内層はGNDと+12Vのベタ)、部品はすべてスルーホール。JLCPCBの発注データはfabrication/jlcpcb/72×115 mm, 4 layers (inner layers are GND and +12 V planes), all through-hole parts. JLCPCB order data is in fabrication/jlcpcb/ |
| ケース Case | OpenSCAD(LAN_PTT.scad)、内寸80×120×35 mm。前面にRJ45の角穴と+12V入力の丸型コネクタ、背面にUSBの穴と12 V出力・PTTの丸型コネクタ OpenSCAD (LAN_PTT.scad), inside 80×120×35 mm. RJ45 opening and +12 V input circular connector on the front; USB opening and 12 V output/PTT circular connector on the back |
Shonan_Lite-androidPhone-SSBFMでの使い方:
- 「設定1」タブで「PA/PTTコントローラを使う」をONにし、ESP32のIPアドレス(初期値
192.168.0.100)を入力する。「使う」の初期値はON。 - SSB/FMとDATVの送信開始/終了でPTTを切り替える(
GET /tx?state=on|off。SSB/FMでの順序は上の「各タブの説明」のSSB/FMを参照)。 - アプリ起動の5秒後に12 V電源(Pluto含む)をONにする(
GET /ch?idx=0&state=on)。 - 画面上部の「終了」では、PTTと12 V電源をOFFにしてからアプリを終了する。ESP32が応答しなくても送受信・終了はそのまま行う。
詳しくは仕様書と
接続一覧を参照(どちらも日英併記。Word版・PDF版も同じフォルダにある)。
回路図: w5500-esp32.pdf、
実装図: w5500-esp32_実装図_部品番号.pdf。
[!NOTE] ESP32への書き込みと起動は確認済み。12 V電源・PTTの駆動回路と無線機をつないだ実地試験はまだ行っていない。
An optional control board that uses an ESP32 and a W5500 (wired LAN) to switch the 12 V power for the PA etc.
and the PTT ON/OFF over the LAN. Shonan_Lite works without it.
The firmware is hardware/W5500_PA_PTT_Control/W5500_PA_PTT_Control.ino
and the board is in hardware/W5500_PA_PTT_Control/kicad/ (KiCad, Rev.1.0). The board and firmware are shared with the
Shonan_Lite-RasPI5 edition.
How to use it with Shonan_Lite-androidPhone-SSBFM:
- On the Config 1 tab, turn on "Use the PA/PTT controller" and enter the ESP32's IP address (default
192.168.0.100). "Use" is on by default. - PTT is switched with SSB/FM and DATV TX start/stop (
GET /tx?state=on|off; for the order in SSB/FM, see SSB/FM under "Tab Reference" above). - The 12 V power (including the Pluto) is turned ON 5 seconds after app start (
GET /ch?idx=0&state=on). - "Quit" in the top bar turns PTT and the 12 V power OFF before the app ends. TX/RX and quitting still work if the ESP32 does not respond.
For details, see the specification and the
connection list (both in Japanese and English;
Word and PDF versions are in the same folder).
Schematic: w5500-esp32.pdf;
assembly drawing: w5500-esp32_実装図_部品番号.pdf.
[!NOTE] Flashing and booting the ESP32 have been confirmed. A field test with the 12 V power/PTT drive circuits connected to a radio has not been done yet.
免責事項
- 無保証・自己責任
本ソフトウェアは現状のまま(AS IS)で提供され、動作、品質、特定の目的への適合性を含め、いかなる保証もありません。 本ソフトウェアの使用または使用できないことによって生じた、機器の破損、データの消失、電波障害、その他一切の損害について、 開発者は責任を負いません。ご自身の責任においてご利用ください。 - 免許と法令の順守
本ソフトウェアは、アマチュア無線のDATV(デジタルATV)とSSB・FMによる音声通信の実験のための送受信ソフトウェアです。 電波を送信するには、運用する国・地域の法令に基づく免許が必要です(日本国内ではアマチュア局の免許)。周波数、空中線電力、 電波の型式、運用できる範囲などの法令(日本国内では電波法および関係規則)を守ってください。免許のない送信や、免許の範囲を 超えた送信は、法令違反となることがあります。本ソフトウェアは、設定された周波数・出力・変調方式が法令に適合していることを 確認も保証もしません。送信の内容と結果は、すべて使用者の責任です。 - 機器の取り扱い
PlutoのTXとRXの接続、外部アンプ(PA)・アッテネータ・アンテナ・PA/PTTコントローラの接続、送信出力の設定を誤ると、 機器を破損したり、他の無線局へ障害を与えたりするおそれがあります。機器の仕様を確認し、使用者の責任で行ってください。 特に、オンデバイス復調でRFループバック試験を行うときやRSSI測定のテストモードでは、TXをRXへ直接接続せず、 40 dB以上の減衰器を介してください。 - 第三者ソフトウェアとライセンス
本ソフトウェアは、Langstone-V2(移植)、libAD9361-iio(FIR係数と設定手順)、FFmpeg、aff3ct、StreamPU、libiio、GNU Radio、 gr-dvbs2rx、VOLK、Boost、GMP、spdlog、libxml2、AndroidX(Jetpack Compose・CameraX)、SSHJ、Bouncy Castleなどの 第三者ソフトウェアを利用・同梱します。それぞれのライセンスに従います。本ソフトウェア自体は GNU General Public License v3 (またはそれ以降のバージョン)の下で提供されます(下記「ライセンス」参照)。 - 動作について
ご使用の端末・環境によって動作が異なる場合や、未発見の不具合が含まれる可能性があります。
クレジット
- 受信部の方式考案・受信部原システム設計: 山崎慎慈氏(JE1BTA) —
rpi-dvbs2-receiver-guiの設計に基づく - 受信部安定化調査修正・再捕捉修正・本アプリ開発: 真城和一(JA6FUF/JH1XHX)
- 本アプリは、Dave Crump氏(G8GKQ)が開発したDATV送受信機プロジェクト「Portsdown」に啓発され、開発したものです。同氏の先駆的な取り組みに感謝いたします。
- SSB/FM送受信機能: Colin Durbridge氏(G4EML)の「Langstone-V2」(https://github.com/g4eml/Langstone-V2、GPLv3)の
Adalm Pluto版の信号処理(
Lang_TRX_Pluto.py)とPluto制御(LangstoneGUI_Pluto.c)をC++へ移植して使用しています。 Langstone-V2はGNU General Public License v3(GPLv3)のソフトウェアであるため、それを使用した本アプリもGPLv3で配布します。 - PlutoのFIR係数(fir_128_4)と
ad9361_set_bb_rate()の設定手順: Analog Devices「libAD9361-iio」 (https://github.com/analogdevicesinc/libad9361-iio、LGPL-2.1)
ライセンス
本プログラムはフリーソフトウェアです。GNU General Public License v3(またはそれ以降のバージョン)の下で 再配布・改変することができます。全文はLICENSEを参照してください。 同梱している第三者ソフトウェアのライセンスはTHIRD_PARTY_NOTICES.mdを参照してください。
Copyright (C) 2026 Kazuichi Shinjo
Copyright of `rpi-dvbs2-receiver-gui` is held by Shinji Yamazaki.
The SSB/FM transceiver is derived from Langstone-V2, Copyright (C) Colin Durbridge (G4EML), GPLv3.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.Disclaimer
- No warranty; use at your own risk
This software is provided "AS IS" without warranty of any kind, including any warranty of operation, quality or fitness for a particular purpose. The developers accept no liability for any damage arising from the use of, or inability to use, this software, including damage to equipment, loss of data and radio interference. Use it at your own risk. - Licensing and compliance with the law
This software is for amateur-radio experiments with DATV (digital ATV) and SSB/FM voice communication. Transmitting requires a license under the laws of the country or region where you operate (in Japan, an amateur station license). Observe the applicable laws on frequency, transmitter power, emission type and permitted operation (in Japan, the Radio Act and related regulations). Transmitting without a license, or beyond the scope of your license, may violate the law. This software neither checks nor guarantees that the configured frequency, power and modulation comply with the law. You are solely responsible for what you transmit and for the results. - Handling of equipment
Wrong connections between the Pluto's TX and RX, wrong external amplifier (PA), attenuator, antenna or PA/PTT controller connections, or wrong transmit power settings may damage equipment or interfere with other stations. Check the specifications of your equipment and do this at your own responsibility. In particular, when running an RF loopback test with on-device demodulation or the RSSI test mode, never connect TX directly to RX; use an attenuator of 40 dB or more. - Third-party software and license
This software uses and bundles third-party software such as Langstone-V2 (ported), libAD9361-iio (FIR coefficients and procedure), FFmpeg, aff3ct, StreamPU, libiio, GNU Radio, gr-dvbs2rx, VOLK, Boost, GMP, spdlog, libxml2, AndroidX (Jetpack Compose, CameraX), SSHJ and Bouncy Castle, each under its own license. This software itself is provided under the GNU General Public License v3 (or any later version); see "License" below. - About behavior
Behavior may differ depending on your device and environment, and undiscovered defects may remain.
Credits
- Reception method design and original receiver system design: Shinji Yamazaki (JE1BTA), based on the design of
rpi-dvbs2-receiver-gui - Receiver stabilization investigation/fixes, re-acquisition fixes, and app development: Kazuichi Shinjo (JA6FUF/JH1XHX)
- This application was developed inspired by "Portsdown", the DATV transceiver project created by Dave Crump (G8GKQ). We extend our deep gratitude for his pioneering work.
- SSB/FM transceiver: a C++ port of the Adalm Pluto signal processing (
Lang_TRX_Pluto.py) and Pluto control (LangstoneGUI_Pluto.c) of "Langstone-V2" by Colin Durbridge (G4EML) (https://github.com/g4eml/Langstone-V2, GPLv3). Because Langstone-V2 is licensed under the GNU General Public License v3 (GPLv3), this app, which uses it, is also distributed under GPLv3. - Pluto FIR coefficients (fir_128_4) and the
ad9361_set_bb_rate()procedure: Analog Devices "libAD9361-iio" (https://github.com/analogdevicesinc/libad9361-iio, LGPL-2.1)
License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License v3 (or any later version). See LICENSE for the full text. For the licenses of the bundled third-party software, see THIRD_PARTY_NOTICES.md.
Copyright (C) 2026 Kazuichi Shinjo
Copyright of `rpi-dvbs2-receiver-gui` is held by Shinji Yamazaki.
The SSB/FM transceiver is derived from Langstone-V2, Copyright (C) Colin Durbridge (G4EML), GPLv3.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.Parts
30| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 10k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_Vertical | R9, R10, R11, R12, R13 |
| 4 | MountingHole_3.2mm_M3 | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 3 | 105054 | project_footprints:Heatsink_GEC_20PB020_Pins_P12.5mm | HS1, HS2, HS3 |
| 2 | 2SC1815 | Package_TO_SOT_THT:TO-92_Inline_Wide | Q1, Q3 |
| 2 | 510 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_Vertical | R6, R7 |
| 1 | 0.33uF | Capacitor_THT:CP_Radial_D5.0mm_P2.00mm | C3 |
| 1 | 0.47uF | Capacitor_THT:CP_Radial_D5.0mm_P2.00mm | C1 |
| 1 | 1k | Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P5.08mm_Vertical | R8 |
| 1 | 2SJ334 | Package_TO_SOT_THT:TO-220-3_Vertical | Q5 |
| 1 | 33uF | Capacitor_THT:CP_Radial_D5.0mm_P2.00mm | C2 |
| 1 | DC_IN_13V8 | Connector_Wire:SolderWire-1sqmm_1x02_P5.4mm_D1.4mm_OD2.7mm | J2 |
| 1 | ESP32_DevKitC_Socket_40P_25.4mm | project_footprints:Socket_2x20_P2.54mm_25.4mm_DevKitC | J1 |
| 1 | L7805 | Package_TO_SOT_THT:TO-220-3_Vertical | U2 |
| 1 | LED_12V | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J8 |
| 1 | LED_PWR | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J7 |
| 1 | LM2940T-3.3 | Package_TO_SOT_THT:TO-220-3_Vertical | U1 |
| 1 | PTT_ON | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J6 |
| 1 | Power | Connector_Wire:SolderWire-1sqmm_1x02_P5.4mm_D1.4mm_OD2.7mm | J5 |
| 1 | W5500_Lite | project_footprints:W5500_Lite_USR-ES1_2x06_P2.54mm_20.32mm | A1 |
Similar boards
- 2 layers165 × 135 mm

- 2 layers58 × 28 mm

- 2 layers55 × 90 mm

- 2 layers80 × 80 mm

- 2 layers

- 2 layers

Egg incubator project
Zinjpq/Egg_incubator_project
Major exercise of pulse engineering subject
37 parts - 2 layers

- 2 layers357.8 × 124.5 mm

Vic2020mainboard
danwerner21/vic2020
A Vic-20 clone created with [almost] all readily available parts
142 parts78
Questions
How big is the W5500-esp32 PCB?
It measures 72 × 115 mm and has 4 copper layers, 1.6 mm thick.
What parts does the W5500-esp32 use?
30 parts, built around the L7805, LM2940T-3.3 and 2SC1815. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the W5500-esp32 KiCad files?
From the kazushinjo/Shonan_Lite-androidPhone-SSBFM repository on GitHub, at the commit this page was made from: the board is hardware/W5500_PA_PTT_Control/kicad/w5500-esp32.kicad_pcb and its schematic hardware/LangStonePower/LangStonePower.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the W5500-esp32 design in my own project?
Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).


