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,391
» Latest member: hostgeek1
» Forum threads: 1,109
» Forum posts: 7,339

Full Statistics

Online Users
There are currently 58 online users.
» 1 Member(s) | 54 Guest(s)
Bing, Google, Yandex, partyvi

Latest Threads
Send all signalK event to...
Forum: How do I...?
Last Post: pkernevez
3 hours ago
» Replies: 4
» Views: 24
MPU9250 with ESP8266
Forum: General discussion
Last Post: ddelorme
4 hours ago
» Replies: 3
» Views: 15
5V Power Converters
Forum: General discussion
Last Post: ddelorme
5 hours ago
» Replies: 10
» Views: 43
Connecting mpu-9255 probl...
Forum: How do I...?
Last Post: seandepagnier
5 hours ago
» Replies: 1
» Views: 4
Limit switch
Forum: General discussion
Last Post: ddelorme
5 hours ago
» Replies: 2
» Views: 7
... get my own Can USB Co...
Forum: How do I...?
Last Post: first317
10 hours ago
» Replies: 2
» Views: 1,805
Passive Radar.
Forum: General discussion
Last Post: festeraeb
Today, 01:28 AM
» Replies: 3
» Views: 20
CAN-USB Availability
Forum: General discussion
Last Post: dave.ritten@gmail.com
Yesterday, 10:59 PM
» Replies: 0
» Views: 3
Problem with OpenCPN usin...
Forum: How do I...?
Last Post: Stucko65
Yesterday, 03:48 PM
» Replies: 8
» Views: 3,396
Also send I2C sensor data...
Forum: Node Red
Last Post: ddelorme
Yesterday, 03:46 PM
» Replies: 4
» Views: 29

 
  GPS2IP - Pypilot
Posted by: jodi001 - 12-04-2018, 08:55 AM - Forum: General discussion - No Replies

Hi,

I have tried to connect GPS2IP to Pypilot but have not succeded. Is it possible to use GPS2IP as a GPS and use the data for waypoint navigation in Pypilot?

I can get GPS data into Opencpn and can see the data i NMEA flow. 

Regards,

Joakim


  need help sending nmea data to UDP port
Posted by: ddelorme - 12-03-2018, 05:43 PM - Forum: How do I...? - Replies (1)

i am updating an app that i wrote that writes a nmea string to a udp port but can not seem to get the data to the port.
I setup kplex with a udp source

Code:
[udp]
name=wind
direction=in
optional=yes
address=
port=20220

but I cant seem to get data to the port?

this is the code snipit

Code:
import socket
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.sendto(string, ('127.0.0.1', 20220))
sock.close()

This is the output of the print statement

Code:
$ARMWV,7.97,R,0.00,N,A*27a?
$ARMWV,8.09,R,0.00,N,A*2fa?
$ARMWV,7.97,R,0.00,N,A*27a?
$ARMWV,8.00,R,0.00,N,A*26a?
$ARMWV,8.01,R,0.00,N,A*27a?
$ARMWV,7.97,R,0.00,N,A*27a?
there is a issue at the end with check sum would that be all that is messing it up?
Is there a way to just echo what ever is sent to the port?


  Signal K/MQTT issue - Help!
Posted by: scuby - 12-02-2018, 02:51 PM - Forum: How do I...? - Replies (3)

Hi all,

I've got a bit of a problem and I hope some one might be able to help. It might be a bug or just me.

I'm running Openplotter 1.2.0 alpha, fresh from an updated img.

I am trying to display on Signal K instruments using MQTT data derived from ESP8266 connected temperature sensors.

I can connect a single MQTT topic and SignalK will create instruments and display data successfully (tempA).

I configure this on the MQTT tab of the OpenPlotter control panel.

As soon as I configure my second topic (tempB) the pi's CPU usage goes up to around 70%.

HTOP shows mqyy_d.py up at 130% cpu usage, the Signal K dashboard indicates 100+ deltas/sec.

As soon as I delete either topic everything settles down.

The mosquitto broker accepts the two topics with no problem, I can dedug with mosquitto_client.

(added) P.S. Node RED displays both topics OK so this might be a bug.

Huh Any ideas?


  Black screen
Posted by: cepicscepics - 12-02-2018, 08:50 AM - Forum: Bug Reports - Replies (10)

Hi, I was trying to instal MQTT plugin in SignalK,
the dashboard gave me an error and the server told me "restart required".
I tryed to restart only the server but the error still there, so I rebooted the pi, and on startup, no icons on the desktop,
so I rebooted again and, on new startup, the screen is Black on hdmi monitor and on vnc viewer..... but with mouse.

right click on the black screen I can open a terminal window ...

RPI 3B
OP 1.2.0
MCP2515
wireless mouse

Code:
pi@openplotter:~ $ openplotter
Could not stat /dev/ttyOP_ap: No such file or directory
Failed to initialize Interface ap
Could not stat /dev/ttyOP_gpsfix: No such file or directory
Failed to initialize Interface gpsfix
Could not stat /dev/ttyOP_wind: No such file or directory
Failed to initialize Interface wind
Warning: Stopping signalk.service, but it can still be activated by:
 signalk.socket

