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.

Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 2,393
» Latest member: ssth@yahoo.com
» Forum threads: 1,110
» Forum posts: 7,353

Full Statistics

Online Users
There are currently 61 online users.
» 3 Member(s) | 55 Guest(s)
Bing, Google, Yandex, plefneski@rogers.com, verkerkbr, Zerlina

Latest Threads
5V Power Converters
Forum: General discussion
Last Post: BellaX
41 minutes ago
» Replies: 15
» Views: 61
Update OpenCPN plugins
Forum: How do I...?
Last Post: PaddyB
3 hours ago
» Replies: 2
» Views: 8
... get my own Can USB Co...
Forum: How do I...?
Last Post: verkerkbr
5 hours ago
» Replies: 4
» Views: 1,808
How do I send OpenCPN rou...
Forum: How do I...?
Last Post: mikedeflieslife
Today, 06:00 AM
» Replies: 6
» Views: 20
Passive Radar.
Forum: General discussion
Last Post: festeraeb
Today, 12:11 AM
» Replies: 5
» Views: 33
Limit switch
Forum: General discussion
Last Post: seandepagnier
Yesterday, 10:35 PM
» Replies: 3
» Views: 11
Send all signalK event to...
Forum: How do I...?
Last Post: pkernevez
Yesterday, 05:58 PM
» Replies: 4
» Views: 26
MPU9250 with ESP8266
Forum: General discussion
Last Post: ddelorme
Yesterday, 04:35 PM
» Replies: 3
» Views: 16
Connecting mpu-9255 probl...
Forum: How do I...?
Last Post: seandepagnier
Yesterday, 03:39 PM
» Replies: 1
» Views: 5
CAN-USB Availability
Forum: General discussion
Last Post: dave.ritten@gmail.com
01-21-2019, 10:59 PM
» Replies: 0
» Views: 4

 
  Update OpenCPN plugins
Posted by: SkipperEarly - Today, 02:06 AM - Forum: How do I...? - Replies (2)

op 1.2.0 alfa
used the update function for plugins but notice that latest logbook_pi version on rpi does not match latest version on official ocpn download site.
tried also with command sudo apt-get update but does not update eighter.

Any advise what to try next?


  CAN-USB Availability
Posted by: dave.ritten@gmail.com - 01-21-2019, 10:59 PM - Forum: General discussion - No Replies

I have been on the Sailoog shop for some time waiting for CAN-USB but haven't had any updates on availability. Can anyone advise what the situation is and if they aren't going to become available at Sailoog are there any alternatives? I have had a look at Aliexpress and there seem to be similar hardware devices available but I am guessing that the firmware is custom and mimics the Actisense protocol? Can I use an Actisense device (although I dont really want to as they are v-expensive Big Grin ). Appreciate any feedback on this as need the CAN-USB urgently for the next step in my project.


  Connecting mpu-9255 problems with calibration
Posted by: partyvi - 01-21-2019, 08:58 PM - Forum: How do I...? - Replies (1)

I have openplotter V1.2.0 alpha
I try to connect MPU9255 as suggested as a best MPU on this forum

I have a very strange behaviour, when sensor sits flat - horizontal on the desk:

It shows Hill: 71, Roll: 82
When I am trying to start calibration and do "boat level".
it calibrates to [0.75,-061,-023]82.68

When I trying to move sensor in different planes it Boat on the image reacts but also strange:
1. tilts in both hill and hill directions.
2. Even if I rotate sensor 30 degrees in in hill (x) direction it turns and then comes back to vertical position. 
3. In both directions (x and Y) Looks like angle is 2 times less then expected.

imu.accel in scope shows only two from 3 values changing



Attempt to do Accel calibration shows almost flat disk far away from "globe" when I turn sensor slowly in 3 dimensions..

Could you help me confirm is this MPU issue or am I misconcepting something?
Is some manual calibration I need to perform? 



Viktor


  Limit switch
Posted by: ddelorme - 01-21-2019, 09:40 AM - Forum: General discussion - Replies (3)

does limit switch need 2 wires each?
What would be a good chose for a hall effect switch? pull up? or pull down?
I was thinking of putting a magnet on my main gear and counting rotations. So i could know the absolute position of the screw. Polarity could be used to determine direction or 2 magnets. The main gear rotates 16 times/inch of travel.
A pot would be nice as it would retain its value but pain to build.
I want to make a decision soon so I can order parts and the M/F plug for the MarinePilot 1600.
 
Any Ideas on a client i could mount in the MarinePilot screen/buttons. I have a Nextion screen that would fit and a esp8266 nodemcu board and a few nanos in my bin.

