| ||||
|
#1
| |||
| |||
| Laptop interface to TackTick NMEA I want to interface a MacBook to a TackTick NMEA interface to serve as a data logger and possibly a moving map display. Here is TackTick's diagram of the pinout of their interface unit: So how do I wire things up? Would a CAN Bus to USB converter be the way to go or an RS422 to USB converter? CAN-Ethernet gateway? Which pins to the connections shown? Anybody know of Mac software that will access the NMEA messages from USB port or Ethernet?
__________________ Tom Speer |
|
#2
| |||
| |||
| Tom, Have a look at this pdf file... http://domain1154562.sites.fasthosts...terface_pc.pdf this is pretty standard for NMEA 0813. Now, once you've got a normal serial port, you may need a USB to serial converter. This will give you access to a serial port in MacOS. Have a look at OpenPilot for ways to read this serial port and parse the NMEA data. At present OpenPilot only runs in Linux, but it shouldn't be too difficult to port to a Mac. Web-browsable CVS is here: http://openpilot.cvs.sourceforge.net/openpilot/ the SerialIO section may be of particular interest. See the main web-page (below) for ways to download the source. Cheers, Tim B.
__________________ Open Source Marine Charting - openpilot.sourceforge.net Open Source Vessel Dynamics opendynamics.engineering.selfip.org |
|
#3
| |||
| |||
| Thanks. Not long after I posted my question, I found a much more straightforward solution. I'm going with a NMEA multiplexer. They typically take in several NMEA inputs, and have a computer-compatible serial output. For example, one model has 3 NMEA inputs and a USB connection, and it's powered by the USB. However, I've decided to go with the Shipmodul Miniplex-41BT. So I'll actually have a hardwired NMEA bus - all of about 6" long - with the TackTick NMEA interface as the talker and the multiplexer as a server or hub. This multiplexer has Bluetooth capability, so I won't even need to physically hook up the computer. I can also use a PDA as a cockpit alternative in the future. Its NMEA output supports interfacing to an autopilot, which is probably my next big-ticket item.
__________________ Tom Speer |
|
#4
| |||
| |||
| System Architecture FYI, here's the digital system architecture that results.
__________________ Tom Speer |
|
#5
| |||
| |||
| Cool. presumably the bluetooth link presents a "virtual" serial port. OpenPilot can handle this too :-) Cheers, Tim B.
__________________ Open Source Marine Charting - openpilot.sourceforge.net Open Source Vessel Dynamics opendynamics.engineering.selfip.org |
|
#6
| |||
| |||
| Quote:
I'm actually leaning more toward TacticTool. It appears to do everything I need. Although I'm using a MacBook, I'm willing to use either an OS X or Windows application. Although I've done a lot of programming in the past, I'd much rather spend my time getting on with engineering the changes I want to make to the boat, rather than making tools to do it.
__________________ Tom Speer |
|
#7
| ||||
| ||||
| thats a very interesting bleutooth Shipmodul Miniplex-41BT Tom was thinking of answering but as now, no time, have some flowcharts tho had NMEA going over el girocompas, nav soft, GMDSS, atopilot and what half is ripped but like to get back that back in working order again |
|
#8
| |||
| |||
| I installed the multiplexer last weekend, and had it talking to the laptop in short order. Very straightforward. Now if only I could get the #$%^ TackTick GPS antenna working, I'd be set!
__________________ Tom Speer |
|
#9
| ||||
| ||||
| Quote:
I have to assume that the TackTick NMEA interface provides a NMEA 183 4800 baud data stream. You should be able to run that into a RS232 serial input (or serial/USB device). I don't see the need for the multiplexer (except for the bluetooth). FWIW, SeaLevel Systems has a very good serial/USB device. Some of the serial/USB gadgets don't provide a true RS232 serial port and refuse to work with some software. Are you planning to provide autopilot input from the laptop or do you just need the NMEA data in to the laptop for logging? If you are not going to use the laptop as a chartplotter to drive the autopilot, why does the autopilot need to be in the system? What NMEA sentences does it need? From your system drawing it looks like you have NMEA going into the Mux and two NMEA outs (one to the lap top and one to the autopilot). The Mux should have only one NMEA out channel. If you want to send laptop data to the AP, go from the laptop to the AP, not from the laptop to the Mux to the AP. It is asking for trouble if you try to use one of the Mux NMEA inputs for data output from the laptop. You must be able to configure the laptop output so it does not duplicate any of the information already in NMEA format from the TackTick system. That really confuses Mux devices. Have fun getting it all to work. ![]()
__________________ Proud supporter of The Far Kurnell Cat Racing Team I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison |
|
#10
| |||||||
| |||||||
| Quote:
Quote:
Quote:
Quote:
I'm not sure, just yet about what sentences the autopilot needs. I should find out from the autopilot documentation when I buy one. I would expect the autopilot to receive APA or APB, maybe BOD, BWC, BWR, or BWW. I think there's a good chance these sentences will actually come from the GPS. It may be possible to download waypoints from the laptop to the TackTick GPS, otherwise I'll have to fat-finger them in through the Dual Digital display. Quote:
Quote:
The other reason to go from the multiplexer to the AP is because then I can use the autopilot without the laptop. The multiplexer will switch automatically from being a server if the laptop is present, to being a hub with no laptop. Quote:
__________________ Tom Speer |
|
#11
| ||||
| ||||
| Quote:
When using a Mux for NMEA to RS232, one problem I had was that the GPS put so many sentences out that when there were 3-4 NMEA 'talkers' going into the Mux the single 4800 baud output could not handle all the information. The Brookhouse Mux allows a 9600 baud RS232 output to keep up with the data from multiple inputs, but at least two of the navprograms I've used cannot be configured to read NMEA sentences at greater than 4800 baud so the feature was useless. If the TackTick system GPS puts the AP sentences into the network and waypoints can be input from a TackTick control head, you may have a problem with duplicate information from the laptop. I don't know of any GPS receiver that allows the user to select the data output or to turn off sentences you don't need/want. Another thing to consider is how much laptops like sailboats ... I have 3-4 dead laptops ... one bit of spray into the companionway and the magic smoke leaks out ... Laptops are also power hogs, 70W is almost 6A @ 12VDC. A chartplotter like a Raymarine E80 draws less than 2A and is waterproof.This is on your Tri? Are you running a wind instrument on a rotating mast? How does TackTic handle the mast rotation correction so you can get True wind and VMG information? I'd like to learn more about the TackTic system and your success or lack thereof in interfacing with non-TackTic devices. I get asked about their stuff all the time and only have limited experience with the line.
__________________ Proud supporter of The Far Kurnell Cat Racing Team I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison |
|
#12
| ||||||||
| ||||||||
| Quote:
Quote:
The multiplexer can handle one 4800 baud input with no problem. Multiple 4800 baud inputs can lead to buffer overflow if using a 4800 baud output. However, in server mode, sending the output to 38,400 baud outputs (Bluetooth and NMEA Out #1 only) will empty the buffers fast enough to avoid overflow. As a controls guy, I'd love to have lots of high-rate feedback of heading, angular rates, and accelerations to the autopilot, but that's not what this system is all about! Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
FYI, here's what one frame of NMEA data looks like from the TackTick system with just the sailing instruments: $IIHDG,309,,,,*5D Heading, 309 deg magnetic $IIMTW,+08.0,C*30 Mean water temperature, 8 deg C $IIMWV,251,R,13.4,N,A*13 Wind speed and angle, 13.4 kt @ 251 deg Relative $IIMWV,253,T,14.2,N,A*16 Apparent wind speed, 14.2 kt @ 253 deg True $IIVHW,,,309,M,00.0,N,,*6E Water speed & heading, 0.0 kt @ 309 deg magnetic $IIVLW,00062,N,000.0,N*57 Distance traveled through water, 62 nmi total, 0.0 nmi trip $IIVWR,110,L,13.5,N,,,,*78 Relative wind speed & angle, 13.5 kt @ 110 deg left of bow $IIDPT,007.0,-1.0,*47 Depth of water, 7.0 meters, 1 meter transducer to keel
__________________ Tom Speer |
|
#13
| |||
| |||
| Tom, You sound like you're getting close to the advanced features we'd like to see in Open-Pilot. Ooops, there I go, plugging free software again! Anyway, on a more serious note, have you done any serial programming on macs? If so, could you pass me a read routine and I'll try to get something into the OpenPilot NMEA library so that you can use at least the basic NMEA test app. Please note that I don't have a mac, but I can e-mail you the code off-list if you like. From the data you've put at the end of the last post I can certainly add some functionality to the NMEA parser to handle those sentences. If you want, I can e-mail you the windows test app. I don't know how well the com ports are emulated.
__________________ Open Source Marine Charting - openpilot.sourceforge.net Open Source Vessel Dynamics opendynamics.engineering.selfip.org |
|
#14
| |||
| |||
| I've incorporated the tactic sentences (though I have no way of checking them). Tom, would you like to run the attached code with an appropriate COM port? Source is available at http://openpilot.cvs.sourceforge.net/openpilot/ Cheers All, Tim B.
__________________ Open Source Marine Charting - openpilot.sourceforge.net Open Source Vessel Dynamics opendynamics.engineering.selfip.org |
|
#15
| ||||
| ||||
| dug up the 10 year old selfmade flowcharts and see tacktick is a dutch product but i'm having a hard time re-understanding my own drawings so i'll save you for now yes there is a seatalk/nmea box i forgot behind the dash and a fluxgate compas external antenne to gps worked first time but recall nmea out from gps did not only found out after using a phony signal (but floppy is gonne) as i think Tim mentions i like that bleutooth, sorry i'm not of help but get it working, its impressive stuff |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cruzpro NMEA to computer -trouble | 40 Fathom Andy | OnBoard Electronics & Controls | 10 | 10-29-2007 10:33 AM |
| Laptop buying help | DGreenwood | General Computing | 16 | 12-16-2005 09:24 AM |
| score a 3D CAD laptop | yipster | Software | 0 | 11-29-2005 10:44 AM |
| NMEA 2000 analog interface | DDW | Boat Design | 0 | 09-27-2005 01:49 AM |
| laptop TV card? | yipster | Open Discussion: All Things Boats & Boating | 4 | 09-24-2005 03:10 PM |