Re: routing data from the serial port to a server on the Internet
> Craig wrote:Nate Duehr wrote:
> >In addition to standard IRLP functions,
> >I am interested in having my embedded
> >controller route APRS data and AIS data
> >to servers on the internet (Igates).
> There's a package for "normal" IRLP nodesHi Nate.
> that sends APRS "connected/disconnected"
> messages to the APRS servers...
I thought that package was for only reporting the status of your IRLP
node and not for collecting APRS data from a TNC via the serial port
on the embedded node?
> 1. I don't know if it will fit inThe shipplotter data uploading tool seems to be only 25 Kilobytes in
> the limited drive space of an embedded
size. I don't yet know how much ram it consumes in the process of
receiving the data over the serial port and shipping it off to the
server. It seems to me that I should be able to do the same thing
with APRS data via the serial port with a a piece of code of similar
> 2. It doesn't sound like that's what you'reThe general idea is that I don't want to have three computers running
> trying to do? What APRS data would be heard
> on your voice repeater or simplex node that
> would need to be forwarded?
24 hours a day for IRLP, APRS, and AIS. I would like to do all three
functions in the embedded node because it doesn't consume much power
and it already has to be running 24 hours a day.
There would be one amateur transceiver for IRLP simplex node, another
receiver on 144.39 MHz and a TNC collecting APRS data over the serial
port and a third receiver on Marine VHF channel 88 to collect the gps
data from ships via the serial port.
- Here is the current status of my little project.
I downloaded to my windows xp machine the "spu.tar.gz" file from
Then I copied it over to the embedded node using WINscp. I put the
file in the directory "/home/irlp/shipplotter"
This directory is owned by "repeater"
Then I performed these two commands on the file:
"tar -xf spu.tar"
Now I have a file (that I assume is a binary) called "spuploader" in
To make it executable I used the following command:
"chmod u+x spuploader"
When I ran the file with nothing hooked up to the serial port I got a
floating point exception error. I forwarded my results back to Bev
to see what he wanted to do next.
If any of you in this group have any ideas or suggestions please let
IRLP node 3770
From: Bev M Ewen-Smith <info@...>
SP-Uploader for Linux
I wonder if you would care to try :
If you "gunzip spu.tar.gz" it in Linux, you will find "spu.tar".
If you "tar -xf spu.tar" it, you will find two files :
spuploader_doc is a document file that describes the use of the
spuploader is the executable file.
You need to start it in a terminal window. There are up to four
command line arguments that define the serial port, data rate etc.
You also need to make sure that it has read/write access to the
selected port. The method of doing this is specific to your flavour
When you run it, it automatically registers for uploading data to the
SP sharing server.
It is very much a test version and I am still feeling my way with
Linux so expect the unexepected.
SpUploader is a Linux utility to read NMEA AIS formatted data from a
serial comms port and to consolidate the received data and upload it
to the COAA ShipPlotter sharing server. See www.shipplotter.com for
more details on ShipPlotter.
A serial AIS receiver connected to a serial comms port.
User permissions for the current user to have read/write access to
that comms port.
Command line flags
-c followed immediately by the comm port number. Note that
comms port numbers start with '1' not '0'. "COM1"
corresponds to "/dev/ttyS0".
-b followed immediately by the data rate in bits per second.
-v verbose mode. The program describes its settings and
gives a precis of the ship data received. Error messages
are output regardless of the -v flag
-i followed immediately by a single character specifies the
second sharing code identifier.
./spuploader -c1 -b38400 -v -iz
The default values are -c1 -b38400 -i0 with verbose mode off. Only
error messages are displayed in the default state.
A gzipped tarball containing the executable and this document.
(C) COAA 2008
- Craig WD5BDX wrote...
> Where (what folder) would be the best place to put this executableThe best place to place "add-ons" would be in /home/irlp/custom.
> and do I need to worry about it conflicting with the linux tty consoleIt is? As far as I know, the serial port isn't being used.
> that is also talking on the serial port?
> I assume that if I get the process running and forked to theThat sounds reasonable.
> background and there are problems I can kill it or worst case I can
> reboot the embedded node and that should get me back to normal
> IRLP operations.
> If this works out I would next like to try routing APRS data from aThe existing IRLP APRS script creates an APRS object, connects to an
> TNC to an IGate using the embedded node.
APRS server and sends it. The newly generated object should be sent
again when the node status changes or every X minutes based on a user
configured cron job... created in custom.crons in the last step of the
installation. You can edit custom.crons to alter it. Just remember to do
an "update files" afterwards.
It sounds like (one of the things) you are trying to do is get an IGate
running on the embedded node... i.e. a radio & TNC connected to the
serial port and gate any UI frames that it hears to an APRS server. Keep
us informed of your progress!
Going by your callsign, you are in the US, so APRS would be on 144.390.
If your IRLP node is on VHF, you might want to put it as close to the
top of the band as you can to get a bit of separation from between it
and 144.390. Putting some vertical separation between the antennas will
help. Adding some filters wouldn't hurt either... perhaps a combination
of band pass / band reject filters as needed e.g. reject the node
frequency on the feedline going to the APRS radio if the IRLP node is
desensing the APRS radio, or reject the APRS frequency if it's desensing
the IRLP radio, or bandpass on either one of them in combination with
reject filters for the other frequency. I'm running an IRLP node here as
well as an APRS digi and an IGate. I'm not using any filters, but APRS
is down at 144.390 and my node is up at 147.570 SX.
> Craig WD5BDX wrote...Keith VE7GDH wrote:
>...do I need to worry about it conflicting
>with the linux tty console that is also
>talking on the serial port?
> It is? As far as I know, the serial portI forgot for a moment that the embedded node has a keyboard, mouse
> isn't being used.
and VGA port. I actually haven't used the serial port for the
console. This brings up the next question. Is the keyboard and VGA
monitor considered to be "com1" by the linux operating system? If
that's the case then is the serial port "com2" ??
> Going by your callsign, you are in the US, soI'm in Hoston Texas. Yes the APRS receiver needs to be on 144.39 and
> APRS would be on 144.390
the AIS ship receiver is on 161.975 Mhz which is VHF marine channel
Here is the ship receiver I want to use:
It sells for $189 in the USA.
Here is a link showing some of the data you can pick up with this
> Is the keyboard and VGA monitor consideredI also noticed in the motherboard manufacturer's info it says:
> to be "com1" by the linux operating system?
> If that's the case then is the serial port "com2"??
"Back panel I/O - 1 serial port"
"Onboard I/O connectors - one serial port connector
for a second com port"
Does this mean there are two serial ports on the motherboard?
And if so, does the second serial port need to have a driver loaded
or is it ready to go as com3?
- Com2 I think, it can be set in the BIOS. There is a 10 pin header on the
motherboard as a second serial port.
> > Is the keyboard and VGA monitor considered
> > to be "com1" by the linux operating system?
> > If that's the case then is the serial port "com2"??
> I also noticed in the motherboard manufacturer' s info it says:
> "Back panel I/O - 1 serial port"
> "Onboard I/O connectors - one serial port connector
> for a second com port"
> Does this mean there are two serial ports on the motherboard?
> And if so, does the second serial port need to have a driver loaded
> or is it ready to go as com3?
- David Cameron wrote:
>Thanks Dave! I also just found the same info in users manual which can
> Com2 I think, it can be set in the BIOS.
> There is a 10 pin header on the
> motherboard as a second serial port.
be downloaded from this link:
- The newer embedded nodes are being shipped with a new motherboard that
only have one serial port.
> David Cameron wrote:
> > Com2 I think, it can be set in the BIOS.
> > There is a 10 pin header on the
> > motherboard as a second serial port.
> Thanks Dave! I also just found the same info in users manual which can
> be downloaded from this link:
> http://www.via com.tw/en/ products/ mainboards/ downloads. jsp?
> motherboard_ id=301