Posts: 45
Threads: 12
Joined: Jan 2017
Reputation:
1
I'm trying to setup the dAISY hat with my raspberry pi 2 running the latest version of openplotter. The hat seems to be working (no antenna hooked up yet) and I can connect to it with screen to see what mode its in. its running on /dev/ttyAMA0 at 38400. I've tried to configure it with OPENCPN but every time I start openCPN it complains that no serial devices are available.
How can I confirm that openplotter can see and receive data from the dAISy hat? should it be able to receive the NMEA test messages that the AIS hat can generate?
Posts: 582
Threads: 65
Joined: Nov 2016
Reputation:
22
You can do a couple of things. First, open a terminal and type "cat /dev/ttyAMA0" to see if any data is in fact coming from the hat. The receiver won't generate AIS strings if there is nothing being received.
The other thing you can do is to use the NMEA generator to generate test AIS strings for OpenCPN. You'll have to find an example AIS string and have the generator create it for you on a regular basis.
It may be that you need to get a RPI3. Does OpenPlotter even work on an RPI2?
Posts: 582
Threads: 65
Joined: Nov 2016
Reputation:
22
Try running "top" in a terminal to see if you are just running out of resources. It could be that your CPU is maxed out, or perhaps memory.
Posts: 45
Threads: 12
Joined: Jan 2017
Reputation:
1
CPU appears to be idling at 95%idle. This is a fresh out of Noobs instal with no changes except to turn on the serial port for the dAISy AIS hat. Is it possible kpex needs additional configuration before it works on a fresh install?
Posts: 582
Threads: 65
Joined: Nov 2016
Reputation:
22
Openplotter should be doing all the configuration you need for kplex. If you are still getting data from the dAISy when you type "cat xxxx", the only other thing I can think of is to have another look at your USB configuration.
Posts: 45
Threads: 12
Joined: Jan 2017
Reputation:
1
Finally figured it out! during my testing I'd been leaving "screen" running so that I could see the output of the test NMEA data. I didn't realize that this blocked kplex from seeing the serial data!