Coder Social home page Coder Social logo

kisstnc's Introduction

KissTnc

Description

KissTnc is a C++ implementation of the TNC software for Arduino. It can be used for AX,25 / packet radio as well as for APRS applications. It is tested on the Arduino Nano and is compatible with the MicroAPRS. See http://unsigned.io/projects/microaprs/ for more information on MicroAPRS. The sketch and all used cpp and header files can be opened in the Arduino IDE.

Hardware

Hardware can be made around a the Nano or other Arduino board, using the schematic added to this repository. Default following pins are used: RX LED pin 10 TX LED pin 9 PTT control pin 3 The used analog input is A0 The four pins for generating the AFSK modulation signal are pin 4, 5, 6 and 7.

The PTT and LED pins can be changed in the sketch by editing the defines in KissTnc.ino.

It is advised to use the squelch on the radio to have a good carry detection.

KISS Protocol

KissTnc is compatible with the KISS protocol as described at: http://www.ax25.net/kiss.aspx

The foloowing KISS commands are implemented:

  • CMD_DATA_FRAME (0x00)
  • CMD_TX_DELAY (0x01)
  • CMD_P (0x02)
  • CMD_SLOT_TIME (0x03)
  • CMD_FULL_DUPLEX (0x05)

For testing purpose an additional command is implemented:

  • CMD_LOOPBACK_TEST (0xfe) With enabling this function, packets transmitted from the host are routed back to the receiving part of the software. Instead of transmitting the packets, a constant 1200Hz tone is audible at the modulation output. After any change of the code, the software can be tested by doing a loopback test. The packet returned back to the host must be the same as the original ones. The signal set on the modulation output must be a stable 1200Hz (+/-1) tone. If this frequency is not 1200Hz or is not stable, the ISR is not returning on time.

Following is not implemented:

  • CMD_TX_TAIL (0x04) (obsolete)
  • CMD_SET_HARDWARE (0x06)
  • CMD_RETURN (0xff)

kisstnc's People

Contributors

pa7frn avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.