[McHUG] Arduino Packet Transmission Working!
Peter Morton
mortonph at comcast.net
Sat Dec 20 17:52:43 EST 2008
Congratulations Steve!!
Where did you get the specs for all the formatting, protocols, timing, etc.?
Does it work with the audio in/out of a transceiver?
-Pete
----- Original Message -----
From: <n3sb at qis.net>
To: <mchug at mailman.qth.net>
Sent: Saturday, December 20, 2008 5:02 PM
Subject: [McHUG] Arduino Packet Transmission Working!
I finally found and fixed the last bug in my packet code. I can now send UI
packets from an Arduino!
This is a fairly huge step. It means that I've got the interrupt based
frequency
generation right, the bit timing right, the data formatting right, the
checksum
generation right, and the bit stuffing right, among other things.
The packet data frames I can now generate are Unnumbered Information (UI)
frames, which are fine for APRS purposes. It would be easy to add some
additional code to send telemetry info, like what the PICetSAT module does
today. The program only takes 4.2 kbytes right now, so there's 10 kbytes
left
on a base Arduino for adding custom functionality.
There's another layer of protocol that still has to be worked out to connect
to
another station (or allow another station to connect) and exchange data.
I'll get that layer worked out after I get all the Packet Receive stuff
working.
Receiving will be a bit easier to figure out now that I have a better
understanding of all the low-level formatting.
I'll post the source code after getting it cleaned up and properly
commented.
On the hardware side, six resistors and a capacitor are needed to make a
simple
D/A converter to generate reasonably clean sinewaves. An additional resistor
and an NPN transistor will have to be added (I haven't done this yet) to key
a
transmitter.
More to come. I'll have some time to continue this project over the holiday
break.
73; Steve, N3SB
______________________________________________________________
McHUG mailing list
Home: http://mailman.qth.net/mailman/listinfo/mchug
Help: http://mailman.qth.net/mmmain.htm
Post: mailto:McHUG at mailman.qth.net
More information about the McHUG
mailing list