Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 17-04-2018, 00:22   #16
Registered User

Join Date: Nov 2015
Location: Ireland
Posts: 471
Re: OpenCPN Rpi cpu usage and temperature

I think the red light flickers at 4.6V. Also you won’t see the thunderbolt unless you are using a directly attached screen, it doesn’t appear via VNC etc.
AedanC is offline   Reply With Quote
Old 17-04-2018, 06:58   #17
Registered User

Join Date: Jul 2017
Posts: 67
Re: OpenCPN Rpi cpu usage and temperature

Sorry,

yes I meant 4.6 something volts, the 'red' LED indicates the voltage is low. I am also running this command occasionally,
/opt/vc/bin/vcgencmd get_throttled and every once in awhile it returns a 50005 which indicates the Rpi is undervoltaged and throttled, see here:
https://www.raspberrypi.org/forums/v...art=50#p972790
CapnRon47 is offline   Reply With Quote
Old 17-04-2018, 08:31   #18
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: OpenCPN Rpi cpu usage and temperature

Quote:
Originally Posted by CapnRon47 View Post

yes I meant 4.6 something volts,
Sounds very low if the buck is actually capable of putting out 3A , a minimum hold voltmeter can be handy across pins 2 & 6 on the Pi and then across the buck output to catch the voltage drop during the spikes and see how much is getting lost in the cable.
conachair is offline   Reply With Quote
Old 17-04-2018, 09:37   #19
Registered User

Join Date: Nov 2015
Location: Ireland
Posts: 471
Re: OpenCPN Rpi cpu usage and temperature

Try it with a really short USB cable if you have one. The shorter and fatter the better.
AedanC is offline   Reply With Quote
Old 17-04-2018, 09:55   #20
Registered User

Join Date: Jul 2017
Posts: 67
Re: OpenCPN Rpi cpu usage and temperature

Thanks for all the input. I went to a better USB cable and it helped. I am monitoring the Rpi voltage across pins on the GPIO strip (+5 to gnd). At startup I have > 5volts, but during the boot process the voltage does drop one time to 4.6 something. Once the Rpi is running with just the boot processes the voltage stays steady at 5.03 volts. This is with a usb gps unit plugged into one of the ports. I started adding processes; xrdp to remote desktop in (I am headless), browser with a window open to internet, signalk-server, a second browser window for Signalk GUI and a third for KIP, start OpenCPN with dashboard. Now the htop window shows all four CPU's pretty busy (> 50%), memory usage is also > 60% . The voltage has now dropped to somewhere between 5.82 and 5.92 it is fluctuating in that range. So this seems acceptable, but I still may try the powered USB hub suggestion. I don't like using a 10 port hub to power one Rpi (it is just big) but I do have room behind my instrument panel. I have a hub I can try using shore power (before I remove the wall wart), so I will do that next.

thanks again.
CapnRon47 is offline   Reply With Quote
Old 18-04-2018, 00:19   #21
Registered User

Join Date: Feb 2012
Location: Austria
Posts: 320
Re: OpenCPN Rpi cpu usage and temperature

have you tried to set
max_usb_current=1
in the config.txt file?
skipperearly is offline   Reply With Quote
Old 18-04-2018, 00:55   #22
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: OpenCPN Rpi cpu usage and temperature

Quote:
Originally Posted by skipperearly View Post
have you tried to set
max_usb_current=1
in the config.txt file?
Apparently that does nothing on a. Pi 3, different usb power chip.

Good powered hub is a very good addition with a good power supply, capRon, your voltage still sounds low imho, and cpu very high, I've Opencpn running at the moment over vnc with all cpus down near single figures with a lot of node red in the background and vlc playing some music. Are you running openplotter?
conachair is offline   Reply With Quote
Old 18-04-2018, 01:37   #23
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: OpenCPN Rpi cpu usage and temperature

Quote:
Originally Posted by conachair View Post
I've Opencpn running at the moment over vnc with all cpus down near single figures with a lot of node red in the background and vlc playing some music.
conachair is offline   Reply With Quote
Old 18-04-2018, 02:48   #24
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 722
Re: OpenCPN Rpi cpu usage and temperature

A lot of connected USB devices can bring the RPI close to the limit and make troubel. One approach to solve this is using a powered usb hub. My approach if it is required to connect multiple devices is to use a rs232/422 to rj45 converter and move all connection over to network so the only connection to the RPI is a network cable. It might be a more expensive way but you will never more have any trouble with the stability of the rpi.
Quote:
Originally Posted by conachair View Post
Apparently that does nothing on a. Pi 3, different usb power chip.

Good powered hub is a very good addition with a good power supply, capRon, your voltage still sounds low imho, and cpu very high, I've Opencpn running at the moment over vnc with all cpus down near single figures with a lot of node red in the background and vlc playing some music. Are you running openplotter?
petter5 is offline   Reply With Quote
Old 18-04-2018, 04:19   #25
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,119
Re: OpenCPN Rpi cpu usage and temperature

Quote:
Originally Posted by Dsanduril View Post
In addition to power supplies, not all USB cables are created equal. 2A is a lot for the tiny wires used in some USB cables. The shorter the better, and the bigger the conductor the better. There are a very few cables that will actually tell you conductor size.

No affiliation, just a satisfied customer, I am happy with Anker products in this role. I have an Anker powered USB hub that uses a 12V wall-wart, chopped of the wart and plugged directly into my 12V system and has so far run for more than a year at 12.3 to 14.5V input voltage. I also use a couple of their 30cm high-power USB cables with larger conductors for the power side of things. Since I started using the hub as the power supply and the cables I haven't had one low voltage warning from the PIs (I run two PI 3's from one 10-port hub).
It is very difficult to find usb cable with a connector for the RPI with thick leads.

My solution is very simple. Take an original RPI 240 volt loader. Cut the cacle in two.

Then you have the right cable for connection to the RPI.

And if you need net supply, simple connect the cable to the original transformer.

Add on both sides crimp pin terminals.

Regards,


Bram
verkerkbr is offline   Reply With Quote
Old 18-04-2018, 06:55   #26
Registered User

Join Date: Jul 2017
Posts: 67
Re: OpenCPN Rpi cpu usage and temperature

I am not running OpenPlotter on this particular SD card (I have a version of a setup with OpenPlotter). I am running a Signalk-node-server stand alone version as well as OpenCPN. It is interesting that your CPU usage is much lower than mine. I only have 2 usb ports in use, one is an Adafruit GPS and the other is a DigitalYacht NMEA to USB adapter. I had not noticed much change with them in place , but I could try moving them to a hub. I have an old USB hub and tried it yesterday as a power source for the Rpi, but it is not good enough (worse than the DC-DC converter). I put a min/max meter on the voltage last night and over several hours of operation the minimum dropped to 4.693 volts, too low for me to be comfortable also. I will be ordering a better hub today. Meanwhile I found a short USB cable I will give that a try.

thanks everyone for comments and input.
CapnRon47 is offline   Reply With Quote
Reply

Tags
enc, opencpn


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
OpenCPN problem on RPi with Raspbian 9.1 janth OpenCPN 16 15-10-2017 08:30
World Chart missing/opencpn/rPi dugsmith98 OpenCPN 1 01-03-2017 17:05
Rpi OpenCPN System - recommendations geoffr OpenCPN 17 01-02-2017 10:45
CPU Usage George64 OpenCPN 0 28-08-2011 00:50
OpenCPN and Atom CPU? amadeus OpenCPN 7 03-11-2009 14:38

Advertise Here


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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.