You
are on the page
of MARINUX

MUPLEX
- NMEA MULTIPLEXER
DESCRIPTION
MUPLEX is a Linux soft multiplexer that
can mix
different input flows of real or emulate serial datas NMEA and share it
between multiple
applications.
* Many input devices: serial:
/dev/ttyS(x), USB:
/dev/ttyUSB(x), bluetooth: /dev/rfcomm(x).
* Resolve the problem of exclusive
access serial
port,
emulate USB or bluetooth by creating pseudos-terminal ports:
/dev/ttyPS(x).
* Share datas over the network or
loopback by TCP
server,
some navigation applications can work directly in TCP.
* Can replace a specialised NMEA multiplexer by a standard serial
multiport PCI, PCI-E or USB.
* Can convert NMEA V1 V2 (4800bps) in
NMEA V3
(38400bps)
also called NMEA HS.
* Adjust devices, pseudos-devices, flows
datas
protocol by
a simple conf file: /etc/muplex.conf.
* Lite shell bash (6KB) in the linux
mind, reusing
existing and
well-proven bricks, take a minimum of process and memory.
* Script may be considered as a
template, modifiable
without recompiliation for any customisation or others
types
of datas, etc...
OPTIONS
muplex.sh [ options ]
-n or --notify.
Display an info box to give state of Muplex at start.
Muplex
launches as a flip flop: if you relaunch Muplex when it's running, it
stops. At the next relaunch it restarts and so on.
-h or --help.
Display this help and exit.
-v or --version.
Display Muplex version and exit.
DEPENDS
Require SoCat by Gerhard Reiger
Require Zenity by Glynn Foster.
Recommend Putty by Simon Tatham.
Suggest OpenCPN by David S. Register.
Suggest Osd Depth by
Frank Baudet.
INSTALL
Install the depends.
Decompress the archive in /usr/local/sbin/.
You need to be root (by
su or sudo) to configure or launch
Muplex due to the restricted access of I/O ports.
Type 'sudo /usr/local/sbin/muplex.sh'
At first launch Muplex create a muplex.conf in /etc
directory and exit.
You must configure manually this file to adapt at your
case and relaunch Muplex.
After configuration, you can add
'/usr/local/sbin/muplex.sh &' (without quotes) at your
/etc/rc.local to
start automatically Muplex and it will run in the background. The
devices must be connected and started before start. If not, you need to
restart Muplex.
AUTHOR
Written by Frank Baudet. [
webcom.marinux(haro-base)gmail(dot)com ]
Feedbacks, corrections, suggestions, derivatives are welcome.
The engine of Muplex is SoCat by Gerhard Reiger.
Thanks to him for his powerful program and help.
COPYRIGHT
Copyright 2010 Free Software Foundation,
Inc. License GPLv3+: GNU
GPL version 3 or later [ http://gnu.org/licenses/gpl.html
].
This is free software: you are
free to change and redistribute it.
There is NO WARRANTY to the extent permitted by law.
Navigation beta software, tested with Ubuntu 10.4, use it
as your own risks !
Webcom Kourou 2010
DOWNLOAD
MUPLEX
*
* *
OSD
DEPTH - OSD
ECHO-SOUNDER DISPLAY
DESCRIPTION
OSD DEPTH is a Linux echo-sounder repeater which uses the OSD
(On Screen Display) technique to display the water depth from NMEA
sentences as DBT (Depth Below Transducer) or DPT (Depth). See screen
copy at top of document.
* Display only numbers (resizeable)
where you want
above
any application.
* Using with a GPS and chart plotter as
OpenCPN, you
get
in one screen essential parameters of navigation.
* OSD technique: allowing
a
maximum
readability application
located
below.
* Many input devices; serial:
/dev/ttyS(x),
pseudo-serial: /dev/ttyPS(x-muplex named), USB: /dev/ttyUSB(x),
bluetooth: /dev/rfcomm(x), network: <IP adress:port> on
TCP
address or loopback.
* Display in meters, feets, fathoms.
* Lite shell bash (6KB) in the Linux
mind, reusing
existing and
well-proven bricks, take a minimum of process and memory.
* Script may be considered as a template, modifiable
without recompilation for any customisation or display others datas
(multiline also avaible with OSD), configuration by GUI, etc... .
OPTIONS
osd_depth.sh [ options ]
-n or --notify.
Display an info box to give state of Osd Depth at start.
Osd Depth
launches as a flip flop: if you relaunch Osd Depth when it's running,
it stops. At the next relaunch it restart and so on.
-h or --help.
Display this help and exit.
-v or --version.
Display Osd Depth version and exit.
DEPENDS
Require Mawk (neither Awk nor Gawk !) by Mike Brennan.
Require Osd
Cat (xosd-bin package) by Martijn van de Streek.
Require SoCat by Gerhard Reiger.
Require Zenity by
Glynn Foster.
Recommand Xfontsel (included in x11-utils package) by Ralph R.
Swick.or TKfont by Neil Grant.
Recommand Putty by Simon Tatham.
Suggest OpenCPN by David S.
Register.
Suggest Muplex by Frank Baudet.
INSTALL
Install the depends.
Decompress the archive in /usr/loca/bin/.
Type
'/usr/local/bin/osd_depth.sh'.
At first launch Osd Depth create a .osd_depth.conf (hidden
file) in your home directory and exit.
You must configure manually this file to adapt at your
case and relaunch Osd Depth.
AUTHOR
Written by Frank Baudet.[
webcom.marinux(haro-base)gmail(dot)com ]
Feedbacks, corrections, suggestions, derivatives are welcome.
COPYRIGHT
Copyright 2010 Free Software Foundation,
Inc. License GPLv3+: GNU
GPL version 3 or later [ http://gnu.org/licenses/gpl.html ].
This is free software:
you
are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Navigation beta software, tested with Ubuntu 10.4, use it
as your own risks !
Webcom Kourou 2010
DOWNLOAD
OSD DEPTH
*
* *
XINUTOP
DESCRIPTION
Linutop-nav
is a Linux portable marine OS, including a lightweight base
applications from Xfce family, and marine applications such as:
- GeBabbel: conversion and transfer data to and from
many GPS.
- Fldigi: reception and display radio weather-fax, via the
sound card.
- OpenCPN: chartplotter, tides, AIS, grib files, GPS
interface and other navigation datas (dashboard).
- Polarcom: virtual instrumentation, from NMEA datas.
- XTide: tides with numerical and graphical display,
worlwide coverage.
- Zygrib: download and display weather grib files.
- Advanced users can download and install "Muplex" from
http://marinux.pk973.org which can mix and split NMEA data to and from
several sources. (Serial, USB, serial, bluetooth, network ...)
Xinutop is made with a special care of lightness, simplicity,
efficacy,
reliability and can operate from multiple datas supports (HDD, SSD,
USB, Flash) on a great variety of i386 compatible computers, and
especially with low power processors, or those unfairly considered as
obsolete, poorly supporting the growing greed of currents OS, less and
less compatible with embedded hardware. Xinutop can run as a portable
operating system on removable device, but also as a main operating
system on hard drive (same install). The memory usage after startup is
about 100MB.
Xinutop is based on (X)Ubuntu 10.04 "Lucid Lynx", including the
scripts
"lrd" by Gauvain Pocentek for Linutop OS 4.0 and follows:
- The same robust architecture (main file system in
squashfs, no write access).
- The persistent mode that allows to keep the datas and
system changes in user layer (same as mobile phones or Internet
tablets).
- The recovery mode, allowing to findnize exactly the
original system (simply by deleting the user layer).
- The full compatibility with applications of the Ubuntu
distribution.
In this version, the software and hardware Linutop are quoted, but
I am
not employed by that company. However, I believe in the future of
simple, lite, robust and energy efficient computing and for me, Linutop
has a good hardware and software approach. See www.linutop.com.
Xinutop is under GPL V3, then you are free to use, distribute and
modify it, but at your own risk and under your own responsability !
COPYRIGHT
Copyright 2010 Free Software Foundation,
Inc. License GPLv3+: GNU
GPL version 3 or later [ http://gnu.org/licenses/gpl.html ].
This is free software:
you
are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Navigation beta software, tested with Ubuntu 10.4, use it
as your own risks !
Webcom Kourou 2012
DOWNLOAD
XINUTOP
(hosted by www.linutop.com)
*
* *
Here are some
devices used with Muplex and
OSD_Depth. All are NMEA compatible and are only
sensors, not too much expensive and alvailable without display (not so
many in the market), nice for virtual instrumentation . Listing only
for information. Any affiliation
with firms.
- Tridata Airmar DST 800: sea speed, depth, temp.
- Compass NaSa sensor.
- GPS Haicom HI-204 serial &
USB.
- Meteo sensor LCJ capteurs CV3F (resale also by
Furuno as Rowind):
wind speed and direction, air temp, optional barometric pressure.
-
Multiplexer Shipmodul Miniplex (USB and serial + bluetooth).
*
* *
OS
- Ubuntu: the
Linux world for everyboby,
but carefull at obesity every new version ! used installation from
text-mode, or better,
debootstrap, window manager Xfce or
Lxde, installed package by (selected) package.
- Puppy Linux:
small and lightweight, can run totally in RAM from USB
key , very interesting for ultralight computers.
- TinyCore Linux: not only tiny, but a new and very interesting
mode of zero installation.
- Linutop OS
4.0: based on Ubuntu 10.4 and a casper fork, with many safe
improvements as lock mode, restore...
PROGRAMMATION
- Shell
Bash: powerfull and native with all
Linux distro, base script for Muplex and OSD_Depth.
-
FreeBasic: Basic is not dead and can
make
interesting things by simple ways.
- GTKdialog: small
and lightweight GUI
creation.
- Python: extraordinary extensible but
remained affordable
- Geany: lightweight IDE with syntax highlighting, suited for theses scripts languages.
*
* *
ON DEVELOPPEMENT
-
Netplex: read NMEA datas on TCP/IP created by Muplex and create
pseudos-terminal ports.
- Ultralight and low-power
computers in 12V with adapted OS .
- Nav datas display
as text with LCDproc.
- Tiller pilot using industrial
linear actuator, remoted by (rugged)
mobile phone and controled by computer (naturally !).
* *
*
last
modification 18/05/12