Mobililinkd TNC1 User Guide
Mobililinkd TNC1 User Guide
Mobililinkd TNC1 User Guide
Overview
This guide will introduce you to the key features of the TNC, its connectors, switches and indicator
LEDs. Most of this manual illustrates the configuration and operation of the TNC using an Android
device and Android software. However, the TNC will work with any operating system and software
that can talk to a KISS TNC over Bluetooth SPP (Serial Port Profile).
KISS TNC
The TNC1 is a KISS TNC, which means that it is purely a modem and not really a terminal node
controller. A more accurate description of the TNC1 and all KISS devices is a KISS modem. The
TNC1 does not manipulate the packets it receives in any manner. It cannot, by itself, digipeat packets
or do any store and forward operations associated with an intelligent TNC. This is an important point
that can be a source of some confusion. A KISS TNC simply encodes and decodes digital information
as audio that can be transmitted over the air by a radio on a voice channel.
S1 – Power button. Press briefly to turn on. Power/BT LED will flash. Hold to turn off. Power/BT
LED will turn off.
S2 – PTT switch.
• Slide to right for Kenwood/TNC style PTT, with PTT on separate pin.
• Slide left for common HT style PTT, with PTT multiplexed on MIC signal (Yeasu, Vertex,
Icom, Alinco).
Blue LED – Power/BT indicator. Flashes fast when pairing and slow when paired.
Red LED – Charge indicator. On when connected to USB and charging, otherwise off.
TNC1 User Guide
TNC Cable
Now is also a good time to put the ferrite bead on the TNC cable. All TNCs shipped after July 1 come
with a ferrite bead. The ferrite bead must be installed on the cable between the TNC and radio to
prevent RF from the radio from interferring with the operation of the TNC.
For thinner HT cables, pass the cable twice through the core of the bead by forming a loop with the
cable and pulling it tight before clipping the ferrite bead closed.
Radio Settings
Each radio is different, so having a comprehensive list of optimal settings in a document like this is not
possible. However, it is important to understand what radio settings impact the performance of the
TNC and its ability to decode packets.
The most important aspect of how well the TNC will decode packets is how quickly the radio can open
its squelch when a signal is present. If the radio cannot open its squelch fast enough, the start of each
packet will be truncated and the TNC will be unable to decode any packets.
Troubleshooting Tip: If you are having trouble decoding packets, set the radio's squelch setting to 0
(open squelch). If the TNC can decode packets with the squelch open, the radio is opening its squelch
too slowly.
The most important setting to disable on virtually all HTs is the “Battery Saver” option. This puts the
radio to sleep for short periods of time. You will never notice for voice communication, but for many
radios this will prevent most packets from being decoded.
If you have an inexpensive Chinese radio (Baofeng, Wouxun, and many others) with a “Dual Receive”
feature, this must also be disabled. This essentially operates the receiver as a scanner, switching the
receiver between two frequencies.
TNC1 User Guide
Connecting/Pairing
Detailed instructions for pairing the TNC on Android are below.
1. Press S1 briefly to turn on TNC. Blue LED will flash rapidly.
2. Ensure Bluetooth is enabled on other device.
3. On other device, scan for Bluetooth devices. You should see “Mobilinkd TNC1”.
4. Connect to “Mobilinkd TNC1”. Use password “1234” when prompted.
1. Push the “Connect” button to connect the Mobilinkd TNC Bluetooth device.
* In general it is best to have input attenuation turned on. This often not possible with fixed volume
mobile or base stations.
** If your radio uses the volume knob for on/off, it may be helpful to mark on the radio and knob with
the optimal volume setting so it can be set quickly after turning on the radio.
TNC1 User Guide
Other Options
The other options that can be set are:
Duplex – whether to ignore carrier detect and the CSMA parameters and
trasmit without waiting for a clear channel. The assumption is that while
running duplex, the TX channel is always clear.
DCD – whether to use the Data Carrier Detect feature of the TNC rather than
just audio energy detected. This is required by older firmware when running
an open squelch. It has little if any effect on firmware 438 and later.
BT Conn – Bluetooth connection tracking. When enabled, the TNC tracks
the state of the Bluetooth connection and discards any packets received while
the Bluetooth connection is down. Otherwise packets are queued and
downloaded when the the connection is re-established. This must be enabled
when operating a digipeater or iGate in order to prevent old, stale packets
from being digipeated or entering APRS-IS.
Info – display detailed packet diagnostics in the APRSdroid log. This may be
helpful when diagnosing receive or packet decode issues. It should normally be turned off because it
reduces the TNCs ability to decode certain packets. The time spent reporting diagnostics is time the
TNC cannot spend decoding packets.
Firmware Update
Mobilinkd releases firmware updates for the TNC from time to time. This allows us to provide
enhancements and bug fixes for the TNC, increasing the performance and value of the TNC over time.
Firmware updates are typically announced via our web page, Yahoo message board and via Twitter.
To upload a new firmware image to the TNC, make sure than no app is currently connected to the TNC.
Exit the Mobilinkd Configuration app and make sure your APRS software not in “Tracking” mode.
Disconnect the TNC from the radio. Then just follow the link to the new firmware image. The
configuration app will automatically start and ask if you would like to install the new firmware image.
TNC1 User Guide
You are encouraged to download the APRSdroid software from Google Play. You can also find the
software at http://aprsdroid.org/. Detailed APRSdroid configuration documentation can be found on
the APRSdroid GitHub site: https://github.com/ge0rg/aprsdroid/wiki/Settings.
Before starting, turn the radio off to avoid accidentally transmitting bad APRS data.
1. Ensure the TNC is on and paired with the Android device. Make sure the Mobilinkd Config
app is disconnected and that you have exited the app.
2. Start APRSdroid.
3. Go into Menu|More|Preferences
1. Set your SSID. SSID 7 is common for hand-held radios.
2. Set your APRS symbol. If you don't know which one to use, choose /[ for now. That will put
a “jogger” symbol on the map for your position. See also
http://www.aprs.net/vm/DOS/SYMBOLS.HTM
3. Personalize the comment field.
4. Under “Location Source”, select “Periodic GPS/Network Position”.
5. Under “Location Settings|GPS Precision”, select “Low”. If this device connects to a mobile
phone network, select “Use network position”.
6. Under “Connection Protocol”, select “Bluetooth TNC”.
7. Under “Connection Preferences|TNC Bluetooth Device”, select “Mobilinkd TNC1”
8. Under “Connection Preferences|APRS digi path”, enter “WIDE1-1,WIDE2-1”
9. Enable “Connection Logging”
4. Return to the main screen.
5. There are three views: Hub, Map, and Log. Ensure you are in Log view.
6. Select “Start Tracking”.
7. The blue LED should start blinking more slowly (two brief blinks every 2 seconds).
8. You should see a green line in the APRSdroid log where it sent a position report to the TNC.
TNC1 User Guide
If you receive an error “java.io.IOException” in the log when trying to connect, verify that the TNC is
on and that it is flashing fast (no established connection). If the TNC is flashing slowly with a double-
pulse, it is connected to another app.
When testing the TNC, it is best to ensure that a digipeater is nearby or that you have another
APRS/packet radio to test with. A hand-held radio will typically need line of sight to a digipeater
within 3-5km (2-3 miles) in order to have the signal digipeated.
Listen to the audio on the local APRS frequency. If at least some of the signals are clear and free from
static or audio distortion, the TNC should be able to decode those APRS packets.
Some adjustment of the audio level may be required to get optimum packet decoding. Every radio
model is different and the volume levels necessary may vary considerably. Even after following RX
audio configuration steps above, the volume level may need to be adjusted to get the optimal
performance out of the system.
Troubleshooting
No RX Audio Detected
• Ensure that the cable is firmly plugged into the radio and into the TNC.
• Verify connectivity on the cable.
• Verify that the TNC boots properly by checking the APRSdroid log.
TNC1 User Guide
Software Customization
The TNC has a AVR109-compatible bootloader. Firmware can be updated over the Bluetooth
connection using the open source program “avrdude”.
avrdude -P <COM PORT> -c avr109 -p m328p -b 115200 -U <FIRMWARE>
For the more adventurous types, the TNC has a 6-pin ISP connector. The ISP is programmed using a 6-
pin pogo-pin adapter (such as Digi-Key ED8179-06-ND) that is pressed onto the 6 pin connector. Or a
standard 2.54mm 6-pin header can be soldered in place for programming.
The code running on the TNC is based on KISS TNC code contributed to BeRTOS by Robin Gilks
G8ECJ. The code has been modified for the hardware. The code is available from GitHub. See
http://www.mobilinkd.com/ and follow the links to GitHub.
This firmware is released under the GPL. Hacking (AKA “voiding your warranty”) is highly
encouraged.
https://github.com/g8ecj/bertos/tree/g8ecj/hdlc – original version
https://github.com/mobilinkd/tnc1 – latest firmware
Acknowledgments
APRSdroid is written and maintained by Georg Lukas, DO1GL.
APRS is a registered trademark of Bob Bruninga, WB4APR.
Copyright
Copyright 2014 Mobilinkd LLC. All Rights Reserved.