Basic Stamp and Seatalk/NMEA
Archiver
Posts: 46,084
Hello All,
I am curious whether anyone has experimented with Seatalk (similar
to NMEA, but Raytheon's version). I have been looking into it and
there is a lot of info about using PIC's, but not for Stamps. Not
knowing much about either I am pretty stuck.
Any info would be appreciated!
Thanks
Drew
I am curious whether anyone has experimented with Seatalk (similar
to NMEA, but Raytheon's version). I have been looking into it and
there is a lot of info about using PIC's, but not for Stamps. Not
knowing much about either I am pretty stuck.
Any info would be appreciated!
Thanks
Drew
Comments
Read the serial data stream that is coming from your unit using something
like RS232M Com Monitor. I think their web site is: www.VIDDATA.com.
Compare that stream with the structure of the NMEA stream, such as described
at: http://celia.mehaffey.com/dale/nmea.htm#intro
Then you can tell where the differences between the different sentences
occur and will know how to adapt code written to read NMEA to code that will
read Seatalk.
Parallax has posted example code to read NMEA GPS (look for datalogging and
airplane) for the hot-rod BS2p.. that reads the data straight into
scratchpad ram. I didn't realize that capability was device specific, and
bought a BS2sx, only to discover that it couldn't read straight to
scratchpad.
To get around that limitation, I wrote some code for BS2sx that reads one
particular NMEA sentence type in chunks, and I will send it to you if you
want. However, I recommend that you buy the stamp (I think it is BS2p) that
has the STRSP or SPSTR command capability instead.
Original Message
From: solosailor69 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=yvVUUlcSsI3q7q9NXlbzpRtw3tmy6G4YjIX_kTqLNulaNfCWTLsxBPRWufXic6mRGxMu9rPaFmZR2la9QsQ]drew@s...[/url
Sent: Wednesday, November 06, 2002 10:47 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Basic Stamp and Seatalk/NMEA
Hello All,
I am curious whether anyone has experimented with Seatalk (similar
to NMEA, but Raytheon's version). I have been looking into it and
there is a lot of info about using PIC's, but not for Stamps. Not
knowing much about either I am pretty stuck.
Any info would be appreciated!
Thanks
Drew
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
This e-mail message may contain legally privileged and/or confidential
information. If you are not the intended recipient(s), or the employee
or agent responsible for delivery of this message to the intended
recipient(s), you are hereby notified that any dissemination,
distribution or copying of this e-mail message is strictly prohibited.
If you have received this message in error, please immediately notify
the sender and delete this e-mail message from your computer.
[noparse][[/noparse]Non-text portions of this message have been removed]
Aside from serial (SERIN, I2CIN, OWIN, LCDIN) streams into the scratchpad
RAM, it also supports I2C and 1-Wire protocols, as well as commands for
character LCDs. And it runs faster at lower current ... that's always a
benefit.
-- Jon Williams
-- Parallax
In a message dated 11/7/02 8:36:16 AM Central Standard Time,
cholm@m... writes:
> To get around that limitation, I wrote some code for BS2sx that reads one
> particular NMEA sentence type in chunks, and I will send it to you if you
> want. However, I recommend that you buy the stamp (I think it is BS2p) that
> has the STRSP or SPSTR command capability instead.
[noparse][[/noparse]Non-text portions of this message have been removed]
> The BS2p has many other features that make it a better BS2sx than the BS2sx.
>
From this could we infer that the BS2SX might be EOL'd soon?
Here is the description of it. What I am unsure of is how to set up
the port itself? Have a look.
Thanks
Hardware-Interface
SeaTalk uses three wires, connected in parallel to all devices on
the bus:
+12V Supply, red
GND Supply, grey
Data Serial Data, yellow: +12V=Idle/Mark=1, 0V=Space/Data=0,
4800 Baud, pullup circuit in each device, talker pulls down to 0V
(wired OR). For connection to a RS232 receiver voltage levels must
be inverted.
Serial Data Transmission
11 bits are transmitted for each character:
1 Start bit (0V)
8 Data Bits (least significant bit transmitted first)
1 Command bit, set on the first character of each datagram.
Reflected in the parity bit of most UARTs. Not compatible with
NMEA0183 but well suited for the multiprocessor communications mode
of 8051-family microcontrollers (bit SM2 in SCON set).
1 Stop bit (+12V)
Composition of Messages
Each datagram contains between 3 and 18 characters:
Type of command (the only byte with the command-bit set)
Attribute Character, specifying the total length of the datagram in
the least significant nibble:
Most significant 4 bits: 0 or part of a data value
Least significant 4 bits: Number of additional data bytes = n
=>
Total length of datagram = 3 + n characters
First, mandatory data byte
- 18. optional, additional data bytes
.......................................................
--- In basicstamps@y..., cholm@m... wrote:
> I would recommend that you do these things first,
>
> Read the serial data stream that is coming from your unit using
something
> like RS232M Com Monitor. I think their web site is:
www.VIDDATA.com.
>
> Compare that stream with the structure of the NMEA stream, such as
described
> at: http://celia.mehaffey.com/dale/nmea.htm#intro
>
> Then you can tell where the differences between the different
sentences
> occur and will know how to adapt code written to read NMEA to code
that will
> read Seatalk.
>
> Parallax has posted example code to read NMEA GPS (look for
datalogging and
> airplane) for the hot-rod BS2p.. that reads the data straight into
> scratchpad ram. I didn't realize that capability was device
specific, and
> bought a BS2sx, only to discover that it couldn't read straight to
> scratchpad.
>
> To get around that limitation, I wrote some code for BS2sx that
reads one
> particular NMEA sentence type in chunks, and I will send it to you
if you
> want. However, I recommend that you buy the stamp (I think it is
BS2p) that
> has the STRSP or SPSTR command capability instead.
>
>
>
>
Original Message
> From: solosailor69 [noparse][[/noparse]mailto:drew@s...]
> Sent: Wednesday, November 06, 2002 10:47 PM
> To: basicstamps@y...
> Subject: [noparse][[/noparse]basicstamps] Basic Stamp and Seatalk/NMEA
>
>
> Hello All,
>
> I am curious whether anyone has experimented with Seatalk (similar
> to NMEA, but Raytheon's version). I have been looking into it and
> there is a lot of info about using PIC's, but not for Stamps. Not
> knowing much about either I am pretty stuck.
>
> Any info would be appreciated!
>
> Thanks
>
> Drew
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@y...
> from the same email address that you subscribed. Text in the
Subject and
> Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
>
>
>
> This e-mail message may contain legally privileged and/or
confidential
> information. If you are not the intended recipient(s), or the
employee
> or agent responsible for delivery of this message to the intended
> recipient(s), you are hereby notified that any dissemination,
> distribution or copying of this e-mail message is strictly
prohibited.
> If you have received this message in error, please immediately
notify
> the sender and delete this e-mail message from your computer.
>
>
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
to control the GPS, or merely receive the data values? My expectation is
that many of the command bits are only needed when you want to send data to
the GPS. Otherwise most GPS will have an ability to operate in a pure
broadcast mode. That said, if the GPS does not broadcast location data by
default upon power up, you may need to command it to do that.
Do you have, or have you done an exhaustive search of the web to see if
anyone has published the full interface specification for your system?
Sometimes when they have done that, they have also designed an interface.
Original Message
From: solosailor69 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=M3jI6gPL5j6-usqOrmKxpi141eizQdHsg_h65Hl5_YrYHK16my45SGr5HHa1wqaExNKIH8cl7NdbdZJZms0]drew@s...[/url
Sent: Thursday, November 07, 2002 3:10 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Re: Basic Stamp and Seatalk/NMEA
That's the issue really. It appears that it is nothing like NMEA.
Here is the description of it. What I am unsure of is how to set up
the port itself? Have a look.
Thanks
Hardware-Interface
SeaTalk uses three wires, connected in parallel to all devices on
the bus:
+12V Supply, red
GND Supply, grey
Data Serial Data, yellow: +12V=Idle/Mark=1, 0V=Space/Data=0,
4800 Baud, pullup circuit in each device, talker pulls down to 0V
(wired OR). For connection to a RS232 receiver voltage levels must
be inverted.
Serial Data Transmission
11 bits are transmitted for each character:
1 Start bit (0V)
8 Data Bits (least significant bit transmitted first)
1 Command bit, set on the first character of each datagram.
Reflected in the parity bit of most UARTs. Not compatible with
NMEA0183 but well suited for the multiprocessor communications mode
of 8051-family microcontrollers (bit SM2 in SCON set).
1 Stop bit (+12V)
Composition of Messages
Each datagram contains between 3 and 18 characters:
Type of command (the only byte with the command-bit set)
Attribute Character, specifying the total length of the datagram in
the least significant nibble:
Most significant 4 bits: 0 or part of a data value
Least significant 4 bits: Number of additional data bytes = n
=>
Total length of datagram = 3 + n characters
First, mandatory data byte
- 18. optional, additional data bytes
.......................................................
--- In basicstamps@y..., cholm@m... wrote:
> I would recommend that you do these things first,
>
> Read the serial data stream that is coming from your unit using
something
> like RS232M Com Monitor. I think their web site is:
www.VIDDATA.com.
>
> Compare that stream with the structure of the NMEA stream, such as
described
> at: http://celia.mehaffey.com/dale/nmea.htm#intro
>
> Then you can tell where the differences between the different
sentences
> occur and will know how to adapt code written to read NMEA to code
that will
> read Seatalk.
>
> Parallax has posted example code to read NMEA GPS (look for
datalogging and
> airplane) for the hot-rod BS2p.. that reads the data straight into
> scratchpad ram. I didn't realize that capability was device
specific, and
> bought a BS2sx, only to discover that it couldn't read straight to
> scratchpad.
>
> To get around that limitation, I wrote some code for BS2sx that
reads one
> particular NMEA sentence type in chunks, and I will send it to you
if you
> want. However, I recommend that you buy the stamp (I think it is
BS2p) that
> has the STRSP or SPSTR command capability instead.
>
>
>
>
Original Message
> From: solosailor69 [noparse][[/noparse]mailto:drew@s...]
> Sent: Wednesday, November 06, 2002 10:47 PM
> To: basicstamps@y...
> Subject: [noparse][[/noparse]basicstamps] Basic Stamp and Seatalk/NMEA
>
>
> Hello All,
>
> I am curious whether anyone has experimented with Seatalk (similar
> to NMEA, but Raytheon's version). I have been looking into it and
> there is a lot of info about using PIC's, but not for Stamps. Not
> knowing much about either I am pretty stuck.
>
> Any info would be appreciated!
>
> Thanks
>
> Drew
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@y...
> from the same email address that you subscribed. Text in the
Subject and
> Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
>
>
>
> This e-mail message may contain legally privileged and/or
confidential
> information. If you are not the intended recipient(s), or the
employee
> or agent responsible for delivery of this message to the intended
> recipient(s), you are hereby notified that any dissemination,
> distribution or copying of this e-mail message is strictly
prohibited.
> If you have received this message in error, please immediately
notify
> the sender and delete this e-mail message from your computer.
>
>
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
This e-mail message may contain legally privileged and/or confidential
information. If you are not the intended recipient(s), or the employee
or agent responsible for delivery of this message to the intended
recipient(s), you are hereby notified that any dissemination,
distribution or copying of this e-mail message is strictly prohibited.
If you have received this message in error, please immediately notify
the sender and delete this e-mail message from your computer.
[noparse][[/noparse]Non-text portions of this message have been removed]
transmitter/receiver hooked to the stamp to send commands to the
instruments. The commands LOOK short and simple, but the way it
sends them is not. If it can be done with a PIC it can be done with
the stamp too, right?
I have the source for the PIC, but I don't get it.. [noparse]:)[/noparse]
Any experts on the PIC that can tell me how to adapt it to the stamp?
thanks
Drew
--- In basicstamps@y..., cholm@m... wrote:
> Maybe it will help to consider your application. For example are
you hoping
> to control the GPS, or merely receive the data values? My
expectation is
> that many of the command bits are only needed when you want to
send data to
> the GPS. Otherwise most GPS will have an ability to operate in a
pure
> broadcast mode. That said, if the GPS does not broadcast location
data by
> default upon power up, you may need to command it to do that.
>
> Do you have, or have you done an exhaustive search of the web to
see if
> anyone has published the full interface specification for your
system?
> Sometimes when they have done that, they have also designed an
interface.
>
>
Original Message
> From: solosailor69 [noparse][[/noparse]mailto:drew@s...]
> Sent: Thursday, November 07, 2002 3:10 PM
> To: basicstamps@y...
> Subject: [noparse][[/noparse]basicstamps] Re: Basic Stamp and Seatalk/NMEA
>
>
> That's the issue really. It appears that it is nothing like NMEA.
> Here is the description of it. What I am unsure of is how to set
up
> the port itself? Have a look.
>
> Thanks
>
> Hardware-Interface
>
> SeaTalk uses three wires, connected in parallel to all devices on
> the bus:
> +12V Supply, red
> GND Supply, grey
> Data Serial Data, yellow: +12V=Idle/Mark=1, 0V=Space/Data=0,
> 4800 Baud, pullup circuit in each device, talker pulls down to 0V
> (wired OR). For connection to a RS232 receiver voltage levels must
> be inverted.
>
> Serial Data Transmission
>
> 11 bits are transmitted for each character:
> 1 Start bit (0V)
> 8 Data Bits (least significant bit transmitted first)
> 1 Command bit, set on the first character of each datagram.
> Reflected in the parity bit of most UARTs. Not compatible with
> NMEA0183 but well suited for the multiprocessor communications
mode
> of 8051-family microcontrollers (bit SM2 in SCON set).
> 1 Stop bit (+12V)
>
> Composition of Messages
>
> Each datagram contains between 3 and 18 characters:
> Type of command (the only byte with the command-bit set)
> Attribute Character, specifying the total length of the datagram
in
> the least significant nibble:
> Most significant 4 bits: 0 or part of a data value
> Least significant 4 bits: Number of additional data bytes =
n
> =>
> Total length of datagram = 3 + n characters
> First, mandatory data byte
> - 18. optional, additional data bytes
>
>
> .......................................................
>
>
> --- In basicstamps@y..., cholm@m... wrote:
> > I would recommend that you do these things first,
> >
> > Read the serial data stream that is coming from your unit using
> something
> > like RS232M Com Monitor. I think their web site is:
> www.VIDDATA.com.
> >
> > Compare that stream with the structure of the NMEA stream, such
as
> described
> > at: http://celia.mehaffey.com/dale/nmea.htm#intro
> >
> > Then you can tell where the differences between the different
> sentences
> > occur and will know how to adapt code written to read NMEA to
code
> that will
> > read Seatalk.
> >
> > Parallax has posted example code to read NMEA GPS (look for
> datalogging and
> > airplane) for the hot-rod BS2p.. that reads the data straight
into
> > scratchpad ram. I didn't realize that capability was device
> specific, and
> > bought a BS2sx, only to discover that it couldn't read straight
to
> > scratchpad.
> >
> > To get around that limitation, I wrote some code for BS2sx that
> reads one
> > particular NMEA sentence type in chunks, and I will send it to
you
> if you
> > want. However, I recommend that you buy the stamp (I think it
is
> BS2p) that
> > has the STRSP or SPSTR command capability instead.
> >
> >
> >
> >
Original Message
> > From: solosailor69 [noparse][[/noparse]mailto:drew@s...]
> > Sent: Wednesday, November 06, 2002 10:47 PM
> > To: basicstamps@y...
> > Subject: [noparse][[/noparse]basicstamps] Basic Stamp and Seatalk/NMEA
> >
> >
> > Hello All,
> >
> > I am curious whether anyone has experimented with Seatalk
(similar
> > to NMEA, but Raytheon's version). I have been looking into it
and
> > there is a lot of info about using PIC's, but not for Stamps.
Not
> > knowing much about either I am pretty stuck.
> >
> > Any info would be appreciated!
> >
> > Thanks
> >
> > Drew
> >
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@y...
> > from the same email address that you subscribed. Text in the
> Subject and
> > Body of the message will be ignored.
> >
> >
> > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> >
> >
> >
> > This e-mail message may contain legally privileged and/or
> confidential
> > information. If you are not the intended recipient(s), or the
> employee
> > or agent responsible for delivery of this message to the
intended
> > recipient(s), you are hereby notified that any dissemination,
> > distribution or copying of this e-mail message is strictly
> prohibited.
> > If you have received this message in error, please immediately
> notify
> > the sender and delete this e-mail message from your computer.
> >
> >
> >
> >
> > [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@y...
> from the same email address that you subscribed. Text in the
Subject and
> Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
>
>
>
> This e-mail message may contain legally privileged and/or
confidential
> information. If you are not the intended recipient(s), or the
employee
> or agent responsible for delivery of this message to the intended
> recipient(s), you are hereby notified that any dissemination,
> distribution or copying of this e-mail message is strictly
prohibited.
> If you have received this message in error, please immediately
notify
> the sender and delete this e-mail message from your computer.
>
>
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
Randy Wahlfeldt
Email: randyw@w...
Web: http://www.staff.uiuc.edu/~rwahlfel
Original Message
From: "solosailor69" <drew@s...>
To: <basicstamps@yahoogroups.com>
Sent: Thursday, November 07, 2002 2:09 PM
Subject: [noparse][[/noparse]basicstamps] Re: Basic Stamp and Seatalk/NMEA
> That's the issue really. It appears that it is nothing like NMEA.
> Here is the description of it. What I am unsure of is how to set up
> the port itself? Have a look.
>
> Thanks
>
> Hardware-Interface
>
> SeaTalk uses three wires, connected in parallel to all devices on
> the bus:
> +12V Supply, red
> GND Supply, grey
> Data Serial Data, yellow: +12V=Idle/Mark=1, 0V=Space/Data=0,
> 4800 Baud, pullup circuit in each device, talker pulls down to 0V
> (wired OR). For connection to a RS232 receiver voltage levels must
> be inverted.
>
> Serial Data Transmission
>
> 11 bits are transmitted for each character:
> 1 Start bit (0V)
> 8 Data Bits (least significant bit transmitted first)
> 1 Command bit, set on the first character of each datagram.
> Reflected in the parity bit of most UARTs. Not compatible with
> NMEA0183 but well suited for the multiprocessor communications mode
> of 8051-family microcontrollers (bit SM2 in SCON set).
> 1 Stop bit (+12V)
>
> Composition of Messages
>
> Each datagram contains between 3 and 18 characters:
> Type of command (the only byte with the command-bit set)
> Attribute Character, specifying the total length of the datagram in
> the least significant nibble:
> Most significant 4 bits: 0 or part of a data value
> Least significant 4 bits: Number of additional data bytes = n
> =>
> Total length of datagram = 3 + n characters
> First, mandatory data byte
> - 18. optional, additional data bytes
>
Are you trying to control the instruments (remote control of the buttons) or are
you trying to send data to be shown on the instruments? Is there an autopilot on
the bus? Would the Z290 seatalk/nema interface box be on the system?
Regards,
Andy
Do you Yahoo!?
HotJobs - Search new jobs daily now
[noparse][[/noparse]Non-text portions of this message have been removed]
I just want to be able to send the commands that the autopilot
remote control would send (but via wireless!). The autopilot is of
course on the bus, along with gps, speed, depth, wind, and a
seatalk/NMEA interface box. It does not appear, however, that there
are compatible NMEA sentences for the autopilot +1/-1, +10/-10,
STANDBY, AUTO, etc.. so you know something I don't? [noparse]:)[/noparse]
Drew
--- In basicstamps@y..., andy shor <ashor2000@y...> wrote:
>
> Good Day:
> Are you trying to control the instruments (remote control of the
buttons) or are you trying to send data to be shown on the
instruments? Is there an autopilot on the bus? Would the Z290
seatalk/nema interface box be on the system?
> Regards,
> Andy
>
>
>
>
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
Be VERY careful about rf control of the pilot. The mfgr's of autopilots won't do
rf due to the possibility of interference causing death and destruction.
Andy
Do you Yahoo!?
U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD
[noparse][[/noparse]Non-text portions of this message have been removed]