create our own channel...receive GPS info, from a third party...
Show GPS data on Google map from ESP12E and NEO 6M GPS
Read GPS data from thingspeak and show it in the Google map using ESP12e Nodemcu and GPS Neo 6M Module tutorial
$PSRT,LED,01*49
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. *49 in the message above.$DUAIQ. I have no theory as to why this is so, maybe the data is intercepted by a different microcontroller.$PSRT,012,,,(--QuaRk--)*4B
$PSRT,TRG,02,33*6A
$PSRT,TRG,02,00*6A
$PSRT,ALM,0000*45
$PSRT,ALM,0001*44
$PSRT,GER,01*54
$PSRT,GER,00*55
$PSRT,GPSDATA,,,1*60
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.$PSRT,GPSDATA,,,0*61
Send: $DUAIQ,LED*29
Recv: $PSRT,LED,a*hh
a bit 1: Power On
a bit 2: TX timeout
a bit 3: Error
a bit 4: SRM status
hh: checksum
Send: $DUAIQ,ADC*22
Recv: $PSRT,ADC,a,b,c,d,e,f,g*hh
a: Tx forward power
b: Tx reverse power
c: RSSI Rx 1
d: RSSI Rx 2
e: Internal 3V3 supply
f: Internal 6V supply
g: Supply voltage
hh: Checksum
Send: $DUAIQ,SSD*20
Recv: $AISSD,a,b,c,d,e,f,g,h*hh
a: Callsign, 8 bytes fixed length; @ for unused bytes
b: Ship's name,20 bytes fixed length; @ for unused bytes
c: GPS antenna distance from bow, in m
d: GPS antenna distance from stern, in m
e: GPS antenna distance from port side, in m
f: GPS antenna distance from SB side, in m
g: DTE
h: Source Identifier
hh: Checksum
Send: $DUAIQ,010*55
Recv: $PSRT,010,,,c*hh
a: ?
b: ?
c: MMSI
Send: $DUAIQ,SRM*28
Recv: $PSRT,SRM,a,b,c*hh
a: ?
b: ?
c: OEM name used in AIS messages, 7 bytes fixed length; unused bytes are filled with @.
hh: Checksum
Send: $DUAIQ,VSD*25
Recv: $AIVSD,a,b,c,d,e,f,g,h*hh
a: Type of ship and cargo. For recreational use: 36 = Sailing vessel, 37 = Pleasure craft
b: Maximum present draught, always 00.0
c: Persons on board, always 0000
d: Destination, always @@@@@@@@@@@@@@@@@@@
e: Est. UTC of arrival, always 000000
f: Est. day of arrival, always 00
g: Est. month of arrival, always 00
h: Navigational status, always 00
i: Regional application flags, always 00
hh: Checksum
Send: $DUAIQ,SWF*26
Recv: $PSRT,SWF,a,b*hh
a: AIS software version
b: FPGA version
hh: Checksum
Send: $DUAIQ,SNO*36
Recv: $PSRT,SNO,a*hh
a: Serial number in ASCII, 10 digits. Usually all 0.
$PSRT,RDP*6F
https://www.hindustantimes.com/world-news/us-news/who-is-cole-tomas-allen-karol-markowicz-identifies-white-house-correspondents-dinner-shoo...
$xxAIQ is MMSI query and programming NMEA0183 sentence
It’s possible to query the following sentences:
ACA, ALR, LRI, SSD, TXT and VSD
AIQ,ACA - Query AIS Channel Assignment
AIQ,SSD - Query Station Static Data
AIQ,VSD - Query Voyage Static Data
Page 74
AISSD field g is DTE and h is Source identifier
Page 75
VSD – Voyage Static Data
$--VSD,x.x,x.x,x.x,c--c,hhmmss.ss,xx,xx,x.x,x.x
Field Format Name
1 --VSD Sentence Id
2 x.x Type of ship and cargo
3 x.x Maximum present draught
4 x.x Persons on-board
5 c--c Destination
6 hhmmss.ss Est. UTC of arrival
7 xx Est. day of arrival
8 xx Est. month of arrival
9 x.x Navigational status
10 x.x Regional application flags
This tricks dont run :-(
Juan, Spain
Worked a champ. I had to copy the authorization and reset string and paste. There may be a minimum time between the commands. Not sure.
$PSRT,012,,,(--QuaRk--)*4B$PSRT,TRG,02,33*6A
worked perfectly. I used a serial port monitor to capture the auth sequence as well.
THANKS!
Like others have posted, to get the reset to work you have to execute the reset command quickly after the authorization command. In the ProAIS2 software, go to the "Serial Data" tab, paste the following in the "Enter Commands" window and send:
$PSRT,012,,,(--QuaRk--)*4B$PSRT,RDP*6F
The new version of ProAIS2 v1.10.01 will NOT set the MMSI correctly for some reason. The only way to do it is to downgrade to an older version of the software or copy and paste the following command:
$PSRT,012,,,(--QuaRk--)*4B$PSRT,010,,,#########*09
where ######### is your MMSI issued by the FCC. You also will need to change the "*09" at the end to a correct NMEA checksum. There are lots of online checksum calculators out there to use.
Good luck!
Just paste this part "$PSRT,010,,,#########" and then this online calculator will reply with the same message except add the *XX to the end. Then paste the whole string above and send to the AIS. ProAIS2 v1.10.01 works fine for setting other properties (vessel type, name, call sign etc...)
Did a search and did NOT find the new code. But in the search, I fell over how to reset my Raymarine 220 VHF - thanks! Good luck with yours ...