MadMan NTWB1 Instruction Manual

Rev 0.3
December 2013
NTWB1
NMEA to WiFi Bridge
INSTALLATION & USER MANUAL


NTWB1
Installation & User Manual
Rev 0.3
Table of Contents
Introduction....................................................................................................... 2
1.1 Overview.................................................................................................... 2
1.2 Fe tures..................................................................................................... 2
1.3 Specific tions............................................................................................. 3
1.4 Import nt Inform tion...............................................................................4
1.4.1NETWORK SECURITY .....................................................................................4
1.4.2DISCLAIMER ................................................................................................4
2 Inst ll tion........................................................................................................ 5
2.1 Inst ll tion................................................................................................. 5
2.1.1OVERVIEW .................................................................................................5
2.1.2MOUNTING LOCATION...................................................................................5
2.2 Electric l Inst ll tion.................................................................................. 6
2.2.1CABLE ROUTE CONSIDERATIONS.......................................................................6
2.2.2ELECTRICAL COLOUR CODE.............................................................................7
2.2.3ELECTRICAL CONNECTIONS..............................................................................7
2.3 TYPICAL NMEA CONNECTIONS..................................................................8
2.3.1NMEA TALKER TO NTWB1 (NMEA TO WIFI)................................................
2.3.2NTWB1 TO NMEA LISTENER (WIFI TO NMEA)..............................................
3 Oper tion......................................................................................................... 9
3.1 Oper tion................................................................................................... 9
3.1.1INITIAL STEPS...............................................................................................9
3.1.2CONNECTING A WIFI DEVICE..........................................................................9
3.1.3CONFIGURING SOFTWARE...............................................................................9
3.1.4CONFIGURING IREGATTA...............................................................................11
3.1.5CONFIGURING OPENCPN.............................................................................12
3.1.6INDICATOR LIGHTS.......................................................................................13
3.1.7SLEEP MODE (POWER SAVING) AND AUTOMATIC WAKE UP.................................14
3.1. ABOUT UDP AND TCP – WHICH DO I CHOOSE?.............................................14
3.1.9NTWB1 CONNECTIONS & NMEA REPEATERS................................................15
3.2 SALES & SUPPORT.................................................................................... 15
3.3 TROUBLESHOOTING................................................................................16
1

Chapter
Introduction
Introduction
1.1 Overview
Your M dm n M rine NMEA to WiFi en bles NMEA d t to be bro dc st
over WiFi to up to seven (7) WiFi connected devices such s PCs, l ptops,
iP ds, iPhones, nd Android t blets & phones.
It h s been designed for owner inst ll tion nd is re dy for use fter
m king few electric l connections.
1.2 Features
•Reverse pol rity & volt ge spike protected
•Autom tic, self-resetting intern l fuse
•Electric l isol tion of d t lines (up to +/- 50Vdc)
•Power s ving 'sleep' mode with utom tic w ke up
2
Illustration 1: NTWB1 NMEA to WiFi
Bridge Parts Identification
Antenna
Connector
(with rotective
ca in lace)
1m screened
cable
90° Whi
Antenna
Indicator
Lights
(behind label)

NTWB1
Installation & User Manual
Rev 0.3
1.3 Specifications
ELECTRICAL
Electric l Supply Volt ge 7 to 15Vdc
St ndby Current (sleep mode) < 30mA
Oper ting Current < 90mA
Intern l Fuse Type Self-resetting
Electric l Isol tion (d t lines) +/- 50Vdc
Reverse Pol rity Protected Yes
WIFI
St nd rds 802.11b/g
SSID M dm n xxxx
(xxxx = last 4 characters of ac address)
Mode Access Point with DHCP
IP Address 169.254.1.1
Port 55555
Protocols UDP or TCP
Simult neous UDP Connections 7
Simult neous TCP Connections 1
Tr nsmitter Power +12dbm
NMEA
Protocol NMEA 0183
B ud R te 4800
M x. T lkers 1 (single-ended)
M x. Listeners 3 (single-ended)
3

