https://photos05.redcart.pl/templates/im...manual.pdf
I know there's been some discussion about using this wind sensor; and I'm interested in being one of the guinea pigs. Mostly because I can't afford a brand name unit. I'm wondering if it's possible to connect this directly to my MacArthur HAT or the RasPi GPIO? Datasheets says:
Digital Output: RS485, RS232, SDI-12
Baud Rate: 4800 - 19200
Communication Protocol: ModBus, NMEA-0183, ASCII
None of the digital outputs really match NMEA-0183 (which is RS422 AFAIK) yet the protocol says it does? I'm most interested in getting the data into signalK and back out onto the boat network as NMEA2k to a wind display instrument or OpenCPN. I am barking up an impossible tree here? I can code, I can wire... and I'm ok with a bit of both
Here's a bit more detail from the datasheet linked above:
1 Physical port definition
I know there's been some discussion about using this wind sensor; and I'm interested in being one of the guinea pigs. Mostly because I can't afford a brand name unit. I'm wondering if it's possible to connect this directly to my MacArthur HAT or the RasPi GPIO? Datasheets says:
Digital Output: RS485, RS232, SDI-12
Baud Rate: 4800 - 19200
Communication Protocol: ModBus, NMEA-0183, ASCII
None of the digital outputs really match NMEA-0183 (which is RS422 AFAIK) yet the protocol says it does? I'm most interested in getting the data into signalK and back out onto the boat network as NMEA2k to a wind display instrument or OpenCPN. I am barking up an impossible tree here? I can code, I can wire... and I'm ok with a bit of both

Here's a bit more detail from the datasheet linked above:
1 Physical port definition
- Start bit——1bit
- Stop bit——1bit
- Data bit——8bits
- Check bit——none
- Baud rate——9600bps
- $WIMWV,180,R,0.01,M,A*06
Code:
Appendix.Checksum
unsigned char NMEA_CheckSum(unsigned char *pStr,unsigned int DStrlen)
{
unsigned char ChkSum = 0;
unsigned int i=0;
while(DStrlen--)
{
ChkSum ^= pStr[i];
i++;
}
return ChkSum;
}
