TNC Pi & Raspberry Pi
APRS iGate
December 2017
A member of the local club OzARC ask me if we could get an APRS Digipeater back in operation here in our town.
There had been one up on a hill in the past, and if I remember correctly lightning took it out.
Actually, his request was all the motivation I needed to do something with the Rasberry Pi's and the TNC-Pi I had collected over time and instead of making a digipeater, using the Raspberry Pi we could have an Igate.  I always see something and think "that's cool, I'll get one and do something with it someday".  Thus, the collection of "Pi's" and a TNC-Pi.

After digging through shoeboxes, I found the TNC-Pi, and decided to use the Raspberry Pi (B) I had bought long ago.  The Pi (B) is not the fast Pi available now-a-days, but I was sure it had plenty of horsepower for this task.

My first task with the TNC-Pi was to refamiliarize myself with it, particularly since I hadn't done anything with it since I purchased and built it. The TNC-Pi is available from Coastal Chipworks and the manual available contains all the information needed to apply the TNC-Pi for several different tasks.
As I was looking through the manual, I stopped to study the schematic.  As is typical of programs supplied by PCB manufacturers, the schematic is electrically correct and sufficient documentation to get PCB's, however, it can be difficult or slow to try to read when you have to look all over the drawings to find all the places where a 'label' connects.
I spent a little time redrawing the schematic in an effort to make it more readable (for me anyway).  Here is my redrawn schematic if you want to take a look, but no promises I didn't make a mistake in redrawing it.

For an enclosure, I found a Bud Box on the shelf, in the garage, that appeared to be 'roomy' enough to accept the Pi & TNC.
The Raspberry Pi uses a 5Vdc supply, and the 2 Meter radio will use 12Vdc, so the plan was to add a 5 volt regulator in the box to power the Pi and Tnc, so only 12 volts needs to be supplied to the 'system'.

As you can see, the Raspberry Pi, TNC-Pi and 5 Volt Regulator circuit had room to grow in the Bud Box.  The length of the box and the Raspberry Pi with SD Memory Card left just enough room to allow removing & inserting the SD Card.  I used two pieces of prototyping circuit board (glued together) with the LM340T5 leads soldered to the board and used the regulator's mounting screw to hold it and the board in place.  Leaving the boards idling in the Bud Box, I noticed the top of the box was warm, measured between 95 and 98 degrees F.  To err on the safe side, I added some ventilation to the sides of the bottom cover.  Hobby Lobby had some of that neat perforated aluminum material that was perfect for keeping things from falling inside through the 'ventilation holes'.
You may have noticed the blue painters tape on the Pi's USB connector.  I did that to keep dust bunnies from forming inside the USB connector since I won't need to use them.

Setting up the Software was fairly simple.  While I am no expert on the Linux operating system, I do have more than a beginners familiarity with Linux, the instructions for the TNC-Pi and a little 'Googling' got me going.
While operating, the Aprs software will be passing the data to a website called APRS-IS, and like magic those mobile units, etc. the TNC hears show up on the 'aprs.fi' website's map.
The APRS software used on the Raspberry Pi is called APRX v2.08 and is found on GitHub.  Using the instructions in the TNC-Pi manual makes retrieving and installing the APRX easy as PIe (pun intended).

 

Last modified: June 02, 2024 - 09:53