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

Username/Email:
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 1,141
» Latest member: eryjinu
» Forum threads: 590
» Forum posts: 3,567

Full Statistics

Online Users
There are currently 49 online users.
» 2 Member(s) | 47 Guest(s)
dirkw, jim321

Latest Threads
spaceX
Forum: General discussion
Last Post: jim321
12-16-2017, 11:32 AM
» Replies: 2
» Views: 75
oeSENC and OpenPlotter up...
Forum: General discussion
Last Post: monos
12-15-2017, 07:06 AM
» Replies: 6
» Views: 208
security cam
Forum: General discussion
Last Post: tocan
12-15-2017, 06:12 AM
» Replies: 2
» Views: 174
Introducing OpenPlotter h...
Forum: General discussion
Last Post: uriguri
12-13-2017, 04:26 PM
» Replies: 25
» Views: 3,002
How do I adjust screen lu...
Forum: How do I...?
Last Post: Littlechay
12-13-2017, 03:02 PM
» Replies: 4
» Views: 175
Still issues, with GPIO, ...
Forum: Bug Reports
Last Post: e-sailing
12-12-2017, 05:24 PM
» Replies: 4
» Views: 155
default connections in op...
Forum: Bug Reports
Last Post: PaddyB
12-10-2017, 05:19 AM
» Replies: 1
» Views: 92
AIS Antenna?
Forum: How do I...?
Last Post: Littlechay
12-09-2017, 05:53 PM
» Replies: 8
» Views: 292
A beginner can manage it!...
Forum: Brag Board
Last Post: Leigh
12-08-2017, 05:17 AM
» Replies: 10
» Views: 687
Ikommunicate kindle app o...
Forum: How do I...?
Last Post: SkipperEarly
12-07-2017, 05:16 PM
» Replies: 4
» Views: 179

 
  SDR AIS setup
Posted by: seaspray - 11-19-2017, 07:07 PM - Forum: How do I...? - Replies (2)

Now that I have a reliable USB hub I thought I'd try my DVB device as an AIS receiver.  I went through the calibration steps and came up with a correction of around -50.

I've enabled AIS reception.  I was previously using an external USB receiver via a serial USB so I disabled that. However, I have no idea how to 'see'/use the AIS stream. The NMEA window shows no mention of it. And there's no AIS data on the kplex tcp port. Have i missed a step somewhere?  Clearly the device is working else the calibration wouldn't work. It's a 130 mile round trip to the boat to be able to receive some AIS signals so I'd like to have a plan to resolve it next time.


  i2c firmata?{solved)
Posted by: jim321 - 11-19-2017, 06:29 AM - Forum: General discussion - Replies (4)

well i don't know what happened but i lost i2c no short circuits or 5v attached was working then just stopped. i removed the wires and soldered them together thinking it was a bad connection and sensors showed up for a second in i2c scan then disappeared again ????
so i started to look for alteritives  and found this "https://www.npmjs.com/package/node-red-contrib-gpio"
so i am going to try to use the i2c pins on an arduino to get the data...with johnny 5..
unless there is a better way???
i have 2 esp-nodemcu's 3 esp01 a esp32 and arduino's to work with
Suggestions please..
jim


  rc.local not loading script
Posted by: blueagle91 - 11-17-2017, 07:02 PM - Forum: How do I...? - Replies (2)

Hello all, my first post here Smile

Im trying to make my RPI3 turn ON/OFF on button push. But i cant make OpenPlotter run a python script on boot.

Everything i tried nothing, rc.local, bash, crontab. I added permissions so anybody can run script, but it wont run on boot.

Anyone had similiar problem? Thanks Smile


  Temperature and pression are lost removing power
Posted by: Arruba - 11-16-2017, 06:32 PM - Forum: Bug Reports - Replies (4)

I have sensor for temperature and pression and I can see the values in SK Diagnostic window.
If I remove power, on successive power up the pressure is reported zero and the temperature -271
The only way to have back the correct values is to open NMEA 0183 generator window, delete all listed sentences and hit the “opencpn  default” button.

Roberto


====
Open plotter 0.16.0 beta
Raspberry PI 3
Keyboard, mouse, video, GPS, Eth


  No humidity and no IMU sensor reported
Posted by: Arruba - 11-16-2017, 06:07 PM - Forum: How do I...? - Replies (8)