Chapter
Introduction
1.4 Important Information
1.4.1 Network Security
The NTWB1 cre tes n open network with no p ssword required to
connect to it. Do not connect WiFi device (such s pc) which h s
sensitive inform tion stored on it s nyone within close proximity could
potenti lly connect to the NTWB1 nd ccess the connected device(s).
If it is necess ry to connect device with sensitive inform tion stored on
it then seek profession l dvice on how to protect your device. As
minimum, ensure ll virus detection nd firew ll softw re is up to d te
nd oper ting.
If you re r cing your competitors could potenti lly view your bo t's
instrument d t when in r nge of the NTWB1's WiFi sign l due to the
open network. Ple se be r this in mind when r cing!
1.4.2 Discl imer
Use the NTWB1 entirely t your own risk. M dm n M rine Pty Ltd
will not be held li ble for ny consequenti l loss, d m ge or injury in ny
w y connected with the use of the NTWB1 NMEA to WiFi Bridge.
M dm n M rine Pty Ltd’s li bility under ny circumst nces sh ll not be
gre ter th n the origin l purch se price of the NTWB1.
4
Contents of this handbook © Madman Marine Pty Ltd

NTWB1
Installation & User Manual
Rev 0.3
2 Installation
2.1 Installation
2.1.1 Overview
The NTWB1 c n be mounted to ny fl t surf ce inside the bo t’s c bin
where it will be protected from w ter nd mech nic l d m ge.
The NTWB1 does not need to be in direct line of sight of the WiFi devices
which will connect to it so c n be hidden out of view if desired, however
the fewer obstructions between the NTWB1 nd connected WiFi devices
the better the reception perform nce will be.
2.1.2 Mounting Loc tion
The following must be t ken into ccount when selecting
mounting loc tion:
•Room to tt ch the ntenn ,
•Ability to view the LED indic tors,
•Obstructions between NTWB1 nd other WiFi devices,
•Protection from w ter (including condens tion) nd mech nic l
d m ge,
•Proximity to equipment or c bling which could c use interference to
or be interfered by the NTWB1.
There re two fl nges on the NTWB1 enclosure which h ve holes
provided for mounting to ny fl t surf ce with screws (2 required).
Altern tively self- dhesive Velcro could be used to mount the NTWB1 in
ny convenient loc tion. Refer to Illustr tion 2 for fl nge loc tions.
5

Chapter 2
Installation
2.2 lectrical Installation
2.2.1 C ble Route Consider tions
Although the supplied c ble h s individu lly screened conductors to
reduce the effects of interference from electrom gnetic noise (EMI) c re
should still be t ken in selecting the route the c ble of the NTWB1 is to
t ke. The c ble should be kept s f r s possible from the following items:
•r dio tr nsmitters,
•ntenn s nd ntenn c bles,
•fluorescent lights,
•electric l c bles c rrying AC current,
•engines including outbo rd motors
•AC powered electric l equipment
6
Illustration 2: Mounting
Flange and Antenna
Connector Protective
Cap
Mounting flange
(one each end)
Antenna
Connector
Protective Cap

NTWB1
Installation & User Manual
Rev 0.3
Also void routing the c ble ne r comp sses or other sensitive
instruments to void interference from the NTWB1.
2.2.2 Electric l Colour Code
The colour coding of the 4 cores of the NTWB1 c ble is s follows:
Red +12Vdc
Black 0Vdc
Yello NMEA d t OUT (to Listeners)
White NMEA d t IN (from T lker)
2.2.3 Electric l Connections
Connect +12V to the red wire nd 0V (neg tive) to the bl ck wire. If you
in dvertently reverse the pol rity no d m ge will be done to the NTWB1.
Simply reconnect with the correct pol rity.
The White wire c rries d t to the NTWB1 from NMEA t lker. The Yellow
wire c rries NMEA d t from the NTWB1 to NMEA listeners.
The NMEA connections re single-ended where the 'other side' is
connected to 0V. This me ns where two wires (A/+ & B/-) re provided on
your NMEA equipment for NMEA In only one wire (the A/+ wire) need be
connected. This pplies for the NMEA Out wires lso.
Refer to the specific instructions for the p rticul r NMEA equipment you
pl n to connect for sign l wire colours s the wire colours re not
st nd rdised between m nuf cturers.
Note: The B/- wires ay need to be connected to 0V (negative) if the
single wire connection does not work. Refer to anufacturers instructions
to check if this can be done without da aging the equip ent.
7