I would like to be able to steer course then turn on the marinepilot have it move the actuator to the appropriate position to connect to tiller then enable autopilot.
To disengage i want to disengage autopilot remove from tiller, park actuator then power off.


  Passive Radar.
Posted by: festeraeb - 01-20-2019, 02:26 PM - Forum: General discussion - Replies (5)

I have been playing with a passive radar setup at home. A side project to the AIS receiver. I live near an airport and can see the traffic come and go they are a little bit of a PITA to wire and tune but I did get it working. The good news is RTL-SDR is coming out with a 4 channel receiver. One of my concerns with passive radar is how it will perform in a moving vessel. Where you would either have to reposition the reference antenna or would have varying input of the reference signal. But with a 4 channel I think the extra inputs could not only help with the dimensional reflection but help in keeping that reference signal more stable.


Has anyone put this to use in a moving vehicle?


Sent from my iPhone using Tapatalk


  Send all signalK event to UDP Port (for using navionics on ipad)
Posted by: pkernevez - 01-19-2019, 08:50 AM - Forum: How do I...? - Replies (4)

Hello,

I installed and configure my pi, every thing works fine. OpenCPN receives all the relevant information on TCP 10110 from signalK.
I would like to configure the network to receive the same NMEA messages on UDP 2000 for an application navionicson my ipad connected to the network .
I tried to use KPlex for that, as it's a multiplexer and it has udp output.
But Kplex only see a limited part of my messages : GPS and pressure (coming from I2C/BME280).
The other messages are directly send to SignalK via OPpypilot or OPsensors.

I thought to define a TCP route from SignalK to Kplex and then send all the messages to UDP through KPlex. But I think it will create a messages overflow as the same message will be sent and resent between KPlex and SignalK.


How can I sent all the message from KPlex to UDP ?

Regards,
Philippe

My configuration :
Openplotter 1.2.0 alpha
PI 3
SignalK 1.10.2

Sensors :
RS422/485 (NMEA input)
GPS USB

DS18B20 (temperature)
BME280 (pressure)
MPU 9255 (accelerator & compas)

 

Configuration signalk :

