This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AIS Setup on 0.15.1
#17
Great that you got things working!

I unplugged all other sensors and did a new calibration today. Now the calibration worked again! I probably had a power or noise issue last time...

You are right that you need an adapter cable to fit your antenna. And even if you want to build your own antenna, it is proabably best to buy a cable with the small MCX connector mounted.
I used this for the big VHF antenna: https://www.aliexpress.com/item/New-UHF-...0.0.EEJzsG
, and this for the small antennas: https://www.aliexpress.com/item/Sale-100...0.0.uI8gUk


To use Bluetooth you first need to enable Bluetooth on your phone and also enable sharing of internet over Bluetooth on your phone.

Then I opened a terminal and typed:

Code:
 sudo apt-get install blueman
 sudo usermod -G bluetooth -a <username>

, where <username> is pi if you have not changed it.

Then you select "Perferences" -> "Bluetooth Mananger" in the start menu.
Press the Search button.
Select your phone when it is discovered and press Setup.
Pair the device.
Connect to: Network Access Point.

When the device is already paired, you only have right click on the device in the list and choose "Network Access Point".

Type ifconfig in the terminal to find the ip-address of the Bluetooth connection bnep0.

On the Connection tab of the settings of OpenCPN on your phone, add a new connection:
Connection: Network
Protocol: TCP
Address: <bnep0 ip-addresss on pi>
Dataport: 10109
   


Unfortunately there is no reconnect if the connection is lost, so you have to manually reconnect.
I think it would be better if the pi was the Bluetooth access point instead of the phone, but I have not been able to do that yet.
Reply


Messages In This Thread
AIS Setup on 0.15.1 - by felizcortez - 2017-09-14, 05:55 AM
RE: AIS Setup on 0.15.1 - by gaspbut - 2017-09-14, 09:16 AM
RE: AIS Setup on 0.15.1 - by shipahoy - 2017-09-14, 12:57 PM
RE: AIS Setup on 0.15.1 - by felizcortez - 2017-09-14, 03:34 PM
RE: AIS Setup on 0.15.1 - by Luckbert - 2017-09-14, 04:17 PM
RE: AIS Setup on 0.15.1 - by felizcortez - 2017-09-14, 06:38 PM
RE: AIS Setup on 0.15.1 - by gaspbut - 2017-09-14, 07:16 PM
RE: AIS Setup on 0.15.1 - by felizcortez - 2017-09-14, 09:36 PM
RE: AIS Setup on 0.15.1 - by shipahoy - 2017-09-15, 07:27 AM
RE: AIS Setup on 0.15.1 - by felizcortez - 2017-09-15, 04:55 PM
RE: AIS Setup on 0.15.1 - by PaddyB - 2017-09-15, 08:05 AM
RE: AIS Setup on 0.15.1 - by Sailoog - 2017-09-15, 09:05 PM
RE: AIS Setup on 0.15.1 - by felizcortez - 2017-09-15, 10:34 PM
RE: AIS Setup on 0.15.1 - by Sailoog - 2017-09-15, 11:08 PM
RE: AIS Setup on 0.15.1 - by felizcortez - 2017-09-16, 01:58 AM
RE: AIS Setup on 0.15.1 - by felizcortez - 2017-09-17, 12:26 AM
RE: AIS Setup on 0.15.1 - by shipahoy - 2017-09-17, 08:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)