<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2146804057550640727</id><updated>2012-01-24T10:31:54.778+01:00</updated><category term='maretron'/><category term='system control'/><category term='hds'/><category term='n2kd'/><category term='apple'/><category term='packetlogger'/><category term='ipad'/><category term='true heading'/><category term='raymarine'/><category term='ms-windows'/><category term='lawicel'/><category term='ais'/><category term='airmar'/><category term='power usage'/><category term='3g'/><category term='canboat'/><category term='iphone'/><category term='ios'/><category term='iexpedition'/><category term='navigation software'/><category term='nobeltec'/><category term='linux'/><category term='ethernet'/><category term='icom'/><category term='pb200'/><category term='actisense'/><category term='usb'/><category term='fitpc'/><category term='programming'/><category term='broadband'/><category term='modem'/><category term='mastervolt'/><category term='expedition'/><category term='monitoring'/><category term='solar panels'/><category term='inavx'/><category term='radar'/><category term='shells'/><category term='nmea 2000'/><category term='simnet'/><category term='navico'/><category term='tasman bay navigation systems'/><category term='simrad'/><category term='wago'/><category term='unix'/><category term='navionics'/><category term='lowrance'/><category term='digital yacht'/><category term='ipod touch'/><category term='plc'/><category term='nmea 0183hs'/><title type='text'>Yacht Electronics</title><subtitle type='html'>Analyzing the NMEA 2000 protocol and other marine electronics stuff</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>54</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-3725744977840216783</id><published>2011-11-28T11:58:00.001+01:00</published><updated>2012-01-24T10:26:38.611+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='digital yacht'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 0183hs'/><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><title type='text'>Packetlogger documentation: nmea0183-serial and iptee</title><content type='html'>&lt;div&gt;Although I love NMEA 2000 there is a role for (some) continued NMEA 0183 use. Since last week I run a Digital Yacht AIS receiver at home and upload the resulting AIS data to the internet. I'm &lt;a href="http://www.marinetraffic.com/ais/stationdetails.aspx?station_id=727"&gt;station 727&lt;/a&gt; at Marine Traffic and I also contribute the data to &lt;a href="http://www.aishub.net/"&gt;AISHUB&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This is where nmea0183-serial and iptee come in. These are new Linux and OS X programs available at &lt;a href="http://www.keversoft.com/Keversoft/Packetlogger.html"&gt;my website&lt;/a&gt; as part of the packetlogger download (hey, maybe I should rename that!)&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: small;"&gt;nmea0183-serial&lt;/span&gt; program reads data from a serial port at 38,400 baud and sends it to stdout. The &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: small;"&gt;iptee&lt;/span&gt; program reads lines from stdin and sends it to any number of TCP or UDP servers. To make sure it does not block one service when another is unavailable it drops messages when a service is not available.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;I use this as follows:&lt;br /&gt;&lt;/div&gt;&lt;pre&gt;nmea0183-serial -r /dev/ttyUSB0 | &lt;br /&gt;   iptee -u data.aishub.net 2112 -u 195.251.168.18 5321 |&lt;br /&gt;   tee /volume1/ais/ais.log&lt;br /&gt;&lt;/pre&gt;&lt;div&gt;In the above example I feed the data to AIShub.net and Marine traffic via two UDP channels, and I log the data on disk as well. For display reasons the code was split over multiple lines; it was originally a single line.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-3725744977840216783?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/3725744977840216783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2011/11/packetlogger-documentation-nmea0183.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/3725744977840216783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/3725744977840216783'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2011/11/packetlogger-documentation-nmea0183.html' title='Packetlogger documentation: nmea0183-serial and iptee'/><author><name>Kees</name><uri>http://www.blogger.com/profile/13161921160360191185</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-3943767762737214284</id><published>2011-11-28T11:35:00.001+01:00</published><updated>2012-01-24T10:27:29.085+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='n2kd'/><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><category scheme='http://www.blogger.com/atom/ns#' term='monitoring'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Packetlogger documentation: n2kd - producing a json server for a webpage</title><content type='html'>&lt;div&gt;As you may have guessed from the -json option to the analyzer, I use it myself to produce data that is consumed by a webpage.&lt;/div&gt;&lt;div&gt;The webpage reads the data using &lt;a href="http://en.wikipedia.org/wiki/XMLHttpRequest"&gt;AJAX and XmlHttpRequest&lt;/a&gt;. But for that to work nicely it needs a server that produces JSON, and that JSON should be as short as possible with each PGN only produced once. In other words, a webpage that is updated every 2 seconds does not want to know about the 19 rudder angle changes that were sent on the CAN bus in the mean time, only about the last one (or even better, the average -- but that is something my code doesn't do yet). Furthermore, if it is interested in AIS messages it wants to know about all AIS messages, not just the ones produced in the last two seconds.&lt;/div&gt;&lt;div&gt;So that's where a new program comes in, called n2kd (for NMEA 2000 deamon). It is available for &lt;a href="http://www.keversoft.com/Keversoft/Packetlogger.html"&gt;Linux and OS X&lt;/a&gt;. This isn't very configurable yet, but I also don't know if anyone is interested. It is what I am using on-board at the moment and can be improved considerably. Let me know if you think this is useful if only it had such-and-such feature and I will consider it!&lt;/div&gt;&lt;div&gt;Here's the actual command that I use on board:&lt;/div&gt;&lt;pre&gt;&lt;br /&gt;actisense-serial -r $ACTISENSE_PRIMARY | &lt;br /&gt;  analyzer -clocksrc 35 -json |&lt;br /&gt;  n2kd&lt;br /&gt;&lt;/pre&gt;&lt;div&gt;As you can see my GPS has CAN bus ID 35, so I give that to the analyzer to correct the computer's clock based on the GPS data. &lt;/div&gt;&lt;div&gt;The N2KD program is then contacted on port 597, and it will wait for 2 seconds and then spit out a full JSON structure containing all knowledge it has over all PGNs.&lt;/div&gt;&lt;div&gt;Note that this program will intentionally crash when it has no further input. I'm using a watchdog to restart the above command string when something goes wrong. It should probably just quit instead, but that's for next time.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-3943767762737214284?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/3943767762737214284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2011/11/packetlogger-documentation-n2kd.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/3943767762737214284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/3943767762737214284'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2011/11/packetlogger-documentation-n2kd.html' title='Packetlogger documentation: n2kd - producing a json server for a webpage'/><author><name>Kees</name><uri>http://www.blogger.com/profile/13161921160360191185</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-3265842306910404011</id><published>2011-11-28T11:04:00.001+01:00</published><updated>2011-11-28T13:00:02.694+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Packetlogger documentation: the analyzer program</title><content type='html'>The analyzer program contains the 'secret sauce'. It uses a database of PGN contents that has been painstakingly reverse engineered from observation of my network. I have not seen, read or otherwise obtained any material that I was not allowed to redistribute.Again this utility is very simple. It consumes the 'raw' ASCII PGNs produced by the reader utilities on stdin, and writes out the parsed PGNs. In a second mode it can also produce a human or computer readable form of the PGN database that it contains.So if you have saved the output of the reader in a file, you can analyze the data at a later data like this:&lt;pre&gt;&lt;br /&gt;analyzer &lt; your-actisense-output.log&lt;br /&gt;&lt;/pre&gt;For instance if we do that for the following output:&lt;pre style='font-size:small;'&gt;&lt;br /&gt;2011-11-24-22:42:04.388,2,127251,36,255,8,7d,0b,7d,02,00,ff,ff,ff&lt;br /&gt;2011-11-24-22:42:04.390,2,127250,36,255,8,00,5a,7c,00,00,00,00,fd&lt;br /&gt;2011-11-24-22:42:04.437,2,130306,36,255,8,b1,5c,00,ee,f0,fa,ff,ff&lt;br /&gt;&lt;/pre&gt;and use the above command to analyze this we get:&lt;pre style='font-size:small;'&gt;&lt;br /&gt;N2K packet analyzer $Rev: 233 $ from $Date: 2011-11-27 22:21:08 +0100 (zo, 27 nov 2011) $&lt;br /&gt;(C) 2009-2011 Keversoft B.V., Harlingen, The Netherlands&lt;br /&gt;http://yachtelectronics.blogspot.com&lt;br /&gt;&lt;br /&gt;New PGN 127251 for device 36 (heap 5452 bytes)&lt;br /&gt;2011-11-24-22:42:04.388 2  36 255 127251 Rate of Turn:  SID = 125; Rate = 0.0934 deg/s&lt;br /&gt;New PGN 127250 for device 36 (heap 5467 bytes)&lt;br /&gt;2011-11-24-22:42:04.390 2  36 255 127250 Vessel Heading:  SID = 0; Heading = 182.4 deg; Deviation = 0.0 deg; Variation = 0.0 deg; Reference = Magnetic&lt;br /&gt;New PGN 130306 for device 36 (heap 5480 bytes)&lt;br /&gt;2011-11-24-22:42:04.437 2  36 255 130306 Wind Data:  SID = 177; Wind Speed = 0.92 m/s; Wind Angle = 353.4 deg; Reference = Apparent&lt;br /&gt;&lt;/pre&gt;Now this output is readable for humans, but not very good for computers to parse and process further. If you want to use the analyzer in your software you're better of using the -json option which will produce lines like this:&lt;pre style='font-size:small;'&gt;&lt;br /&gt;{"timestamp":"2011-11-24-22:42:04.388","prio":"2","src":"36","dst":"255","pgn":"127251","description":"Rate of Turn","fields":{"SID":"125","Rate":"0.0934"}}&lt;br /&gt;{"timestamp":"2011-11-24-22:42:04.390","prio":"2","src":"36","dst":"255","pgn":"127250","description":"Vessel Heading","fields":{"SID":"0","Heading":"182.4","Deviation":"0.0","Variation":"0.0","Reference":"Magnetic"}}&lt;br /&gt;{"timestamp":"2011-11-24-22:42:04.437","prio":"2","src":"36","dst":"255","pgn":"130306","description":"Wind Data","fields":{"SID":"177","Wind Speed":"0.92","Wind Angle":"353.4","Reference":"Apparent"}}&lt;br /&gt;&lt;/pre&gt;The analyzer's second mode of producing the database that is kept within it can be accessed with the -explain and -explain-xml arguments. Further arguments are used when you are analyzing a particular PGN or a particular device.&lt;table&gt;&lt;tr&gt;&lt;th&gt;Argument&lt;/th&gt;&lt;th&gt;Purpose&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-raw&lt;/td&gt;&lt;td&gt;Show the raw bytes of the message data following the parsed data&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-debug&lt;/td&gt;&lt;td&gt;Shows internal values of the parser; probably not readable for anyone but me.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-geo {dd|dm|dms}&lt;/td&gt;&lt;td&gt;Choose which format is used to print geographical locations.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-json&lt;/td&gt;&lt;td&gt;Format the output as JSON computer readable data.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-src &amp;lt;src&amp;gt;&lt;/td&gt;&lt;td&gt;Ignore input coming from other sources than the specified one.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&amp;lt;pgn&amp;gt;&lt;/td&gt;&lt;td&gt;Ignore PGNs other than this one.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-clocksrc &amp;lt;src&amp;gt;&lt;/td&gt;&lt;td&gt;Set the computer's clock with data from this source.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-explain&lt;/td&gt;&lt;td&gt;Produce the human readable list of PGNs that the parser understands.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-explain-xml&lt;/td&gt;&lt;td&gt;Produce the computer readable list, in XML format, of PGNs that the parser understands.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;The -clocksrc argument is only supported on Linux and OS X.There is a -data argument, but that is not complete yet and will crash the analyzer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-3265842306910404011?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/3265842306910404011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2011/11/packetlogger-documentation-analyzer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/3265842306910404011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/3265842306910404011'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2011/11/packetlogger-documentation-analyzer.html' title='Packetlogger documentation: the analyzer program'/><author><name>Kees</name><uri>http://www.blogger.com/profile/13161921160360191185</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-5892070959387524028</id><published>2011-11-28T10:42:00.001+01:00</published><updated>2011-11-28T10:59:20.792+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Packetlogger documentation: ASCII raw format explained</title><content type='html'>In this post we'll go into the format produced by the reader programs and consumed by the analyzer program. Here's a typical example of some typical PGNs that have 8 bytes of data:&lt;br /&gt;&lt;pre style="font-size: small;"&gt;2011-11-24-22:42:04.388,2,127251,36,255,8,7d,0b,7d,02,00,ff,ff,ff&lt;br /&gt;2011-11-24-22:42:04.390,2,127250,36,255,8,00,5a,7c,00,00,00,00,fd&lt;br /&gt;2011-11-24-22:42:04.437,2,130306,36,255,8,b1,5c,00,ee,f0,fa,ff,ff&lt;br /&gt;2011-11-24-22:42:04.490,2,127251,36,255,8,7e,0b,7d,02,00,ff,ff,ff&lt;br /&gt;2011-11-24-22:42:04.493,2,127250,36,255,8,01,5a,7c,00,00,00,00,fd&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;8 bytes is the usual amount because that can be transmitted in a single CAN message. Longer messages are transmitted in multiple CAN messages. The reader programs 'solve' this and only send out coalesced complete PGN messages, for example:&lt;br /&gt;&lt;pre style="font-size: small;"&gt;2011-11-24-22:41:10.034,6,129540,36,255,123,24,ff,0a,03,68,03,a2,0d,00,00,ff,ff,ff,7f,f1,05,44,2a,c2,9a,04,10,ff,ff,ff,7f,f2,07,dc,17,e7,28,04,10,ff,ff,ff,7f,f2,08,0a,2f,0a,2f,e4,0c,ff,ff,ff,7f,f2,0a,f4,0c,c3,6d,68,10,ff,ff,ff,7f,f2,0f,f4,0c,9e,c1,10,0e,ff,ff,ff,7f,f2,13,68,03,16,22,00,00,ff,ff,ff,7f,f1,15,7f,07,ef,de,48,0d,ff,ff,ff,7f,f2,1a,dc,26,fb,c2,a0,0f,ff,ff,ff,7f,f2,1c,2e,17,2c,62,10,0e,ff,ff,ff,7f,f2&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;So what is this format?&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;The format is a very strict and simple ASCII representation of the binary CAN data. It contains the data in a format that is easy to parse by further programs. It is also still somewhat readable, unlike the CAN binary messages.&lt;br /&gt;It contains one PGN per line, and consists of a fixed set of 6 fields that are always the same, followed by a variable number of data fields. The first fields are:&lt;table&gt;&lt;tr&gt;&lt;th&gt;Number&lt;/th&gt;&lt;th&gt;Field&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;Timestamp when the message was received&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;Priority of the message&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;PRN, the identifier that explains what type of message it is&lt;/tr&gt;&lt;/td&gt;&lt;tr&gt;&lt;td&gt;4&lt;/td&gt;&lt;td&gt;Source ID of the device that produced the message&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;5&lt;/td&gt;&lt;td&gt;Destination ID, 255 means broadcast&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;Number of data bytes to follow&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;7 ... n&lt;/td&gt;&lt;td&gt;Data bytes in hexadecimal format&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-5892070959387524028?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/5892070959387524028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2011/11/packetlogger-documentation-ascii-raw.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/5892070959387524028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/5892070959387524028'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2011/11/packetlogger-documentation-ascii-raw.html' title='Packetlogger documentation: ASCII raw format explained'/><author><name>Kees</name><uri>http://www.blogger.com/profile/13161921160360191185</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-5440173460680912762</id><published>2011-11-28T09:57:00.001+01:00</published><updated>2011-11-28T10:39:50.193+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ms-windows'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='unix'/><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><category scheme='http://www.blogger.com/atom/ns#' term='actisense'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Packetlogger Documentation: Getting data out of your Actisense NGT-1</title><content type='html'>The programs that I make available are all command line utilities. Normal for UNIX folks, somewhat exotic for OS X folks and downright frightening for Microsoft Windows users. Or maybe the other way around. Anyway, I don't have the time to develop GUI programs.&lt;br /&gt;&lt;br /&gt;If you are not used to command line tools, and don't fancy learning them these programs are not for you.&lt;br /&gt;&lt;br /&gt;So the first thing you need to do is open up a terminal or console. Or for those still used to that terminology, open up a DOS box. It hasn't been a DOS box for ten years, but that's what my sailing friends still call this. Click Start -&amp;gt; Run then type cmd.exe&amp;lt;enter&amp;gt; to get a console.&lt;br /&gt;&lt;br /&gt;On Microsoft Windows you'll use the program actisense-reader.exe. First run it without any arguments. It will show you a list of COM ports. One of them should be your Actisense NGT-1 NMEA 2000 gateway, and it should say "Available" as well.&lt;br /&gt;&lt;br /&gt;For instance:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;C:\packetlogger\windows-x86&amp;gt;actisense-reader.exe&lt;br /&gt;actisenser-reader $Rev: 235 $ $Date: 2011-11-28 09:23:14 +0100 (ma, 28 nov 2011) $&lt;br /&gt;(C) 2009-2011 Keversoft, Harlingen, The Netherlands.&lt;br /&gt;&lt;br /&gt;Usage: actisense-reader.exe &amp;lt;com-port&amp;gt; [&amp;lt;baud-rate&amp;gt;]&lt;br /&gt;&lt;br /&gt;&amp;lt;com-port&amp;gt; is an integer from the following list:&lt;br /&gt;1: COM1 - Communications Port (Available)&lt;br /&gt;2: COM2 - Communications Port (Available)&lt;br /&gt;3: COM3 - Actisense NGW/NGT NMEA 2000 Gateway (Available)&lt;br /&gt;&lt;br /&gt;&amp;lt;baud-rate&amp;gt; is an integer from the following list: 4800 38400 115200 230400 (default is 115200)&lt;br /&gt;&lt;br /&gt;This program reads from the indicated COM port until input on stdin is received. Normally this&amp;nbsp;means until you press the 'Enter' key on the keyboard.&lt;br /&gt;&lt;/pre&gt;Once you have found the appropriate free NGT com port you can start the program again and pass it the number of the COM port, for instance:&lt;br /&gt;&lt;pre&gt;C:\packetlogger\windows-x86&amp;gt;actisense-reader.exe 3&lt;br /&gt;&lt;/pre&gt;If your NGT-1 is connected to a network you'll see the program start emitting ASCII data, one line per NMEA 2000 PGN:&lt;pre style='font-size: small;'&gt;&lt;br /&gt;2011-11-24-22:42:04.388,2,127251,36,255,8,7d,0b,7d,02,00,ff,ff,ff&lt;br /&gt;2011-11-24-22:42:04.390,2,127250,36,255,8,00,5a,7c,00,00,00,00,fd&lt;br /&gt;2011-11-24-22:42:04.437,2,130306,36,255,8,b1,5c,00,ee,f0,fa,ff,ff&lt;br /&gt;2011-11-24-22:42:04.490,2,127251,36,255,8,7e,0b,7d,02,00,ff,ff,ff&lt;br /&gt;2011-11-24-22:42:04.493,2,127250,36,255,8,01,5a,7c,00,00,00,00,fd&lt;br /&gt;&lt;/pre&gt;On Linux and OS X the program to use is called actisense-serial, and it needs a device name. You'll have to dig around in your OS console logs (OS X: console.app, Linux: dmesg) to see how your NGT-1 has been recognized by the operating system. Let's assume it is /dev/ttyUSB0, in that case you use&lt;pre&gt;&lt;br /&gt;actisense-serial -r /dev/ttyUSB0&lt;br /&gt;&lt;/pre&gt;Why the -r? Well, this program can also write PGNs to the bus using the same ASCII protocol as it uses to receive PGNs. This means that if you have, for instance, two NMEA2000 networks and you want messages to be passed from network A to B -- in other words read from A and write to B you do this like this:&lt;pre&gt;&lt;br /&gt;actisense-serial -r /dev/networkA | actisense-serial -w /dev/networkB&lt;br /&gt;&lt;/pre&gt;Or if you want to read PGNs from A, inject those into B and then view the output from both networks you do this like this:&lt;pre&gt;&lt;br /&gt;actisense-serial -r /dev/networkA | actisense-serial /dev/networkB | ....&lt;br /&gt;&lt;/pre&gt;If you do not want to inject the messages from A into network B, but you do want to view the output from both networks you use the 'pass thru' option:&lt;pre&gt;&lt;br /&gt;actisense-serial -r /dev/networkA | actisense-serial -p /dev/networkB | ....&lt;br /&gt;&lt;/pre&gt;In a next blog post I'll show you what the output format generated by these programs contains and what you can do with the output.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-5440173460680912762?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/5440173460680912762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2011/11/packetlogger-documentation-getting-data.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/5440173460680912762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/5440173460680912762'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2011/11/packetlogger-documentation-getting-data.html' title='Packetlogger Documentation: Getting data out of your Actisense NGT-1'/><author><name>Kees</name><uri>http://www.blogger.com/profile/13161921160360191185</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-4230344583849376530</id><published>2011-11-28T09:47:00.001+01:00</published><updated>2011-11-28T10:40:22.700+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><category scheme='http://www.blogger.com/atom/ns#' term='actisense'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Packetlogger Late 2011 edition</title><content type='html'>This blog has been pretty quiet over the last few months, but now I've finally found some time to update the public version of my NMEA 2000 reverse engineering research and NMEA utility programs.In the last year I have had the chance to observe my personal network and fix a large number of small bugs in the definitions.  It now looks as if my programs and database are able to decode all common NMEA 2000 messages and a number of the proprietary ones that occur on my own network.This means that the following messages are all in order:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Basic NMEA 2000 (ISO request, claim, acknowledgement etc.)&lt;/li&gt;&lt;li&gt;Basic sensor data (wind, depth, heading, GPS, rudder)&lt;/li&gt;&lt;li&gt;Some electrical sensor data (switch status, battery, inverter, …)&lt;/li&gt;&lt;li&gt;Normal AIS messages (class A, class B)&lt;/li&gt;&lt;li&gt;The 'basic' route message&lt;/li&gt;&lt;/ul&gt;What I have not tested are things such as:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;AIS uncommon messages such as SAR&lt;/li&gt;&lt;li&gt;Engine parameters, transmission parameters, trip parameters&lt;/li&gt;&lt;li&gt;DSC call information&lt;/li&gt;&lt;li&gt;Most route and WP service messages&lt;/li&gt;&lt;/ul&gt;This does not mean that these messages aren't in the database or that they are incorrect  -- just that I don't know exactly how well they match up. For these 'incomplete' messages your help is appreciated. In my next post I'll tell you how you can do this.Also I'll be publishing some documentation posts on how to use the programs.To download  the programs please go to the&amp;nbsp;&lt;a href="http://www.keversoft.com/Keversoft/Packetlogger.html" target="_blank"&gt;packet logger page on www.keversoft.com&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-4230344583849376530?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/4230344583849376530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2011/11/packetlogger-late-2011-edition.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/4230344583849376530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/4230344583849376530'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2011/11/packetlogger-late-2011-edition.html' title='Packetlogger Late 2011 edition'/><author><name>Kees</name><uri>http://www.blogger.com/profile/13161921160360191185</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-6156099222274746828</id><published>2011-06-22T22:06:00.003+02:00</published><updated>2011-06-22T23:38:26.072+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='inavx'/><category scheme='http://www.blogger.com/atom/ns#' term='ios'/><category scheme='http://www.blogger.com/atom/ns#' term='navionics'/><category scheme='http://www.blogger.com/atom/ns#' term='navigation software'/><title type='text'>iNavX on the iPad</title><content type='html'>I thought I'd share my experience with &lt;a href="http://www.inavx.com/"&gt;iNavX&lt;/a&gt; on iOS with you.&lt;br /&gt;&lt;br /&gt;As most boaters with an iOS device I was quick to download the original &lt;a href="http://www.navionics.com/MobileMarineFeatures.asp?MobileType=iPad"&gt;Navionics&lt;/a&gt; programs. Although hefty downloads they work quite well. Scrolling and zooming is pretty smooth in the Navionics apps. They are a little unstable requiring an app restart now and then, but not very often.&lt;br /&gt;&lt;br /&gt;When I learned that iNavX supported a TCP feed I rewired my AIS transceiver into my Linux box and had that start sending AIS and GPS data over TCP, and bought a license for iNavX and a set of (Navionics) charts. This works great, and I'm now able to see my navigation data and AIS targets on my iPad. This promotes the iPad from a good tool for situational awareness to a great one.&lt;br /&gt;&lt;br /&gt;There are still a few issues that you should be aware of in case you're considering to use your iPad for full navigation duty, with any app. Depending on your use you may need a waterproof case and have a problem with sun viewability. Also, although iOS supports multi-tasking, it's too easy to accidentally stop an app. In general the large amount of memory that the navigation apps seem to use also makes for occasional crashes. Thus, keeping these apps running for hours on end is not how I personally see them at their best.&lt;br /&gt;&lt;br /&gt;Also there is a bit of a downside to the way that iNavX works with charts. Although it is beautiful that you can buy charts online and then download these to the device, it looks as if the charts are stored as "disposable documents." When I upgraded my iPad from 4.3 to 4.3.3 I lost all my charts and had to download them again. As that didn't work at sea without internet I had to fall back to Navionics for a while. Next time I'll make sure I test my chart store after updating the device.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-6156099222274746828?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/6156099222274746828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2011/06/inavx-on-ipad.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/6156099222274746828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/6156099222274746828'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2011/06/inavx-on-ipad.html' title='iNavX on the iPad'/><author><name>Kees</name><uri>http://www.blogger.com/profile/13161921160360191185</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-2702573804312983513</id><published>2011-06-02T08:26:00.005+02:00</published><updated>2011-11-28T13:00:49.828+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='simrad'/><category scheme='http://www.blogger.com/atom/ns#' term='monitoring'/><category scheme='http://www.blogger.com/atom/ns#' term='power usage'/><title type='text'>L&amp;S Ecopilot reduces autopilot current consumption</title><content type='html'>I just installed an &lt;a href="http://www.ls-france.com/ls/uk/lsvoile-options-fr.php"&gt;Ecopilot&lt;/a&gt; device made by &lt;a href="http://www.ls-france.com/ls/uk/index.php"&gt;Lecomble et Schmitt&lt;/a&gt; from France. Let me tell you what this does and how much of a difference it makes to our power consumption.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Our autopilot uses a reversible pump that sends hydraulic fluid backwards and forwards through a rather stout cylinder. It has ample power to steer the boat, much more than I have certainly! &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;img src="http://2.bp.blogspot.com/-WKx7f1oCeq8/Tecvnl9iVUI/AAAAAAAAAAs/oEs_h3HE8O0/s320/autopilot3.jpg" style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 213px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5613507817792230722" /&gt;&lt;/div&gt;&lt;div&gt;For those times when you do not want to steer by autopilot, or when it is off, a bypass is installed. Look at the photo on the right. The steering cylinder is at the very bottom of the picture. The black and black-and-orange hoses carry the hydraulic fluid from the pump (not depicted) to the cylinder. The bypass line is the shiny "inverse U" shaped pipe. At the rear you see a metal box with a plastic black blob attached to it with another smaller blob attached to it and a black cable sticking out. The metal box contains a hydraulic valve that is controlled by a solenoid (electromagnetic coil) in the bigger black box. Industry has, smartly, standardized the size of these solenoids and even the connectors. &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src="http://1.bp.blogspot.com/-esO91Upvp9I/TecvnQa-sII/AAAAAAAAAAk/wepXt39jb6Q/s320/autopilot2.jpg" style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 247px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5613507812010143874" /&gt; The story of today is about replacing the smallest of the two black boxes. This is a replacement for the standard connector that attaches to the industry standard magnet. As you can see here it isn't much to look at. Instead of the normal connector which only contains a bit of plastic and some screws, this version contains a small electronic circuit that aims to reduce the power used by the magnet. The reasoning behind this product is that the current used by the solenoid to move the valve initially is much higher than the current required to keep the valve open. Since the standard coil is just a bit of wire it doesn't know how to do this. And that's where the Ecopilot comes in: it measures the current and reduces this to the point where the valve just stays open.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;With my solenoid the power consumption went from 1.4 A @ 24 V to 0.3 A. That is a 1.1 A saving, and adds up to a 26,4 Ah savings per day (when sailing). So this € 110 device is a very worthwhile investment -- easily cheaper than adding another solar panel.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To find one on sale, search the internet for "ecopilot 2204028" for the 24V version and "ecopilot 2204027" for the 12V version. Note that most web stores selling this will be French. The one that I ordered from (&lt;a href="http://www.tyboat.com"&gt;www.tyboat.com&lt;/a&gt;) was very helpful but their online ordering process did not yet take into account any increase in shipping costs outside France... C'est la vie.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-2702573804312983513?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/2702573804312983513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2011/06/l-ecopilot-reduces-autopilot-current.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/2702573804312983513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/2702573804312983513'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2011/06/l-ecopilot-reduces-autopilot-current.html' title='L&amp;S Ecopilot reduces autopilot current consumption'/><author><name>Kees</name><uri>http://www.blogger.com/profile/13161921160360191185</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-WKx7f1oCeq8/Tecvnl9iVUI/AAAAAAAAAAs/oEs_h3HE8O0/s72-c/autopilot3.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-7648753659476420146</id><published>2011-05-27T09:21:00.008+02:00</published><updated>2011-05-27T10:36:31.131+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='solar panels'/><category scheme='http://www.blogger.com/atom/ns#' term='monitoring'/><title type='text'>Solar cells</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm5.static.flickr.com/4094/4893861940_f7279193a5_b.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 240px; height: 160px;" src="http://farm5.static.flickr.com/4094/4893861940_f7279193a5_m.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;One of the decisions that we made early on when building our new boat was to have an array of solar cells on a spoiler at the rear. Well, I wanted them and had to convince the admiral, but anyway. The reason to choose for PV (Photo Voltaic) solar cells is that they work without needing any supervision when you are away from the boat, maintenance is limited to an irregular cleaning interval and most importantly on a sailboat, that they do not make any noise.&lt;br /&gt;&lt;br /&gt;What we definitely did not want was flexible panels on top of the pilot house or deck. Not only are the flexible panels a lot less efficient by themselves, having multiple entry points for the cables makes for leaks, and they also heat up because they cannot shed their heat radiating downwards. Hot solar panels work slower. This then is a bad compromise: the warmer the climate the more likely you are that you are going to have a nice overhead sun but your panels will not be putting out as much. Just at the time that your fridge is working overtime! So no flexible panels for us.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm5.static.flickr.com/4115/4754660772_f337a1df13_o.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 240px; height: 160px;" src="http://farm5.static.flickr.com/4115/4754660772_2ea79534e8_m.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;As boat #1 had a quite nice antenna and PV spoiler at the very rear of the boat, we opted for the same  manner of construction. Although the spoiler can be considered ugly, it  keeps out of the way, provides for a good way of lifting the rowing  dinghy. It turns out that it's also a half-decent bimini, although for  that purpose it could even be larger.&lt;br /&gt;&lt;br /&gt;Technically we used the best panels we could find. I did not want the total panel area to be wider than the boat or stick out from the rear; this way you can safely enter a lock without fear of endangering the panels. On the front side the panels are limited by the backstay. This gave us an an area of about 3,30 by 1 m. This enabled us to fit 6 panels rated at 100 Wp.&lt;br /&gt;&lt;br /&gt;Given that we're (still) in the NW of Europe at 52° N and that Wp is a theoretical maximum, I was told that a fixed setup (on land) of 600 Wp would bring in about 500 kWh per year. On the downside, our boat's panels are not angled, and there is some shadow from backstay and antennas. Fortunately the sun tends to shine more at sea or near the sea. So I figured 25 % loss, e.g. 375 kWh per year or a 1 kWh per day average. Since the sun shines a lot more in the summer, figure about 70% more during summer, which happily coincides with our summer holiday!&lt;br /&gt;&lt;h2&gt;In practice&lt;/h2&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-4ycNEZeKkZg/Td9V-NK9EYI/AAAAAAAAAAM/6K7UbTj3VLg/s1600/n2k14-week.png"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 280px; height: 160px;" src="http://3.bp.blogspot.com/-4ycNEZeKkZg/Td9V-NK9EYI/AAAAAAAAAAM/6K7UbTj3VLg/s320/n2k14-week.png" alt="" id="BLOGGER_PHOTO_ID_5611298187902783874" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;So how did this work out? Very well. Last year we never used any shore power whilst cruising, but did not yet keep a full tally. Last winter when we were on board and the Kabola heater was running full blast (outside -7 C) we obviously did use shore power. Solar cells were not doing much then when the sun is above the horizon only a little and only for maybe 8 hours!&lt;br /&gt;&lt;br /&gt;Back to today, and here are some snapshots from my monitoring app from this week -- end of May. This means the sun officially rises at about 6:30 and goes down at 21:30. In the first image you can see the current at which the house battery is being charged or discharged. The at-rest usage this week is 1,7 A (monitoring stuff, all mastervolt equipment on, winches and hydraulics powered but the fridge is off.)&lt;br /&gt;&lt;br /&gt;These images span a week running from Friday morning to Friday morning. On Saturday and sunday I was on board, using all sorts of stuff including running the inverter for watching TV and some chores. I also did some upgrades to the monitoring software, so you see a 'glitch' in the data where the graph is interrupted. From Monday onwards no-one was aboard, and you can see that on Monday the sun was out, as the effective current into the batteries reached a maximum of 13.4 A. Combined with the load that means the solar array was pumping out 15.1 A.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-1RfP7Pfa3dQ/Td9YafiRA1I/AAAAAAAAAAU/aP8H8MYTubQ/s1600/n2k13-week.png"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 280px; height: 160px;" src="http://4.bp.blogspot.com/-1RfP7Pfa3dQ/Td9YafiRA1I/AAAAAAAAAAU/aP8H8MYTubQ/s320/n2k13-week.png" alt="" id="BLOGGER_PHOTO_ID_5611300872891990866" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;You can also see that on Wednesday the batteries were reaching a completely full charge.&lt;br /&gt;&lt;br /&gt;So you can see that certainly they are doing what they were supposed to do: deliver us the boat on a full charge in summer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-7648753659476420146?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/7648753659476420146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2011/05/solar-cells.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/7648753659476420146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/7648753659476420146'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2011/05/solar-cells.html' title='Solar cells'/><author><name>Kees</name><uri>http://www.blogger.com/profile/13161921160360191185</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm5.static.flickr.com/4094/4893861940_f7279193a5_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-8656981920215632195</id><published>2011-05-23T22:38:00.000+02:00</published><updated>2011-05-23T22:38:20.699+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='airmar'/><category scheme='http://www.blogger.com/atom/ns#' term='simnet'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Observing the electrical behaviour of a NMEA 2000 network</title><content type='html'>Earlier I wrote that I was going to investigate why Simrad/Navico is now advocating adding a  &lt;a href="http://yachtelectronics.blogspot.com/2011/02/simnet-noise-filter.html"&gt;Simnet Noise Filter&lt;/a&gt; to more complicated networks.&lt;br /&gt;&lt;br /&gt;First I measured a small bench network using Simnet cable at home.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-RDl8mHsiHHM/TV0vGhKHypI/AAAAAAAAADg/YxgdUVoS7JY/s1600/NewFile0.png" imageanchor="1" style="clear:right; float:right; margin-left:1em; margin-bottom:1em"&gt;&lt;img border="0" height="234" width="320" src="http://1.bp.blogspot.com/-RDl8mHsiHHM/TV0vGhKHypI/AAAAAAAAADg/YxgdUVoS7JY/s320/NewFile0.png" /&gt;&lt;/a&gt;&lt;/div&gt;A screenshot of a simple network (one sender, one Actisense NGT-1 and about 5 m of cable in total, with no terminators. I was expecting swinging of the observed signal when it returns the bus to a non-driven state, and indeed the digital scope proves it worth and shows this to good effect. As you can see, the rising edge when the sender drives the bus the wave is pretty neat. The swinging happens when the sender stops driving the CAN output driver and the voltage returns to zero, with quite large oscillations around 0 V.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-bbBkDm42ACM/TV0xoU9FvRI/AAAAAAAAADo/to0UGTVqmoE/s1600/NewFile1.png" imageanchor="1" style="clear:right; float:right; margin-left:1em; margin-bottom:1em"&gt;&lt;img border="0" height="234" width="320" src="http://2.bp.blogspot.com/-bbBkDm42ACM/TV0xoU9FvRI/AAAAAAAAADo/to0UGTVqmoE/s320/NewFile1.png" /&gt;&lt;/a&gt;&lt;/div&gt;Adding a 68 Ohm resistor (which is the nearest equivalent of 2 x 120 Ohm terminators) results in the picture shown here at the right. As you can see the ringing is a lot less now. &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-O0-LPbxjeZQ/TV0yHgXFwWI/AAAAAAAAADw/eiAKmXu2onQ/s1600/NewFile2.png" imageanchor="1" style="clear:right; float:right; margin-left:1em; margin-bottom:1em"&gt;&lt;img border="0" height="234" width="320" src="http://3.bp.blogspot.com/-O0-LPbxjeZQ/TV0yHgXFwWI/AAAAAAAAADw/eiAKmXu2onQ/s320/NewFile2.png" /&gt;&lt;/a&gt;&lt;/div&gt;Then I added 40 m of Simnet cable:&lt;br /&gt;As was expected, this added a bit of capacitance to the cable: the rising flank of the pulses aren't straight up anymore, especially once the voltage reaches 2,5 V, and the ringing is back. I didn't expect that.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-nHR4vAVd7Ec/TV0yQlviF_I/AAAAAAAAAD4/Ls47UnUgpkg/s1600/NewFile3.png" imageanchor="1" style="clear:right; float:right; margin-left:1em; margin-bottom:1em"&gt;&lt;img border="0" height="234" width="320" src="http://4.bp.blogspot.com/-nHR4vAVd7Ec/TV0yQlviF_I/AAAAAAAAAD4/Ls47UnUgpkg/s320/NewFile3.png" /&gt;&lt;/a&gt;&lt;/div&gt;And finally I switched to a 39 Ohm terminator, which is what you end up when you install a 'Simnet Noise Filter' at the mast base which is what Simrad is telling me to do. We now get a bit of overshoot on the rising flank as well, and you can see the slower and reduced ringing because of the changed impedance.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-69LEaRHoHns/Tdq-mPaaOAI/AAAAAAAAAFs/zCaCSjAbsBQ/s1600/onboard_before_filter.png" imageanchor="1" style="clear:right; float:right; margin-left:1em; margin-bottom:1em"&gt;&lt;img border="0" height="234" width="320" src="http://3.bp.blogspot.com/-69LEaRHoHns/Tdq-mPaaOAI/AAAAAAAAAFs/zCaCSjAbsBQ/s320/onboard_before_filter.png" /&gt;&lt;/a&gt;&lt;/div&gt;Last weekend I finally had the chance to measure my own boat's onboard network, which has a what I'd call decent mid-level network with 13 active senders and about 60 m of cable. The added load of the devices and longer cable results in a cleaner waveform. Nothing really wrong here, but still there is a bit of overshoot on the rising signal.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-sD2AfY9H4Os/Tdq--EMwWFI/AAAAAAAAAF0/O5RRqihiGns/s1600/onboard_after_filter.png" imageanchor="1" style="clear:right; float:right; margin-left:1em; margin-bottom:1em"&gt;&lt;img border="0" height="234" width="320" src="http://1.bp.blogspot.com/-sD2AfY9H4Os/Tdq--EMwWFI/AAAAAAAAAF0/O5RRqihiGns/s320/onboard_after_filter.png" /&gt;&lt;/a&gt;&lt;/div&gt;The last image is of course with the filter installed. The effects seen in the test network were seen again. No overshoot or ringing; this is now completely gone. The rise and fall time is still completely acceptable.&lt;br /&gt;&lt;br /&gt;The noise filter also has as an added benefit that the network will work more reliably when the cable going up the mast to the wind sensor is removed, either because accidentally or on purpose. &lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Conclusion&lt;/h2&gt;The Simnet Noise Filter seems to work and improve the signal behavior of the two networks that I tested it on, and I intend to keep it installed. It is recommended for large(r) Simnet networks.&lt;br /&gt;&lt;br /&gt;It would be interesting to see the effect of such a network on other brands of NMEA 2000 cable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-8656981920215632195?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/8656981920215632195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2011/05/observing-electrical-behaviour-of-nmea.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/8656981920215632195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/8656981920215632195'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2011/05/observing-electrical-behaviour-of-nmea.html' title='Observing the electrical behaviour of a NMEA 2000 network'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-RDl8mHsiHHM/TV0vGhKHypI/AAAAAAAAADg/YxgdUVoS7JY/s72-c/NewFile0.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-7336552634829605326</id><published>2011-05-23T21:52:00.001+02:00</published><updated>2011-06-19T15:25:48.341+02:00</updated><title type='text'>Airmar DT800, DST800 and PB200 disappearing from the NMEA 2000 bus</title><content type='html'>Last year I had some issues on our own new boat with the NMEA 2000 network. Some devices, in particular the Airmar sensors, would suddenly drop off the bus as if they were no longer there. After about ten minutes or so they would magically reappear. Most often I would not be that patient and cycle the network power; this helped all the time, but was very annoying.&lt;br /&gt;&lt;br /&gt;The problem happened a few times a day for the DST-200 depth/speed sensor and about once a day for the PB-200 multifunction sensor. I thought it was interesting that only the two Airmar devices had this issue whereas the 10+ Simrad/Lowrance/Mastervolt/Actisense devices on that same network had no such issues. &lt;br /&gt;&lt;br /&gt;I can now report after 2 months of testing that this can be fixed by loading new firmware into the Airmar sensors. This can be done by downloading the Airmar Weathercaster software and then applying the firmware update through that. Note that this is the approved manner of doing this, even if you do not own a PB200 but only a depth/speed/temperature (DST800) or depth/temperature (DT800) sensor. I upgraded the DST800 to DST200_a1_1022 and the PB200 to PB200_a1_1611_a2_1611 after which the problems have been fixed. According to my friendly Simrad engineer, Airmar actually repaired the issue in software release 1021.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.airmartechnology.com/2009/about/download-software.php"&gt;Link to the Airmar download page&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-7336552634829605326?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/7336552634829605326/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2011/05/airmar-dt800-dst800-and-pb200.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/7336552634829605326'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/7336552634829605326'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2011/05/airmar-dt800-dst800-and-pb200.html' title='Airmar DT800, DST800 and PB200 disappearing from the NMEA 2000 bus'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-598395169291483475</id><published>2011-04-12T17:19:00.000+02:00</published><updated>2011-04-12T17:19:11.568+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ethernet'/><category scheme='http://www.blogger.com/atom/ns#' term='usb'/><category scheme='http://www.blogger.com/atom/ns#' term='navigation software'/><title type='text'>Options for a wireless navigation display</title><content type='html'>A few years ago I had the almost-perfect wireless display setup for accessing Microsoft Windows based navigation software.&lt;br /&gt;&lt;br /&gt;It consisted of a fixed X86 computer running Microsoft Windows XP and a Panasonic CF VDW07, or Windy, as they were affectionately known. They were completely portable, IP54 or better rated, and were really useful for use outside. In the image at the right it's me using one at sea:&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-RgJqEpAAVAA/TWloiIu6o2I/AAAAAAAAAEQ/RPRyl69oLns/s1600/windy.jpg" imageanchor="1" style="clear:right; float:right; margin-left:1em; margin-bottom:1em"&gt;&lt;img border="0" height="400" width="286" src="http://2.bp.blogspot.com/-RgJqEpAAVAA/TWloiIu6o2I/AAAAAAAAAEQ/RPRyl69oLns/s400/windy.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The Windy was really portable, made from magnesium, waterproof enough for outdoor use. On the not-so-good side, the display was somewhat difficult to read outdoors (I had the 'high brightness' version, as the transflective version was not longer available by the time I bought it.) It had a 800x600 display which was really the lowest resolution that is acceptable for a chart display, had the tendency to run down on the battery at inappropriate moments -- I soon learnt to recharge the battery before coming to a difficult part of a trip. &lt;br /&gt;&lt;br /&gt;The worst part of it is that it uses its own software for creating the remote desktop, and that this software is not compatible with Microsoft Windows versions beyond Windows XP/2003.&lt;br /&gt;&lt;br /&gt;So what alternatives are there? Surely five years later a better solution must exist?&lt;br /&gt;&lt;br /&gt;Let's examine a few of those.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Remote Displays&lt;/h3&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;div imageanchor="1" style="clear:right; float:left; margin-right:1em; margin-bottom:1em"&gt;&lt;img border="0" height="225" width="225" src="data:image/jpg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBg8QDxUPEBQPEBQQDw8PEBAUDw8QDw8QFBAVFRQQFBIXHSYeFxkjGRIUHy8gIycpLCwsFR4xNTAqNSYrLCkBCQoKDQwOGA8PFCkYFB01KSkpKTUpNSwpKSkpKTUqKSkpKSksLywpKSkpNSksKSkpKSkpKSkpKSkpKSksKSkpKf/AABEIAOEA4QMBIgACEQEDEQH/xAAbAAEBAAMBAQEAAAAAAAAAAAAABAMFBgIBB//EAEkQAAIBAwAFBgkJBQYHAQAAAAECAAMEEQUGEiExE0FRcYGhIjJSYZGSscHRFiMzQlNigqLCBxQkcpMVQ0RksuElNFRzg6PSF//EABkBAQEBAQEBAAAAAAAAAAAAAAADAgEFBP/EACgRAQEAAgEDAgUFAQAAAAAAAAABAgMRBDFRBUEhUnGB8BQiQmGhFf/aAAwDAQACEQMRAD8A/cYiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAia+rp63Vtkv08Fdhu84GDPPyhtvL/ACVPhA2UTW/KG1+0Hqv8J9+UFr9ovob4QNjE13ygtftU7/hPX9u23HlE74F8SH+3Lb7VPTPo01bfa0vXEC2JINL2/wBrS9dZ6Gk6H2lL+ovxgUxJ/wC0KP2lP11+M+i+peXT9dYGeJh/e6flp6yz2KyngV9Ige4nnbHSPSJ92h5oH2IiAiIgIiICIiAiIgIiICYrnxT3zLMF34vbA11W33qVVSQeBOyCpGCM4PmPZPlSl9xf6g+EzEzQprZakDlRVpMVDFWRjsqRlWJA4EYP4h0zg2DIfJH9RJ42T5H5qfxkQ1jsCM8oejxK2eGeGz0b+w9Ers69vWp8ojEruBJBGDu3cN/HG7IzA97J8gk/zU/jMtOgAOY85mDNv9ou8Bh4QG48DvmWnaU2GVbI6QQRAymkvQIFFDzD0TwLBekzMlMCB4Nsnkj0TybSn5I9EzGfDAxro+mfqr6BPLaNTyV9UTLtnmmNxU8rvgYv3Kn5C+qJHQpUVHJsFBQ7G9cZA8VvPlSvbmXbFTyu+Nir5XfAnCUPuekT7yVHpQfiA98zFavT7IxU835YGJaFLmK9j/7z2tBOk/1G+M+gVOhfQs9KrHmX1RAxvTUDi2/cBttknmA3z6bUc7VAeOVqOCOrfPGkqRFJmUeEFYjZA2ydknCndvJwOI4yRtpVpDacsXVahFRt3gsSWyTgbsHzkb98Db217Vo1BTqtylNtnYqkAOM8NrHHrm6nLawbRFNUBJ2QN2OcjpnULwnR9iIgIiICIiAk14dw65TJL48IHP633LU9HXLqSrC2qhGBIZWZdlSDxBywnPHQdMDG1cbgBn97ut+7+ebrXb/kHT7SpbUvXuaa++Yqq75fTJeeYnnbOzStosDhUuRx/wATWPHj4xM8ihUUFVr3KgnJAqjBO7eRjedw9AmzdZPUWfXNeHyxG5ZeUFRq/wD1Fc/zC3fq8an5op6TvEGylw4Gc45G1Iz0+JM7rJ3WbmnXf4s3Zn5Dp/SA/wAQD121ufYBHyr0iP7yg3XbfBxJ3WYHWanTar/Fm7c/K35aaQHPaH/wVR7Kk+jX2+HGnZt/XX3map1mB1mv0mnx/rN37PLef/ot0ONvbnqr1R+iB+0yuONrTPVdN76U51lmF1j9Fqvli9Vsnh1Q/akRxtH7Lmmfaonpf2s0/rWtyOqpbt7WE4t1k1VJuen6b738+yOXXbce0n593Z6V/aRRrBQqXtEqSTjYGd27elUZGeYyGlryo/v79fOaT1MeLvxyhzwPHp6yeSInkx/y9fzVOeqbPljuBr0p/wAVWGSSNqhXXALEgeCpzgEDz45ufsdW9LG5s9um/KuA6FyrqDVCjmdRuyQeGN+N+J+KT9c/ZrSxo9T5VWqw6toDP5Z8fVdHjoxmUy5+PD7el6zLflcbjx7trc/vK2dUjlOUCuU8TlgmBk+ASNvG2Rgn6vPOK1FDm9JpZ2Crmud5UrsnZ2jnwm2tnBO/j55+g6T0itvSas5IVOJAySTuCqOdieAnJ2f7SE5TZqUnp0yd9UVFcr99qYUbhz4JI88856LeayNm7tEBYfPq24kHwaNVgpxzE4nYCc9pNaKvTu6xVadIF2qHgmEILdWDx650FNwwDDeDvBhx6iInQiIgIiICQ3x3jql0197xz0CBzmtu+lRTy76zHYtXbPch9E+us86xb6tov+bZ+xLWsfaRM7rPo09qlsROsndZa6yd1n1ypWIaiyd1lzrJ6iykqdiJ0k7rLXWYHWVlYsROswOssdZgdZSVOxG6zC6yt1mF1lJU7EbrMFRJY6zA6ykr588UFVJhMtqJJXWXxvL4c8eKx4n7JqHSK6Oo551duxqjY7sT8cn63ZaaWysLXbRm2qCnCsilQFVt+0fvd08r1S/txj0/S5zllVuuthUq2TCmC5p1BVZBksU2SpKgbyRnOB0GfmVlTNVjSo4rVWDItNTnBYFdpyNyoMkkndun6fpjWTkrVLlEy1ZVamrMVC7SbXhFc56hxJG8cZ91W00bymXZBTdamxU2SxQnAIZc7xuPA8McTPEe68axEUNGGgW225HkFPO7mmKYx1swHbOn0PTK0EU78LjPSOYznl0Wtze5qbWxQ8NEBGwWB2d445Gd3N4WeIGOsUYGOiHH2IidCIiAiIgJq9MPhRjncCbSajSx8QecnvUe+BotKb721XyUvah7Epp7XlrrIqvhaSX7lhVPa9xTH6D6JsnWX1dk8kTrJ3SXOsndZ9EqaF1k7rLqiSeosrKxYhdZO6y51k1RJWVOonWYHWWusndZSVixG6zA6yx1mB1lZU7EjrMDrK3WYXWblSyiN1k1RJc6zA6yuNfLnjygYT9xsbqlTpUqTsoYUqSlSD43Jru4T8VNPJAAzkgY6cnhP3laAI3gHGBvAPDrnl+p5c3CfV93pmPEz+zQa26RtRbKKqGutQ7VNUYIRs4G2Kh8UDaxz52uHGV6oG2NBDbKUQlywY5cVAPC2zk5O4b+GMTzrBq4l2iqWak1Mko6gHAOMqV5xuHR7c16C0WlrTFGmWIVXYsfGZjxY83Rw5gJ5D10Wq9QtpK7OTgJbrs5OODnax+IDsnYzkdB6RtaFZ+VajResyKhd0U1mxjZGcZbhu39864RAiInQiIgIiIHxuE02kvpEHm/Vn9M3FTgeqaW+Oaw8wHsb4wNTZgnSNc8yWlova1Wu3um0dZrtCb7u8boe0pj8NsGx/7O+bZ1lsOzFSOsndZa6zA6y0rFiF1k7rLqiSeospKwidJM6y51k7pLSsWIXWTusudJO6ykqdiJ1mB1ljpMDrKSsWI3WYXWVuswOsrE7EjrMDrLHWYHWblRyjHYU816Q45rUR6agE/blrbsecz8f1fp5vaAxn59O45z3T9bWeR6hedkn9Pv6LHjC/VmYdMwu2A3mpt7pmqblU9O0O+TXJ+ac/dC+kzz33PzXXTVO9vij2tNqvImrtbNWlTYOwXYxtkZ3rzT9gsA4pIKuNvk05THDb2Rtd+ZrNVU+aZt/hVTv6QAPfmbuAiInQiIgIiIHiqd3o9s0Vy3zx8w/Svxm7rndNC5zVfrI7wP0wJtVxk3bdOkKq9iUaKfpM3DrNXqdvtWf7S8v36/4uooPoUTcMs3j2ZqR1mB1ljrMDrLSs1G6zA6y11k7rKSsWInWTOsudZO6ysrFQuswOstqJJ3WVlYsROsndZbUWTuspKnYjdZgdZY6zA6ysrFiN1mF1lbLMDrNxKxdqjTzfUvNyh6sUn3+yfpwn57qQn8Z1Uap6t6DPf3z9DE8brLztv2ej0041xlueCD7ufTIr76EjynUS274gdCia3TFTYoA/fLegf7T5H0NzoVAKCAbh4WBwAG0ZdNXqzectZ0auNnbpI2znOMrnjgdPQJtJ0IiICIiAiIgYbk7u2c+j+Gx+93bbTe3j4A65y9W42KNWp5FOo/q0yYFupK/wDDbdvLptV6+UqM+fzTcMJHqvQ2LC1TybS2HbyK5l7CanZypmWYXWVMJhdZSVlI6zC6yt1mB1lJWbEbrJ3WXOkndZSVioaiyeokudZPUSVlZsQusndZa6zA6ysqdiF1mB1lrrJ3WUlTsRuswOssdZgdZWVOxvNQ6Y5eoecUVHUDUH/zO4E5DUNBmsef5kdnhmdlTG8dY9s8TqbztyejpnGEervxz+Ed002sdEvRFMYyy1cZJAzskDOMzcXB8M9c1uk9701+4e/dIKtxoOyNC2pUjglKaKSOBwoHul8+AT7OhERAREQERECDSrYA7ZyWn2KaOuT/AJa4x1mmQPbOr0r9Xtmn0no1big9BiVWqhQlcbS8+RnI9MDoraiEpqg4IioPwgD3T0wnPrdX68KltW3/AF6FSkxH86OR+Wexp+5X6S12hnjRuab7unZqinHI3DCYmWa75VUB9KtzQ34+ctq2z/UQMnbmZ7bTVrV3Uq9CoeGFq0y2ejZzmbljljI6zA6yt065hZZSVlG6zA6yx1mF1lJWLELrMFRJa6yd1lZWENRJO6y6okndZWVixC6yd1lzrJ6iykrFROsndZa6zBUWVlTsdJqOg5Kqec1gD+GmpH+qdVbDwh1zndT0AtiRz1quesYX9M6S0HhjtPdPE23nPK/3Xo4fDGMdU7z1n2zV6SpB7mmpAOGpY3cDniJsjIcbV6vmYflXPumGnTxPgn2AiIgIiICIiBoNN3Doc42gOI+E1tPTtE7iSp84M6m5tA4wZpbnVlG5p0eKN7TbxWU9omfvmpraqY4fCTNoi4p+IzjtnOBv+qT3VjSqjFWnTqD76JU/1AzTi6u044brX3iZU1hcePSPYfjHAoGr1Bfo+Vob8/M169EeqjBe6ff3C5X6O7rceFalb116shUb80UtYKB4lk6198rpXtJ/FdD2j2R2EJq6RXmsq+/mNe2bHURUGe2Y30zWX6W0uhvxmk1C5XrwrBvyzcY849sYnZnlPdziNC+s9oN1R2oHOMV6Va339dRQO+U0bmnVGab06g6UdXH5SZtPN3c0111q7Z1TmpQt2JOdrkkD56dtQD3yk3WezNwjFUWTusytqrRH0dS7o/yXVVlHUlXbXumJ9AXQ8S6DdArWtNvzUmT2SuO+e8YuupqizA6yipYaQXjStq3/AG7h6TH8NRMfmkdatWTPKW12mOcUlrr6aLN7JfHfh5TuvLwx1Ek7rPraXt87JqIjeTUzRb1agBmTAO8YI6Qcj0ifTjlL2qOWNjqNWFAtEx9Y1W7TVeb21O8+ZWmo0CgFrRA+xRvWXa/VNnSfAbzqRPFt5vL748rzDziR2x/itroNQ+6V0uI65q6FbFUnzsB62YjrqaVSZQZrbWvmXo0DJERAREQEREBERA+Ynk0VPNPcQJnsUPMJLV0JTPMJs4gc/X1ZQ8011fVTonYz5id5HCNoSuniM47TPgr3icTtda++d0aQMxvZoeYQOMXT9VfHp56jKKesVE+MHXrG6dDV0PTPMJFW1bQ80fATUtJUW8V16s4lAYdI9IkFxqoOaRNq/VTxWYdRM5wN7GJoP4tPrFusZn1dNV13OgPUcGOBvaqKw2XAYHcVYBgR1GauvqpYOSTb0VJ+si8i3rU9kzwmsKfWVl7MiVUtMUW4MPYZzgXU6YVQqgAKAqgcAoGAB2CeiZhS4U8CD2ie9qBlp8c+YnunM1rjZcefaPfOjZwFZjzAqOs805c25q1crwACg9PSfSZ2Df6PuMze2+ZrNF6MKjfN0iYnaPURE4EREBERAREQEREBERAREQEREBERAYnk0xPUQMLWqnmEnqaKpnmEuiBpqurlM9EjranKeBXv+E6WJ3kci2pTjxXVe1x7p6TVm8Xxaydu0f0zrInBy7as3L45WqhA+qNoD0Ym3sdDrTGN02MQPgXE+xEBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQP/2Q==" /&gt;&lt;/div&gt;&lt;/div&gt;The obvious successor of the Windy is the Panasonic CF08 which was released in 2007. It uses a slightly bigger screen (10.4"), has more ports (bad, more chance of water ingress), better resolution (XGA -- 1024 x 768) and uses Microsoft's Remote Display Protocol, making it compatible with any Windows version. This is even more expensive than the Windy was though, I think it was about $2000. It is no longer being made, as far as I know.&lt;br /&gt;&lt;br /&gt;I tried other wireless displays such as those offered by Philips and Viewsonic, but the ones that I tested were not suited for marine usage. It does look as if these devices are fading from the manufacturers minds, with the market being too small.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Portable computer (tablet)&lt;/h3&gt;&lt;br /&gt;Instead of just remoting the display you could also use a wireless computer, i.e. a tablet. There are a number of rugged solutions such as the &lt;a href="http://www.xploretech.com/ProductsSubPages/ix104c4series.html"&gt;XPLORE iX104&lt;/a&gt;, but that again is quite expensive; the online prices that I found started above € 2000 but climbed rapidly to € 4000!&lt;br /&gt;&lt;br /&gt;So how about one of those iPad style devices, but still running Microsoft Windows? The slates coming out in 2011 as alternatives to the iPad are much friendlier priced. A string of these have been &lt;a href="http://www.engadget.com/features/tablets-at-ces-2011/"&gt;announced at CES 2011&lt;/a&gt;, but none are available yet.&lt;br /&gt;&lt;br /&gt;As our new boat has a doghouse where we can use the device the waterproof aspect has become a lot less important; we're using our iPad to good effect inside. Using it inside also solves the fact that LCD displays just aren't good enough outside, unless you power them with huge backlights or use transflective displays that ruin the color fidelity.&lt;br /&gt;&lt;br /&gt;The "portable" aspect of these computers would allow occasional use outside in benign conditions, and being able to use them from the port bench when my daughter is asleep on the starboard one (which is where the current fixed computer screen is located.) What I don't know at this stage is how robust these Windows tablets are going to be, and whether they need ventilation. Since anything with vents will be ruined in a few days in a salt water environment, that would rule them out completely.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Remote USB devices&lt;/h3&gt;It used to be that using a completely wireless computer was not feasible since you needed USB or serial connections for the navigation data, but as the readers of this blog may now I've cracked the navigation data problem, and I also found a solution for remoting other USB devices, which is the &lt;a href="http://www.eltima.com/products/usb-over-ethernet/"&gt;Eltima USB over Ethernet&lt;/a&gt; software. This allows you to keep stuff like those pesky license dongles plugged in to a different computer.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Using an iPad or Android tablet&lt;/h3&gt;&lt;br /&gt;Since we've already &lt;i&gt;got&lt;/i&gt; an iPad, why aren't we using this for the remote display? Good question! A tablet is pretty good at running apps like &lt;a href="http://itunes.apple.com/app/inavx-marine-navigation/id286616280?mt=8"&gt;iNavX&lt;/a&gt;, &lt;a href="http://itunes.apple.com/app/ayetides/id287316432?mt=8"&gt;AyeTides&lt;/a&gt; and my home-built remote control web application.&lt;br /&gt;&lt;br /&gt;Unfortunately, the display is very hard to see in direct sunlight and the box is not water resistent, needing an extra (cumbersome) case.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Conclusions&lt;/h3&gt;&lt;br /&gt;Five years on, and still the ultimate navigation display doesn't exist -- unless you have a better solution? Let me know what you think!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-598395169291483475?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/598395169291483475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2011/04/options-for-wireless-navigation-display.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/598395169291483475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/598395169291483475'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2011/04/options-for-wireless-navigation-display.html' title='Options for a wireless navigation display'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-RgJqEpAAVAA/TWloiIu6o2I/AAAAAAAAAEQ/RPRyl69oLns/s72-c/windy.jpg' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-7664416489513188540</id><published>2011-03-10T17:28:00.000+01:00</published><updated>2011-03-10T17:28:39.649+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ipod touch'/><category scheme='http://www.blogger.com/atom/ns#' term='ios'/><category scheme='http://www.blogger.com/atom/ns#' term='iphone'/><category scheme='http://www.blogger.com/atom/ns#' term='ipad'/><title type='text'>Keeping an electronic library of on-board documentation</title><content type='html'>One of the great uses for using a tablet is for reading documentation. I've currently got 7 binders full of documentation on board. Most, if not all, of that material is available online. &lt;br /&gt;At the moment I've got 204 PDF manuals relevant to things that I use on board available on my iPad.&lt;br /&gt;&lt;br /&gt;I am using Dropbox to accomplish that. If you haven't experienced Dropbox you are missing out. They have clients for Windows, Linux, OS X, Android and iOS, so it is more than likely that all your devices are covered. Once you install it on at least two of them it is super easy to sync files between your connected devices. The free service covers 2 GB, which is plenty for personal documents, and you get more if you refer others. &lt;br /&gt;&lt;br /&gt;The way that Dropbox is works is that it uploads anything that you put into your personal dropbox folder to the cloud (Amazon S3, to be precise). That means your files are backed up as well! Your devices then sync to the cloud; this means there are no nasty firewalls to set up or anything like that, and that these files are "always available". Very cool...&lt;br /&gt;&lt;br /&gt;If you are interested please &lt;a href="http://db.tt/9U1X5DE"&gt;click here&lt;/a&gt; to install it; this will give me an extra 250 MB of storage.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-7664416489513188540?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/7664416489513188540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2011/03/keeping-electronic-library-of-on-board.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/7664416489513188540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/7664416489513188540'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2011/03/keeping-electronic-library-of-on-board.html' title='Keeping an electronic library of on-board documentation'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-391110368734528613</id><published>2011-02-26T21:22:00.000+01:00</published><updated>2011-02-26T21:22:59.522+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ethernet'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 0183hs'/><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Chetco SeaSmart</title><content type='html'>Panbo has an &lt;a href="http://www.panbo.com/archives/2011/02/chetco_seasmartnet_modules_wide_open_n2k-to-ethernet.html"&gt;item&lt;/a&gt; on the new &lt;a href="http://www.seasmart.net/"&gt;Chetco SeaSmart&lt;/a&gt; Serial, Wifi and Ethernet devices.&lt;br /&gt;&lt;br /&gt;These seem to be nicely wrapped-up versions of the N2K to Ethernet bridge that has been talked about and that I've been writing myself for my own use. &lt;br /&gt;&lt;br /&gt;At the moment the specifications on the protocol are still quite vague, and contain strange terminology (as Jeff Siegel pointed out on Panbo) where they talk about "HTTP Header" that looks like a reference to a NMEA 0183 style message  (&lt;code&gt;$Pxxxxx&lt;/code&gt;).&lt;br /&gt;&lt;br /&gt;Whatever their protocol is going to be, it looks interesting enough to add such a protocol to my &lt;a href="http://yachtelectronics.blogspot.com/2010/12/simple-forwarder-for-ais-and-nmea-0183.html"&gt;NMEA0183 forwarder&lt;/a&gt; and integrate it with my &lt;a href="http://www.keversoft.com/Keversoft/Packetlogger.html"&gt;NMEA2000 packetlogger&lt;/a&gt; application.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-391110368734528613?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/391110368734528613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2011/02/chetco-seasmart.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/391110368734528613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/391110368734528613'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2011/02/chetco-seasmart.html' title='Chetco SeaSmart'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-8558320244831605139</id><published>2011-02-25T11:19:00.001+01:00</published><updated>2012-01-24T10:31:54.784+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='digital yacht'/><category scheme='http://www.blogger.com/atom/ns#' term='raymarine'/><category scheme='http://www.blogger.com/atom/ns#' term='ais'/><category scheme='http://www.blogger.com/atom/ns#' term='true heading'/><category scheme='http://www.blogger.com/atom/ns#' term='navico'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 0183hs'/><title type='text'>SRT proprietary AIS commands</title><content type='html'>My Navico NAIS-300, like most other commercial AIS class B products that have been available for a while, uses the &lt;a href="http://www.srt-marine.com/"&gt;SRT&lt;/a&gt; AIS class B OEM board. I know the same board is used in the Raymarine 500, True Heading AIS-CTRX, Transas, Digital Yacht AIT250/1000, and many more. The tell-tale seems to be that the AIS transponder comes with &lt;i&gt;Pro AIS&lt;/i&gt; software. I have hooked up a serial data logger so that I could find out what NMEA-0183 commands the Pro AIS software sends to the transponder. Unfortunately neither SRT nor any of the vendors publish the protocol.&lt;br /&gt;&lt;br /&gt;My research into this started because I wanted to control my AIS transponder's transmit setting using software. For some reason there are many functions that you can assign to the &lt;i&gt;remote button&lt;/i&gt; input, but not a reliable level-style on/off of the transmit functionality. This has been added to recent firmware versions, but mine contains older firmware. However, an hour's worth of analysis shows that controlling the transmitter is actually quite easy. In fact, almost everything that you can set up using Pro AIS is easy as pie to implement.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Basics&lt;/h3&gt;&lt;br /&gt;The SRT product, logically, uses the 'P' prefix to indicate Proprietary, followed by SRT. Here is an example of a PSRT message:&lt;br /&gt;&lt;pre&gt;$PSRT,LED,01*49&lt;br /&gt;&lt;/pre&gt;Just like all other sentences I document on this page the shown message format is inclusive of the NMEA style checksum bytes at the end of the line, e.g. &lt;code&gt;*49&lt;/code&gt; in the message above.&lt;br /&gt;&lt;br /&gt;For some reason some sentences start with a prefix &lt;code&gt;$DUAIQ&lt;/code&gt;. I have no theory as to why this is so, maybe the data is intercepted by a different microcontroller. &lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Authorization&lt;/h3&gt;Some sentences require the passing of a password. Luckily, the protocol to do this is very simple -- just send the following sentence before every &lt;i&gt;authorized&lt;/i&gt; message:&lt;br /&gt;&lt;pre&gt;$PSRT,012,,,(--QuaRk--)*4B&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;Silent mode&lt;/h3&gt;To make the AIS silent (not transmit its own position) send the following authorized (prefix with the command above) sentence:&lt;br /&gt;&lt;pre&gt;$PSRT,TRG,02,33*6A&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;To make the AIS transmit its own position send the following authorized sentence:&lt;br /&gt;&lt;pre&gt;$PSRT,TRG,02,00*6A&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;Alarm mode&lt;/h3&gt;To make the AIS output all alarms every minute send the following authorized sentence:&lt;br /&gt;&lt;pre&gt;$PSRT,ALM,0000*45&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;To make the AIS output only the active alarms send the following authorized sentence:&lt;br /&gt;&lt;pre&gt;$PSRT,ALM,0001*44&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;GPS update speed&lt;/h3&gt;To make the AIS output GPS data every second send the following authorized sentence:&lt;br /&gt;&lt;pre&gt;$PSRT,GER,01*54&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;To make the AIS output GPS data every four seconds send the following authorized sentence:&lt;br /&gt;&lt;pre&gt;$PSRT,GER,00*55&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;GPS data&lt;/h3&gt;&lt;br /&gt;The SRT board has a complete GPS on-board. For some reason it only sends out two GPS sentences: RMC and GBS. See the &lt;a href="http://gpsd.berlios.de/NMEA.txt"&gt;GPSD source&lt;/a&gt; for more information on these sentences (as well as those below.)&lt;br /&gt;&lt;br /&gt;To get the GPS to send out more GPS sentences send the following authorized sentence:&lt;br /&gt;&lt;pre&gt;$PSRT,GPSDATA,,,1*60&lt;br /&gt;&lt;/pre&gt;This will cause the board to send out VTG, GGA, GSV, GLL and ZDA sentences as well as RMC and GBS. My particular board has a small bug in that it also starts sending out two copies each of the RMC and the GBS commands.&lt;br /&gt;&lt;br /&gt;To get it to stop sending the additional GPS messages, send the following authorized command:&lt;br /&gt;&lt;pre&gt;$PSRT,GPSDATA,,,0*61&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Interrogating the board&lt;/h3&gt;There is a whole stack of sentences that can be used to read out system information. These are&lt;br /&gt;&lt;br /&gt;&lt;b&gt;LED status&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;Send: $DUAIQ,LED*29&lt;br /&gt;Recv: $PSRT,LED,a*hh&lt;br /&gt;a bit 1: Power On&lt;br /&gt;a bit 2: TX timeout&lt;br /&gt;a bit 3: Error&lt;br /&gt;a bit 4: SRM status&lt;br /&gt;hh: checksum&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Internal data&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;Send: $DUAIQ,ADC*22&lt;br /&gt;Recv: $PSRT,ADC,a,b,c,d,e,f,g*hh&lt;br /&gt;a: Tx forward power&lt;br /&gt;b: Tx reverse power&lt;br /&gt;c: RSSI Rx 1&lt;br /&gt;d: RSSI Rx 2&lt;br /&gt;e: Internal 3V3 supply&lt;br /&gt;f: Internal 6V supply&lt;br /&gt;g: Supply voltage&lt;br /&gt;hh: Checksum&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Boat data&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;Send: $DUAIQ,SSD*20&lt;br /&gt;Recv: $AISSD,a,b,c,d,e,f,g,h*hh&lt;br /&gt;a: Callsign, 8 bytes fixed length; @ for unused bytes&lt;br /&gt;b: Ship's name,20 bytes fixed length; @ for unused bytes&lt;br /&gt;c: GPS antenna distance from bow, in m&lt;br /&gt;d: GPS antenna distance from stern, in m&lt;br /&gt;e: GPS antenna distance from port side, in m&lt;br /&gt;f: GPS antenna distance from SB side, in m&lt;br /&gt;g: ?&lt;br /&gt;h: ?&lt;br /&gt;hh: Checksum&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;MMSI&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;Send: $DUAIQ,010*55&lt;br /&gt;Recv: $PSRT,010,,,c*hh&lt;br /&gt;a: ?&lt;br /&gt;b: ?&lt;br /&gt;c: MMSI&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;OEM name&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;Send: $DUAIQ,SRM*28&lt;br /&gt;Recv: $PSRT,SRM,a,b,c*hh&lt;br /&gt;a: ?&lt;br /&gt;b: ?&lt;br /&gt;c: OEM name used in AIS messages, 7 bytes fixed length; unused bytes are filled with @.&lt;br /&gt;hh: Checksum&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Vessel type&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;Send: $DUAIQ,VSD*25&lt;br /&gt;Recv: $AIVSD,a,b,c,d,e,f,g,h*hh&lt;br /&gt;a: vessel type. 36 = Sailing vessel, 37 = Pleasure craft&lt;br /&gt;b: ?, always 00.0&lt;br /&gt;c: ?, always 0000&lt;br /&gt;d: ?, always @@@@@@@@@@@@@@@@@@@&lt;br /&gt;e: ?, always 000000&lt;br /&gt;f: ?, always 00&lt;br /&gt;g: ?, always 00&lt;br /&gt;h: ?, always 00&lt;br /&gt;i: ?, always 00&lt;br /&gt;hh: Checksum&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Software version&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;Send: $DUAIQ,SWF*26&lt;br /&gt;Recv: $PSRT,SWF,a,b*hh&lt;br /&gt;a: AIS software version&lt;br /&gt;b: FPGA version&lt;br /&gt;hh: Checksum&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Transponder Serial Number&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;Send: $DUAIQ,SNO*36&lt;br /&gt;Recv: $PSRT,SNO,a*hh&lt;br /&gt;a: Serial number in ASCII, 10 digits. Usually all 0.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;Reset Data Programming&lt;/h3&gt;The following command can be used to reset the AIS back to its factory settings, inclusive of the MMSI number, so that it can be reprogrammed, for instance when you want to sell your AIS transceiver.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;$PSRT,RDP*6F&lt;/pre&gt;&lt;br /&gt;I have received numerous reports from people who tell me that this works fine, over a range of devices. Just make sure your AIS came with ProAIS and you should be OK.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-8558320244831605139?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/8558320244831605139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2011/02/srt-proprietary-ais-commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/8558320244831605139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/8558320244831605139'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2011/02/srt-proprietary-ais-commands.html' title='SRT proprietary AIS commands'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-408489804735949518</id><published>2011-02-19T16:57:00.001+01:00</published><updated>2011-02-19T17:02:10.285+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='maretron'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>NMEA 2000 connector pinout - Smart!</title><content type='html'>Today my attention fell to this diagram in a NMEA 2000 device manual from Maretron:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-hWjZmf6CQsY/TV_c4KmzgPI/AAAAAAAAAEI/ViNQwaJN1q0/s1600/Screen%2Bshot%2B2011-02-19%2Bat%2B16.07.49.png" imageanchor="1" style=""&gt;&lt;img border="0" height="239" width="400" src="http://1.bp.blogspot.com/-hWjZmf6CQsY/TV_c4KmzgPI/AAAAAAAAAEI/ViNQwaJN1q0/s400/Screen%2Bshot%2B2011-02-19%2Bat%2B16.07.49.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;As you can see the pin-out is:&lt;br /&gt;&lt;br /&gt;&lt;table class='bordered'&gt;&lt;tr&gt;&lt;td&gt;Pin 1&lt;/td&gt;&lt;td&gt;Shield&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;Shield&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Pin 2&lt;/td&gt;&lt;td&gt;Red&lt;/td&gt;&lt;td&gt;NET-S&lt;/td&gt;&lt;td&gt;+12V&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Pin 3&lt;/td&gt;&lt;td&gt;Black&lt;/td&gt;&lt;td&gt;NET-C&lt;/td&gt;&lt;td&gt;0V&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Pin 4&lt;/td&gt;&lt;td&gt;White&lt;/td&gt;&lt;td&gt;NET-H&lt;/td&gt;&lt;td&gt;CAN-H (data high)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Pin 5&lt;/td&gt;&lt;td&gt;Blue&lt;/td&gt;&lt;td&gt;NET-L&lt;/td&gt;&lt;td&gt;CAN-L (data low)&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;I noticed that the center pin is not carrying ground or even shield, which I naively thought would be the case. In fact the designers of this pin-out were a lot smarter! As this is a circular connector, a dumb user could theoretically try to push two connectors together whilst forcing a wrong orientation. That would force power down the wrong wires.&lt;br /&gt;&lt;br /&gt;Let's see what happens if you rotate the connectors:&lt;br /&gt;&lt;table class='bordered'&gt;&lt;thead&gt;&lt;tr&gt;&lt;td&gt;Female&lt;/td&gt;&lt;td&gt;Male 90&amp;deg; &lt;/td&gt;&lt;td&gt;Male 180&amp;deg; &lt;/td&gt;&lt;td&gt;Male 270&amp;deg; &lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt; &lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Shield&lt;/td&gt;&lt;td&gt;+12V&lt;/td&gt;        &lt;td&gt;0V&lt;/td&gt;           &lt;td&gt;CAN-H&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;+12V&lt;/td&gt;  &lt;td&gt;0V&lt;/td&gt;          &lt;td&gt;CAN-H&gt;&lt;/td&gt;       &lt;td&gt;Shield&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;0V&lt;/td&gt;    &lt;td&gt;CAN-H&lt;/td&gt;       &lt;td&gt;Shield&lt;/td&gt;       &lt;td&gt;+12V&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;CAN-H&lt;/td&gt; &lt;td&gt;Shield&lt;/td&gt;      &lt;td&gt;+12V&lt;/td&gt;         &lt;td&gt;0V&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt; &lt;/table&gt;The chosen layout ensures that you never wire up +12V or -12V to the two data connections, as at no point is CAN-L involved.&lt;br /&gt;&lt;br /&gt;If the wiring is such that Shield is connected to common (0V) then the fuse will blow in the 90&amp;deg; orientation; it will always blow in the 270&amp;deg; case and nothing bad should happen in the 180&amp;deg; case.&lt;br /&gt;&lt;br /&gt;Cool!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-408489804735949518?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/408489804735949518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2011/02/nmea-2000-connector-pinout-smart.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/408489804735949518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/408489804735949518'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2011/02/nmea-2000-connector-pinout-smart.html' title='NMEA 2000 connector pinout - Smart!'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-hWjZmf6CQsY/TV_c4KmzgPI/AAAAAAAAAEI/ViNQwaJN1q0/s72-c/Screen%2Bshot%2B2011-02-19%2Bat%2B16.07.49.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-1894448153485536802</id><published>2011-02-17T17:27:00.001+01:00</published><updated>2011-02-17T17:28:23.756+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='simnet'/><category scheme='http://www.blogger.com/atom/ns#' term='simrad'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Simnet Noise Filter</title><content type='html'>Recently I became aware of the fact that (a) Simrad has switched to a new specification for their Simnet cabling and (b) that there is a "Simrad Noise Filter" that they recommend for installation in sailing boats.&lt;br /&gt;&lt;br /&gt;As you can see here in an &lt;a href="http://www.panbo.com/archives/2008/02/n2k_cable_mixing_not_a_big_woop.html"&gt;report from Ben @ Panbo on N2K cable mixing&lt;/a&gt;, Simnet cables used to contain a yellow/blue pair for the data wires. Apparently this type of cable caused issues as the impedance of a long stretch was not according to NMEA specifications. This naturally ends up giving problems when you have a IS 20 wind instrument at the other end of a 20m cable. In my case it's even worse as I had to order a 30m cable as my mast is 25m tall.&lt;br /&gt;&lt;br /&gt;I've been told that Simrad has switched to a different cable that has white/blue data wires which has better characteristics. To 'fix' existing installations Simrad has also produced a "Simnet Noise Filter", P/N 24006934. The &lt;a href="http://cs.simradyachting.com/Index.aspx?PageID=92&amp;FilesGallery=Download,3450"&gt;Simrad NSE documentation&lt;/a&gt; states on PDF page 32:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;For a large systems or sailboats with a mast head wind sensor and long mast cable, it is recommended to use a SimNet noise filter (24006934). On sail boats the filter should be inserted at the mast junction. On larger systems without a mast head unit, the filter should be inserted centrally along the backbone.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-hX9O7Lo9Wlk/TV1KAXXRByI/AAAAAAAAAEA/b5RuQ9lcBQU/s1600/SimnetNoise.png" imageanchor="1" style=""&gt;&lt;img border="0" height="400" width="289" src="http://2.bp.blogspot.com/-hX9O7Lo9Wlk/TV1KAXXRByI/AAAAAAAAAEA/b5RuQ9lcBQU/s400/SimnetNoise.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The original 2006 era SimNet installation manual contains no reference to this. Probably these issues have become more prevalent with larger networks being deployed.&lt;br /&gt;&lt;br /&gt;I've ordered such a noise filter. I've been told it contains a 120 Ohm termination resistor as well as a 220 &amp;#x03BC;F capacitor to damp out supply issues. Once it gets delivered I'll report on what it contains and the effects on my network.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-1894448153485536802?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/1894448153485536802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2011/02/simnet-noise-filter.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/1894448153485536802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/1894448153485536802'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2011/02/simnet-noise-filter.html' title='Simnet Noise Filter'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-hX9O7Lo9Wlk/TV1KAXXRByI/AAAAAAAAAEA/b5RuQ9lcBQU/s72-c/SimnetNoise.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-3694105176196077297</id><published>2010-12-31T22:46:00.000+01:00</published><updated>2010-12-31T22:46:16.803+01:00</updated><title type='text'>A simple forwarder for AIS and NMEA 0183 data over TCP/IP</title><content type='html'>I've recently moved the NMEA 0183 HS serial port from my Windows PC input to the central Linux micro computer, and written a small script that retransmits the serial data out over TCP/IP.&lt;br /&gt;&lt;br /&gt;This has a number of advantages in my particular install:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;It allows me to &lt;i&gt;log&lt;/i&gt; the AIS data stream.&lt;/li&gt;&lt;li&gt;It allows me to view the AIS on both &lt;a href="http://www.tasmanbaynav.co.nz/"&gt;Expedition&lt;/a&gt; and &lt;a href="http://www.nobeltec.com"&gt;Nobeltec&lt;/a&gt; software at the same time.&lt;/li&gt;&lt;li&gt;It allows me to simultaneously access the AIS stream from my iPad. I've tested it with Digital Yacht's &lt;a href="http://www.itunes.com/app/iAIS"&gt;iAIS&lt;/a&gt; app, but it should work with other apps running on the iPad.&lt;/li&gt;&lt;/ul&gt;So instead of being able to use the AIS data only on a single Windows application I can now use it on all navigation hardware access that I have on the boat. Quite an achievement for moving one plug and writing a little bit of PHP code. &lt;br /&gt;&lt;br /&gt;The code really is very simple - it reads an entire line from the serial, detects any new clients and then forwards it to all TCP clients that have connected to it. Then loop. As a bonus it will cache the last received 200 AIS messages and send those immediately to any client that connects. This in the hope that this contains a number of VDM type 5 and 24 messages so that the client can show static AIS data immediately.&lt;br /&gt;&lt;br /&gt;You can download the &lt;a href="http://www.keversoft.com/downloads/nmea_to_tcp"&gt;nmea_to_tcp script here&lt;/a&gt;. I'm releasing this under the &lt;a href="http://www.gnu.org/licenses/gpl.html"&gt;GPL v3&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;To use this code you must have a computer that has a PHP5 CGI interpreter. On Microsoft Windows you may want to remove the first line of the &lt;code&gt;nmea_to_tcp&lt;/code&gt; script, as this instructs a Linux system to use the PHP interpreter. You may need to install the &lt;a href="http://pecl.php.net/package-info.php?package=dio"&gt;DIO&lt;/a&gt; direct I/O package.&lt;br /&gt;&lt;br /&gt;Connect you AIS receiver to a serial port, and then start the script with the name of that serial port as it's first argument, for instance &lt;code&gt;nmea_to_tcp /dev/ttyUSB0&lt;/code&gt; on Linux; it is probably something like &lt;code&gt;nmea_to_tcp //./com1&lt;/code&gt; on Microsoft Windows.&lt;br /&gt;&lt;br /&gt;That's all. You should now be able to connect to the system at TCP port 2000.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Nobeltec and TCP streams&lt;/h3&gt;By the way, to get Nobeltec to use the TCP stream -- you can't rely on the built-in &lt;i&gt;Glass bridge&lt;/i&gt; functionality. You have to convert the TCP stream back to serial data, for instance using the open source &lt;a href="http://com0com.sourceforge.net/"&gt;com0com and com2tcp&lt;/a&gt; software.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-3694105176196077297?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/3694105176196077297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/12/simple-forwarder-for-ais-and-nmea-0183.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/3694105176196077297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/3694105176196077297'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/12/simple-forwarder-for-ais-and-nmea-0183.html' title='A simple forwarder for AIS and NMEA 0183 data over TCP/IP'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-4921734636900058685</id><published>2010-12-31T22:07:00.000+01:00</published><updated>2010-12-31T22:07:05.472+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iexpedition'/><category scheme='http://www.blogger.com/atom/ns#' term='tasman bay navigation systems'/><category scheme='http://www.blogger.com/atom/ns#' term='expedition'/><category scheme='http://www.blogger.com/atom/ns#' term='navigation software'/><title type='text'>Are you unable to find the website for Expedition navigation software?</title><content type='html'>I recently attempted to download an update to the awkwardly named but excellent Expedition navigation software written by Nick White. Apparently Nick was getting a little bored with running a website, as the former site at the original site &lt;i&gt;www.iexpedition.org&lt;/i&gt; is no longer in existence. At the time I was redirected to the new distributor, &lt;a href="http://www.tasmanbaynav.co.nz/"&gt;&lt;i&gt;Tasman Bay Navigation Systems&lt;/i&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Today I was looking up that new address for a different post I was making, and noticed that iexpedition.org is now no longer in function and has been clobbered by one of those domain squatters.&lt;br /&gt;&lt;br /&gt;For that purpose I am writing this post in the hope that you may find the new site for Expedition software more easily at: &lt;a href="http://www.tasmanbaynav.co.nz/"&gt;Tasman Bay Navigation Software&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-4921734636900058685?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/4921734636900058685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/12/are-you-unable-to-find-website-for.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/4921734636900058685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/4921734636900058685'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/12/are-you-unable-to-find-website-for.html' title='Are you unable to find the website for Expedition navigation software?'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-8263056897155384849</id><published>2010-12-26T00:00:00.000+01:00</published><updated>2010-12-26T00:00:41.577+01:00</updated><title type='text'>Collision on the North Sea</title><content type='html'>A few days ago &lt;a href="http://log.wrecks.net/?p=1640"&gt;two cargo ships collided in the North Sea&lt;/a&gt; in the beginning or just before the TE Traffic Separation Scheme, the 395 m (1200 ft) long &lt;a href="http://www.marinetraffic.com/ais/shipdetails.aspx?MMSI=228345800"&gt;&lt;i&gt;CMA CGM Laperouse&lt;/i&gt;&lt;/a&gt; and the 90 m (300 ft) &lt;i&gt;Thebe&lt;/i&gt;, luckily with little damage. Conditions were not great, 3m swell with a 40 - 45 knot wind, but not completely atrocious either.&lt;br /&gt;&lt;br /&gt;You can see where the accident happened on MarineTraffic's AIS log of the &lt;a href="http://www.marinetraffic.com/ais/default.aspx?zoom=9&amp;oldmmsi=228345800&amp;olddate=12/24/2010%2012:01:27%20AM"&gt;Laperouse's&lt;/a&gt; track.&lt;br /&gt;&lt;br /&gt;Here is a scanned recording of  the &lt;a href="http://www.scannernet.nl/downloads-scanner-en-overige/category/2-scheepvaart.html?download=102%3Aaanvaring-noordzee-23-12-2010"&gt;VHF transmissions of the the Dutch Coastguard and rescue services&lt;/a&gt; (from &lt;a href="http://www.scannernet.nl"&gt;scannernet.nl&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;Now both of these vessels are mandated to have AIS on board, but that doesn't say both had fully integrated AIS sets that would warn them about an upcoming collision. Even so, it's hard to understand why these accidents still happen even with all this tech aboard.&lt;br /&gt;&lt;br /&gt;It shows that although AIS is a great help to all parties there is apparently still enough room for error such that a large(ish) cargo vessel is able to collide with one of the largest container vessels in the world.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-8263056897155384849?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/8263056897155384849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/12/collision-on-north-sea.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/8263056897155384849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/8263056897155384849'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/12/collision-on-north-sea.html' title='Collision on the North Sea'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-5258319025130116735</id><published>2010-10-13T16:11:00.001+02:00</published><updated>2010-10-13T16:12:07.819+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='broadband'/><category scheme='http://www.blogger.com/atom/ns#' term='hds'/><title type='text'>BR24 software update</title><content type='html'>I just noticed that Navico has released a small &lt;a href="http://www.lowrance.com/Products/Marine/Broadband-Radar/BR24-Broadband-Radar-Software/"&gt;sofware update for the Navico BR24 radar&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Version 2.9.273 fixes a problem where guard zones may not trigger until the alarm type has been changed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-5258319025130116735?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/5258319025130116735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/10/br24-software-update.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/5258319025130116735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/5258319025130116735'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/10/br24-software-update.html' title='BR24 software update'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-1154065603017476615</id><published>2010-10-06T13:34:00.001+02:00</published><updated>2010-10-06T13:37:00.287+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lawicel'/><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><category scheme='http://www.blogger.com/atom/ns#' term='monitoring'/><category scheme='http://www.blogger.com/atom/ns#' term='actisense'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Packetlogger update with fixed field lengths and lookup values</title><content type='html'>The &lt;a href="http://www.nmea.org/"&gt;NMEA&lt;/a&gt; has in the past decided to keep the NMEA 2000 PGN database private. To get access to the database you need to become a member of the NMEA or &lt;a href="http://www.nmea.org/store/index.asp?show=cprd&amp;cid=7"&gt;buy the standard outright&lt;/a&gt;. Appendix B is $900. And, as of recent, this is not enough as the NMEA is now &lt;a href="http://www.nmea.org/Assets/nmea-2000-corrigendum-1-2010-1.pdf"&gt;desupporting PGNs in favour of SAE standards&lt;/a&gt; that require you to buy SAE standards as well.&lt;br /&gt;&lt;br /&gt;The money for the standards in itself is not so much a problem as is the fact that if you buy it you are not allowed to publish the data contained in the standard.&lt;br /&gt;&lt;br /&gt;The best unencumbered source for NMEA 2000 data that I have found so far is the NMEA 2000 database in &lt;a href="https://www.vector.com/"&gt;Vector&lt;/a&gt;'s CANalyzer / CANoe demo product that you can download &lt;a href="https://www.vector.com/vi_downloadcenter_en.html?type=Demo&amp;product=canalyzer"&gt;here&lt;/a&gt;. It does seem to contain a slightly older version of the NMEA database as not all &lt;a href="http://www.nmea.org/Assets/july%202010%20nmea2000_v1-301_app_b_pgn_field_list.pdf"&gt;fields described by the NMEA&lt;/a&gt; are present.&lt;br /&gt;&lt;br /&gt;It is a pity that the various industry bodies keep insisting on non-free standards. It is my belief that open standards such as the Internet standards which are published by the &lt;a href="http://www.ietf.org/"&gt;IETF&lt;/a&gt; using the &lt;a href="http://en.wikipedia.org/wiki/Request_for_Comments"&gt;RFC process&lt;/a&gt; form a better way to promote standard adoption.&lt;br /&gt;&lt;br /&gt;Anyway, using the data mentioned above I have been able to confirm a lot of guesses that I had already made earlier, and fix some other fields. In particular the lookup values of a lot of fields have seen significant improvements. I have also been able to determine field lengths for PGNs and fields that I do not have logs for.&lt;br /&gt;&lt;br /&gt;The analyzer now does correct decoding of everything that I have seen in the field through my own logfiles and those that have been sent to me, as far as I can see.&lt;br /&gt;&lt;br /&gt;As usual, you can download the NMEA analysis + reader programs &lt;a href="http://www.keversoft.com/Keversoft/Packetlogger.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The complete list of improvements:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;All field lengths of NMEA PGNs should be correct.&lt;/li&gt;&lt;li&gt;All field descriptions of NMEA PGNs with lookup values should be correct.&lt;/li&gt;&lt;li&gt;The XML file now also mentions whether a field is signed or unsigned.&lt;/li&gt;&lt;li&gt;The XML file now describes the real NMEA 2000 field type, not the converted type. For instance, the analyzer converts radians to degrees as these are more 'natural' for humans to understand. Previously those fields were described as being in 'degrees', now the correct unit is given as 'rad', and the resolution is also given with the correct magnitude.&lt;/li&gt;&lt;li&gt;The analyzer now correctly decodes signed integer fields such as the time offset in minutes in PGN 129033.&lt;/li&gt;&lt;li&gt;The database now knows about IEEE float data fields. The analyzer cannot print these out yet as I have no samples of this data yet.&lt;/li&gt;&lt;li&gt;Initial support for Darwin (Mac OS X). The analyzer works very well. I've ported the serial port reader programs as well, but the actisense-serial program does not seem to want to read from the serial port as presented by Actisense's OS X drivers yet.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;As of now I am no longer in need of unqualified log files. You still can and should send me a log file if you see a PGN that the analyzer decodes incorrectly, of course.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-1154065603017476615?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/1154065603017476615/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/10/packterlogger-update-with-fixed-field.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/1154065603017476615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/1154065603017476615'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/10/packterlogger-update-with-fixed-field.html' title='Packetlogger update with fixed field lengths and lookup values'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-7112354413626643905</id><published>2010-09-28T20:49:00.001+02:00</published><updated>2010-09-28T20:51:23.544+02:00</updated><title type='text'>Low power USB display</title><content type='html'>I'm eagerly awaiting more news concerning the &lt;a href="http://pixelqi.com/blog1/2010/09/28/low-power-wireless-displays-made-possible/"&gt;new USB version of Pixel Qi's outdoor viewable 10" LCD screen&lt;/a&gt;. At 1.5W at full power this sounds like the ideal solution that we have all been waiting for. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://pixelqi.com/blog1/2010/09/28/low-power-wireless-displays-made-possible/"&gt;&lt;br /&gt;&lt;img src="http://pixelqi.com/blog1/wp-content/uploads/2010/09/PixelQi_display_solutions_1.jpg"&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A German company named &lt;a href="http://www.display-solution.com"&gt;Display Solution AG&lt;/a&gt; is going to produce a combination of the well-known &lt;a href="http://www.displaylink.com"&gt;Displaylink&lt;/a&gt; USB video display technology combined with the aforementioned &lt;a href="http://www.makershed.com/ProductDetails.asp?ProductCode=MKPQ01"&gt;Pixel Qi display&lt;/a&gt;. I've tested Displaylink devices earlier, they are fast enough for a chart display and general 2D use. 3D or video is a bit of a challenge, but I don't think that's what most yachties are looking for.&lt;br /&gt;&lt;br /&gt;Once this happens all that needs to happen is for someone to package this in a IP 67 case and we've got the perfect marine display!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-7112354413626643905?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/7112354413626643905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/low-power-usb-display.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/7112354413626643905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/7112354413626643905'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/low-power-usb-display.html' title='Low power USB display'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-3682909710186368655</id><published>2010-09-27T17:24:00.001+02:00</published><updated>2010-09-27T17:28:13.177+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lawicel'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Code for converting a CAN message ID to ISO 11783 / NMEA 2000 fields</title><content type='html'>I've received a number of requests from people who are trying to get microcontrollers up &amp; running that they want to attach to the N2K bus.&lt;br /&gt;&lt;br /&gt;Apart from the logical content of the datafields for each PGN, one of the other things that you will end up doing is filtering out the priority, PGN, source address and destination address from the underlying CAN message.&lt;br /&gt;&lt;br /&gt;NMEA 2000 messages are always CAN 2.0B messages with the "Extended Frame" format. It uses the ISO-11783 standard as the physical layer. That standard is where we get the "PGN" term from.&lt;br /&gt;&lt;br /&gt;Once you get a ISO-11783 CAN message ID from your device, it will contain an encoding for the PGN number, the priority, the source ID and possibly a destination address. To save bits the PGNs that are not addressable imply a "broadcast" destination of 255. That format is called PDU2. Other PGNs are addressable, and contain an explicit 8 bit destination in the PS field. That format is called PDU1. If you want to know more, try googling for &lt;a href="http://www.google.nl/search?q=iso11783+pdu1"&gt;ISO11783 PDU1&lt;/a&gt; for more information.&lt;br /&gt;&lt;br /&gt;Once you've got the 32 bit CAN message ID (which you should be able to get from your hardware device pretty easily) you need to convert the message ID to priority, PGN, source and destination. Here is the source code that I came up with to do this:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;pre&gt;static void getISO11783BitsFromCanId(unsigned int id, unsigned int * prio, unsigned int * pgn, unsigned int * src, unsigned int * dst)&lt;br /&gt;{&lt;br /&gt;  unsigned char PF = (unsigned char) (id &gt;&gt; 16);&lt;br /&gt;  unsigned char PS = (unsigned char) (id &gt;&gt; 8);&lt;br /&gt;  unsigned char DP = (unsigned char) (id &gt;&gt; 24) &amp; 1;&lt;br /&gt;&lt;br /&gt;  if (src)&lt;br /&gt;  {&lt;br /&gt;    *src = (unsigned char) id &gt;&gt; 0;&lt;br /&gt;  }&lt;br /&gt;  if (prio)&lt;br /&gt;  {&lt;br /&gt;    *prio = (unsigned char) ((id &gt;&gt; 26) &amp; 0x7);&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  if (PF &lt; 240)&lt;br /&gt;  {&lt;br /&gt;    /* PDU1 format, the PS contains the destination address */&lt;br /&gt;    if (dst)&lt;br /&gt;    {&lt;br /&gt;      *dst = PS;&lt;br /&gt;    }&lt;br /&gt;    if (pgn)&lt;br /&gt;    {&lt;br /&gt;      *pgn = (DP &lt;&lt; 16) + (PF &lt;&lt; 8);&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;  else&lt;br /&gt;  {&lt;br /&gt;    /* PDU2 format, the destination is implied global and the PGN is extended */&lt;br /&gt;    if (dst)&lt;br /&gt;    {&lt;br /&gt;      *dst = 0xff;&lt;br /&gt;    }&lt;br /&gt;    if (pgn)&lt;br /&gt;    {&lt;br /&gt;      *pgn = (DP &lt;&lt; 16) + (PF &lt;&lt; 8) + PS;&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-3682909710186368655?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/3682909710186368655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/code-for-converting-iso-11783-id-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/3682909710186368655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/3682909710186368655'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/code-for-converting-iso-11783-id-to.html' title='Code for converting a CAN message ID to ISO 11783 / NMEA 2000 fields'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-150858321542150089</id><published>2010-09-21T22:32:00.002+02:00</published><updated>2011-04-17T20:46:42.552+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='system control'/><category scheme='http://www.blogger.com/atom/ns#' term='canboat'/><category scheme='http://www.blogger.com/atom/ns#' term='unix'/><category scheme='http://www.blogger.com/atom/ns#' term='monitoring'/><category scheme='http://www.blogger.com/atom/ns#' term='usb'/><category scheme='http://www.blogger.com/atom/ns#' term='power usage'/><title type='text'>CANBoat Design part III - Choosing the server hardware</title><content type='html'>The server that CANBoat runs on was always designed to run 24 by 7. This means that it must be reliable and use little power. Power usage adds up over longer periods. Something that uses 3W will use 6 Ah @ 12 V per day. So every Watt counts!&lt;br /&gt;&lt;br /&gt;For a long while I thought that I would end up with some form of embedded ARM board running Linux. I bought a number of ARM based systems to run field tests.&lt;br /&gt;&lt;br /&gt;However as I started to develop software it soon turned out that the criteria list contained three items, not two:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Power usage - as low as possible IN REAL LIFE.&lt;/li&gt;&lt;li&gt;Connectivity - USB 2.0 Host, Ethernet, Wifi.&lt;/li&gt;&lt;li&gt;Up-to-date Linux kernel with distribution that provides lots of packages.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;I was surprised to find that in practice a small x86 server based on the AMD Geode ran with almost as little power as an ARM board. Unlike the ARM boards it had all the I/O that I wanted. Furthermore it was cheap and reliable to procure. You can get cheap ARM boards based on commercial items such as routers but these usually have a very short lifetime as manufacturers continuously drive down prices by bringing out new hardware. Embedded systems are usually a lot more expensive.&lt;br /&gt;&lt;br /&gt;The clincher was that most ARM board manufacturers have a hard time keeping up with the Linux distributions, so they usually run out-of-date kernels and weak distributions. Support for FTDI serial converters was not a given, and these are used in many devices such as the Actisense NGT-1. I had to backport many fixes for the FTDI serial converters to the older Linux kernels to get reliable serial USB connections. Not Good.&lt;br /&gt;&lt;br /&gt;So in the end I decided on low power x86. The &lt;a href="http://www.pcengines.ch/alix2d13.htm"&gt;PC Engines ALIX 2d.13&lt;/a&gt; has exactly the interfaces I needed, but is available in a range of different systems. They run about € 100 / $ 140 which is still very reasonable. It runs a very nice mini Debian release named &lt;a href="http://linux.voyage.hk/"&gt;Voyage Linux&lt;/a&gt; with a kernel that is new enough to run stuff like the FTDI interfaces reliably. As it is just a pruned Debian release getting an additional package is just an &lt;i&gt;apt-get&lt;/i&gt; away. The processor is a 500 MHz AMD LX800 which is plenty fast for Linux server needs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-150858321542150089?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/150858321542150089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/canboat-design-part-iii-choosing-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/150858321542150089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/150858321542150089'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/canboat-design-part-iii-choosing-server.html' title='CANBoat Design part III - Choosing the server hardware'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-1756789623791311593</id><published>2010-09-21T17:13:00.002+02:00</published><updated>2010-09-21T17:45:12.851+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='system control'/><category scheme='http://www.blogger.com/atom/ns#' term='canboat'/><category scheme='http://www.blogger.com/atom/ns#' term='monitoring'/><title type='text'>CANBoat Design Part II - why a website, and why TCP and JSON</title><content type='html'>One of the first things that people ask me when I show them my app on the iPhone or iPad is where they can download it from in the App Store. My answer is simple: you can't. Nor do you need to. It would be &lt;i&gt;bad design&lt;/i&gt; if you had to!&lt;br /&gt;&lt;br /&gt;The idea is that all devices on board that have a decent web-browser can access the CANBoat data. This means I save development effort, as I don't need to write custom apps for Blackberry, Android, iPhone, Windows Mobile, etc. All I need to do is make sure the webpage renders nicely in modern browsers. I did make a decision that I'm not going to cater to Internet Explorer, not unless it is IE 9 that is. &lt;br /&gt;&lt;br /&gt;The choice for a webserver hosted on a permanently running small (Linux) server and clients running a web browser has two other very big benefits.&lt;br /&gt;&lt;br /&gt;First of all, since there is no need to install anything the client hardware becomes expendable. If you lose one (for instance it gets soaked) then you just get a new one. For use in the cockpit you'll still be using some protection, but that's true of your phone itself anyway. Yesteryear's iPod touch that your kids no longer want because it is 2 generations behind will serve as an excellent client. And it gives you an excuse to get a bigger screen -- as in an iPad which you suddenly have a "very good reason to buy" for.&lt;br /&gt;&lt;br /&gt;Secondly, because all state is carried in the server you can switch off the client for as long as you like. When you start it again the page refreshes or you restart the 'web app', and all data is there as the server knows what the system state is. All logging etc. does NOT require a permanently running iPhone app. Even the anchor alarm (once I get around to implementing it) will work this way!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;The webpages&lt;/h2&gt;&lt;br /&gt;The beauty of modern browsers is that they can accomplish a lot in just a little Javascript. For instance, the following gauges are all rendered client-side in a few hundred lines of Javascript code:&lt;br /&gt;&lt;p&gt;&lt;img src="http://www.keversoft.com/downloads/canboat_gauges.png" alt="javascript gauges"&gt;&lt;/p&gt;The above gauges are how clients that are connected via a slow link will see the page. If they are connected using Wifi the gauges are shown with a nice image that has reflection in it, upscaling the experience.&lt;br /&gt;&lt;br /&gt;Also, the server side examines the browser capabilities so that the page is tuned to the capabilities of the device. At the moment I change the tab bar to a drop down list if I detect a small screen. Various &lt;i&gt;Apple Webkit&lt;/i&gt; items are sent to make it possible to run the application without a page header on iOS devices.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Refreshing the on-screen data&lt;/h2&gt;&lt;br /&gt;As browsers are not capable of receiving UDP packets yet, they need to get their data in a different way. The only capability that they have is creating TCP connections to refresh their data. That technique is called AJAX (Asynchronous Javascript and XML), but instead of XML I use JSON format. JSON is ideal for Javascript as it is translated easily into real Javascript object data.&lt;br /&gt;&lt;br /&gt;The JSON that would be sent for the above three dials is something like this:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;[ &lt;br /&gt;  {"name":"Heading","units":"&amp;deg;","value":357.7},&lt;br /&gt;  {"name":"Batt Voltage","units":"V","value":"27.06"},&lt;br /&gt;  {"name":"NMEA Voltage","units":"V","value":"12.65"}&lt;br /&gt;]&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-1756789623791311593?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/1756789623791311593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/canboat-design-part-ii-why-website-and.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/1756789623791311593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/1756789623791311593'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/canboat-design-part-ii-why-website-and.html' title='CANBoat Design Part II - why a website, and why TCP and JSON'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-4388837431536221976</id><published>2010-09-21T16:51:00.001+02:00</published><updated>2010-09-21T17:34:08.054+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='system control'/><category scheme='http://www.blogger.com/atom/ns#' term='canboat'/><category scheme='http://www.blogger.com/atom/ns#' term='monitoring'/><title type='text'>CANBoat Design part I - A simple data viewer and boat remote control</title><content type='html'>Today I'd like to tell you a little more about the hardware/software stack that I have developed to control and navigate a small to medium pleasure boat. The basic idea is to re-use the mobile devices that most boaters will have, such as their smart phones, tablets, laptops or computers.0&lt;br /&gt;&lt;br /&gt;If you've ever stumbled across &lt;a href="http://www.panbo.com"&gt;Panbo&lt;/a&gt; then you may have realised that there are many folks that want open access to environmental and navigation data. There are plenty of mobile &lt;i&gt;navigation&lt;/i&gt; software programs that show a chart, but there aren't so many that show &lt;i&gt;instrument&lt;/i&gt; or actually &lt;i&gt;sensor&lt;/i&gt; data on mobile devices.&lt;br /&gt;&lt;br /&gt;My own boat has a PC running &lt;a href="http://www.nobeltec.com"&gt;Nobeltec&lt;/a&gt; and, since recently, &lt;a href="http://www.iexpedition.org"&gt;Expedition&lt;/a&gt; navigation software with CMap charts as well as a &lt;a href="http://www.lowrance.com/hds"&gt;Lowrance HDS&lt;/a&gt; chartplotter with Lowrance and Navionics charts. I also have the &lt;a href="http://www.navionics.com/MobileMarineFeatures.asp?MobileType=iPhone"&gt;Navionics Mobile&lt;/a&gt; charts on my iPhone. That means that charts are very well covered, thank you.&lt;br /&gt;&lt;br /&gt;What I did not have was:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Remote control over heating. We have under floor heating, so switching this on a few hours before we actually leave for the boat is very welcome in winter.&lt;/li&gt;&lt;li&gt;A way to control the power circuits from other locations than the central switchboard.&lt;/li&gt;&lt;li&gt;A way to monitor the boat's systems from home or from my bunk.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;So I built my own solution to cover this.&lt;br /&gt;&lt;br /&gt;CANBoat is a software solution running on a 'standard' Linux system and consists of the following software:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt; A cellular modem stack to provide as-reliable-as-possible data connection over cellular, as well as a SMS service interface.&lt;/li&gt;&lt;li&gt; A NMEA 2000 'reader' interface that receives all NMEA system data. The data is logged to &lt;a href="http://oss.oetiker.ch/rrdtool/"&gt;rrd&lt;/a&gt; database and provided to Ethernet clients.&lt;/li&gt;&lt;li&gt; An interface to the PLC (made by Wago) to control power circuits and measure tank levels. The PLC is running software by me as well, which provides the same Ethernet interface as the NMEA and temperature subsystems.&lt;/li&gt;&lt;li&gt; A temperature subsystem that uses the Maxim 1-Wire network to measure temperature in various locations in the boat. The data is logged and provided to Ethernet clients.&lt;/li&gt;&lt;li&gt; A webpage that integrates the above &lt;i&gt;live&lt;/i&gt; data in a format that is usable on the small screen of a mobile device.&lt;br /&gt;&lt;/ul&gt;Here are some screenshots of CANBoat:  &lt;p&gt;&lt;img src="http://www.keversoft.com/downloads/canboat_ipad_n2k.png" alt="NMEA data" width=384 height=512&gt;NMEA 2000 data coming from various sources&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.keversoft.com/downloads/canboat_ipad_tanks.png" alt="Tank levels" width=512 height=384&gt;Tank levels&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.keversoft.com/downloads/canboat_iphone_interior.png" alt="Interior power circuits" width=385 height=212&gt;Interior power circuits&lt;/p&gt;&lt;br /&gt;As you can see I have some work to do still on improving the layout -- optimizing font sizes etc.&lt;br /&gt;&lt;br /&gt;In the next part I'll show some details of the implementation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-4388837431536221976?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/4388837431536221976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/canboat-design-part-i-simple-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/4388837431536221976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/4388837431536221976'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/canboat-design-part-i-simple-data.html' title='CANBoat Design part I - A simple data viewer and boat remote control'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-5822278550940651309</id><published>2010-09-15T00:00:00.002+02:00</published><updated>2011-04-12T09:48:03.348+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='simrad'/><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>NMEA2000 support and DSC calls on a Simrad RS82/87</title><content type='html'>Yesterday I received an email query from someone who wanted to know whether a Simrad RS82 will put out the DSC Call Information, PGN 129808. As I had to visit the boat anyway I was able to run a small test by making an individual DSC call to my own VHF from someone else's RS82.&lt;br /&gt;&lt;br /&gt;The good news is that making an individual DSC call is very simple, at least on a RS82, and I will definitely use this capability more often now that I have been reminded &lt;i&gt;how&lt;/i&gt; simple it is.&lt;br /&gt;&lt;br /&gt;The bad news is that, at least with the software version I've got in my RS82, it does not transmit the NMEA 2000 standard PGN but a Simrad specific PGN 130816. It is clearly a PGN that was defined early on in Simrad's Simnet/NMEA2000 adoption cycle as it is very much text based whereas all standard PGNs are all very much binary field based. This did make it very easy for me to add support for this PGN (although a few minor fields are still guesses on my part).&lt;br /&gt;&lt;br /&gt;Here is an example of the PGN 130816 in action:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;2010-09-14-16:53:05.600 3   9 255 130816 Simrad: Text Message:  Manufacturer Code = Simrad; Industry Code = 19; Product Code = 16393; A = 156; B = 1; C = 1; D = 7; SID = 1; Text = INDIVIDUAL CALL&lt;br /&gt;2010-09-14-16:53:05.711 3   9 255 130816 Simrad: Text Message:  Manufacturer Code = Simrad; Industry Code = 19; Product Code = 16393; A = 92; B = 1; C = 1; D = 7; SID = 2; Text = RECEIVED FROM RS81/82&lt;br /&gt;2010-09-14-16:53:05.805 3   9 255 130816 Simrad: Text Message:  Manufacturer Code = Simrad; Industry Code = 19; Product Code = 16393; A = 92; B = 1; C = 1; D = 7; SID = 3; Text = CALLER ID: 244087177&lt;br /&gt;2010-09-14-16:53:05.879 3   9 255 130816 Simrad: Text Message:  Manufacturer Code = Simrad; Industry Code = 19; Product Code = 16393; A = 92; B = 1; C = 1; D = 7; SID = 4; Text = CATEGORY: INDIVIDUAL&lt;br /&gt;2010-09-14-16:53:05.990 6   9  36  59904 ISO Request:  PGN = 60928&lt;br /&gt;2010-09-14-16:53:05.994 3   9 255 130816 Simrad: Text Message:  Manufacturer Code = Simrad; Industry Code = 19; Product Code = 16393; A = 92; B = 1; C = 1; D = 7; SID = 5; Text = REPLY ON CHANNEL 77&lt;br /&gt;2010-09-14-16:53:06.088 3   9 255 130816 Simrad: Text Message:  Manufacturer Code = Simrad; Industry Code = 19; Product Code = 16393; A = 84; B = 1; C = 1; D = 7; SID = 6; Prio = 1; Text = STOP ALARM: SELECT CHANNEL 77&lt;br /&gt;2010-09-14-16:53:06.166 3   9 255 130816 Simrad: Text Message:  Manufacturer Code = Simrad; Industry Code = 19; Product Code = 16393; A = 84; B = 1; C = 1; D = 7; SID = 7; Prio = 2; Text = STOP ALARM&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Note that the information in the call did not contain GPS position. Unfortunately I forgot to wait for the sending VHF to obtain a GPS position, so I have no idea what will be sent out when that does transmit a location.&lt;br /&gt;&lt;br /&gt;If someone knows whether my guess at the 'Product Code' and 'Prio' fields are correct, and what the meaning of fields A, B, C and D is then please do tell.&lt;br /&gt;&lt;br /&gt;And if you have a RS8x with newer software than me and are able to test DSC calls, or &lt;strike&gt;know whether its software can be updated&lt;/strike&gt; &lt;i&gt;know whether SW version 2.3 provides any updates in this area&lt;/i&gt; then I'm all ears.&lt;br /&gt;&lt;br /&gt;The new packetlogger can be downloaded at the &lt;a href="http://www.keversoft.com/Keversoft/Packetlogger.html"&gt;usual place&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-5822278550940651309?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/5822278550940651309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/nmea2000-support-and-dsc-calls-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/5822278550940651309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/5822278550940651309'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/nmea2000-support-and-dsc-calls-on.html' title='NMEA2000 support and DSC calls on a Simrad RS82/87'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-9038091270947877470</id><published>2010-09-13T11:41:00.002+02:00</published><updated>2010-09-14T23:43:01.526+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='raymarine'/><category scheme='http://www.blogger.com/atom/ns#' term='lowrance'/><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Packetlogger update for Raymarine E-80, Lowrance EP-80R</title><content type='html'>Thanks to some enterprising folks I received a few log files from other equipment such as a Raymarine E-80 and this has resulted in another release of the packetlogger programs and database.&lt;br /&gt;&lt;br /&gt;Some data analysis of the logs enabled me to fix the field lengths and types of a number of PGNs, like the Set &amp; Drift data, add Lowrance specific PGNs 65285 and 130817 as sent out by a EP-80R, and confirm a number of PGNs are correct. As a result a lot more PGNs are now considered 'complete'. That means there is a high probability they are now decoded completely and fully. &lt;br /&gt;&lt;br /&gt;You can download the &lt;a href="http://www.keversoft.com/Keversoft/Packetlogger.html"&gt;latest packetlogger release&lt;/a&gt; at the usual place.&lt;br /&gt;&lt;br /&gt;Keep those log files coming! I'm especially interested in logs from new equipment such as the latest generation of MFDs from Raymarine and ANY logs from Furuno and Garmin equipment.&lt;br /&gt;&lt;br /&gt;And on a side note, be careful if you expect a Lowrance EP-80R temperature probe to interoperate with non-Lowrance equipment. Based on the data I received, there is at least one version out there (with firmware release LA53D dated 2/7/2007 10:47:53 AM) that does not transmit the NMEA standard PGN for temperature, but only a Lowrance PGN. If you intend to interoperate, make sure you get one that you can return if it is not satisfactory. Hopefully this problem has been fixed in a later firmware release.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-9038091270947877470?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/9038091270947877470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/packetlogger-update-for-raymarine-e-80.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/9038091270947877470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/9038091270947877470'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/packetlogger-update-for-raymarine-e-80.html' title='Packetlogger update for Raymarine E-80, Lowrance EP-80R'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-946635742109644526</id><published>2010-09-09T10:20:00.000+02:00</published><updated>2010-09-09T10:20:45.795+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lowrance'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='hds'/><title type='text'>Lowrance Sonic Hub &amp; HDS 3.5 software update</title><content type='html'>Lowrance released a software update, v3.5. This provides SonicHub (the new Navico sound system) support and various smaller improvements.&lt;br /&gt;&lt;br /&gt;Read all about it here: &lt;a href="http://www.lowrance.com/Downloads/Product-Software-Updates/HDS-3-5-software-version-and-demonstration-files/"&gt;Lowrance HDS 3.5 update&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I'm not satisfied with the audio setup in our deckhouse, and now I need to choose between adding an audio card to the permanently running Linux box &amp; integrating AirPlay, a MP3 player and other software -- or just install a SonicHub.&lt;br /&gt;&lt;br /&gt;SonicHub:&lt;br /&gt;+ Works out-of-the-box with iPod/iPad.&lt;br /&gt;+ Chartplotter is 'on' during sailing anyway.&lt;br /&gt;- No 'remote' app beyond controlling iPod/iPad.&lt;br /&gt;- Unknown power consumption in real life.&lt;br /&gt;&lt;br /&gt;Linux:&lt;br /&gt;+ Allows audio warnings from system monitor.&lt;br /&gt;+ Allows any iTunes to stream via AirPlay (once the community implements this)&lt;br /&gt;+ Remote control possible, in future maybe even easy.&lt;br /&gt;- More work for me.&lt;br /&gt;- Unknown power consumption in real life.&lt;br /&gt;&lt;br /&gt;All in all, I think I'll opt for the build-it-myself option (again) as it is more fun that way. It also works better when the boat isn't sailing &amp; the HDS is off.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-946635742109644526?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/946635742109644526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/lowrance-sonic-hub-hds-35-software.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/946635742109644526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/946635742109644526'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/lowrance-sonic-hub-hds-35-software.html' title='Lowrance Sonic Hub &amp; HDS 3.5 software update'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-3713260100483826380</id><published>2010-09-08T14:15:00.003+02:00</published><updated>2010-09-08T15:24:41.593+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Your Help Needed to firm up the NMEA 2000 database</title><content type='html'>My reverse-engineered database of NMEA 2000 data is getting pretty good at reading NMEA 2000 data. The 'standard' depth/speed/temperature, GPS and AIS messages are all parsed pretty well now.&lt;br /&gt;&lt;br /&gt;What is still in a nature of flux are the more 'outlying' messages such as DC/AC control, the ISO commands, configuration commands and the manufacturer proprietary commands.&lt;br /&gt;&lt;br /&gt;I will work up the Simnet/Navico/Lowrance proprietary commands myself over time, as my network has those in abundance. &lt;br /&gt;&lt;br /&gt;The nature of reverse engineering does mean that it is not possible for me to be 100% sure of messages being correct until I have manually compared the raw data with known data, but it will help if you send me logfiles of the 'raw' data logged by the reader programs of your own bus, especially if it contains devices I haven't be able to get my hands on yet.&lt;br /&gt;&lt;br /&gt;Here is a list of devices that I have logfiles for already. If you have anything NOT on this list, please make a log and send it to me in compressed (zip or gzip) format. The best logs are those that show all messages from 'start' of the bus. Unless I ask you for more, or you want to show me AIS sentences that the software doesn't analyze correctly, about 30 seconds of log will do.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Airmar DST200 sensor&lt;/li&gt;&lt;li&gt;Airmar PB200 sensor&lt;/li&gt;&lt;li&gt;Lowrance HDS8&lt;/li&gt;&lt;li&gt;Lowrance EP65R sensor&lt;/li&gt;&lt;li&gt;Mastervolt NMEA2000/Masterbus converter&lt;/li&gt;&lt;li&gt;Navico NAIS300 AIS&lt;/li&gt;&lt;li&gt;Simrad AT10 NMEA converter&lt;/li&gt;&lt;li&gt;Simrad AC42 autopilot computer&lt;/li&gt;&lt;li&gt;Simrad AP24 AP control head&lt;/li&gt;&lt;li&gt;Simrad IS20 Wind display&lt;/li&gt;&lt;li&gt;Simrad IS20 Wind display&lt;/li&gt;&lt;li&gt;Simrad IS20 Wind display&lt;/li&gt;&lt;li&gt;Simrad IS20 Wind sensor&lt;/li&gt;&lt;li&gt;Simrad RC42 compass sensor&lt;/li&gt;&lt;li&gt;Simrad RS82 VHF&lt;/li&gt;&lt;li&gt;Simrad WR20 Remote&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;To create a logfile, do the following on Microsoft Windows in a command prompt window after unpacking the latest packetlogger code:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;C:\packetlogger\win32&amp;gt; actisense-reader&lt;br /&gt;Usage: actisense-reader &amp;lt;com-port&amp;gt; [&amp;lt;baud-rate&amp;gt;]&lt;br /&gt;&lt;br /&gt;&amp;lt;com-port&amp;gt; is an integer from the following list:&lt;br /&gt;3: COM3 - Actisense NGW/NGT NMEA 2000 Gateway (Available)&lt;br /&gt;&lt;br /&gt;&amp;lt;baud-rate&amp;gt; is an integer from the following list:&lt;br /&gt;4800 38400 115200 230400 (default is 115200)&lt;br /&gt;&lt;br /&gt;C:\packetlogger\win32&amp;gt; actisense-reader 3 &amp;gt; my-small-or-big-boat-logfile.log&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Note that the first command shows you a list of all COM ports. It should show you which COM port the Actisense device is using. Choose the number for that port in the second command. Let it run for a few seconds, then press Control-C to stop the reader. Zip up the file.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;On Linux, the comparable action is:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;$ actisense-serial /dev/ttyUSB0 | gzip &gt; my-small-or-big-boat-logfile.log.gz&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/p&gt;Thanks!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-3713260100483826380?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/3713260100483826380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/your-help-needed-to-firm-up-nmea-2000.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/3713260100483826380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/3713260100483826380'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/your-help-needed-to-firm-up-nmea-2000.html' title='Your Help Needed to firm up the NMEA 2000 database'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-4991830152638597088</id><published>2010-09-07T21:24:00.001+02:00</published><updated>2010-09-07T21:26:42.860+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lawicel'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='mastervolt'/><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><category scheme='http://www.blogger.com/atom/ns#' term='actisense'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Packetlogger update: PGN list complete, Linux version available</title><content type='html'>I'm back from finishing a boat, testing it by sailing to Denmark and then showing it at the HISWA boat show.&lt;br /&gt;&lt;br /&gt;Now is the time to catch up with my backlog here. Let's start off with an update to the packetlogger utility. The new 'Summer 2010' release out now has a ton of improvements. &lt;br /&gt;&lt;br /&gt;You can download the &lt;a href="http://www.keversoft.com/Keversoft/Packetlogger.html"&gt;packetlogger here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The improvements made are:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The code now knows about all official PGNs as the NMEA has released the &lt;a href="http://www.nmea.org/Assets/july%202010%20nmea2000_v1-301_app_b_pgn_field_list.pdf"&gt;complete list of PGNs and field descrioptions&lt;/a&gt;. Unfortunately, that list does not contain field sizes, lookup values or other information but it still helped a lot with my understanding some of the PGNs.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Linux binaries are included for x86. It was compiled on a Debian 5 release, so it should run on all recent Linux distributions. The Linux port also includes an Actisense NGT-1 reader, which was developed with the kind support of &lt;a href="http://www.actisense.com"&gt;Actisense&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;The code now understands PGNs with repeating fields a lot better. Some PGNs have a variable list of fields, with the last few fields repeating a number of times.&lt;/li&gt;&lt;li&gt;Add a json option to the analyzer so the output can be fed to web-oriented languages such as Perl, PHP and Javascript with ease.&lt;/li&gt;&lt;li&gt;Log the manufacturer for all manufacturer specific PGNs.&lt;/li&gt;&lt;li&gt;Remove explicit empty PGNs that we only knew the manufacturer for.&lt;/li&gt;&lt;li&gt;Verified that the Mastervolt NMEA 2000 interface is compatible.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;This should keep many folks happy for a while. Keep the feedback coming, by private email is fine if you don't want to show up here.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-4991830152638597088?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/4991830152638597088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/packetlogger-update-pgn-list-complete.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/4991830152638597088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/4991830152638597088'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/09/packetlogger-update-pgn-list-complete.html' title='Packetlogger update: PGN list complete, Linux version available'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-7809647434967806645</id><published>2010-05-17T13:41:00.001+02:00</published><updated>2010-05-17T13:42:28.501+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shells'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='unix'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>Programmatically detecting that /bin/sh is actually csh</title><content type='html'>As my last post shows, if you write something up about a subject people will find your site no matter what the purpose of the site, or in this case blog, is about.&lt;br /&gt;&lt;br /&gt;Therefore I'm going off on another tangent with a subject that I don't have any other place to put in, and that involves UNIX shells. &lt;br /&gt;&lt;br /&gt;In my 'day job' we encountered a few customers that, 'for convenience' decided that they like csh so much that they want this to be the default shell. And they do this by making &lt;code&gt;/bin/sh&lt;/code&gt; a symlink to &lt;code&gt;/bin/csh&lt;/code&gt;, or even just copy &lt;code&gt;/bin/csh&lt;/code&gt; over &lt;code&gt;/bin/sh&lt;/code&gt;. This is probably most likely to happen on Linux, as that doesn't use &lt;code&gt;/bin/sh&lt;/code&gt; as heavily as the likes of AIX, HP-UX and Solaris.&lt;br /&gt;&lt;br /&gt;In my opinion what these people do is a very bad idea, as software should be able to depend that the syntax for &lt;code&gt;/bin/sh&lt;/code&gt; is always the same. It maybe a superset when it's actually KSH or BASH, but it should certainly execute the minimal Posix shell syntax. Still, we have to write software that could function anyway. Sigh.&lt;br /&gt;&lt;br /&gt;Here's what my colleague Nils came up with:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;#!/bin/sh&lt;br /&gt;&lt;br /&gt;[ "$shell" != "" ] &amp;&amp; goto csh&lt;br /&gt;&lt;br /&gt;echo "This is Bourne Shellish."&lt;br /&gt;exit 0&lt;br /&gt;&lt;br /&gt;csh:&lt;br /&gt;echo "This is C Shell. You are a naughty fellow -- please reset /bin/sh to a Bourne type shell!"&lt;br /&gt;exit 1&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;A plain &lt;code&gt;goto csh&lt;/code&gt; is ok but throws an error message in bourne style shells, so we prepend it with a condition that is only true in CSH. We can't use if, as that has different syntax in the two types of shell. The condition is true on CSH because it has a variable &lt;code&gt;$shell&lt;/code&gt; whereas Bourne style shells have &lt;code&gt;$SHELL&lt;/code&gt; instead.&lt;br /&gt;&lt;br /&gt;Hopefully this helps somebody out there.&lt;br /&gt;&lt;br /&gt;Next time I'll get back to a nautical subject, I promise.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-7809647434967806645?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/7809647434967806645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/05/programmatically-detecting-that-binsh.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/7809647434967806645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/7809647434967806645'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/05/programmatically-detecting-that-binsh.html' title='Programmatically detecting that /bin/sh is actually csh'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-2885817381582911829</id><published>2010-05-08T10:15:00.002+02:00</published><updated>2010-05-17T13:42:59.459+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='modem'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='3g'/><category scheme='http://www.blogger.com/atom/ns#' term='usb'/><title type='text'>Using a 3G UMTS stick under Linux</title><content type='html'>I've been trying to get a typical 3G UMTS modem in USB 'dongle' form working with an embedded Linux system. I subscribed to a local service (KPN 'Hi') a while ago. The dongle turned out to be a rebranded ZTE MF628. It works reasonably well under Microsoft Windows and Mac OS X.&lt;br /&gt;&lt;br /&gt;&lt;img src='http://www.mobielinternetbestellen.nl/images/usb-dongle-kpn.jpg'/&gt;&lt;br /&gt;&lt;br /&gt;Getting it work somewhat under Linux 2.6.26 or 2.6.30 wasn't very difficult either. Getting it to work reliably turned out to be beyond me. I didn't know it yet, but GSM modems have a whole set of standards that are generally based on the bastard child of the original "AT" commandset created 30 odd years ago by Hayes. The ETSI publishes these standards that are 'open' in that they can be accessed by everyone. That's all fine but it turns out that the ZTE has some peculiar issues with how it implements the standards and it's own company specific extensions that are hard to reverse engineer. Also, the serial speeds required for mega bit speeds (I've got 3,6 Mbps service) were beyond the serial drivers so the PPP connection kept going down. All in all a very frustrating experience that cost much more time than I'd anticipated.&lt;br /&gt;&lt;br /&gt;&lt;img src='http://www.routershop.nl/img/products/normal/option_icon_505_1.jpg'/&gt;&lt;br /&gt;&lt;br /&gt;There turns out to be a very simple solution: I bought an &lt;a href='http://www.option.com/en/products/products/usb-modems/icon505/'&gt;Option Icon 505&lt;/a&gt; USB modem to replace the ZTE. What a difference! The Option device uses the same AT command set for control but provides an IP device for the data connection. This eliminates the PPP driver and has very good performance. The driver for Linux is written by Option employees and available on &lt;a http='www.pharscape.com'&gt;Pharscape&lt;/a&gt;. Kudos to Option for making an excellent product that works great with Linux.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-2885817381582911829?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/2885817381582911829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/05/using-3g-umts-stick-under-linux.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/2885817381582911829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/2885817381582911829'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/05/using-3g-umts-stick-under-linux.html' title='Using a 3G UMTS stick under Linux'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-1033796779869105379</id><published>2010-05-06T11:07:00.004+02:00</published><updated>2010-08-24T13:30:24.431+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ethernet'/><category scheme='http://www.blogger.com/atom/ns#' term='lowrance'/><category scheme='http://www.blogger.com/atom/ns#' term='navico'/><category scheme='http://www.blogger.com/atom/ns#' term='hds'/><title type='text'>Lowrance yellow Ethernet cabling</title><content type='html'>The Navico 'yellow' ethernet connector used on new Lowrance devices such as the HDS series has the advantage of being watertight and easy to make a reliable twist-on connection:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/kemaarel/4583735014/" title="Navico Yellow Ethernet connector by kemaarel, on Flickr"&gt;&lt;img src="http://farm5.static.flickr.com/4022/4583735014_be0c878cdd_o.jpg" width="256" height="280" alt="Navico Yellow Ethernet connector" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In case you want to use a standard Ethernet switch, or have guys lay ethernet cabling through some narrow ducting you cannot use the normal Lowrance Ethernet cabling and have to crimp an RJ-45 jack onto the Lowrance cable.&lt;br /&gt;&lt;br /&gt;On opening up the cable I found two twisted pairs of cable, as expected, plus a shield:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/kemaarel/4583105081/" title="Navico Ethernet cable pairs exposed by kemaarel, on Flickr"&gt;&lt;img src="http://farm5.static.flickr.com/4029/4583105081_229234e748_o.jpg" width="256" height="230" alt="Navico Ethernet cable pairs exposed" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The pairs are blue and orange. I connected those the same way as a 3 Com sourced very thin Ethernet cable I had lying around: blue to pins 1+2 and orange to pins 3+6 of the RJ-45 jack. This isn't according to either T568A or T568B, but that cannot be helped when the cable pairs are blue and orange. In practice the cable works fine, both when wired directly and when wired to a switch. I don't know whether the  is actually a cross over cable or direct through though, so if you use a switch that doesn't do auto MDI-X you may have to swap the pairs.&lt;br /&gt;&lt;br /&gt;Here's the crimped connector:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/kemaarel/4583105235/" title="Navico cable to RJ-45 jack "&gt;&lt;img src="http://farm5.static.flickr.com/4045/4583105235_c53302ff0a_o.jpg" width="256" height="210" alt="Navico cable to RJ-45 jack" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;and the final cable:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/kemaarel/4583105477/" title="Finished Navico to RJ-45 Ethernet cable"&gt;&lt;img src="http://farm5.static.flickr.com/4009/4583105477_38a4c5f0a5_o.jpg" width="512" height="132" alt="Finished Navico to RJ-45 Ethernet cable" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Once plugged in a quick run of tcpdump revealed the IP address of the Lowrance HDS and a ping proves that my Mac and HDS are able to talk to each other:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;PING 169.254.17.126 (169.254.17.126): 56 data bytes&lt;br /&gt;64 bytes from 169.254.17.126: icmp_seq=0 ttl=64 time=0.788 ms&lt;br /&gt;64 bytes from 169.254.17.126: icmp_seq=1 ttl=64 time=0.405 ms&lt;br /&gt;64 bytes from 169.254.17.126: icmp_seq=2 ttl=64 time=0.480 ms&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Hurrah, one more item from my to-do list done!&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Update&lt;/h2&gt;&lt;br /&gt;May 2010: Commenters have asked me whether this means they can now interface a HDS or Broadband Radar to their PC. &lt;strike&gt;Alas, no. The test done above was just a convenient way for me to test that the munged cable works.&lt;/strike&gt;June 22, 2010: Yes, you can! Navico has released a SDK that allows navigation software providers to interface with the Broadband Radar. As far as I know, only &lt;a href="http://www.iexpedition.org"&gt;Expedition&lt;/a&gt; has released the necessary software so far (August 2010). For more information see &lt;a href="http://www.panbo.com/archives/2010/06/simrad_br24pc_free_range_broadband_radar_2_.html"&gt;Simrad BR24PC, Free Range BroadBand Radar #2 at Panbo&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-1033796779869105379?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/1033796779869105379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/05/lowrance-yellow-ethernet-cabling.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/1033796779869105379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/1033796779869105379'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/05/lowrance-yellow-ethernet-cabling.html' title='Lowrance yellow Ethernet cabling'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-7523984662957126242</id><published>2010-05-01T10:58:00.006+02:00</published><updated>2010-05-01T11:51:43.559+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='power usage'/><title type='text'>Basics of Electrical units and quantities</title><content type='html'>I'm sick and tired of stories in the general boating press by confused writers that mix up electrical numbers and quantities.&lt;br /&gt;&lt;br /&gt;This is probably because electrical units are a bit different than the units used for length, speed and distance.&lt;br /&gt;&lt;br /&gt;Here's my feeble attempt at clarifying this apparently confusing matter. I shall compare electrical current to water current flowing in a circular pipe, which seems appropriate in our nautical environment.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Some theory first&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Let's start with the three most familiar units:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Voltage&lt;/b&gt; - The eagerness with which electrons want to flow from A to B. In our comparison, this is equivalent to the water pressure in a pipe. &lt;/li&gt;&lt;li&gt;&lt;b&gt;Current&lt;/b&gt; - The magnitude (amount) of electrical charge passing through the conductor per unit of time. In our comparison, this is equivalent to the discharge of a river or pipe. Discharge is usually measured in cubic meters per second, likewise electrical current is measured in coulombs per second. An electrical current of 1 ampere is defined as 1 coulomb per second. This is important to note: current is a derived quantity. One coulomb is just a large bunch of electrons, about 6.241 x 10&lt;super&gt;18&lt;/super&gt; of them.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Electrical energy&lt;/b&gt; - The thing that we have electricity on a boat for anyway. Electrical power is what makes the appliance (winch, coffee maker, light bulb) work. In our comparison, it is the amount of power that a turbine could transfer from the water in the pipe. This is a product of the discharge and the pressure. Likewise, in an electrical circuit the power is the product of the voltage and the current. In units: volt times ampere equals watt (&lt;b&gt;V * A = W&lt;/b&gt;). (Note to fellow engineers: I know it should be U * I = P, but let's not further complicate matters.) &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Note that although voltage and current are used so often, they are NOT basic units such as volume and length are. In particular &lt;a href="http://en.wikipedia.org/wiki/Voltage"&gt;voltage&lt;/a&gt; is defined as the total energy required to move an electric charge from A to B divided by the magnitude of the charge. Current is also a derived value. In electricity, the basic unit is &lt;b&gt;charge&lt;/b&gt; measured in &lt;b&gt;coulombs&lt;/b&gt;. &lt;br /&gt;&lt;br /&gt;The confusion grows when we start talking capacity. In particular the capacity of our electrical charge containers, more commonly known as a &lt;b&gt;battery&lt;/b&gt;. Given what I stated above you'd think that we'd measure battery capacity in coulombs: how many electrons does it take. Unfortunately, historically we have used &lt;b&gt;ampere hours&lt;/b&gt;. One ampere hour (&lt;b&gt;Ah&lt;/b&gt;) is a current of 1 ampere during 1 hour (3600 seconds). Since 1 ampere is 1 coulomb per second, 1 Ah is 3600 coulombs.&lt;br /&gt;&lt;br /&gt;Likewise the total amount of power used over a number of hours defines how much must be recharged, or bought from an electricity company. Historically this is measured in (kilo)watthours. 1.2 kWh = 1200 Wh = 1200 watts for an hour. If this power had to be supplied by a typical 12 V battery bank this would be (V * A = W, therefore A = W / V, therefore Ah = Wh / V) 1200/12 = 100 Ah.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Typical Errors&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Taking one article from a Dutch magazine "&lt;a href="http://www.zeilen.com"&gt;Zeilen&lt;/a&gt;", let's discuss what they do wrong. The article "Geen beweging, toch stroom" (No movement, still current) in the May 2010 issue discusses fuel cells, and shows a few typical examples.&lt;br /&gt;&lt;br /&gt;The first small error is a sentence where the author discusses a &lt;i&gt;Gas generator ... with a capacity between 1.5 and 2.2 kWh ...&lt;/i&gt; Now kWh is the amount of power delivered over a particular amount of time. Generators are sized in terms of power, e.g. (kilo)watts -- not kilo watt hours.&lt;br /&gt;&lt;br /&gt;Then he goes on to discuss the admittedly confusing (but correct) wording used by &lt;a href="http://www.efoy.com/en/marine-benefits.html"&gt;EFOY&lt;/a&gt; fuel cells. EFOY rates their equipment by the amount of watt hours they can deliver per day (24 hours). Admittedly, this would be better expressed in simple Watts. The author writes this as follows: &lt;i&gt;There are five models from 600 to 2200 Watt/h per day, a rather strange and misleading denomination. You should divide the number by 24 to arrive at the true performance. For an EFOY 2200 this coumes down to a maximum current of 7.5 Ah at 12 volt.&lt;/i&gt; Ouch: it should be Watt hour, not Watt per hour (Watt/h). It should also be 7.5 A (amps) not 7.5 Ah (amp hours). &lt;br /&gt;&lt;br /&gt;Anyway, on to the next section where he claims that the &lt;a href="http://www.protonex.com/downloads/products/Protonex-Professional-RV-Tech-Specs.pdf"&gt;Protonex M-250C&lt;/a&gt; fuel cell delivers &lt;i&gt;250 Watt per hour&lt;/i&gt;. Guess he means 250 Watt...&lt;br /&gt;&lt;br /&gt;And the last one: &lt;i&gt;The Italian company Acta delivers fuel cells with a capacity of 100, 200 or 1000 Watt during eight hours.&lt;/i&gt; Again, Watts per hour is meaningless.&lt;br /&gt;&lt;br /&gt;Guess it's no wonder that many boaters are confused about electricity with magazines feeding them mis-information like this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-7523984662957126242?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/7523984662957126242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/05/basics-of-electrical-units-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/7523984662957126242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/7523984662957126242'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/05/basics-of-electrical-units-and.html' title='Basics of Electrical units and quantities'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-6889252405389678186</id><published>2010-01-30T19:58:00.004+01:00</published><updated>2010-05-17T13:43:37.545+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='plc'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>Cool new way to control &amp; monitor navigation data</title><content type='html'>I've just come across this incredibly cool new development kit that has wonderful capabilities when applied to a marine market.&lt;br /&gt;&lt;br /&gt;It's the &lt;a href="http://wiki.msp430.com/index.php/EZ430-Chronos"&gt;Texas Instruments eZ430 Chronos wireless watch development tool&lt;/a&gt;. This is a development tool that includes a sports watch with a wireless connection to a PC. &lt;br /&gt;&lt;br /&gt;Three simple marine applications that come to mind:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Show navigation data such as Speed Over Ground, Wind Speed etc. etc. on your wrist.&lt;/li&gt;&lt;li&gt;Control your auto-pilot (via NMEA 2000).&lt;/li&gt;&lt;li&gt;Act as a Man Over Board detection device.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;object width="560" height="340"&gt;&lt;param name="movie" value="http://www.youtube.com/v/LDJIBydJvoM&amp;hl=en_US&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/LDJIBydJvoM&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;The possibilities are endless as they say.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-6889252405389678186?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/6889252405389678186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2010/01/cool-new-way-to-control-monitor.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/6889252405389678186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/6889252405389678186'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2010/01/cool-new-way-to-control-monitor.html' title='Cool new way to control &amp; monitor navigation data'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-8556208689026594506</id><published>2009-12-06T13:39:00.002+01:00</published><updated>2009-12-06T14:03:16.172+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='power usage'/><title type='text'>Choosing an Eco Flat TV</title><content type='html'>We're not very avid TV watchers on board, but we do like to watch a movie now and then. And, of course, our children like watching various cartoons and movies a lot. &lt;br /&gt;&lt;br /&gt;So we needed a TV. About a year ago I started paying attention to see which ones would be applicable to our low power envelope. At that time it was hard to obtain facts about flat TV power consumption except in general terms. Luckily the increased awareness amongst the public and the reaction towards that from suppliers has benefited us here. Technologically the trend towards using LED backlights has helped. &lt;br /&gt;&lt;br /&gt;As developments go quickly I delayed buying a TV for as long as I could. Now that the deadline for me delivering equipment is almost upon us I had to choose. To be honest, I still don't like LCD TVs as much as I do plasma in terms of visual smoothness. They are often 'harder' in showing up digital artifacts, both moiré and compression. &lt;br /&gt;&lt;br /&gt;In the end the choice was narrowed down to the one with both the highest potential for power saving and the lowest advertised power usage in the size (32") that we were looking for. The Sharp LC-32LE600E has an official power use of 60W. In practice, running it at the visual settings that we liked best it turned out to use even less at 30 to 37 W. Pretty cool for such a big display - in more ways than one.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-8556208689026594506?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/8556208689026594506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2009/12/choosing-eco-flat-tv.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/8556208689026594506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/8556208689026594506'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2009/12/choosing-eco-flat-tv.html' title='Choosing an Eco Flat TV'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-816219411772679674</id><published>2009-12-06T10:23:00.009+01:00</published><updated>2011-05-23T22:00:03.067+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ethernet'/><category scheme='http://www.blogger.com/atom/ns#' term='power usage'/><title type='text'>Are Eco Ethernet switches Greener?</title><content type='html'>There was a recent discussion on Panbo where some people proposed that Ethernet, and more specifically using the IP protocol with a 100BASE-TX or 1000BASE-T physical layer. I am still sceptical of that for several reasons. One of them is that an IP stack rules out using small micro controllers, or requires extra hardware. This drives up the cost of the minimal hardware node. A zigbee or bluetooth based system is much more low-end friendly and has the added benefit of needing no wires.&lt;br /&gt;&lt;br /&gt;Ethernet does have a role on-board in tying together both navigation hardware with high speed sensors, such as RADAR scanners and in enabling the interface between on-board computers, Wifi and mobile internet modems and whatever other gadgets turn up on board.&lt;br /&gt;&lt;br /&gt;So I've taken the power meter to use again to measure what Ethernet costs us in terms of Watts. Less, much less, than I feared -- if you're careful. There is an interesting trend visible in the past year where many manufacturers are advertising &lt;i&gt;green&lt;/i&gt; or &lt;i&gt;eco&lt;/i&gt; friendly devices.&lt;br /&gt;&lt;br /&gt;The devices that I tested were three "older" devices that carry no green or eco label: a Linksys WRT-54G access point with built-in 4 port 100BASE-TX Fast Ethernet switch, a newer Linksys WRT-54Gv2 access point also with a 4 port Fast Ethernet switch, a Sitecom LN-113 8 port Fast Ethernet switch. I also tested two &lt;i&gt;eco&lt;/i&gt; 5 port Gigabit Ethernet switches from D-Link (DGS-1005D) and Netgear (GS105). I used the power adapters that came with the Gigabit switches as these were the newest and most efficient. The cable lengths were mixed: two that were about 5 m and two that were about 10-15 m.&lt;br /&gt;&lt;br /&gt;&lt;table border="1" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Device&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Load 0&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Load 4&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Load 3 + 1GB&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Linksys WRT54g v7&lt;/td&gt;&lt;td&gt;3.0 W&lt;/td&gt;&lt;td&gt;4.1 W&lt;/td&gt;&lt;td&gt;N/A&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Linksys WRT54gV2 &lt;/td&gt;&lt;td&gt;1.9 W&lt;/td&gt;&lt;td&gt;2.8 W&lt;/td&gt;&lt;td&gt;N/A&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Sitecom LN-113 v2&lt;/td&gt;&lt;td&gt;0.0 W&lt;/td&gt;&lt;td&gt;1.2 W&lt;/td&gt;&lt;td&gt;N/A&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Netgear GS105&lt;/td&gt;&lt;td&gt;0.1 W&lt;/td&gt;&lt;td&gt;0.6 W&lt;/td&gt;&lt;td&gt;1.0 W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;D-Link DGS-1005D&lt;/td&gt;&lt;td&gt;0.1 W&lt;/td&gt;&lt;td&gt;0.6 W&lt;/td&gt;&lt;td&gt;1.0 W&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;The test results show that four active ethernet ports will cost you 0.9 to 1.2 W per port if you use just any old ethernet switch. You can save power by using a new &lt;i&gt;eco&lt;/i&gt; switch and tying any Gigabit capable ports to 100 MBit. A Gigabit port seems to use 0,5 W per port.&lt;br /&gt;&lt;br /&gt;To answer my own question: Yes they are -- if you're careful to slow the ports to 100 MBit if that is fast enough for your requirements. &lt;br /&gt;&lt;br /&gt;For our modest Ethernet network on board our new ship  I'll be using the Netgear GS105 as that has a 12V supply (the D-Link has a 5 V stabilised power input) so it is easier to integrate. All ports will be run at 100 MBit speed to reduce power consumption.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-816219411772679674?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/816219411772679674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2009/12/are-eco-ethernet-switches-greener.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/816219411772679674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/816219411772679674'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2009/12/are-eco-ethernet-switches-greener.html' title='Are Eco Ethernet switches Greener?'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-3435118543405265217</id><published>2009-10-15T18:09:00.004+02:00</published><updated>2009-10-15T18:18:31.838+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='airmar'/><category scheme='http://www.blogger.com/atom/ns#' term='pb200'/><category scheme='http://www.blogger.com/atom/ns#' term='power usage'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Airmar PB200 WeatherStation power usage</title><content type='html'>I've measured actual power usage for the expensive but all-encompassing-all-but-dancing-and-singing Airmar PB200 WeatherStation NMEA 2000 sensor.&lt;br /&gt;&lt;br /&gt;It is officially stated as a 13 LEN device which means that it could use up to 13 * 50 = 650 mA @ 12 V = 7 W, but it actually only uses 2.5 W, e.g. 4 to 5 LEN. That's OK for a sensor that does all of the following:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;GPS (WAAS, EGNOS) (it even claims to do GLONASS according to its PGN 12029)&lt;/li&gt;&lt;li&gt;Heading (rate stabilised)&lt;/li&gt;&lt;li&gt;Pitch &amp; Roll&lt;/li&gt;&lt;li&gt;Wind direction and speed&lt;/li&gt;&lt;li&gt;Temperature&lt;/li&gt;&lt;li&gt;Air pressure&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-3435118543405265217?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/3435118543405265217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2009/10/airmar-pb200-weatherstation-power-usage.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/3435118543405265217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/3435118543405265217'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2009/10/airmar-pb200-weatherstation-power-usage.html' title='Airmar PB200 WeatherStation power usage'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-285132038490309287</id><published>2009-10-15T17:46:00.004+02:00</published><updated>2010-02-01T00:08:33.602+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='airmar'/><category scheme='http://www.blogger.com/atom/ns#' term='pb200'/><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Airmar PB200 support for Packetlogger</title><content type='html'>A new release for packetlogger, with support for the PGNs created by the Airmar PB200 Weatherstation.&lt;br /&gt;&lt;br /&gt;I've added support for the following NMEA 2000 data fields and records (PGNs):&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;PGN 65410 (Airmar Device Information, 90%)&lt;/li&gt;&lt;li&gt;PGN 126988 (Configuration Information, 90%)&lt;/li&gt;&lt;li&gt;PGN 127251 (Rate of Turn, 99%)&lt;/li&gt;&lt;li&gt;PGN 127257 (Attitude, 99%)&lt;/li&gt;&lt;li&gt;PGN 129034 (Datum, 50%)&lt;/li&gt;&lt;li&gt;PGN 130311 (Environmental Parameters, 90%)&lt;/li&gt;&lt;li&gt;PGN 130323 (Meteorological Station Data, 90%)&lt;/li&gt;&lt;li&gt;PGN 130880 (Airmar: Additional Weather Data, 90%)&lt;/li&gt;&lt;li&gt;PGN 130881 (Airmar: Heater Control, 60%)&lt;/li&gt;&lt;li&gt;PGN 130944 (Airmar: POST, name only)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;The files can be downloaded here:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.keversoft.com/downloads/packetlogger_20091015.zip"&gt;packetlogger_20091015.zip&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.keversoft.com/downloads/packetlogger_20091015_explain.txt"&gt;packetlogger_20091015_explain.txt&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.keversoft.com/downloads/packetlogger_20091015_explain.xml"&gt;packetlogger_20091015_explain.xml&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-285132038490309287?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/285132038490309287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2009/10/airmar-pb200-support-for-packetlogger.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/285132038490309287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/285132038490309287'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2009/10/airmar-pb200-support-for-packetlogger.html' title='Airmar PB200 support for Packetlogger'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-2188038902866165181</id><published>2009-10-11T21:49:00.005+02:00</published><updated>2009-10-11T21:59:17.801+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lawicel'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><title type='text'>Packetlogger for Linux</title><content type='html'>I've ported the packetlogger program to Linux. At the moment the only interface that I have hooked up is the Lawicel CAN-USB, as I plan to use the Actisense interface on Microsoft Windows and thus have no need (yet) for it to run on Linux.&lt;br /&gt;&lt;br /&gt;It turns out that the Lawicel (like the Actisense) uses an FTDI chip to interface to USB. I could not get the FTDI D2xx libraries to work properly on Debian (Lenny). The workaround was simple: interface to the pseudo serial port directly, that works fine and is just about the same amount of work. It also means there is less interference of additional layers of software. My code uses a separate process to do the reading anyway, and uses the UNIX pipe mechanism to transport the data to further processing layers.&lt;br /&gt;&lt;br /&gt;Now I shall have to start implementing the real application, which is storing the data permanently in a database on a USB stick and upload the same data to a server on the Internet. It will have to use some sort of configuration file that tells the code what data needs to be stored, and how often. &lt;br /&gt;&lt;br /&gt;Something like:&lt;br /&gt;&lt;br /&gt;local:&lt;br /&gt;heading: every 300 seconds or 10 degree course change&lt;br /&gt;location: every 300 seconds or 100 m change&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;internet:&lt;br /&gt;location: every 300 seconds or 100m change&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-2188038902866165181?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/2188038902866165181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2009/10/packetlogger-for-linux.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/2188038902866165181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/2188038902866165181'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2009/10/packetlogger-for-linux.html' title='Packetlogger for Linux'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-8051934557160031269</id><published>2009-08-06T13:58:00.007+02:00</published><updated>2010-02-01T00:09:10.242+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>General fixes for packetlogger</title><content type='html'>Here is another release of the packetlogger suite.&lt;br /&gt;&lt;br /&gt;Bug fixes:&lt;br /&gt;- Better operation with fields that are stored in non-8-bit quantities.&lt;br /&gt;- Fixed long format reading -- e.g. all data generated by Airmar WeatherCaster and actisense-reader. This fixes the issues with PGN 129029 and others.&lt;br /&gt;- Fixed geographical positions on southern and western hemispheres.&lt;br /&gt;&lt;br /&gt;New features:&lt;br /&gt;- Allow explanation of understood NMEA 2000 data fields and records (PGNs) in XML format (by request).&lt;br /&gt;- Allow insight into which bits and bytes are used for which field (-debug option).&lt;br /&gt;- Allow output of geographical coordinates in DD, DM and DMS formats. DD format can be sent straight to Google Maps (-geo dd|dm|dms option).&lt;br /&gt;- Include vcredist_x86.exe for those running older Microsoft Windows versions that don't have the requisite files. Run vcredist_x86.exe when you have trouble running actisense-reader and/or lawicel-reader.&lt;br /&gt;&lt;br /&gt;Notes:&lt;br /&gt;- You still need to install the Actisense or Lawicel device drivers, these are not included. Nothing is needed to run analyzer.exe by itself.&lt;br /&gt;&lt;br /&gt;Download here:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.keversoft.com/downloads/packetlogger_20090806.zip"&gt;packetlogger_20090806.zip&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.keversoft.com/downloads/packetlogger_20090806_explain.txt"&gt;packetlogger_20090806_explain.txt&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.keversoft.com/downloads/packetlogger_20090806_explain.xml"&gt;packetlogger_20090806_explain.xml&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-8051934557160031269?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/8051934557160031269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2009/08/general-fixes-for-packetlogger.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/8051934557160031269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/8051934557160031269'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2009/08/general-fixes-for-packetlogger.html' title='General fixes for packetlogger'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-6148968487408953162</id><published>2009-07-09T20:36:00.009+02:00</published><updated>2009-08-06T14:30:17.666+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='radar'/><category scheme='http://www.blogger.com/atom/ns#' term='lowrance'/><category scheme='http://www.blogger.com/atom/ns#' term='broadband'/><category scheme='http://www.blogger.com/atom/ns#' term='simrad'/><title type='text'>Navico Broadband Radar (BR24) test</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_8zEfkWrgZLU/SlY6FcSZc8I/AAAAAAAAAB8/RcjbGtgK0uo/s1600-h/shot+43.png"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_8zEfkWrgZLU/SlY6FcSZc8I/AAAAAAAAAB8/RcjbGtgK0uo/s320/shot+43.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5356532671970898882" /&gt;&lt;/a&gt;I've finally succeeded in capturing our new Simrad/Lowrance BR24 Broadband radar in screenshots that show what it can do in a way that can be understood without needing to know the local circumstances.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here is a &lt;a href="http://www.flickr.com/photos/20338507@N00/sets/72157621053419521/detail/"&gt;link to the Flickr set&lt;/a&gt; that shows them all. &lt;/div&gt;&lt;br /&gt;The first picture shows the largest range that showed useful information. Our antenna was about 8 m up in the air. Still, it showed echos 10 to 15 nautical miles away. Mind you, these were large built up areas (small towns). The dikes themselves at 2-15 nm did not show up. Although not impressive, it does show that the range is there. Notice that there were a number of smaller sailing yachts (motor yachts don't tend to use this lake in F5-6 winds) but that these don't show up reliably at this range. In my experience, those do show up with a 'normal' magnetron based 4 KW radome radar. Also the coast and dikes would show up.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_8zEfkWrgZLU/SlY6FonVdVI/AAAAAAAAACE/-gRttKeRdjA/s1600-h/shot+22.png"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_8zEfkWrgZLU/SlY6FonVdVI/AAAAAAAAACE/-gRttKeRdjA/s320/shot+22.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5356532675279942994" /&gt;&lt;/a&gt;The second picture shows the close up detail that is very, very impressive! Going from immediately north to south-east of the center location you see a range of dots and echos stretching from the land shown on the chart into the water. This is a series of metal piles that large ships can moor up to when waiting for the lock. The echos stretching to the land are walkways so that people can load/unload.&lt;br /&gt;&lt;br /&gt;To the W @180m  to NW @100m you can see the echos of the buildings right on top of the gray building area shown on the chart.&lt;br /&gt;&lt;br /&gt;Across the water you can see the mooring wall with the dike behind it. This is where BB shines with it's great range resolution and ability to separate objects behind other objects.&lt;br /&gt;&lt;br /&gt;&lt;iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.nl/?ie=UTF8&amp;amp;ll=52.93237,5.043089&amp;amp;spn=0.005342,0.008186&amp;amp;t=h&amp;amp;z=17&amp;amp;output=embed" style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 240px;"&gt;&lt;/iframe&gt; &lt;div&gt;To the right is a Google Map view of the same area.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;On all images you can see that man-made objects, in particular heavy or conductive matter such as metal, show up much better than the softer areas (earthen dikes, trees), especially further off.&lt;br /&gt;&lt;br /&gt;If you have any questions regarding the objects or views that I have, please comment and I will expand this entry accordingly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-6148968487408953162?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/6148968487408953162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2009/07/navico-broadband-radar-bb24-test.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/6148968487408953162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/6148968487408953162'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2009/07/navico-broadband-radar-bb24-test.html' title='Navico Broadband Radar (BR24) test'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_8zEfkWrgZLU/SlY6FcSZc8I/AAAAAAAAAB8/RcjbGtgK0uo/s72-c/shot+43.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-8223336727079078324</id><published>2009-06-28T12:25:00.009+02:00</published><updated>2009-06-29T21:25:09.858+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Actisense NGT-1 update for packetlogger</title><content type='html'>Last week I received a &lt;a href="http://www.actisense.com/HTML/Products/Gateways/NMEA_2000_PC_Gateway_1/index.php"&gt;NGT-1-USB&lt;/a&gt; that &lt;a href="http://www.actisense.com/"&gt;Actisense&lt;/a&gt; kindly provided for a trial here in the lab. It is a much more capable device than the Lawicel CANUSB that I have been using so far, as it relieves the burden of the programmer of having to negiotate bus commands. As a drawback its SDK is more complicated -- primarily because it supports multiple Actisense devices. Still, I'm very satisfied and if I can write a Linux driver I'll keep it (and pay for it!)&lt;br /&gt;&lt;br /&gt;Anyway, I have now updated the packetlogger so that it can use the Actisense NGT-1 or NGT-1-USB for sniffing NMEA 2000 packets. As the NGT-1 already does fast packet assembly I had to modify my analyzer and support a new packet format for the logger. The analyzer will transparently adapt to the new format. The existing 'canreader.exe' program has been renamed 'lawicel-reader.exe' and a new 'actisense-reader.exe' has been added.&lt;br /&gt;&lt;br /&gt;The actisense reader needs to know which virtual COM port the Actisense device is on. To find out which port that is you run actisense-reader without any arguments, like this:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;C:\packetlogger&gt; actisense-reader&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Usage: actisense-reader &amp;lt;com-port&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&amp;lt;com-port&amp;gt; is an integer from the following list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;3: COM3 - Actisense NGW/NGT NMEA 2000 Gateway (Available)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&amp;lt;baud-rate&amp;gt; is an integer from the following list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; 4800 38400 115200 230400 (default is 115200&lt;/span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;If your device still has the original baudrate (115,200) you do no need to provide this as it is the default value.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The work done to support the Actisense NGT-1(-USB) turned out to be most of the work needed to support the logfiles that &lt;a href="http://airmartechnology.com/airmar2005/ex20/RMProducts/Link.html"&gt;Airmar's WeatherCaster&lt;/a&gt; software can create, so I've added support for those as well. Note that the WeatherCaster software, although not very flexible, is useful even if you do not own a Airmar PB-200. It can show other (wind, speed, GPS) data as well.&lt;br /&gt;&lt;br /&gt;Here are the links to the new software and NMEA packet support files:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.keversoft.com/downloads/packetlogger_20090628.zip"&gt;packetlogger_20090628.zip&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.keversoft.com/downloads/packetlogger_20090628_explain.txt"&gt;packetlogger_20090628_explain.txt&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;Oh, and as a final bonus I've located some more PGN numbers, so these are now displayed as well. Most of them seem pretty obscure and I haven't seen them on my network at all. Still, when they come by you will know what the packet name is.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-8223336727079078324?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/8223336727079078324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2009/06/actisense-ngt-1-update-for-packetlogger.html#comment-form' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/8223336727079078324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/8223336727079078324'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2009/06/actisense-ngt-1-update-for-packetlogger.html' title='Actisense NGT-1 update for packetlogger'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-1813556897266832405</id><published>2009-06-21T17:52:00.007+02:00</published><updated>2009-06-29T21:27:23.839+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ais'/><category scheme='http://www.blogger.com/atom/ns#' term='hds'/><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>AIS class B update for packetlogger</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_8zEfkWrgZLU/Sj5eRJpmuKI/AAAAAAAAAB0/m0DKa57aelk/s1600-h/090618_123553.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_8zEfkWrgZLU/Sj5eRJpmuKI/AAAAAAAAAB0/m0DKa57aelk/s320/090618_123553.jpg" alt="" id="BLOGGER_PHOTO_ID_5349817056103938210" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Last week &lt;a href="http://www.panbo.com/archives/2009/06/nmea_2000_ais_not_yet_right.html#more"&gt;Ben Ellison at Panbo found that there is no AIS class B static data PGN agreed upon yet&lt;/a&gt; so when you connect a Navico NAIS-300 to a Garmin display there is no class B static data shown. As you can see in &lt;a href="http://www.panbo.com/assets_c/2009/06/Simrard_AI50_NMEA_2000_output_cPanbo-576.html"&gt;his NMEA 2000 PGN received list&lt;/a&gt; the NAIS-300 puts out a Navico specific PGN: 130842.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;As I had a few days on the boat with the kids I dragged my NMEA 2000 network to the boat and rigged up a temporary network to verify some things. One reason was to see if I stumbled upon a Class B sender so I had some packets to analyze. Luckily I found one willing Class B sender half way down the IJsselmeer. This showed up nicely on the Lowrance HDS-8 that showed all this on the Info display shown up right. Side note: making pictures of displays out in the sunshine is harder than I thought. Weird how that dust shows up prominently on the photo, it was absolutely not irritating in the real world.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;As a result I can verify that the Navico PGN 130842 does indeed contain the missing Class B static data: call sign, vessel type, dimensions. There are some other fields as well, but I can't yet place those. Interestingly, the PGN 130842 is transmitted every 6 minutes (on receipt of the over-the-air AIS message 24 Class B CS static data report) and then twice in succession, each with different length and somewhat different data.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The first format is 37 bytes long, and an example is (first in hex bytes, then ascii, then what I can make of it):&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;41 9F 81 FF 18 0F EA 8B 0E 25 54 52 55 45 48 44 47 50 45 34 32 35 38 00 6E 00 28 00 14 00 6E 00 FF FF FF FF C0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;A  .  .  .  .  .  .  .  .  .  T  R  U  E  H  D  G P  E  4  2  5  8  .  n  .  .  .  .  .  n  .  .  .  .  .  .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;A = 65 B = 159 C = 129 E = 24 MMSI = 244050447 Type of ship = Pleasure F = TRUEHDG Callsign = PE4258 Length = 11 m Beam = 4 m GPS from port = 2 m GPS from bow = 11 m L = 192  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The second format is 29 bytes long, and an example in the same formats is:&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;41 9F 80 FF 18 0F EA 8B 0E 50 41 56 41 4E 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;A  .  .  .  .  .  .  .  .  P  A  V  A  N  E  .  .  .  .  .  .  .  .  .  .  .  .  .  .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;A = 65 B = 159 C = 128 E = 24 MMSI = 244050447 Name= PAVANE&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Note the peculiar string embedded in the first format: TRUEHDG. This is likely to indicate that this NAIS-300 is based on a design from &lt;a href="http://www.trueheading.se/"&gt;True Heading&lt;/a&gt;. After opening the case I did indeed find one Navico and one SRT circuit board, linked with a single four wire interconnect. The Navico specific board is much simpler, and only contains a smallish microprocessor. The SRT board contains a massive ASIC and a Texas Instruments 320Cxx class CPU, memory etc.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This seems to indicate that the communication between the two boards is a simple serial protocol, and that the Navico board only serves as the power circuit and NMEA 2000 interface. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The packetlogger program now understands the above forms of PGN 130842 as well as PGN 129039 (Class B position report) and can be &lt;a href="http://www.keversoft.com/downloads/packetlogger_20090621.zip"&gt;downloaded from here&lt;/a&gt;. The &lt;a href="http://www.keversoft.com/downloads/packetlogger_20090621_explain.txt"&gt;list of messages and fields&lt;/a&gt; understood can be downloaded as well.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-1813556897266832405?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/1813556897266832405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2009/06/ais-class-b-update-for-packetlogger.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/1813556897266832405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/1813556897266832405'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2009/06/ais-class-b-update-for-packetlogger.html' title='AIS class B update for packetlogger'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_8zEfkWrgZLU/Sj5eRJpmuKI/AAAAAAAAAB0/m0DKa57aelk/s72-c/090618_123553.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-2868006254350340774</id><published>2009-06-07T18:23:00.006+02:00</published><updated>2009-06-07T22:23:51.632+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Packetlogger update</title><content type='html'>&lt;div&gt;The packetlogger suite (v20090607) can be &lt;a href="http://www.keversoft.com/downloads/packetlogger_20090607.zip"&gt;downloaded here&lt;/a&gt;. It still requires a Lawicel CANUSB device to sniff new data from the NMEA 2000 bus, but it is now split into two parts: the actual "sniffer" called &lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;canreader.exe&lt;/span&gt; that talks to the bus, and a separate analyzer called &lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;analyzer.exe&lt;/span&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Both programs operate in UNIX filter style; canreader can only log CAN data to stdout. It runs until a line is entered on stdin. analyzer reads stdin and write analyzed output to stdout.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Analyzer can run without a CANusb present. Without raw N2K log files though the only thing it can do is show what NMEA PGNs and fields therein the program understands. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here are some typical usage examples:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;analyze -explain # Show what PGNs are understood by the program&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;canreader | analyzer # read data and analyze immediately&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;canreader &gt; rawnmea.log # write data that can be analyzed at a later date&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;cat rawnmea.log | analyze -raw -data # interpret file later date, show three stages of interpreted data&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;cat rawnmea.log | analyze 129038 # focus on single PGN&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt; &lt;div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Here is a link to the output of &lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;analyze -explain&lt;/span&gt; that shows the  &lt;/span&gt;&lt;a href="http://www.keversoft.com/downloads/packetlogger_20090607_explain.txt"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;current list of supported PGNs&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;PGNs that have improved in this release:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;127505 - Fluid Level (now complete)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;129038 - AIS Class A Position Report (now usable)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;129283 - Cross Track Error (one field left to explain)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;129794 - AIS Class A Static and Voyage Related Data (now usable, ETA still wrong)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;130836 - Simnet: Configure? (understands EP65R configuration data)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-2868006254350340774?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/2868006254350340774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2009/06/packetlogger-update.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/2868006254350340774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/2868006254350340774'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2009/06/packetlogger-update.html' title='Packetlogger update'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-6871344295704022906</id><published>2009-06-02T20:03:00.008+02:00</published><updated>2009-06-07T22:21:42.654+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='packetlogger'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>First version of a NMEA 2000 packetlogger</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_8zEfkWrgZLU/SiWY6dODyxI/AAAAAAAAABc/fRvB0HzgGTc/s1600-h/P6020077.JPG"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_8zEfkWrgZLU/SiWY6dODyxI/AAAAAAAAABc/fRvB0HzgGTc/s320/P6020077.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5342844662988393234" /&gt;&lt;/a&gt;Shown at right is the NMEA 2000 network that I have assembled together so far. It's not complete yet, but it is enough to keep me busy for a while. Please note the large metallic object used as a base for the magnetic VHF antenna, also known as the Commodore PET 3032 computer that I learnt to program on way back in 1979. Those four IS20 displays in front of it are all more powerful than that machine with its 32 kbyte RAM and 1 megahertz clock cycle!&lt;div&gt;&lt;br /&gt;Over the past few weeks I've started a subproject where I am trying to see if I can read NMEA 2000 data flowing across the N2K network. This with the intention to create an integrated viewer that can show all data, including the environmental data generated by the sensors.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It turns out that just logging is not very hard. Logging and interpreting the NMEA data is a little harder. I've cross-checked with all sources that I could find across the internet. At the moment my logger app will log something like this:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;# Timestamp          Prio Src Dst Message&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;2009-06-02Z18:17:28,128 6  35 255 Distance Log:  Log = 0 Trip Log = 0&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;2009-06-02Z18:17:28,128 2   1 255 Rate of Turn:  Rate = 0.06443&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;2009-06-02Z18:17:28,128 6   0 255 Simnet: 65420:  A = -2.477e+004 B = 6.365e+004 C = 3 D = 1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;2009-06-02Z18:17:28,128 6   0 255 Distance Log:  Log = 0.005 Trip Log = 0&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;2009-06-02Z18:17:28,128 2   2 255 Position, Rapid Update:  Latitude = 52:01.***'N Longitude = 05:09.***'E&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;2009-06-02Z18:17:28,159 2   1 255 Rate of Turn:  Rate = -0.03988&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;2009-06-02Z18:17:28,159 2   9 255 Wind Data:  Wind Speed = 0m/s Wind Angle = 126.2degrees Reference = 2&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;2009-06-02Z18:17:28,175 2   1 255 Vessel Heading:  Heading = 195.8 Reference = 5&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;2009-06-02Z18:17:28,175 2   0 255 Wind Data:  Wind Speed = 0m/s Wind Angle = 33.48degrees Reference = 3&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;2009-06-02Z18:17:28,191 2   2 255 COG &amp;amp; SOG, Rapid Update:  SID = 0 COG Reference = 0 COG = 219 SOG = 0.1166&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;2009-06-02Z18:17:28,191 3   2 255 GNSS Position Data:  SID = 0 Date = 2009.06.02 Time = 18:17:28.00000 Latitude = 52:01.***'N Longitude = 05:09.***'&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;E Altitude = 8 Type = 3 Method = 1 Integrity = 0 Number of SVs = 9 HDOP = 1.1 PDOP = 2 Geoidal Separation = 47.1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;2009-06-02Z18:17:28,191 3   4 255 Cross Track Error:  A = 161.3 XTE = -0.01m&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;2009-06-02Z18:17:28,191 6   2 255 GNSS DOPs:  SID = 0 Op Mode = 2 HDOP = 1.1 VDOP = 1.7&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;2009-06-02Z18:17:28,191 5   3 255 Environmental Parameters:  SID = 242 Water Temperature = 26.73C ( 80.1F)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;2009-06-02Z18:17:28,237 2   2 255 Position, Rapid Update:  Latitude = 52:01.***'N Longitude = 05:09.***'E&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;2009-06-02Z18:17:28,253 2   9 255 Wind Data:  Wind Speed = 0m/s Wind Angle = 124.9degrees Reference = 2&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;2009-06-02Z18:17:28,284 3   2 255 System Time:  SID = 0 Source = 00 = GPS Date = 2009.06.02 Time = 18:17:28.00000&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;2009-06-02Z18:17:28,300 2   1 255 Rate of Turn:  Rate = -0.03988&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;2009-06-02Z18:17:28,331 2   1 255 Vessel Heading:  Heading = 195.8 Reference = 5&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;2009-06-02Z18:17:28,347 3   3 255 Water Depth:  Offset = 32.77&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;2009-06-02Z18:17:28,347 2   2 255 Position, Rapid Update:  Latitude = 52:01.***'N Longitude = 05:09.***'E&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;2009-06-02Z18:17:28,347 6   2 255 GNSS Sats in View:  SID = 0 Mode = 2 Sats in View = 9 Sat # = 12 Elevation = 87 Azimuth = 7.998 SNR = 30dB Range r&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;esiduals = 0 Status = 4 Sat # = 30 Elevation = 53 Azimuth = -115.5 SNR = 23dB Range residuals = 0 Status = 4 Sat # = 9 Elevation = 46 Azimuth = 131 &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;SNR = 39dB Range residuals = 0 Status = 4 Sat # = 14 Elevation = 44.99 Azimuth = -91.5 SNR = 29dB Range residuals = 0 Status = 4 Sat # = 27 Elevatio&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;n = 29.99 Azimuth = 130 SNR = 34 Range residuals = 0 Status = 4 Sat # = 4 Elevation = 19 Azimuth = 70 SNR = 26dB Range residuals = 0 Status = 4 Sat &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;# = 2 Elevation = 17 Azimuth = 108 SNR = 24dB Range residuals = 0 Status = 4 Sat # = 26 Elevation = 16 Azimuth = 183 SNR = 22dB Range residuals = 0 &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;Status = 4 Sat # = 29 Elevation = 12 Azimuth = -176.5 SNR = 30dB Range residuals = 0 Status = 4&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_8zEfkWrgZLU/SiWbZavUjfI/AAAAAAAAABk/f1EPlc9cI0g/s1600-h/shot+1.png"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_8zEfkWrgZLU/SiWbZavUjfI/AAAAAAAAABk/f1EPlc9cI0g/s320/shot+1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5342847393921797618" /&gt;&lt;/a&gt; I'm already pretty good at decoding most common packets as seen on my network. For instance I've completely got the GPS messages down, and most of the sensor data. I'm not as successful yet with AIS messages, mainly because I'm short on AIS data where I am -- not a lot of ships in sight here! Also note the proprietary Simnet message in the log above, where I am just guessing at the fields for now.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-6871344295704022906?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/6871344295704022906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2009/06/first-version-of-nmea-2000-packetlogger.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/6871344295704022906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/6871344295704022906'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2009/06/first-version-of-nmea-2000-packetlogger.html' title='First version of a NMEA 2000 packetlogger'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_8zEfkWrgZLU/SiWY6dODyxI/AAAAAAAAABc/fRvB0HzgGTc/s72-c/P6020077.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-1618680338001551769</id><published>2009-06-02T15:45:00.011+02:00</published><updated>2009-06-29T21:29:22.304+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fitpc'/><category scheme='http://www.blogger.com/atom/ns#' term='nobeltec'/><category scheme='http://www.blogger.com/atom/ns#' term='lowrance'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='mastervolt'/><category scheme='http://www.blogger.com/atom/ns#' term='simrad'/><category scheme='http://www.blogger.com/atom/ns#' term='icom'/><category scheme='http://www.blogger.com/atom/ns#' term='hds'/><category scheme='http://www.blogger.com/atom/ns#' term='monitoring'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Tying it all together - Overview</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_8zEfkWrgZLU/SjbIpQI0jeI/AAAAAAAAABs/kJyWFbCXDEA/s1600-h/Stadtship+56+Verruijt+Electronics"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_8zEfkWrgZLU/SjbIpQI0jeI/AAAAAAAAABs/kJyWFbCXDEA/s320/Stadtship+56+Verruijt+Electronics" alt="" id="BLOGGER_PHOTO_ID_5347682218581200354" border="0" /&gt;&lt;/a&gt;{Updated: June 16, 2009}&lt;div&gt;&lt;br /&gt;Enough has been done now to show what the entire electrical and navigation system on &lt;a href="http://www.merrimac.nl/"&gt;Merrimac II&lt;/a&gt; is going to look like. The goal was to have a system that's easy to use but not clutter up the entire boat with displays at various places. Not that you'd guess this from the image shown here at right -- you'd better click on it to get a readable image if you want to see it in more detail! &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The cabin/saloon will not have any displays, buttons or nav systems except for a radio and a TV (hidden in a cabinet) and a charging cradle for the iPod touch remote.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The doghouse will have a PC display and a chartplotter and nothing else; all complexity will be operable from the PC and the remote (iPod Touch).&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Power&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Let's start from basics: power supply. The electrons are going to come aboard as follows:&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Solar panels. 6 x Sunware SPR-90. 90Wp per panel. These should keep her happy while we're not there -- and even for a large part when are! I estimate that they can supply up to 2 kWh per day.&lt;/li&gt;&lt;li&gt;High power &lt;a href="http://www.mastervolt.com/view_product.php?lang=2&amp;amp;section=marine&amp;amp;prggr_id=1018&amp;amp;prg_id=1046&amp;amp;pro_id=5119"&gt;Mastervolt 24V/75A&lt;/a&gt; alternator on the engine coupled with an Alpha charge regulator. I've purposely decided on this model, as it charges at higher amps when the engine is running slowly than it's larger brethren.&lt;/li&gt;&lt;li&gt;A &lt;a href="http://www.mastervolt.com/view_product.php?lang=2&amp;amp;section=marine&amp;amp;prggr_id=1011&amp;amp;prg_id=1154&amp;amp;pro_id=6073"&gt;Mastervolt Chargemaster&lt;/a&gt; 24V/30A charger.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;This will be sunk into 6 x 225 Ah Mastervolt AGM batteries, connected as 3 x 2 to provide 24 V @ 675 Ah. This means we can use about 330 Ah == 8 kWh before we need to top up.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;On the consumer side we'll have a Mastervolt DC/AC converter that generates 230V, and a DC/DC converter that provides 12V for the electronics. There will be no AC-AC path from the shore connection to anything on board. In this way we don't need a isolation transformer. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The AC side is used by the following:&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Hydraulic power pump for the lifting keel.&lt;/li&gt;&lt;li&gt;Washing machine (Miele, with hot fill capability so it can use warm engine water.)&lt;/li&gt;&lt;li&gt;Dishwasher.&lt;/li&gt;&lt;li&gt;TV.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;The 12 V bits are used for anything electronic that needs/wants this. This keeps the supply clean, even when we use heavy electrical engines like the anchor winch. All motors etc are to be kept off this circuit, obviously.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The 24 V bits are for everything else: lighting, fridge, freezer, winches, autopilot.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Network&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The electronics are going to be running on three networks:&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Ethernet&lt;/li&gt;&lt;li&gt;NMEA 2000&lt;/li&gt;&lt;li&gt;Masterbus&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;The Ethernet will interface the Wago Linux PLC, the "integrator" Linux computer that provides WiFi and cellular access, a navigation computer running Microsoft Windows, a HDS8 chartplotter and a Broadband Radar radome.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The NMEA 2000 data will carry all navigation data. The components on this network are: Simrad IS20 instruments, autopilot and AIS class B transceiver; Lowrance HDS8 chartplotter/fishfinder/radar.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The Masterbus will couple all Mastervolt chargers/converters to each other. It integrates to the Microsoft Windows PC using a Mastervolt USB interface and possibly to the Linux system usign a Modbus interface.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What's not yet entirely clear is what will be used to tie the NMEA 2000 and Masterbus to the PCs, and what the PCs will be like. I'm investigating whether I can interface to these buses using my own software and off the shelf or custom CAN bus interfaces, as both of them are actually CAN. The fallback scenario is to use a Simrad AT10 interface for the Nobeltec software, a CANUSB for snooping the NMEA 2000 data and a Mastervolt Modbus interface for snooping the Mastervolt data. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For the Linux PC I'm contemplating various systems, but at the moment it looks as if I might as well use two (almost) identical systems such as the &lt;a href="http://fit-pc2.com/wiki/index.php?title=Main_Page"&gt;fit-PC2&lt;/a&gt; for both the "always on" server and the Windows navigation system. An alternative is to make the server something that is ARM or MIPS based, as that should use less power. Sourcing an ARM based computer that is frugal with power (e.g. 2-3 W in total), has Ethernet, Wireless and USB or even better CAN directly on board turns out to be harder than I thought. There are a good many suppliers, but most systems fail on either being able to support an uptodate Linux BSP, or have the wrong peripherals, or are very expensive, or have a lifetime that is too short. If that is the case I might just as well use an expendable x86 computer that has plenty of USB ports and low power.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Navigation data&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;There will be four displays in the cockpit: IS20 Wind, Graphic, Multi and an AP24 pilot control. This gives ample data at disposal. There will be two depth sensors: one on the hull and one at the bottom of the keel. This is not just for redundancy, but also to keep from having to perform mental arithmetic as the keel depth can be varied from 0,80 m (2.6 ft) to 3,15 m (10 ft). This is important as our home waters are very shallow. The sensors work at different frequencies so they should not interfere with each other. The HDS can switch its depth sensor off when it's not needed. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The doghouse will have two screens: a &lt;a href="http://www.lowrance.com/en/Products/Marine/HDS-High-Definition-System/HDS-8-FishfinderGPS-Chartplotter/"&gt;Lowrance HDS8&lt;/a&gt; chartplotter that also shows depth-over-time (aka a Fishfinder) and Radar. Next to that will be  a computer display running &lt;a href="http://www.nobeltec.com/"&gt;Nobeltec Admiral&lt;/a&gt; and various other software. It will also run &lt;a href="http://mscan.com/"&gt;MSCAN Meteo&lt;/a&gt; (for receiving weather and NAVTEX data) connected to an ICOM PCR1500 remote controlled SSB receiver. The doghouse will also contain a Simrad RS82 VHF as well as an ICOM portable VHF and a Simrad WR20 remote. The remote allows you to control all Simrad equipment remotely as well as use it as a Bluetooth "headset" for a cellphone.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-1618680338001551769?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/1618680338001551769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2009/06/tying-it-all-together-overview.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/1618680338001551769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/1618680338001551769'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2009/06/tying-it-all-together-overview.html' title='Tying it all together - Overview'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_8zEfkWrgZLU/SjbIpQI0jeI/AAAAAAAAABs/kJyWFbCXDEA/s72-c/Stadtship+56+Verruijt+Electronics' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-2541803701535330571</id><published>2009-06-02T10:58:00.007+02:00</published><updated>2009-06-29T21:30:47.129+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='system control'/><category scheme='http://www.blogger.com/atom/ns#' term='plc'/><category scheme='http://www.blogger.com/atom/ns#' term='ipod touch'/><category scheme='http://www.blogger.com/atom/ns#' term='monitoring'/><category scheme='http://www.blogger.com/atom/ns#' term='wago'/><title type='text'>DC (and AC) power control</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_8zEfkWrgZLU/SiT4VOpKBUI/AAAAAAAAABU/zD65H41N1RE/s1600-h/Picture+1.png"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 172px; height: 320px;" src="http://1.bp.blogspot.com/_8zEfkWrgZLU/SiT4VOpKBUI/AAAAAAAAABU/zD65H41N1RE/s320/Picture+1.png" alt="" id="BLOGGER_PHOTO_ID_5342668101559911746" border="0" /&gt;&lt;/a&gt;Our new sailing boat is proving to be a new playground for exercising some skills that I haven't used for 25 odd years. In particular, designing the DC and navigation systems that are going on board.  I have slowly been coming up with what I think is a good mix of reliability, ease of use and high tech. This last bit just for the fun of it. But, let me start at the beginning...&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;We really like sailing, and sailing should be simple and fun. To make that come true you need to be comfortable as well. Over here in Northern Europe this means that during the colder months of the year you want heating on board. That and shelter from the rain. After some to-and-fro we decided to heat the boat using an ultra-reliable diesel-fired &lt;a href="http://www.kabola.nl/"&gt;Kabola&lt;/a&gt; stove that is going to distribute the heat using hot water. As space is at a premium and we didn't like to have normal radiators in sight, we decided to go for floor heating. There is a Dutch company called &lt;a href="http://www.yfh.nl/index.html?taal=2"&gt;Yacht Floor Heating&lt;/a&gt; that has come up with a solution that 'works' for yachts.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Floor heating does have the disadvantage that it takes a long time to heat up the interior initially, so we really needed a method of being able to switch the heating on remotely&lt;i&gt; before&lt;/i&gt; we get to the boat in winter. Once you can remotely switch on the heat the question soon came up why the system should be limited to just that. Why not be able to do more, like monitor bilge water, battery charges and switch on fridges, deck lights? Why can't I check what the wind conditions are remotely? Maybe even put a camera on board?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Looking at the various options it soon was apparent that there are many systems on the market, but not one that integrated everything that I wanted from such a system.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What I wanted is something that:&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Does not interfere with manual operation. If the fancy electronics fail, the system should still be operable by hand. This rules out all new technologies that do distributed DC switching, as they rely on the electronic DC bus to be able to switch stuff on and off.&lt;/li&gt;&lt;li&gt;Should offer a simple switches-and-lights interface that is easy to understand for people that are not comfortable with computers.&lt;/li&gt;&lt;li&gt;Allows integration with modern technologies such as remote controls (locally and remotely) and Google Maps mash-ups.&lt;/li&gt;&lt;li&gt;Can be replaced, extended and modified over time.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;The DC wiring and all consumers are going to be installed by the builder. They pointed out that the relatively low complexity of the boat in terms of electrical consumers meant that a distributed DC layout was not going to provide many advantages, if at all. A single cabinet that is centrally located will suffice. This will also simplify fault detection and maintenance: all circuit breakers are located in the same spot. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The system that I have come up with is as follows:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;The distribution cabinet will contain circuit breakers and old fashioned mechanical latching relays. As they are latching they don't use power in use. It also gives the opportunity to have multiple switches that toggle the relay state. &lt;/li&gt;&lt;li&gt;The switches can be located anywhere in the boat. They are momentary action switches coupled with a feedback LED. We've chosen to centralize them in a single board near the entrance, hidden behind a frosted glass panel.&lt;/li&gt;&lt;li&gt;A small Linux driven PLC contains digital I/Os as well as analog inputs. It can toggle the relays and measure their state. The analog inputs are used to measure all tank levels and possibly bilge levels. The &lt;a href="http://www.wago.us/products/337.htm"&gt;WAGO PLC&lt;/a&gt; is modular and extendable but proven technology.&lt;/li&gt;&lt;li&gt;A 2nd computer will provide on-board WiFi and a cellular link to the Internet. This can be extended to a satellite link later on. This computer will also have a CAN bus interface so that it can talk with the NMEA 2000 bus that all the navigation systems are connected to. Finally it will also talk directly to the Mastervolt DC and AC power systems.&lt;/li&gt;&lt;li&gt;Local control is via an interactive AJAX driven website that is accessible, for instance, via an iPod touch or iPhone over WiFi, as well as any other computer that is onboard -- including the navigation computer.&lt;/li&gt;&lt;li&gt;Remote control is via any computer or phone connected to the internet. The actual connection will be via a proxy located in a data-center, as the cellular end of the boat does not have a fixed IP address. Access to the data will be using a form of authorization, of course. &lt;/li&gt;&lt;/ul&gt;&lt;div&gt;I've started some prototypes for all this, and it seems that this will come together nicely. I'm working on a NMEA 2000 packet sniffer as well as a web application for the iPhone/iPod touch. You can see the "Fluid and battery level" screen of the app in action at the top of this entry.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-2541803701535330571?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/2541803701535330571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2009/06/dc-and-ac-power-control.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/2541803701535330571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/2541803701535330571'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2009/06/dc-and-ac-power-control.html' title='DC (and AC) power control'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_8zEfkWrgZLU/SiT4VOpKBUI/AAAAAAAAABU/zD65H41N1RE/s72-c/Picture+1.png' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-3603835434328396657</id><published>2009-05-29T13:03:00.004+02:00</published><updated>2009-06-29T21:31:32.792+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='power usage'/><category scheme='http://www.blogger.com/atom/ns#' term='apple'/><title type='text'>Apple 30" Cinema HD Display power usage</title><content type='html'>Now that I've got the power meter out, I've started measuring more stuff than what's going onto the boat. Maybe having actual figures will help somebody out there.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For instance, my Apple 30" display at the office uses up to 150W according to Apple. The actual consumption figures that I've measured are:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); line-height: 20px;font-size:13;" &gt;&lt;table border="1" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Setting&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Quality&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Power&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;0%&lt;/td&gt;&lt;td&gt;On the dim side, but still pretty good&lt;/td&gt;&lt;td&gt;51 W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;50 %&lt;/td&gt;&lt;td&gt;Normal office use&lt;/td&gt;&lt;td&gt;75 W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;100 %&lt;/td&gt;&lt;td&gt;Good for use with indirect sunshine&lt;/td&gt;&lt;td&gt;114 W&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-3603835434328396657?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/3603835434328396657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2009/05/apple-30-cinema-hd-display-power-usage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/3603835434328396657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/3603835434328396657'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2009/05/apple-30-cinema-hd-display-power-usage.html' title='Apple 30&quot; Cinema HD Display power usage'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-9037012659436908983</id><published>2009-05-11T19:21:00.006+02:00</published><updated>2009-06-29T21:32:22.102+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lowrance'/><category scheme='http://www.blogger.com/atom/ns#' term='simrad'/><category scheme='http://www.blogger.com/atom/ns#' term='power usage'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Simrad/Lowrance NMEA2000 network power usage</title><content type='html'>Third in what is turning out to be a small series on power usage. This time I figured I'd benchmark the power usage of all the navigation equipment that I have collected so far for the new boat.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Again measured using a Voltcraft 3000 at the 230V AC, so the actual figures are too high by 10-20% when using a direct 12V DC source. Since I am going to use a 24 V to 12 V DC/DC converter that will probably have the same sort of efficiency as the AC/DC converter that I am using now, I figure these measurements are good enough for me personally.  &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="1" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Device&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Power&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Cumulative&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Lowrance HDS-8 (backlight @ 6)&lt;/td&gt;&lt;td&gt;6.3W&lt;/td&gt;&lt;td&gt;6.3W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Simrad IS20 Wind wand&lt;/td&gt;&lt;td&gt;0.9W&lt;/td&gt;&lt;td&gt;7.2W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Airmar DST800 depth/speed/temp sensor&lt;/td&gt;&lt;td&gt;1.0W&lt;/td&gt;&lt;td&gt;8.3W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Lowrance EP-65R fluid level sensor&lt;/td&gt;&lt;td&gt;0.4W&lt;/td&gt;&lt;td&gt;8.7W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Navico NAIS-300 AIS-B (receive mode)&lt;/td&gt;&lt;td&gt;7.3W&lt;/td&gt;&lt;td&gt;16.0W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Simrad RC42 compass&lt;/td&gt;&lt;td&gt;0.9W&lt;/td&gt;&lt;td&gt;16.9W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Simrad IS20 Graphic display&lt;/td&gt;&lt;td&gt;0.8W&lt;/td&gt;&lt;td&gt;17.7W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Simrad IS20 Multi display&lt;/td&gt;&lt;td&gt;0.6W&lt;/td&gt;&lt;td&gt;18.3W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Simrad IS20 Wind display&lt;/td&gt;&lt;td&gt;1.0W&lt;/td&gt;&lt;td&gt;19.3W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Simrad AC42 course computer&lt;/td&gt;&lt;td&gt;2.5W&lt;/td&gt;&lt;td&gt;21.8W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Simrad AP24 auto pilot controller&lt;/td&gt;&lt;td&gt;0.8W&lt;/td&gt;&lt;td&gt;22.6W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Airmar P319 sonar (depth) sensor&lt;/td&gt;&lt;td&gt;1.4W&lt;/td&gt;&lt;td&gt;24.0W&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;As always there are some small surprises here:&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;The chartplotter only uses 25% of the power envelope&lt;/li&gt;&lt;li&gt;NMEA2000 nodes seem to use at least 0.4W.&lt;/li&gt;&lt;li&gt;The NAIS-300 uses more power than I'd thought it would. Being able to shut it down completely is something to be considered.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;Note to self (and reader): this is on the benchtop, the following is still missing:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;RF300 rudder feedback (should be neglible)&lt;/li&gt;&lt;li&gt;Hydraulic pump (e.g. using the autopilot as opposed to just having it in standby)&lt;/li&gt;&lt;li&gt;VHF #1&lt;/li&gt;&lt;li&gt;Simrad WR20 remote&lt;/li&gt;&lt;li&gt;Broadband RADAR sensor&lt;/li&gt;&lt;li&gt;Ethernet switch&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-9037012659436908983?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/9037012659436908983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2009/05/simradlowrance-nmea2000-network-power.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/9037012659436908983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/9037012659436908983'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2009/05/simradlowrance-nmea2000-network-power.html' title='Simrad/Lowrance NMEA2000 network power usage'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-9215381124135922279</id><published>2009-05-05T18:14:00.006+02:00</published><updated>2009-06-29T21:33:42.913+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lowrance'/><category scheme='http://www.blogger.com/atom/ns#' term='power usage'/><category scheme='http://www.blogger.com/atom/ns#' term='nmea 2000'/><title type='text'>Lowrance HDS 8 power usage</title><content type='html'>Finally had a chance to hook up parts of the new NMEA 2000 kit to the power meter.&lt;br /&gt;&lt;br /&gt;Running standalone (with no external sensors) the new  &lt;a href="http://www.lowrance.com/en/Products/Marine/HDS-High-Definition-System/HDS-8-FishfinderGPS-Chartplotter/"&gt;Lowrance HDS 8&lt;/a&gt; uses the following amount of power:&lt;br /&gt;&lt;br /&gt;&lt;table border="1" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Standby ('off')&lt;/td&gt;&lt;td&gt;0.4 W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Booting (display 100% backlight)&lt;/td&gt;&lt;td&gt;14 W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Standby&lt;/td&gt;&lt;td&gt;5.0 W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Chart display (brightness = 1, backlight off)&lt;/td&gt;&lt;td&gt;5.0 W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;brightness = 2&lt;/td&gt;&lt;td&gt;5.0 W (usable at night)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;brightness = 3&lt;/td&gt;&lt;td&gt; 5.1 W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;brightness = 5&lt;/td&gt;&lt;td&gt;5.7 W (usable in cloudy day)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;brightness = 8&lt;/td&gt;&lt;td&gt;8.9 W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;brightness = 10&lt;/td&gt;&lt;td&gt;13.3 W (max, very bright even in sun)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Enabling the sonar added 2 to 3 Watt. In fact the sensor usage is the only difference between Standby and running with the backlight very low or off.&lt;br /&gt;&lt;br /&gt;This was all measured at the wall plug using a laptop AC to 12 V DC converter and a Voltcraft Energy Check 3000. Actual power use measured at the DC input should be about 15% lower still.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;All in all I am extremely satisfied with this new plotter -- Excellent functionality, great NMEA 2000 interfacing, great screen, cheap charts, all for a very reasonable price. I got mine from &lt;a href="http://www.jgtech.com/shop13page2.htm"&gt;JG Tech&lt;/a&gt; in the UK.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-9215381124135922279?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/9215381124135922279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2009/05/lowrance-hds-8-power-usage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/9215381124135922279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/9215381124135922279'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2009/05/lowrance-hds-8-power-usage.html' title='Lowrance HDS 8 power usage'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2146804057550640727.post-5530684501516183489</id><published>2009-05-05T17:55:00.005+02:00</published><updated>2009-06-29T21:34:25.371+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='power usage'/><category scheme='http://www.blogger.com/atom/ns#' term='apple'/><title type='text'>Apple 24" LED Cinema Display power usage</title><content type='html'>Yesterday I was trundling the isles of Office Center, and noticed that power usage is now getting more attention of office/home TFT display manufacturers. Good!&lt;br /&gt;&lt;br /&gt;In particular they had a  &lt;a href="http://www.lge.com/products/model/detail/w2242te.jhtml"&gt;LG 22" display&lt;/a&gt; that only used 22 Watt at full backlight. It was not very bright, but it was fine for office or home use.&lt;br /&gt;&lt;br /&gt;As they had a power meter attached, the power claim of 50% reduction was easily verified. At full backlight usage hovered around the 21 W mark. It also showed that it only used 11 Watt at the lowest backlight setting, where it was still somewhat visible.&lt;br /&gt;&lt;br /&gt;They had one of the &lt;a href="http://www.apple.com/displays/"&gt;new 24" Apple LED Cinema Displays&lt;/a&gt;. An employee asked whether I had any questions, so I asked whether it was OK to move the power meter to the Apple displays to check out how much power they were using.  Lo and behold the manager turned up, said yes sure. We set the meter up with the Apple display. The results were:&lt;br /&gt;&lt;br /&gt;&lt;table border="1" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Setting&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Quality&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Power&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;0%&lt;/td&gt;&lt;td&gt;backlight off or almost off; not watchable&lt;/td&gt;&lt;td&gt;11 W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;20 %&lt;/td&gt;&lt;td&gt;Normal office use&lt;/td&gt;&lt;td&gt;20 W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;40 %&lt;/td&gt;&lt;td&gt;About as bright as the LG at 100%&lt;/td&gt;&lt;td&gt;30 W&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;100 %&lt;/td&gt;&lt;td&gt;Very bright&lt;/td&gt;&lt;td&gt;88 W&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;I was amazed by the range actually. Certainly in that store the picture was usable at 20-30 W, meaning you can easily save quite a lot of energy by turning your screen down a bit.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2146804057550640727-5530684501516183489?l=yachtelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yachtelectronics.blogspot.com/feeds/5530684501516183489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yachtelectronics.blogspot.com/2009/05/power-use-of-apple-24-led-cinema.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/5530684501516183489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2146804057550640727/posts/default/5530684501516183489'/><link rel='alternate' type='text/html' href='http://yachtelectronics.blogspot.com/2009/05/power-use-of-apple-24-led-cinema.html' title='Apple 24&quot; LED Cinema Display power usage'/><author><name>Kees</name><uri>http://www.blogger.com/profile/04449632668287723031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_8zEfkWrgZLU/TOpa5ybdwGI/AAAAAAAAAC4/Gkt-2DwhjdM/s1600-R/Kees_Stadtship56_Merrimac2-thumb-465x309-3100.jpg'/></author><thr:total>0</thr:total></entry></feed>
