b9eb76b85d | ||
---|---|---|
Design | ||
Documentation | ||
Modem | ||
bertos | ||
images | ||
.gitignore | ||
COMPILING | ||
LICENSE | ||
Makefile | ||
README.md | ||
buildrev.h | ||
flash |
README.md
MicroAPRS
MicroAPRS is the APRS fork of MicroModem. It can be build very easily with an Arduino board based on the Atmega 328p, and around 15 common electronics components.
Please read the "Quickstart.pdf" in the Documentation folder for some pointers on building the modem!
Right now the APRS specific documentation is lacking, so all the docs included in this repository is directly from MicroModem, but it should still offer good pointers on building the modem, and getting started. The only difference is the firmware.
Currently a simple serial control protocol is implemented, while full KISS TNC functionality will be implemented soon.
Modem control
Here's how to control the APRS modem over a serial connection. The modem accepts a variety of commands for setting options and sending packets. Generally a command starts with one or more characters defining the command, and then whatever data is needed to set the options for that command. Here's a list of the currently available commands:
Sending data
! = send text packet
Setting callsigns
c = set your callsign (default NOCALL) d = set destination callsign (default APZMDM) 1 = set first path via (default WIDE1) 2 = set second path via (default WIDE2)
sc = set your ssid (default 0) sd = set destination ssid (default 0) s1 = set first path via ssid (default 1) s2 = set second path via ssid (default 2)
Setting serial output options
ps<1/0> = turn on/off printing SRC (example "ps0" to turn off, "ps1" to turn on) pd<1/0> = turn on/off printing DST pp<1/0> = turn on/off printing path pm<1/0> = turn on/off printing data pi<1/0> = turn on/off printing info
Examples
To set your callsign to XX1YYY-5, send these two commands:
cXX1YYY sc5
To send an APRS message to ZZ5ABC-0 with the content "Hi there!", send this command:
!:ZZ5ABC-0 :Hi there!{01}
Here's an example of how to send a location update with power, height and gain information:
!=5530.70N/01143.70E-PHG2410Arduino MicroAPRS
Serial connection
To connect to the modem use 9600 baud, 8N1 serial. By default, the firmware uses time-sensitive input, which means that it will buffer serial data as it comes in, and when it has received no data for a few milliseconds, it will start interpreting whatever it has received. This means you need to set your serial terminal program to not send data for every keystroke, but only on new-line, or pressing send or whatever. If you do not want this behaviour, you can compile the firmware with the DEBUG flag set, which will make the modem wait for a new-line character before interpreting the received data. I would generally advise against this though, since it means that you cannot have newline characters in whatever data you want to send!
The repository contains schematics and Eagle PCB files for a Microduino module. There is also fritzing sketches for both an Arduino shield and a Microduino module, with notes so they are easier to understand. I have had the eagle PCB fabricated, and it is working great, so you can use that if want to make your own board.
While this project is based on Arduino hardware, it does not use the Arduino IDE. The project has been implemented in your normal C with makefile style, and uses libraries from the open source BertOS.
Visit my site for questions, comments and other details.