Code:
{
    "enablePluginLogging":true,
    "interfaces":{
        "appstore":true,
        "nmea-tcp":true,
        "plugins":true,
        "providers":true,
        "rest":true,
        "tcp":true,
        "webapps":true,
        "ws":true
    },
    "loggingDirectory":"/home/pi/Logs",
    "mdns":false,
    "pipedProviders":[
        {
            "enabled":false,
            "id":"OPcan",
            "pipeElements":[
                {
                    "options":{
                        "logging":false,
                        "subOptions":{
                            "device":"/dev/ttyOP_",
                            "type":"ngt-1"
                        },
                        "type":"NMEA2000"
                    },
                    "type":"providers/simple"
                }
            ]
        },
        {
            "enabled":false,
            "id":"OPpypilot",
            "pipeElements":[
                {
                    "options":{
                        "logging":false,
                        "subOptions":{
                            "host":"localhost",
                            "port":"20220",
                            "type":"tcp"
                        },
                        "type":"NMEA0183"
                    },
                    "type":"providers/simple"
                }
            ]
        },
        {
            "enabled":true,
            "id":"OPkplex",
            "pipeElements":[
                {
                    "options":{
                        "logging":false,
                        "subOptions":{
                            "host":"localhost",
                            "port":"30330",
                            "type":"tcp"
                        },
                        "type":"NMEA0183"
                    },
                    "type":"providers/simple"
                }
            ]
        },
        {
            "enabled":true,
            "id":"OPwifi",
            "pipeElements":[
                {
                    "options":{
                        "logging":false,
                        "subOptions":{
                            "port":"55561",
                            "type":"udp"
                        },
                        "type":"SignalK"
                    },
                    "type":"providers/simple"
                }
            ]
        },
        {
            "enabled":true,
            "id":"OPserial",
            "pipeElements":[
                {
                    "options":{
                        "logging":false,
                        "subOptions":{
                            "port":"55559",
                            "type":"udp"
                        },
                        "type":"SignalK"
                    },
                    "type":"providers/simple"
                }
            ]
        },
        {
            "enabled":true,
            "id":"OPnotifications",
            "pipeElements":[
                {
                    "options":{
                        "logging":false,
                        "subOptions":{
                            "port":"55558",
                            "type":"udp"
                        },
                        "type":"SignalK"
                    },
                    "type":"providers/simple"
                }
            ]
        },
        {
            "enabled":true,
            "id":"OPsensors",
            "pipeElements":[
                {
                    "options":{
                        "logging":false,
                        "subOptions":{
                            "port":"55557",
                            "type":"udp"
                        },
                        "type":"SignalK"
                    },
                    "type":"providers/simple"
                }
            ]
        }
    ],
    "port":3000,
    "security":{
        "strategy":"@signalk/sk-simple-token-security"
    },
    "ssl":false,
    "sslport":3443



Configuration KPlex :
Code:
# For advanced manual configuration, please visit: http://www.stripydog.com/kplex/configuration.html
# Please do not modify defaults nor OpenPlotter GUI settings.
# Add manual settings at the end of the document.

###defaults

[udp]
name=system
direction=in
port=10110

[tcp]
name=signalk
direction=out
mode=server
port=30330


###end of defaults

###OpenPlotter GUI settings

[udp]
name=pub_net
direction=out
optional=yes
address=10.10.10.255
port=2000

[serial]
name=gp
direction=in
optional=yes
filename=/dev/ttyOP_gp
baud=4800

###end of OpenPlotter GUI settings

###Manual settings


  MQTT and SignalK
Posted by: LarsD - 01-18-2019, 09:46 AM - Forum: How do I...? - No Replies

Hi,
I've updated to OpenPlotter 1.2.0 alpha... (Haven't tested the bellow in earlier versions so I don't know if version matters)

I'm trying to have the SignalK server subscribe to an MQTT topic (I'm just testing for the moment)
I have an (several in fact but in this case I focus on one only) ESP8266 publishing ambient temperature to the OpenPlotter MQTT server (Mosquitto?) every 2 seconds (remember - just testing functionality) and I would like to have this inserted to the SignalK key environment.outside.temperature (I've selected the Type: "Signal K key input")

I open the MQTT tab in OpenPlotter and try to add an MQTT Topic (the topic my test set-up publish to is boat/temperature) but apparently the "/" is not an allowed character (allowed is 0..9, a..z, A..Z).

(The MQTT server handles all my different multilevel topics fine - it is just the OpenPlotter MQTT <-> SignalK "thing" that I can't get my head around)

Am I understanding this wrongly ? It would be quite clumsy if I have to make my MQTT topic structure absolutely flat (i.e. no "/").....

I know that this is a bad example and I should probably go for a direct UDP message to the SignalK server but I would expect it to work over MQTT as well .

Do I have to go via NodeRed? I can of course use NodeRed could insert data to an SignalK key....

Am I understanding the functionality wrongly or is this a bug (?feature?) ??
/Lars


Smile BOOT 2019 Düsseldorf
Posted by: Luckbert - 01-18-2019, 08:09 AM - Forum: General discussion - Replies (1)

Hello, everybody, 
the "BOOT" starts tomorrow. It is according to Wiki the largest boat fair of the world. 

I will be there for a few days. 
Is anybody still there? 
Maybe you can meet for a coffee.
Greetings Jürgen


Question problem with an usb-GPS dongle
Posted by: Luckbert - 01-18-2019, 07:56 AM - Forum: Bug Reports - Replies (1)

Hello, everybody, 
I have a problem with an usb-GPS dongle. 
The dongle does not deliver data in OP. In the tab serial the stick is shown. I can also set it up as usual (click on Auto) and find it in kplex. No data is displayed in the diagnostic window and no real location is displayed in OpenCPN. 

But the stick seems to be ok, because if I add it to OpenCPN it returns data. 

RPI 3+
OP current
SK current

OP Debug Window 

Failed to open SPI bus 0, select 0
Failed to open SPI bus 0, select 1
no IMU detected (not installed either)
No pressure sensor detected (not installed either)
No humidity sensor detected (not installed either)

Any ideas?
Greetings Jürgen


  How do I send OpenCPN routes/waypoints to autopilot via Openplotter?
Posted by: mikedeflieslife - 01-17-2019, 02:10 PM - Forum: How do I...? - Replies (6)

I'm having a bit of trouble setting up Openplotter with OpenCPN to output waypoint sentences to send to my autopilot. 

The autopilot is a Raymarine Evolution connected to an NMEA2000 network. 

I am running Openplotter on a Pi 3B+ and use the Sailoog CAN-USB stick to access the network. It seems that the NMEA2000 data received via the CAN-USB is sent to Singalk then converted to NMEA0183. Is it possible to convert to NMEA200 sentences also?

OpenCPN is run on the same machine as a test. Reading the documentation it seems that I must create a new UDP connection in OpenCPN and output the following sentences $ECRMB, $ECRMC, $ECAPB, $ECXTE. I must also set this new connection as lower priority. 

Since Openplotter and OpenCPN are sharing the same machine, the network address for this new connection should be the localhost i.e. 127.0.0.1 but what should the port be? Where should OpenCPN send this route data in order for Openplotter to then re-broadcast it across my NMEA2000 network? Does it go to Kplex, or Signalk or elsewhere?