Categories

Arduino TNC

Posted on Friday, August 5th, 2011 in Arduino, digital radio data, RF by the machinegeek

Amateur radio operators use various digital data modes for radio communications. One such mode is known as packet radio, which transmits data in groups or “packets” of bytes. As described by the ARRL, “packet radio allows improved throughput and error control. The basic protocol for packet radio is AX.25. Transmission speeds typically range from 300 bps on the HF bands to 1200 and 9600 bps on VHF or UHF.” The necessary interface hardware between the radio and the computer is known as a Terminal Node Controller (TNC).

KI4MCW reports on the status of his project to implement a TNC using the Arduino:

The goal of this project – the creation of a simple but effective TNC using Arduino hardware – has been achieved a couple of different ways. Because of the precise timing required to sample and decode AX.25 audio, it was not possible to build a working solution using the standard Arduino libraries. Instead, each solution has involved software written in C, calling AVR-libc libraries or manipulating register values directly. 

Currently, my efforts are focused on an implementation that uses the freely available BeRTOS package, a collection of integrated libraries and drivers for embedded platforms. The AX.25 and AFSK modules included with BeRTOS form a high-performance packet engine that can be modified to function as a KISS TNC. I am working with the BeRTOS team to integrate KISS functionality into the main package, so hopefully those functions will be available in future versions of their product.

Progress reports and a working example of the code (both source and binary for an ATmega328p-based Arduino) can be found at the KI4MCW website. A simple test circuit is available from the BeRTOS website.

This entry was posted on Friday, August 5th, 2011 at 3:00 pm and is filed under Arduino, digital radio data, RF. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

One Response to “Arduino TNC”

  1. daniel says:

    hi
    im looking to make a basic two way communication between to arduinos using standard walkie talkie type radios,
    i assume that this arduino tnc buisness is what i need, but i cant find aaaaaany info on it,

    did it work ?

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Parkview: Another great idea! Be handy to be able to purchase the corresponding SMD and TH sockets as well.
  • Ryan White: Second that. I'd love the option to extend this already awesome tool to RF cables, hoping it's already in the works because I know the...
  • Tom Keddie: Hi Ian, Congrats on the launch. Suggest you name all the CHRO connectors you have as female. It's not done often but you can insert...
  • Craig Hollabaugh: Excellent post! Thanks
  • Drone: We need RF/Coaxial cables with connectors. Pre-made custom RF cables/connectors are insanely high in price. We'll pay more for an option to sweep them.