Skip to content

QRV Link 0.0.2

Choose a tag to compare

@jonnyborbs jonnyborbs released this 20 Nov 21:54
aa03d2f

Superseded. This is an older build. Please use the latest release instead. The project is now called QRV Link; this build still advertises the project's earlier name over Bluetooth, while 0.0.4 and later advertise "QRV Link".

Bug-fix release of QRV Link: firmware for an ESP32-S3 adapter that connects iPhone/iPad packet apps (RadioMail, aprs.fi and other apps that support BLE KISS TNCs) to a Kenwood TM-D750 over the radio's USB port. Apps find the adapter over Bluetooth under the project's earlier name.

This is an early test build. Expect rough edges.

What's fixed in 0.0.2

  • Your radio's packet mode is now restored correctly after an app disconnects. In 0.0.1 the adapter remembered the radio's TNC mode only when it powered up. If you changed the mode on the radio after that (for example, turning on APRS 12), the adapter put back the old mode when the app finished, and your APRS mode stayed off. The adapter now checks the radio's mode each time an app connects.

If you already run 0.0.1, flash this file the same way; your settings aren't affected.

What you need

  • An Espressif ESP32-S3-DevKitC-1-N16R8 board (16 MB flash, 8 MB PSRAM), available here on Amazon. This file is built for that board only.
  • The board's USB-OTG solder jumper bridged, so the board can power the radio-side USB port (see the README).
  • A computer (Mac, Windows or Linux) with Google Chrome or Microsoft Edge. Safari and Firefox can't flash boards.
  • A USB-C data cable. Some charge-only cables don't carry data.
  • On the TM-D750: menu 984 (KISS) = USB (Main Unit).

Install the firmware (in your browser, nothing to install)

  1. Connect the board's USB-C port labeled UART or COM (the name depends on the board version) to your computer. Don't use the port labeled USB; that one goes to the radio later. You can leave the radio unplugged while installing.
  2. Quit any program that might be using the board's serial port, such as the Arduino IDE.
  3. In Chrome or Edge, open the QRV Link installer and click Install/Upgrade QRV Link.
  4. A list of ports appears. Choose the board: it's called USB Single Serial on a Mac and USB-Enhanced-SERIAL CH343 on Windows. Click Connect. If your Mac asks whether to allow the accessory to connect, click Allow. On Windows, if the board isn't in the list, install the CH343 driver and try again.
  5. The installer shows what's on the board now. In the Version list, choose 0.0.2, then click the install button. It takes about a minute, and the board restarts on its own when it's done.

If it can't connect or installing fails: hold down the board's BOOT button, press and release RST, then let go of BOOT, and try again. After installing, press RST once more.

Alternative: Terminal (Mac)

Download qrv-link-0.0.2-esp32s3.bin under Assets at the bottom of this page. Then, if you have Homebrew, run these two commands in Terminal (adjust the path if your download is elsewhere):

brew install esptool
esptool --chip esp32s3 write-flash 0x0 ~/Downloads/qrv-link-0.0.2-esp32s3.bin

esptool finds the board on its own. If you have several serial devices connected, add --port /dev/cu.usbmodemXXXX (run ls /dev/cu.* to see the names).

Use it

  1. Connect the board's USB port (the native one) to the USB port on the TM-D750's main unit.
  2. Power the board through its UART / COM port, from your computer or any USB charger.
  3. In your app's TNC/Bluetooth settings, choose the adapter (listed under the project's earlier name in this build). When the app connects, the adapter switches the radio's TNC to KISS mode. When the app disconnects, the adapter puts the TNC back the way you had it.

To see what the adapter is doing, connect it to your computer, open the installer, click Install/Upgrade QRV Link, connect to the board and click Show logs.

Known limitations

  • No frequency control (QSY) from RadioMail. RadioMail only offers it to adapters named "B.B. Link". Experimental support is in the source code but switched off in this build.
  • The radio's TNC band is used as-is. Set the KISS band and frequency on the radio before connecting.
  • After the radio is switched off and on, the adapter may not see it again on its own. Unplug and replug the USB cable between the adapter and the radio.
  • If your iPhone still shows an older adapter name, turn Bluetooth off and on again.

Details

  • Version 0.0.2, built from commit aa03d2f with ESP-IDF v5.5.6.
  • Single merged image (bootloader + partition table + app) for flash address 0x0; DIO, 80 MHz, 16 MB.
  • SHA-256 of qrv-link-0.0.2-esp32s3.bin: 2393b955efdff64276b13acf50fb25f88011b00303afaad15fcb291e3c89fac4
  • Licensed under the Mozilla Public License 2.0.