Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Old 30-04-2017, 09:40   #1006
Registered User

Join Date: Sep 2016
Posts: 12
OpenPlotter with Sens HAT, any thougts?

Hi Linux lovers,

I ordered my first Raspberry (Pi 3) and Sense HAT to add to my onboard network, I'll be testing OpenPlotter very soon. I expect no difficulties connecting the latest (3-series) ShipModul multiplexer via USB.

I would like to see the Sense HAT LED matrix show compass heading while the system compares the current heading against a preset value.
Additionally, I want the LED matrix to display the unused pixels in red blinking when the compass course deviates let's say 20 degrees less/more compared to my preset variable (to define using up/down command with joystick).

A crew member below deck, knowing the planned course, would set the variable, the system would guard the boat's heading and display an alarm state at times when the autopilot or other crew member would change course (or are unable to maintain course). Let's say the autopilot breaks down or the steerman suffers fatigue...
The alarm should be easy to be acknowledged using the joystick middle-click of the Raspberry enclosure.

Other kind of alarms would be thinkable as well:
- wind speed reaching a certain treshold (eg. 30 knots)
- water depth below a certain treshold (eg. 2 meters)
- barometric pressure dropping at an alarming rate (>6mb drop in 3 hours)

I'm lucky to own a Simrad 3G radar, it works fine on OpenCPN (tested on W10 Intel NUC), third-gen Raspberry should be able to cope with the +/-1Mbit datastream, I'll soon know.

Last challenge would be to install the right driver for my 15.6 inch USB 3.0 monitor (asus mb169c+), maybe later an additional 13.3 inch e-ink display for saving power on long trips but these e-readers are very expensive for now.

Any thoughts?
__________________

__________________
JeroenAdam is offline   Reply With Quote
Old 14-05-2017, 21:08   #1007
Registered User

Join Date: May 2015
Location: Rome, Italy
Boat: Dufour 385 Grand Large
Posts: 7
Re: OpenPlotter project

Quote:
Originally Posted by denverd0n View Post
Weatherproof and daylight readable. Seems like the display is the biggest cost, and without economy of scale it makes it more economical to just buy a commercial chartplotter.

So... What I'm hoping is that this OpenPlotter project will encourage someone to source reasonably priced, weatherproof and daylight readable, displays. But that is going to require a certain "critical mass" before they will gain the economy of scale needed.

Here's hoping this works out.
I have used my Kindle K4 (B00E series, 7" screen) as remote monitor, connected to the PC (in the cabin on the charting desk running opencpn) via VNC over WiFi.
Cost: 0 Euro, daylight readable OK, but waterproof. For that i am protecting it with a waterproof case, cost 5 Euro. Here is the result:

http://www.cruisersforum.com/forums/...1&d=1494816453

Step-by-step procedure:

1) On the Kindle side:

1.1) jailbreak (i.e. root) the Kindle.
Here is howto: https://wiki.mobileread.com/wiki/Kindle4NTHacking

1.2) install KUAL (Kindle Unified Application Launcher), the GUI.
Here is howto: https://wiki.mobileread.com/wiki/How...ondary_monitor
Once installed it appears as a e-book in your Kindle list.

1.3) install the vnc client (kindlevncviewer).

2) On the PC side:

2.1) install the vnc server: on my Ubuntu installation (17.04) that is x11vnc: Windows users can use TightVNC (TightVNC: VNC-Compatible Free Remote Control / Remote Desktop Software)

2.2) set-up a wireless network configuring the WiFi NIC as AP (Access Point).
I mean AP, but Ad-Hoc network since Kindle, as well as Android devices, natively do not support Ad-Hoc connections.
Generally modern WiFi cards allow to be configured as AP; however in some old HW that might be not possible. Check that before proceeding.

2.3) Once configured the WiFi card, take note of the WiFI card network (IPv4) address: typically that is 10.0.42.1. Use it for the configuration of the Kindle VNC client, usually port 5900 suites fine (i.e. 10.0.42.1:5900)

2.4) if necessary (why not?) protect the WiFi link with WPA encryption: write down and store the password for subsequent use.

Once the installation and configuration have been completed:

On the PC:

3.1) activate the WiFi in AP mode.