I have a MPU-9255 and a BME280 connected to I2C and in the I2C tab I can see the humidity sensor. 
The MPU is not present in Compass tab (Detected IMU: empty).
Openplotter in debug mode tell me 
No IMU detected
No humidity sensor detected

There is a way (another program or action via terminal) I can test my sensors?
Or it is a know software fault?

Thank you
Roberto

====
Openplotter 0.16.0 beta
Raspberry PI 3
Connected devices:
Keyboard, mouse, Eth, USB GPS, monitor


  mobile openplotter
Posted by: Luckbert - 11-16-2017, 07:52 AM - Forum: Brag Board - Replies (3)

Hello, everyone, 
As some of you know, I've already put an O. R. in a boat. But since the boat is not mine (SAR-boat) I can't always go where I want to go.
I rent different boats every year and spend my holidays on them. But since I don't want to do without the familiar system, an alternative had to be found. 
I would like to introduce you to my mobile plotters today.

I was looking for a box that fits everything and is waterproof. (In case I have an open boat)

[Image: 30964671hi.jpg]

This is the box from the inside. The blue is a thin layer of foam to prevent rattle. Underneath is a thin aluminium plate to create a flat surface.

[Image: 30964672ja.jpg]

Anker Powerbank. The power bank is sufficient for more than 24 hours of operation. I think if I turn off the screen even longer.

[Image: 30964673zn.jpg]

cabel for I2C: to test sensors
GPS-Dongle: U-blox7 without housing
IMU: InvenSense MPU-9150 with BMP180


[Image: 30964674cl.jpg]

The system is actually operated with a pad or similar. But if there should be problems with the connection, I have a fallback level.


[Image: 30964675hv.jpg]

The connection is sma. So I can connect different antennas depending on the environment and conditions. 

Greetings from Dortmund/Germany

Jürgen


  Introduction in Node-RED
Posted by: Luckbert - 11-16-2017, 06:38 AM - Forum: Node Red - Replies (2)

Hello, everyone,
I'm trying to familiarize myself with Node-RED. Unfortunately, I don't know anything about programming. I tried to make myself smarter under https://nodered.org/ Unfortunately, this is very difficult for me to understand. (my English is also very badSmile)
I've worked a lot with the pi myself. That's okay, I want to learn something. 
In Node-RED I don't know where to start. Does anyone have a simpler manual for me? Ideally already trimmed for surgery?
Does anyone have time, desire and patience to give me an understanding of the matter?
My first project will be the transfer of AIS data to Marinetraffic. Or should we start a different way?
Greetings from Germany
Jürgen


  Anyone datalogging?
Posted by: PaddyB - 11-14-2017, 05:03 PM - Forum: General discussion - Replies (25)

Anyone else recording data? For a while now I've been saving various bits to sqlite. Seems to be one of the easiest plus the database is just one file so you can copy it across to another machine to play with. Pus there's a PHP webpage available which makes it easy to  go in and set up or just  have a look 
Little bit of node red if anyone is inerested -

