Giter VIP home page Giter VIP logo

arduino-aprs's Introduction

Let the Math Do the Heavy Lifting for You.

arduino-aprs's People

Contributors

handiko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

arduino-aprs's Issues

AFSK tone reversal

If you listen to the audio output of pin 2 using the Hello World example, you will notice that the preamble has a high pitch on every other transmission. Printing the first bit of each message looks like this:

MYCALL-1>APRS,WIDE2-1:>Hello World !!
1
MYCALL-1>APRS,WIDE2-1:>Hello World !!
0
MYCALL-1>APRS,WIDE2-1:>Hello World !!
1
MYCALL-1>APRS,WIDE2-1:>Hello World !!
0
MYCALL-1>APRS,WIDE2-1:>Hello World !!
1

The AFSK tones must be reversed on each transmission. Is this the expected operation?

Also, the comment says that the crc is calculated with 0x1024 but the code uses 0x8408:

/*

  • This function will calculate CRC-16 CCITT for the FCS (Frame Check Sequence)
  • as required for the HDLC frame validity check.
  • Using 0x1021 as polynomial generator. The CRC registers are initialized with
  • 0xFFFF
    */
    void calc_crc(bool in_bit)
    {
    unsigned short xor_in;

xor_in = crc ^ in_bit; // bitwise XOR
crc >>= 1;

if(xor_in & 0x01)
crc ^= 0x8408;
.
.
.

1200/2400 Hz tones

I see that you use 1200 and 2400 Hz tones everywhere. Shouldn't APRS use 1200 and 2200, as originally?

can't decode

audio nya ada di speaker, tapi di bila TX, DireWolf tidak bisa decode. kenapa yer?

Output too fast?

Hy,

I'm using the code on an ESP32. With the following Code:

set_pin(26);
set_callsign("OE3FKG", "OE3FKG");
send_packet(_STATUS, 0);

I recorded the output directly in Audacity and the AFSK signal seems a bit short: http://sndup.net/5k9q2

Do I have to change baud_adj? If so, to what value?

Thanks!

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.