3.2) adjust the screen resolution to fit the Kindle display (which is 800x600), otherwise the Kindle would display just a slide on the PC screen.

3.2) start the x11vnc service ($ x11vnc -display :0) - or equivalent command for TightVNC

I have automatized the above commands with a script.

and on the Kindle:

3.4) connect to the WiFi Hot Spot and insert the WPA encryption password (once it' s enough: the next time Kindle will remember the password)

3.4) start KUAL, select the appropriate VNC connection and enjoy your e-ink display.

No extra HW required.

The remote control is quite limited: you can just pan the screen (with direction button) and zooming in/out with the page forward/back buttons on the Kindle sides.

Don' t forget to de-activate the screen saver and the auto-power standby on the PC and on the Kindle as well.

The Kindle connection to the WiFi Hot-Spot was the most tricky part of the story.
A hindrance is that Kindle - i don't know why - does not connect to the WiFi hot-spot, unless it is bridged to an active internet connection.
As back-door i use my Android phone as data modem (USB or bluetooth) connected to GSM/GPRS/UMTS/LTE (mobile data). Obviously that can be done when close to the coast (5 - 10 nm) where the service is available.
However, according to my testing, the internet connection appears to be necessary just at the connection: then also if it fails, the Kindle remains connected to the WiFi Hot Spot.
I am checking for solutions.
Attached Thumbnails
Click image for larger version

Name:	DSC_0043_resized.jpg
Views:	273
Size:	173.5 KB
ID:	147811  
__________________

__________________
usodimare is offline   Reply With Quote
Old 23-05-2017, 03:09   #1008
Registered User

Join Date: Apr 2017
Posts: 4
Re: OpenPlotter project

Somebody knows how control brightness of the official rpi 7" LCD in openplotter 11.4??
__________________
callmecalanca is offline   Reply With Quote
Old 25-05-2017, 13:19   #1009
Registered User

Join Date: Apr 2015
Location: Cape Town
Posts: 24
Re: OpenPlotter project

Hi Sailoog
In your older versions of OP you had a feature where you could graph your barometric pressure and monitor the changes over time. I can not find this function on your newest version, am I missing something? Thx Richard
__________________
richarddaneel is offline   Reply With Quote
Old 04-06-2017, 17:21   #1010
Senior Cruiser
 
Opie91's Avatar

Join Date: Apr 2009
Location: CT
Boat: C&C 34
Posts: 811
Re: OpenPlotter project

Another question of the official 7" touch display.

While using OCPN the pop up windows are too small and cannot be resized. A specific example would be the window for the chart down-loader. It is completely unusable and cannot be resized.

Any help appreciated.

Thanks
__________________
Opie91 is offline   Reply With Quote
Old 24-06-2017, 17:00   #1011
Registered User

Join Date: Sep 2016
Posts: 3
Re: OpenPlotter project

Quote:
Originally Posted by callmecalanca View Post
Somebody knows how control brightness of the official rpi 7" LCD in openplotter 11.4??
Hi callmecalanca,

there is a library available on GitHub:
https://github.com/linusg/rpi-backlight

I have described the installation here:
Das Neptun 22 Forum - Technik, Infos und mehr • Thema anzeigen - Kartenplotter mit Raspberry Pi fr 150 EUR

German only, sorry. But the commands and pictures are speaking
for themselve.

Best,
Chris
__________________
chrhartz is offline   Reply With Quote
Old 18-09-2017, 14:39   #1012
Registered User

Join Date: Apr 2017
Posts: 4
Re: OpenPlotter project

Quote:
Originally Posted by usodimare View Post
I have used my Kindle K4 (B00E series, 7" screen) as remote monitor, connected to the PC (in the cabin on the charting desk running opencpn) via VNC over WiFi.
Cost: 0 Euro, daylight readable OK, but waterproof. For that i am protecting it with a waterproof case, cost 5 Euro. Here is the result:

http://www.cruisersforum.com/forums/...1&d=1494816453

Step-by-step procedure:

1) On the Kindle side:

1.1) jailbreak (i.e. root) the Kindle.
Here is howto: https://wiki.mobileread.com/wiki/Kindle4NTHacking