Chapter 2
Installation
2.3 TYPICAL NM A CONN CTIONS
2.3.1 NMEA T lker to NTWB1 (NMEA to WiFi)
To send NMEA d t from wired NMEA device to WiFi connected
device, follow the di gr m below. B ud r te must be 4800bps
2.3.2 NTWB1 to NMEA Listener (WiFi to NMEA)
To send NMEA d t received from WiFi connected device to wired
NMEA device, follow the di gr m below. The b ud r te is 4800bps.
8
NTWB1
NMEA Talker
White
x
Black
Common 0V
Connection
0V (neg)
NMEA OUT (A/+)
NMEA OUT (B/-)
0V (neg)
NMEA IN (Rx)
NTWB1 NMEA Listener
NMEA In (A/+)
NMEA In (B/-)
0V (neg)
Yellow
x
Black
Common 0V
Connection
0V (neg)
NMEA OUT (Tx)

NTWB1
Installation & User Manual
Rev 0.3
3Operation
3.1 Operation
3.1.1 Initi l Steps
1. Ensure ll electric l connections h ve been m de correctly.
2. Screw the ntenn on to the ntenn socket if not lre dy inst lled.
3. Turn on the 12V supply to the NTWB1
4. Check th t the LED indic tors re fl shing green nd red. (If NMEA
d t is v il ble the or nge LED will fl sh lso).
3.1.2 Connecting WiFi Device
1. N vig te to the WiFi settings on the device you wish to connect to
the NTWB1.
2. Look for the 'M dm n xxxx' SSID (where xxxx is a ix of nu bers and /or
letters) in the list of v il ble WiFi networks. See left i age of
Illustration 3 for iPhone exa ple.
3. Select the Mad an xxxx network and wait for your device to
establish a WiFi connection. No password is required. See right i age
of Illustration 3 for iPhone exa ple.
4. When your WiFi device has connected to the NTWB1 the red LED will stop
flashing and will re ain off
3.1.3 Configuring Softw re
Refer to your pp's or softw re's document tion for guid nce on
configur tion to est blish TCP or UDP connection.
Gener lly, the three things to be configured re the protocol (TCP or UDP),
the IP ddress of the source of the d t (169.254.1.1) nd the port
(55555).
9

Chapter 3
Operation
10
Illustration 3: Connecting iPhone to NTWB1 - select the 'Mad an xxxx' network
fro the list of available networks in WiFi settings (left) then wait for it to
connect as indicated by the check ark (right).

NTWB1
Installation & User Manual
Rev 0.3
3.1.4 Configuring iReg tt
To receive NMEA d t from WiFi with iReg tt , go to Settings on your i-
device then look for iReg tt in the list of pps tow rds the bottom of the
p ge. T p on the iReg tt icon nd then scroll down to the 'WIFI NMEA'
section. Set the options s below...
•WiFi Instrument d t (Turn On)
•TCP/UDP (select either TCP or UDP)
•NMEA IP ddress 169.254.1.1
•NMEA Port no. 55555
11
Illustration 4: iRegatta Settings for
i-device

Chapter 3
Operation
3.1.5 Configuring OpenCPN
N vig te to the Setttings p ge nd select the 'Connections' t b. Add
new connection using the 'Add Connection' button. Select the desired
protocol nd enter the Address nd D t Port s follows:
•Address 169.254.1.1
•D t Port 55555
M ke sure the connection is en bled nd click on OK to s ve.
12
Illustration 5: OpenCPN WiFi Connection Configuration

NTWB1
Installation & User Manual
Rev 0.3
3.1.6 Indic tor Lights
There re three different light colours which the NTWB1 uses to present
st tus inform tion. All lights ct independently of e ch other.
Light State Meaning
Red Off A WiFi device h s connected
since power on
Fl shing No WiFi device h s
connected since power on
Green Slow Fl shing No TCP connection (UDP
connections m y be in
progress)
On A TCP connection is in
progress
Or nge Off No NMEA d t being
received.
Fl shing NMEA d t being received
On Continuous NMEA d t
being received.
Red, Green, Or nge Off NTWB1 is off (no power
being supplied to it) or sleep
mode ctive.
13