Code:
[
   {
       "id": "ab86fbfb.82f1c8",
       "type": "switch",
       "z": "f1a0cb4.fe86138",
       "name": "Is it eng data?",
       "property": "msg.payload.updates.values.path",
       "propertyType": "jsonata",
       "rules": [
           {
               "t": "cont",
               "v": "propulsion",
               "vt": "str"
           }
       ],
       "checkall": "false",
       "outputs": 1,
       "x": 180,
       "y": 240,
       "wires": [
           [
               "aaed95ff.c274e8"
           ]
       ]
   },
   {
       "id": "aaed95ff.c274e8",
       "type": "change",
       "z": "f1a0cb4.fe86138",
       "name": "create msg.eng etc",
       "rules": [
           {
               "t": "set",
               "p": "eng",
               "pt": "msg",
               "to": "msg.payload.updates.values[path=\"propulsion.engine.temperature\"].$number(value)-273.15",
               "tot": "jsonata"
           },
           {
               "t": "set",
               "p": "alt",
               "pt": "msg",
               "to": "msg.payload.updates.values[path=\"propulsion.alt.temperature\"].$number(value)-273.15",
               "tot": "jsonata"
           },
           {
               "t": "set",
               "p": "exh",
               "pt": "msg",
               "to": "msg.payload.updates.values[path=\"propulsion.exh.temperature\"].$number(value)-273.15",
               "tot": "jsonata"
           }
       ],
       "action": "",
       "property": "",
       "from": "",
       "to": "",
       "reg": false,
       "x": 190,
       "y": 280,
       "wires": [
           [
               "7a2b1aa3.f272f4"
           ]
       ]
   },
   {
       "id": "7a2b1aa3.f272f4",
       "type": "function",
       "z": "f1a0cb4.fe86138",
       "name": "create INSERT topic eng",
       "func": "// set flow variables to signalk data\nif (msg.eng !==undefined) {var eng = flow.set(\"eng\", msg.eng.toFixed(1));\n    //msg.topic= \"INSERT INTO engine  (eng) VALUES (\" + flow.get(\"eng\") + \" );\" ;\n}\nif (msg.alt !==undefined) {var alt = flow.set(\"alt\", msg.alt.toFixed(1));\n    //msg.topic= \"INSERT INTO engine  (alt) VALUES (\" + flow.get(\"alt\") + \" );\" ;\n}\nif (msg.exh !==undefined) {var exh = flow.set(\"exh\", msg.exh.toFixed(1));\n    //msg.topic= \"INSERT INTO engine  (exh) VALUES (\" + flow.get(\"exh\") + \" );\" ;\n}\n\n// create sqlite insert commend\nmsg.topic= \"INSERT INTO engine  (eng, alt, exh) VALUES (\" + flow.get(\"eng\") + \",\" + flow.get(\"alt\") + \",\" +  flow.get(\"exh\") + \" );\" ;\n//msg.topic= \"INSERT INTO engine  (eng) VALUES (\" + flow.get(\"eng\") + \" );\" ;\nreturn msg;\n   ",
       "outputs": "1",
       "noerr": 0,
       "x": 430,
       "y": 260,
       "wires": [
           [
               "c8b0c6b1.e1b078",
               "dc2bd84f.dcb9a8"
           ]
       ]
   },
   {
       "id": "c8b0c6b1.e1b078",
       "type": "delay",
       "z": "f1a0cb4.fe86138",
       "name": "",
       "pauseType": "rate",
       "timeout": "5",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "minute",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": true,
       "x": 430,
       "y": 300,
       "wires": [
           [
               "8d7a3b1d.824788"
           ]
       ]
   },
   {
       "id": "8d7a3b1d.824788",
       "type": "sqlite",
       "z": "f1a0cb4.fe86138",
       "mydb": "fe279cd9.bbe82",
       "name": "",
       "x": 690,
       "y": 300,
       "wires": [
           []
       ]
   },
   {
       "id": "fe279cd9.bbe82",
       "type": "sqlitedb",
       "z": "",
       "db": "/home/pi/database/boatdata.db"
   }
]
 I tried influxdb with grafana which was really good with lots of plotting options but just too big and hogged too much resources so that had to go.
What isn't going so well with sqlite is plotting - any one know of any python or PHP that would fit the bill? My programming skills aren't that far ahead of hello world Smile  What would be fantastic would be to plot a days battery voltage over voltage from a week or month before to see if there's much difference and maybe get a bit of notice if they aren't so well. Already just seeing how quick the engine warms up and things like that has been really interesting.  Cool
Such a powerful tool, a little Pi, openplotter and node red - systems into the thousands can't do a load of things which it can. 
Ta


  Can I use heading data from IMU through NMEA?
Posted by: Tigress - 11-13-2017, 10:48 PM - Forum: How do I...? - Replies (4)

Hello, and congratulations on some fine work with OpenPlotter. Question I have is regarding the use of the heading data generated through the IMU sensor. I can see from the SignalK diagnostic that the sensor is working and OP is generating the correct data, but I am not sure how I can then send (with the correct NMEA183 sentences, e.g., HDT) this to the NMEA multiplexer such that I can forward to my other instruments and PC. Can I use the Autopilot example to do this? Not clear from the documentation, which says

Most autopilots have there own fluxgate compass and rudder angle sensor. These data can be used from OpenPlotter.

I, of course, want to use the built-in IMU and send this heading data to other instruments. 

Thanks in advance for your help!


  strange compass tab behaviour
Posted by: jim321 - 11-13-2017, 12:13 PM - Forum: Bug Reports - Replies (4)

i was using remote desktop on win7 and when i try to use calibration button in the compass tab the rdt connection resets ..
works fine when connected to monitor via. hdmi..

jim