1.2) install KUAL (Kindle Unified Application Launcher), the GUI.
Here is howto: https://wiki.mobileread.com/wiki/How...ondary_monitor
Once installed it appears as a e-book in your Kindle list.

1.3) install the vnc client (kindlevncviewer).

2) On the PC side:

2.1) install the vnc server: on my Ubuntu installation (17.04) that is x11vnc: Windows users can use TightVNC (TightVNC: VNC-Compatible Free Remote Control / Remote Desktop Software)

2.2) set-up a wireless network configuring the WiFi NIC as AP (Access Point).
I mean AP, but Ad-Hoc network since Kindle, as well as Android devices, natively do not support Ad-Hoc connections.
Generally modern WiFi cards allow to be configured as AP; however in some old HW that might be not possible. Check that before proceeding.

2.3) Once configured the WiFi card, take note of the WiFI card network (IPv4) address: typically that is 10.0.42.1. Use it for the configuration of the Kindle VNC client, usually port 5900 suites fine (i.e. 10.0.42.1:5900)

2.4) if necessary (why not?) protect the WiFi link with WPA encryption: write down and store the password for subsequent use.

Once the installation and configuration have been completed:

On the PC:

3.1) activate the WiFi in AP mode.

3.2) adjust the screen resolution to fit the Kindle display (which is 800x600), otherwise the Kindle would display just a slide on the PC screen.

3.2) start the x11vnc service ($ x11vnc -display :0) - or equivalent command for TightVNC

I have automatized the above commands with a script.

and on the Kindle:

3.4) connect to the WiFi Hot Spot and insert the WPA encryption password (once it' s enough: the next time Kindle will remember the password)

3.4) start KUAL, select the appropriate VNC connection and enjoy your e-ink display.

No extra HW required.

The remote control is quite limited: you can just pan the screen (with direction button) and zooming in/out with the page forward/back buttons on the Kindle sides.

Don' t forget to de-activate the screen saver and the auto-power standby on the PC and on the Kindle as well.

The Kindle connection to the WiFi Hot-Spot was the most tricky part of the story.
A hindrance is that Kindle - i don't know why - does not connect to the WiFi hot-spot, unless it is bridged to an active internet connection.
As back-door i use my Android phone as data modem (USB or bluetooth) connected to GSM/GPRS/UMTS/LTE (mobile data). Obviously that can be done when close to the coast (5 - 10 nm) where the service is available.
However, according to my testing, the internet connection appears to be necessary just at the connection: then also if it fails, the Kindle remains connected to the WiFi Hot Spot.
I am checking for solutions.
Hi, can you explain me how to install kindlevncviewer?
I jailbreacked
I've installed KUAL and USBNetwork
I have created a folder for kindlevncviewer in the root of kindle with the uncompressed files from kindlevncviewer zip file, but nothing happens in the kindle....
I also don't know how to set up launchpad.ini
can you help me?

ps anche in italiano volendo cepicsCHIOCCIOLAhotmailPUNTOcom
__________________
callmecalanca is offline   Reply With Quote
Old 18-09-2017, 14:44   #1013
Registered User

Join Date: Apr 2017
Posts: 4
Re: OpenPlotter project

Quote:
Originally Posted by chrhartz View Post
Hi callmecalanca,



there is a library available on GitHub:

https://github.com/linusg/rpi-backlight



I have described the installation here:

Das Neptun 22 Forum - Technik, Infos und mehr • Thema anzeigen - Kartenplotter mit Raspberry Pi fr 150 EUR



German only, sorry. But the commands and pictures are speaking

for themselve.



Best,

Chris


Tnks a lot!!!
__________________

__________________
callmecalanca is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Want To Buy: Project Boat: Engineless 35'ish blue water cruiser project Max Sail Classifieds Archive 52 24-03-2013 13:27
Greetings + my project Marco Meets & Greets 8 27-02-2009 17:28
Major Project: What is the best way to organize our discussions? Andy R Forum Tech Support & Site Help 6 04-04-2006 15:21
Our ongoing project - Offshore 41 By Invitation Construction, Maintenance & Refit 7 04-12-2005 07:42
Portal sailing website project CaptainTom Meets & Greets 2 20-03-2003 07:50



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 00:43.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.