APRS

From CECS wiki
Jump to navigation Jump to search

APRS is one of several amateur radio digital modes specialized for position telemetry from a GPS. It is commonly used for tracking moving stations and for marking the locations of important objects or positions, as well as sending messages between different users or interfacing with other systems via the internet. APRS is most commonly said to stand for Automatic Packet Reporting System, but Automatic Position Reporting System (a historical name) is also occasionally used.

APRS is similar to packet radio in that it also uses the AX.25 protocol layer, but uses a different routing scheme and does not have a concept of connections or sessions. All packets are sent as Unnumbered Information (UI) frames, although some packet types (such as messages) add tracking numbers to the end of the payload for the purpose of sending acknowledgements.

On VHF, APRS in the US mostly uses the frequency 144.390MHz, although any of several frequencies can be used that are reserved for digital modes by the local frequency coordinator. World wide, other frequencies are used. The most common modulation is 1200 baud AFSK over FM, but other digital modes such as D-STAR can also be used as a transport layer for APRS. Many HF frequencies are also used for APRS, typically on 30m with 300 baud FSK over USB (upper sideband) or 20m and 40m with VARA HF.

Project: Set up a iGate / Digitpeater on campus

Uses for APRS[edit | edit source]

APRS has many common uses. Roughly sorted from most to least common, these are:

  • The most common use is tracking (with GPS) of people, vehicles, storms, objects, etc. This can be done via direct tracking of a GPS-enabled station (position beaconing) or by manually updating the coordinates of the location of a point of interest (APRS objects). These positions can be monitored on websites such as https://aprs.fi and http://www.findu.com/.
  • Weather stations can transmit local weather information over APRS, and many radios and TNCs can directly decode much of this information. Combined with the position of the weather station, which is also transmitted, a user can inform themselves of current weather conditions near their current location.
  • Users can send messages to other stations directly. This can either be used as a type of instant messaging service between two or more users, or a user can send messages to a bot which will be gated to the APRS-IS and reply based on information from the internet. These bots have several uses, including:
    • Linking to other services such as SMS, email, and Winlink
    • Saving messages for later retrieval by other stations (store-and-forward)
    • Looking up information such as weather, nearby points of interest (e.g. grocery stores, pharmacies, etc.), or other local information
    • Looking up information about other stations
  • Groups on long distance trips will often use the above features for coordination and communication.
  • In addition to GPS and weather information, other stations can transmit various types of telemetry over APRS. This will often be specific to the particular station and not necessarily able to be decoded by common APRS TNCs or software, appearing as either plaintext or compressed data depending on the application.
  • Several satellites have APRS digipeaters on board, including the ISS. This can be used to directly message other operators via the satellite, for store-and-forward, or to send messages to ground stations to access the APRS-IS (although this will typically be receive-only as the satellites usually use nonstandard APRS frequencies and there are usually no transmitting I-gates on these frequencies).
  • APRS can be used for coordinated radio direction finding via fade circle search using omnidirectional antennas on mobile and stationary stations.
  • Some groups use APRS for DX cluster and other localized information sharing.

Components in an APRS system[edit | edit source]

The following components are required to interact with APRS:

  1. A radio (usually an analog FM radio) or SDR. Preferably, this radio should be capable of both transmitting and receiving, although a receive-only radio can be used to decode packets if the ability to reply or transmit your own packets is not needed.
  2. A TNC (terminal node controller), also known as a packet radio modem. In the past, TNCs were external hardware modems, but modern radios may have built-in TNCs capable of handing APRS natively. If using an analog radio with no built-in TNC, a computer soundcard and software-based modem may be used, which are often more effective than dedicated TNCs but may also require the use of a special interface to ensure that the computer is able to trigger the radio's PTT, such as an AIOC, Digirig, RIGblaster, or other similar interface.
  3. A GPS, while technically optional, is highly recommended, particularly for mobile or portable stations.
  4. A computer or phone is required for radios which do not have built-in APRS interfaces. It displays the incoming beacons, objects, messages, etc. for the user, and will often be capable of displaying them on a map for positional awareness of the surrounding stations. It also allows the user to send their own beacons (using a connected GPS if available, or manually entered coordinates otherwise) and messages, and (when supported) may convert incoming station locations to GPS waypoints.

Note that some modern radios will contain all of these required components and thus will be self-contained APRS stations. However, connecting them to external hardware may still be preferable in some cases for improved user interfaces or to unlock additional features.

