PiTNC [1.02]
PiTNC provides a robust bluetooth and WIFI accessible TNC utilizing a Raspberry Pi Zero W and Digirig. When connected to a compatible mobile or base station full APRS and Winlink KISS interface is available on Bluetooth or a TCP/IP port.
A Raspberry Pi Image file is located at:
https://s3.us-west-2.amazonaws.com/vena.com/pitnc/pitnc_master_rev102.zip
The following APRS applications are supported: APRSDroid (Android), aprs.fi (iOS), YAAC (Windows and Mac), and Ham Tracks (Android).
| Item | Price (Aprox) | Purchase Link |
|---|---|---|
| Raspberry Pi W | $15.00 | https://www.pishop.us/product/raspberry-pi-zero-w/ |
| Micro USB Power Supply | $7.95 | https://www.pishop.us/product/wall-adapter-power-supply-micro-usb-2-4a-5-25v/ |
| 16Gb SD Card (larger okay) | $9.00 | https://a.co/d/7Zhavrw |
| Raspberry Pi Case | $9.99 | https://a.co/d/iUEp1YX |
| Micro USB to USB C cable | $6.00 | https://a.co/d/3dWxvo8 |
| Digirig | $50.00 | https://digirig.net/product/digirig-mobile/ |
| Digirig Interface Cable to Radio | ~$30.00 | Search for your radio and select the appropriate cable: https://digirig.net/store/ |
| Ferrites (Optional) | $9.99 | https://a.co/d/3dWxvo8 |
-
Download and unzip the latest PiTNC image file
- Image file can be downloaded from http://www.vena.com/pitnc/pitnc_master_rev102.zip
- Unzip the image file by right-clicking and selecting
Extract all...
-
Download and Install Win32 Disk Imager
- Visit the official Win32 Disk Imager website to download the software.
- Follow the installation instructions to install Win32 Disk Imager on your Windows computer.
-
Insert SD Card
- Insert the blank SD card into your computer's SD card reader.
-
Open Win32 Disk Imager
- Launch Win32 Disk Imager on your computer. You may need to run it as an administrator.
-
Select Raspberry Pi Image File
- Click on the folder icon in the "Image File" field.
- Navigate to and select the file you unzipped
pitnc_master_revXXX.img
-
Choose Target Device
- In the "Device" field, select the drive letter corresponding to your SD card.
Warning
Be careful to choose the correct drive to avoid data loss.
- Write Image to SD Card
- Click the "Write" button to begin the writing process.
- Confirm the action when prompted, as this will overwrite all data on the selected SD card.
In the root directory of the PiTNC SD Card is a file pitnc.conf. This configuration file allows for initual setup of your WIFI connectivity. When the Raspberry Pi boots the WIFI information will be automatically configured and will connect to your local WIFI.
-
Open
pitnc.confin a text editor like Notepad -
The contents of the file are as shown:
# PiTNC BOOT Configuration file. # This file is checked durring boot. If settings are changed and the pi is in read/write # mode, the settings are applied. # WIFI # NOTE: Must leave a space after colon. Example: ssid: MyWifiSsid # See https://yaml.org/ wifi: ssid: password: # FILE SYSTEM # Set fsmode to 1 to make file system READ ONLY # Set fsmode to 2 to make file system READ WRITE # Set fsmode to 3 to leave the file system mode unchanged fsmode: 3 -
Enter your WIFI SSID (name of your wifi network) after
ssid:ssid: <your wifi ssid> -
Enter your WIFI Password after
password:.password: <your wifi password>
Note
Make sure to leave a space after the :. This is a YAML file format requirement.
- Save the file.
- Safely eject the SD Card from your computer.
After the Raspberry Pi boots up, if the configuration was done correctly it should connect to your local WIFI.
- From the command prompt on your computer (Windows PowerShell for example). Type the following at the prompt:
$ ssh tnc@pitnc.local
Note
On Windows 10 - 11, PS C:\> Resolve-DnsName -Name pitnc.local can be used to return the ip address of the PiTNC.
-
You will be prompted for the password. The default password is 1200baud. This can be changed after logging into the device.
-
The following information will be displayed:
====================================== _ __ ____ (_) /_____ _____ / __ \/ / __/ __ \/ ___/ / /_/ / / /_/ / / / /__ / .___/_/\__/_/ /_/\___/ /_/ Ham Tracks Offroad ====================================== BLUETOOTH NAME: pitnc <YOUR BLUETOOTH MAC> BLUETOOTH MAC: <YOUR BLOOTOOTH MAC> IP ADDRESS: <YOUR IP ADDRESS> WIFI: <YOUR WIFI> TNC KISS PORT: 8001 FILE SYSTEM: READ/WRITE usage: pitnc.py [-h] [-s] [-i] [-a] [--drestart] [--dmonitor] [-r | -w] pitnc configuration tool optional arguments: -h, --help show this help message and exit -s, --splash display the splash screen. -i, --info display the system info. -a, --addwifi add a wifi network. --drestart restart direwolf (after any modifications to direwolf.conf) --dmonitor enter direwolf activity monitor. -r, --readonly make the file system read only. -w, --readwrite make the file system read and write.