Tnks


  Franklin Sensor
Posted by: BellaX - 11-29-2018, 03:42 PM - Forum: General discussion - Replies (1)

Hi all,

some years ago (6?) i did a lightning detector project with the (formerly) brand new Franklin Sensor
AS3935 from Austria Microsystems. The idea was to create a mobile lightning detector that
connects via BLE to a smartphone.

I created a pcb with the AS3935 and a BLE113 bluetooth  module that fits perfectly into the 
CSS Takachi enclosure with silicone cover. http://www.takachi-enclosure.com/data/c16-17/CSS.pdf

At that time, six years ago, i tested the dev board during a thunder storm. I have
compared the display readout with internet lightning pages. Don´t ask me how
they are doing the calculation but the sensor was pretty accurate.

For some reasons the project was canceled. The last days, while cleaning up the loft, i found the 
box with around 80-100 pcbs, completely assembled and never used:

[Image: 6b7e4a343d_album.jpg]

Inside the box was the development kit, an USB-Stick with documentation
and the lightning simulator:


[Image: d0d0df3145_album.jpg]

I do not want to throw it away. It should be no problem to get the BLE113 module
running. The lighning events could be sent via BLE advertising package to the
RPi running node red.

Some months ago i have tested receiving BLE advertising packages into node red.
The installation was horrible like everything on the Pi, but it works.

I am hoping someone is interested and write some software for it.
The BLE113 is very easy to program, it is using a BASIC scripting language.

For programming the BLE113 a CC debugger from Texas Instruments is needed.
All the software needed is free on the Silabs website. (www.silabs.com)

"I do not want to throw it away" means you can get a pcb for free. Please send
me a PN if you want one. (you have to pay the shipping and packaging costs of course)

All the best
Chris


  linear actuator recomendations
Posted by: ddelorme - 11-29-2018, 02:22 PM - Forum: General discussion - Replies (9)

I would like some ideas on specs or recommendations i should look for in an linear actuator.
I currently have a Marine pilot 1600.
My boat is a Tanzer 26.
stroke is about 10"
stroke speed is slow i could use faster as i have a modified rudder.
I plan to set up the autopilot with my old Autopilot but I would really like to replace it.
ThanksSmile


  Using Moitessier HAT with pypilot ?
Posted by: Trex8u247 - 11-28-2018, 04:07 PM - Forum: General discussion - Replies (2)

Good Day

I am wanting to get both the Moitessier HAT ( for all navigational Info ) and Pypilot ( For auto Pilot ).

Would I need to buy two separate raspberry pi devices along with a USB GPS dongle for each?

or is there a way I can get the two features on one raspberry pi or even get one raspberry pi to share its GPS location with another?

Regards


  Booting from USB
Posted by: mikedeflieslife - 11-28-2018, 06:00 AM - Forum: How do I...? - Replies (6)

I posted on the Raspberry Pi forum about problems booting from USB. 

I was told that some OS do not support booting from USB, is that true of Openplotter?

I have a Pi 3B+ so USB booting is enabled on it by default. Yet If I take my working Sdcard out and stick it into a USB dongle, the system will not boot. Gets as far as the Raspberry Pi logo then ends up with a blank screen. 

If I try to boot Openplotter from a USB SSD, It doesn't even get that far. The Pi turns on, the light on the HDD comes on to show it has power/is connected, but nothing. The Pi doesn't even send a signal to the monitor. 

Is there something specific to Openplotter preventing it booting from USB?


  fyi opencpn update
Posted by: jim321 - 11-27-2018, 03:15 PM - Forum: General discussion - No Replies

update for  opencpn (4.8.8-0~xenial1) over (4.8.6-0~xenial1)
use update tool


  Windsensor questions
Posted by: ddelorme - 11-27-2018, 11:15 AM - Forum: General discussion - Replies (4)

Hi all, well winter has come and the boat is out of the water and my tinkering begins...
I am doing a rebuild of my windsensor/anchor light. the issues i found were.

cheap anemometers are to heavy with the rough chop on Lake Winnipeg they experience a lot of vibration and the weight was an issue. Fine for the back yard.

i have a new Davis sitting on my bench...

the NRF24L01 was fine, but did drop the odd packet at 5hz. will try again as the low power requirement was nice.  Or just put the nano in the boat and use usb to RPI as the Davis has a really long cord undecided at this point..
The Anchor light worked great. 

The nano was great as it can take raw 12 V power from 12 V bat bank.

Sean what Arduino are you using for your Weather sensor. I get fuse warnings?
I also get twi.h not found error? Not really an issue as i don't have a display or bme280.
I ordered a some new ones as i am sure they have issues.
ADMUX = _BV(REFS0) | 6; as i can understand this sets ADMUX to 01000000 | 00000110=
                                                                                                01000110  or  
AVCC on with pin A6 as source If I want to set the pin to A4  I would just change it to ADMUX = _BV(REFS0) | 4; or 01000100
I am having a issue understanding " AVcc with external capacitor"? where do i put this cap and what size?


After more testing my old auto pilot is to slow and dumb, I will probably change it as i really like Pypilot.
Sudjustions for a linear actuator would be welcome.