In addition to user stations such as these, there are also other components to the overall APRS network. These include:

  • Digipeaters (digital repeaters), which are an automatic APRS-capable radio system which will retransmit received packets, provided that they have not been retransmitted too many times already. This creates a type of mesh network and helps to extend the range at which users can transmit and receive packets.
  • I-gates, or internet gateways, route packets into the internet and back via the APRS Internet System (APRS-IS). If you send a beacon or message, the system will be able to route packets to you via I-gates which are capable of transmitting, although some are receive-only.
  • Reporting websites (such as https://aprs.fi and http://www.findu.com/) will track beacons and messages via the APRS-IS and display them on a map or list for users.
  • Bots will listen for messages directed to them via the APRS-IS and perform actions based on the user's message and send replies with requested information or confirm that a requested task was accomplished.

APRS configuration[edit | edit source]

These parameters must be configured in your radio or software for APRS to work:

  • Frequency
    • 144.390MHz is the standard in North America, other frequencies may be used in other regions (e.g. 144.800MHz)
  • Call sign and SSID
    • Generally entered in the same field and separated by a dash
    • SSID is a number from 0 to 15 which provides some information about the nature of the station and allows multiple stations under the same callsign to be distinguished from each other
    • For an SSID of 0, note that the -0 is generally omitted, e.g. K4UCF-0 would simply be K4UCF
    • The following conventions are used for SSIDs:
SSID Uses
-0* Primary fixed station
-5 Station outside of the usual 1200 baud AFSK network
-6 Station for special activities (satellites, camping, 6m, etc)
-7 Handheld portable
-8 Boat, sailboat, RV, or secondary mobile station
-9 Primary mobile station (car, truck, etc.)
-10 I-gates or other internet-linked station
-11 Balloon, aircraft, spacecraft, etc.
-12 One-way tracking device or APRStt/DTMF station
-13 Weather station
-14 Trucker or full-time driver
-1 to -4 and -15 Digipeater or other generic additional station
  • Station icon
    • A graphical representation of your station used in maps and lists
    • Can indicate house, portable, vehicle type, etc.
    • Represented internally by two characters, but often selectable from a menu using the actual icons
      • The first character is the table character, which determines which table to use or overlays
        • / for primary table
        • \ for alternate table
        • 0-9 or A-Z for overlays on the alternate table
      • The second character is the symbol character, which determines the actual icon displayed from the table
        • Can be a letter, number, punctuation, or other symbol depending on what is being displayed
    • Icons are also used for objects to indicate the location of something that isn't a station
    • The icon you use should be an accurate representation of your station

The following parameters are required for position beaconing:

  • Position
    • Can be from GPS and update automatically
    • Can be manually entered, typically for fixed stations
  • Beacon compression
    • There are three common compression modes with slightly different features
      • No compression: position information is transmitted in plaintext
      • Base 91 compression (sometimes simply called "compressed"): compresses the beacon into base 91 to increase the remaining available payload space
      • Mic-E compression: encodes a beacon and a status report split across the destination field and information field, common for Kenwood
  • Position comment
    • A short additional text field that can be appended to a beacon, which can be used to give other users a brief status report or station information
    • Some bots on the APRS-IS will monitor position comments for certain keywords to trigger an action (e.g. including "winlink" in your position comment will cause WLNK-1 to send a packet if you have unread Winlink emails)
  • Status text
    • A separate packet sent after a beacon containing additional information
    • Frequently used to advertise the current voice frequency a user is monitoring or transmitting on
  • Beacon method
    • There are three common methods used to determine when a beacon is transmitted
      • Manual: the user must push a button to send a beacon (good for testing or for fixed stations)
      • Automatic: the radio will transmit beacons on a fixed interval
      • Smart beaconing: the radio will transmit beacons with varying delays depending on the station's speed, direction changes, etc.

These parameters usually have good defaults and rarely need to be changed:

  • Packet path
    • Determines how the packet is routed via digipeaters
    • Default (good for most applications): WIDE1-1, WIDE2-1
  • Data speed
    • 1200 baud is the standard in almost every scenario
  • TX delay
    • This can be important to ensure that VOX-enabled radios do not cut off the start of a packet when transmitting, but the default is almost always sufficient for normal use

APRS modes[edit | edit source]

The following modes are used for APRS communications:

  • 1200 baud AFSK over FM is the most common mode for APRS
  • 9600 baud FSK or GFSK is used on some VHF/UHF systems for higher data rates, but this cannot be done via standard audio interfaces and requires a built-in TNC, specialized 9600 baud port, or discriminator tap
  • D-STAR can be used for APRS (these stations will often use nonstandard SSIDs such as letters)
  • 300 baud FSK is often used on HF (usually 30m)
  • VARA HF can be used for APRS on HF (usually 20m or 40m)
  • Meshtastic can use APRS

APRS internet features[edit | edit source]

bots...

  • SMS gateway
  • email gateway
  • callsign look up
  • ???
  • write our own??

Additional advanced topics[edit | edit source]

  • smart beaconing
    • instead of sending out a regular beacon, beacons more frequently when moving
    • uses speed, detected turns
  • Objects and items
    • can advertise events, third party items, etc.
    • (what is the difference between object and item)
  • Routing
    • RFONLY or NOGATE to prevent igate routing
    • WIDE1-1 (or blank) to reduce coverage from default

Software available[edit | edit source]

Radios that directly support APRS[edit | edit source]

Almost all ham radios can be used with APRS, but these have it built in:

  • Kenwood TM-D700 moble/base station radio
  • Kenwood TM-D710 moble/base station radio
  • Kenwood TM-D7A handheld (discontinued, hard to find, supports cross band repeat)
  • Kenwood D72, D74, D75 handhelds
  • Yaesu VX-8R handheld
  • Yaesu FTM-350E
  • Garmin Rhino (includes GPS, PDA, uses FRS not amateur radio unless modified)
  • Byonics has several kit radios and radio modems

TNC[edit | edit source]

If you do not use a software TNC or a radio that includes a TNC, an external TNC will be needed. See Choosing a TNC for APRS for a more complete discussion including a list of reviewed products. Unfortunately, most lists like this were written 10 or 15 years ago and never updated. They contain mostly broken links to discontinued products, from the previous Century, and companies that don't exist anymore. Potential criteria for selecting a TNC might include:

  • Will it be used for HF use?
  • Do you need 9600 baud, PSK, or other digital modes?
  • Will you use it with a (serial port starved) laptop?
  • Do you want to use it for tracking standalone with a GPS and without a computer? (Would a tinytrack be good enough?)
  • Will you use it for packet radio? (I.e., do you need a full TNC or is KISS mode enough?)
  • Will it be used for a digipeater? (need remote control options)

Costs:

  • $36 for a kit from tinytrack (transmit only, no computer interface)
  • ~$100 - $300 for a commercial full TNC
  • ~$400 for a DSP based TNC
  • ~$500 for a Kenwood D700A mobile radio (dual receive xband aprs 50/35W xmit)
  • ~$350 for a Kenwood TM-V7A hand held radio (dual receive xband aprs 5W xmit)
  • http://www.argentdata.com/catalog/

Software TNC's are becoming increasingly popular because you can get better performance and more features at much lower cost.

Slide Show covering origins of Packet Radio and evolution to using Software TNCs rather than 1980's style hardware.

GPS[edit | edit source]

Features to consider when selecting a GPS:

  • Integrated with a PDA?
  • Includes an LCD screen and maps?
  • Detachable / external antenna?
  • Small form factor?
  • RS232 serial or USB? (some have both)
  • Protocol format?
  • NEMA or proprietary (Rockwell?) format? (Most APRS software wants NEMA.)
  • Does it support WAAS?
  • If it has a map display and NEMA, does it also support NEMA in to display waypoints from the APRS software?

Costs:

  • $15 + $25 antenna at hamcation (motorolla, no case)
  • $80 basic GPS with display (ex: Garmin e-trex, GPS-18PC)
  • ~$300 - $600 Garmin Street Pilot

A few GPS manufacturers:

sound card interfaces[edit | edit source]

If you want to connect the radio directly to the computer without a TNC and use a software TNC, then circuitry is needed to convert radio audio output to soundcard level input, and soundcard output to radio microphone input. Some soundcards have adjustments that can convert some of the levels. Most soundcards will need a level converter interface to help. Some radios also have outputs that are suitable to connect directly to the sound card.

Considerations when choosing a sound card interface:

  • kit form or assembled?
  • Is PTT control needed too?
  • Is an additional external microphone also needed? (for echolink use)

windows tool chain[edit | edit source]

External links[edit | edit source]

APRS access on internet

Additional information

digipeater / igate info[edit | edit source]

vendors[edit | edit source]