Pi, dAISy HAT, SignalK

167 views
Skip to first unread message

Lutz Peichert

unread,
Apr 18, 2021, 12:20:01 PM4/18/21
to Signal K
Hi everybody, another newbee with a very basic and maybe stupid question:
I want to use SignalK as a NMEA0813 multiplexer to access NMEA data (including AIS) via my ship's internal WLAN from different devices (iPad, Windows PC) running commercial versions of chartplotter software.
I have installed Signal K (without OpenCpn) on a Raspberry Pi 4 (latest OS version). Using "signalk-server --sample-nmea0183-data" shows that SignalK works fine. I can see the data in the Data Browser" and see the demo ship position in the South of Finland.
The Pi carries a Wegmatt dAISy HAT attached to the PI GPIO. I have used the Ilker Temir  shell script to set the UART control to gpio, 
Doing "stty -F /dev/serial0" returns:
speed 38400 baud; line = 0;
min = 100; time = 2;
-icrnl -imaxbel
-opost -onlcr
-isig -icanon -echo
And "stty - F /dev/ttyAMA0" returns the same values.

"screen" allows access to the dAISy board via /dev/ttyserial0 or /dev/ttyAMA0 so I do get the menu and can send the test messages.

I have used "the "Data Connections" tab in the Signal K web interface to connect /dev/ttyAMA0 or /dev/ttyserial0 as a serial NEMA 0183 Source setting Baud rate to 38400 to the Signal K server.

My problem: I do not see any NMEA 0183 AIS (test) data. Neither in the "Data Browser" nor at the TCP port (192.xxx.y.zzz:10110). I currently can't test real NMEA 0183 data from my ship's sensors as the ship is ashore and equipment deinstalled.

What is it that I'm doing wrong? Yesterday I tried a "full" Opencpn" installation and didn't had any succcess either.
Any tip, how I can test if the Signal K server receives data from the dAISy HAT?

Any help is greatly appreciated.
Thanks in advance,
Lutz 

Andy Barrow

unread,
Apr 18, 2021, 12:50:56 PM4/18/21
to sig...@googlegroups.com
Did you disable bluetooth in config.txt?

Andy Barrow



--
You received this message because you are subscribed to the Google Groups "Signal K" group.
To unsubscribe from this group and stop receiving emails from it, send an email to signalk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/signalk/18769db2-3ade-4fd9-9262-33883e4314a8n%40googlegroups.com.

Lutz Peichert

unread,
Apr 18, 2021, 1:00:34 PM4/18/21
to Signal K
Oops, not sure. I have to check.
Unix newbee with very limited knowledge about the Unix file system: where is config.txt located?
Sorry about my ignorance.
Lutz

Gesendet mit BlueMail

Andy Barrow

unread,
Apr 18, 2021, 1:21:35 PM4/18/21
to sig...@googlegroups.com
dAISy hat uses UART0 on the RPI, and by default Bluetooth uses that UART. So, you have to disable bluetooth.

From the command line, type "sudo sudo systemctl disable hciuartd", and then edit config.txt by entering "sudo nano /boot/config.txt" and adding a line to the bottom "dtoverlay=disable-bt", and then save (ctrl-x, y, enter). Then reboot.

Andy Barrow



Lutz Peichert

unread,
Apr 18, 2021, 1:47:38 PM4/18/21
to Signal K
Thanks a lot, Andy.
Will try and get back to you.
Thanks again
Lutz

Gesendet mit BlueMail
You received this message because you are subscribed to a topic in the Google Groups "Signal K" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/signalk/u9aYGhJtEkQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to signalk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/signalk/CAPuRs6jA7QMU251aWOGdE6wjaLUgjZAhFp2Yia%3Da-2J5RVNPDg%40mail.gmail.com.

Andy Barrow

unread,
Apr 18, 2021, 2:14:06 PM4/18/21
to sig...@googlegroups.com
Oops, I just re-read my post. The command is "sudo systemctl disable hciuartd"
Reply all
Reply to author
Forward
0 new messages