Chapter 3
Operation
3.1.7 Sleep Mode (Power S ving) nd Autom tic W ke Up
The NTWB1 will enter sleep mode to s ve power if no NMEA d t h s
been received for 60 seconds. It will utom tic lly w ke up every 5
minutes or whenever NMEA d t is being received.
The NTWB1 will st y w ke whenever NMEA d t is being received
periodic lly with no more th n 60 seconds between d t gr ms.
While in sleep mode, ll lights rem in off, the WiFi r dio is turned off nd
only sm ll mount of power will be consumed. Bec use the WiFi r dio is
off the 'M dm n xxxx' SSID will not be found.
To w ke the NTWB1 from sleep mode do one of the following:
•Send NMEA d t to it (vi the wired NMEA connection)
•W it 5 minutes t which time it will utom tic lly w ke up
•Cycle the power to it.
3.1.8 About UDP nd TCP – Which Do I Choose?
Very b sic lly, TCP is reli ble protocol in th t the d t is gu r nteed to
be received due to two-w y h ndsh king between sender nd receiver
where s UDP is unreli ble in th t the sender h s no w y to know whether
the UDP d t w s received ( nd doesn't c re either). For displ ying
m rine instrument d t for inform tion only, UDP is more th n suit ble s
the d t is regul rly upd ted so if some UDP d t is not received t one
moment it is quickly repl ced by new d t soon fter.
The NTWB1 c n only m ke one TCP connection t time but c n m ke up
to seven UDP connections, so select TCP if you re using only one device
nd UDP if you need to connect sever l devices.
14

NTWB1
Installation & User Manual
Rev 0.3
3.1.9 NTWB1 Connections & NMEA Repe ters
The NTWB1 c n m ke simult neous TCP nd UDP connections but only
the TCP connected device will receive d t from the NMEA connection of
the NTWB1.
However, d t from other devices c n be simult neously p ssed to other
devices connected to the NTWB1 vi UDP while the TCP connection is
ctive. This me ns if you h ve device running softw re which c n ct s
n NMEA repe ter such s OpenCPN running on PC, you c n h ve TCP
connection for the NMEA d t from the NTWB1 to OpenCPN nd then re-
bro dc st the NMEA d t vi UDP to the other devices connected to the
NTWB1. In OpenCPN, cre te sep r te 'output' network connection with
IP ddress of 169.254.1.255, UDP protocol nd port number in the r nge
49152 to 65535 The other WiFi devices will need to listen to the port set
in the new output connection of OpenCPN with UDP protocol nd IP
ddress 169.254.1.1
3.2 SAL S & SUPPORT
For ll s les nd support enquiries, cont ct:
Neil Finlayson
M dm n M rine Pty Ltd.
Ph. 0412 MAD MAN (+61 412 623 626)
E. s les@m dm nm rine.com
W. www.m dm nm rine.com
15

Chapter 3
Operation
3.3 TROUBL SHOOTING
SYMPTOM CAUSE REMEDY
No lights on the NTWB1 Power not
switched on.
Turn on the 12V supply to the
NTWB1
NTWB1 is in
Sleep Mode
(power s ving
mode)
Nothing need be done. The NTWB1
will w ke up utom tic lly every 5
minutes or s soon s NMEA d t is
received through the wired
connection.
Reverse pol rity
connection.
Check th t +12V is going to the red
wire nd 0V (neg tive) is connected
to the bl ck wire. If not, simply sw p
the connections. The intern l fuse
will reset utom tic lly.
C n not see the
'M dm n xxxx' SSID in
my v il ble networks
list.
No power etc. Refer to the 'No lights on the NTWB1'
section bove
Out of WiFi
r nge.
Move your WiFi device closer to the
NTWB1 to be within sign l r nge.
WiFi device
'glitch'
Try cycling the power or resetting
your WiFi device if the NTWB1 is
powered up (with lights on or
fl shing) nd the SSID doesn't show
up.
No NMEA d t being
received on my WiFi
device
Not connected to
NTWB1's
network
Ensure the network your WiFi device
is connected to is ctu lly the
NTWB1.
No NMEA to
NTWB1
Check th t the or nge light is fl shing
on the NTWB1 which indic tes it is
receiving d t .
App or softw re
incorrectly
configured
Ensure your pp or softw re is
listening to 169.254.1.1:55555
TCP connection
lre dy exists
If one device is lre dy connected
with TCP connection then no other
devices will receive d t (unless using
repe ter such s OpenCPN)
16

NTWB1
Installation & User Manual
Rev 0.3
17
Table of contents