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 50 online users.
» 2 Member(s) | 45 Guest(s)
Bing, Google, Yandex, jim321, 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

 
  cron email
Posted by: svtgd - 01-16-2019, 06:04 PM - Forum: How do I...? - Replies (5)

How can I send email from console or cron containing the sensor data?


  pypilot driver timeout error
Posted by: ddelorme - 01-13-2019, 07:17 AM - Forum: General discussion - Replies (1)

I started to get this yesterday?
No beep when i i turn on AP.
MCU lights up like it is trying to send info to ESC but nothing?
Did i kill the ESC?
No other errors?


  How to send an OpenCPN GPS Route to Pypilot
Posted by: donovanes - 01-13-2019, 03:06 AM - Forum: General discussion - No Replies

Hi, I'm trying to send a GPS route to Pypilot from OpenCPN. I'm using Openplotter on a Raspberry Pi3b and have the Pypilot plugin enabled. 

I set up an input/output connection in OpenCPN to port 20220 and filtered sentences ECRMB, ECRMC and ECAPB following the instructions in the OpenCPN manual for sending an active route to an autopilot. The NMEA debugging window shows that the sentences are being sent successfully.   

In the Pypilot plugin window there is no option to navigate by GPS in the pulldown menu, only compass. Does this have to be enabled somewhere else? I couldn't figure it out. 

Thanks for the amazing work on Pypilot. It's such a great program and I can't wait to try it out on the water


  How can I use Astro Pi Sense Hat
Posted by: skipper@sy-barranas - 01-11-2019, 07:09 PM - Forum: How do I...? - Replies (1)

I'm trying to use a sense hat with it's integrated IMU and environment sensors. The IMU of the sense hat is a STM LSM9DS1 which is supportted according to the documentation.
There should be a compass tab (https://sailoog.gitbooks.io/openplotter-...mpass.html). But there is none.
In the I2C section I see three objects in the pulldown list (STM LSM9DS1 - 0x6A, BMP180 - 0x77, HTS221 - 0x5f).
I can add BMP180 and HTS221, but not the STM LSM9DS1. The field add/update sensor remains empty.
something wrong with my installation? What can I do?


  Node Red Integration
Posted by: skipper@sy-barranas - 01-09-2019, 07:33 PM - Forum: Node Red - Replies (8)

In Node Red called via
http://localhost:1880
the node "sensor-ds18b20" has an entry in the dropdown list "Sensor ID"


 In Node Red called via
http://localhost:3000/plugins/signalk-node-red/redAdmin
the sam node has no such entries.

How can I connect a sensor to Openplotter/SignalK?

Any ideas?

Peter


  W1 Sensors and Node Red
Posted by: skipper@sy-barranas - 01-09-2019, 07:20 PM - Forum: Node Red - Replies (1)

My idea is to use DHT22 or DS18B20 sensors and/or 433MHz external sensors to inject their messages into the SignalK Server stream.


There are different modules in Node Red for the DS18B20 sensor
node-red-contrib-ds18b20
node-red-contrib-ds18b20-sensor
node-red-contrib-sensor-ds18b20
 
and others referring to W1.
 
Problem:
In the current standard installation of open plotter there are two Node-Red entry points (after adding signal-node-red to the server)
http://localhost:1880 >>> standard Node Red (SNR)
http://localhost:3000/plugins/signalk-node-red/redAdmin >>> Integrated Node Red (INR)
 
I have tried to build Node-Red entries to SignalK from DHT22, DS18B20 and via 433 MHz (with RTL-SDR and with 433-Sensor). Without success.
I started with the Node Red server (standard) which is ready available in the link list. I didn’t realize that this is not the server integrated in OpenPlotter.
Anyway, with this SNR (standard node red)  I could read the signals from
          DHT22
          DS18B20
          Sensors vis 433 MHz
The INR doesn’t connect to W1.
Device-Ids which should come from the entries in /sys/bus/w1/devices are not shown in the dropdown lists of the node-red nodes. In SNR they do.
In SNR environment everything is fine on the sensor – input side. But I cannot connect to the SignalK Server.
What are the differences between I N R and S N R  ????
Some ideas?

kind regards

Peter


  Having an issue with pypilot and openplotter
Posted by: ddelorme - 01-07-2019, 07:39 PM - Forum: How do I...? - No Replies

Hi
I am using openplotter 1.2.0 alpha
I keep getting this error on Openplotter debug


Code:
Traceback (most recent call last):
 File "/usr/local/bin/pypilot_calibration", line 11, in <module>
   load_entry_point('pypilot==0.2', 'console_scripts', 'pypilot_calibration')()
 File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 561, in load_entry_point
   return get_distribution(dist).load_entry_point(group, name)
 File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
   return ep.load()
 File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2291, in load
   return self.resolve()
 File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2297, in resolve
   module = __import__(self.module_name, fromlist=['__name__'], level=0)
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/ui/autopilot_calibration.py", line 13, in <module>
   import calibration_plot, pypilot.quaternion, boatplot
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/ui/boatplot.py", line 17, in <module>
   import pywavefront
 File "/home/pi/.local/lib/python2.7/site-packages/pywavefront/__init__.py", line 37, in <module>
   from pywavefront.obj import ObjParser
 File "/home/pi/.local/lib/python2.7/site-packages/pywavefront/obj.py", line 403
   yield from emit_vertex(vcurrent)
            ^
SyntaxError: invalid syntax

this is the content of my Config
Code:
[GENERAL]
version = 1.2.0
state = alpha
lang = en
op_folder = /home/pi/.config/openplotter
sk_folder = /usr/lib/node_modules/signalk-server

[UPDATE]
master_github_repositories = openplotter
beta_github_repositories = sailoog
stable_branch = master
beta_branch = beta

[AIS-SDR]
enable = 0
gain =
ppm =
channel = a
band =
gsm_channel =

[NMEA0183]
sentences = [['XDR', ['A', ['navigation.attitude.roll', 'x.x|deg', '+', 0.0], 'D', 'ROLL'], 1.0], ['XDR', ['A', ['navigation.attitude.pitch', 'x.x|deg', '+', 0.0], 'D', 'PTCH'], 1.0], ['XDR', ['P', ['environment.outside.pressure', 'x.xxxx', '/', 100000.0], 'B', 'Barometer'], 5.0], ['XDR', ['C', ['environment.outside.temperature', 'x.x|C', '+', 0.0], 'C', 'ENV_OUTAIR_T'], 5.0]]

[STARTUP]
delay = 0
opencpn = 0
opencpn_no_opengl = 0
opencpn_fullscreen = 1
maximize =
play = 1
sound = /home/pi/.config/openplotter/sounds/Store_Door_Chime.mp3
node_red = 0
800x480 =

[CALCULATE]
mag_var = 1
mag_var_rate = 1
mag_var_accuracy = 1
hdt = 1
hdt_dev = 0
hdt_rate = 0.25
hdt_accuracy = 0.5
rot = 0
rot_rate =
rot_accuracy =
tw_stw = 0
tw_sog = 0
tw_rate = 0.5
tw_accuracy = 1

[N2K]
pgn_generate =
output = 0

[GPIO]
sensors = [['anchorLight', 'out', '25', '']]

[TWITTER]
enable = 0
apikey =
apisecret =
accesstoken =
accesstokensecret =

[GMAIL]
enable = 0
gmail =
password =
recipient =

[ACTIONS]
triggers = [[1, 'navigation.lights.value', 2, '"off"', [['ACT17', 'Anchor test', 0.0, 0]]]]

[1W]
ds18b20 = [['wttemp', 'environment.inside.refrigerator.temperature', '00000774f4cf', '0.0']]

[UDEV]
serialinst = {u'servo': {'product': u'ea60', 'vendor': u'10c4', 'remember': u'dev', 'device': u'/dev/ttyUSB1', 'assignment': u'pypilot', 'bauds': u'', 'serial': u'0001', 'port': u'1-1.3:1.0'}, u'gps': {'product': u'2303', 'vendor': u'067b', 'assignment': u'Kplex', 'bauds': u'115200', 'device': u'/dev/ttyUSB1', 'serial': u'', 'port': u'1-1.4:1.0', 'remember': u'dev'}}

[SMS]
enable = 0
serial =
bluetooth =
connection =
enable_sending = 0
phone =

[MQTT]
broker =
port =
username = pi
password = XXXXXX
topics = [[u'lights', 1, u'navigation.lights']]

[I2C]
sensors = [['BME280', '0x76', [['environment.outside.pressure', 1.0, 2771.0], ['environment.inside.temperature', 30.0, 0.0], ['environment.inside.humidity', 30.0, 0.0]]]]

[PYPILOT]
mode = imu
translation_rate = 0.5
translation_magnetic_h = 1
translation_attitude = 1
webapp = 0
webapp_port = 8080
deviation = [[0, 0], [10, 10], [20, 20], [30, 30], [40, 40], [50, 50], [60, 60], [70, 70], [80, 80], [90, 90], [100, 100], [110, 110], [120, 120], [130, 130], [140, 140], [150, 150], [160, 160], [170, 170], [180, 180], [190, 190], [200, 200], [210, 210], [220, 220], [230, 230], [240, 240], [250, 250], [260, 260], [270, 270], [280, 280], [290, 290], [300, 300], [310, 310], [320, 320], [330, 330], [340, 340], [350, 350], [360, 360]]
variation =

[SPI]
mcp = [[0, 0, '', '', 0], [0, 1, '', '', 0], [0, 2, '', '', 0], [0, 3, '', '', 0], [0, 4, '', '', 0], [0, 5, '', '', 0], [0, 6, '', '', 0], [0, 7, '', '', 0]]

[TOOLS]
py = [['Demo Tool', 'Tool example', 'demo_tool', '0'],['Analog ads1115', 'put analog values to SignalK', 'analog_ads1115', '0'], ['Analog Firmata', 'put analog values to SignalK', 'oppymata', '0'], ['Moitessier HAT', 'configure Moitessier HAT settings', 'moitessier_hat', '0']]


  5V Power Converters
Posted by: abarrow - 01-07-2019, 10:19 AM - Forum: General discussion - Replies (10)

Hi all,

I'm struggling with getting reliable, clean 5V supply for my system. In my latest OP iteration, I installed my RPI in a case designed to take my 250Gb SSD, and wired in the TOBSUN 10A buck converter that I had previously been using.

I had immediate problems, getting the lighting bolt on the PI screen frequently (low power). I measured output voltage and was only getting 4.5V under load. So, that got changed out to a 5A adjustable buck converter, which I adjusted to just over 5V output. The lightening bolts went away, and everything appeared to be okay.

I thought all was well until I noticed that my ships radio, with a masthead antenna, wasn't hearing VHF as well as my handheld in the cockpit! Clearly, the buck converter was generating so much noise that it was getting into my VHF! This is with 5 or 6 ferrite noise filters clamped over every power and signal wire I could find.

I have one other buck converter to try, but before I do, I'd like to hear what others are doing to get 5V for your systems.

Andy


  Add a wifi Dongle
Posted by: gary.cantigneaux - 01-07-2019, 09:43 AM - Forum: How do I...? - Replies (1)

Dear All,

happy new year to all of you!

Just a quick question, I would like to add a second WiFi connection to my Raspberry PI 3+ in order to use it as a repeater and also to make it easier to connect it to the web.

do i need to do something special in order for this to work? can i just plug a new dongle into the usb port? and then via VNC setup the wifi connection to my hotspot?

Thanks a in advance

Gary


  Need help setting up Pypilot
Posted by: ddelorme - 01-06-2019, 09:54 AM - Forum: General discussion - Replies (2)

I need a little help getting the motor controller working.
I have the serial connected to a serial to USB adaptor.
USB to TTL Serial Cable - Debug / Console Cable for Raspberry Pi
PRODUCT ID: 954

4pin connector         USB adaptor
brown vcc                Red    +5v
black GND                Black GND
white RX                  Green TX
blue TX                    White RX

Power to Controller
1 long beep
Bullet connectors to motor.

I see the USB device
cat /dev/ttyUSB1 nothing
Device setup in openplotter
name   device                 assignment
Servo   /dev/ttyUSB1      pypilot
When I enable basic autopilot In openplotter/pypilot I lose GPS? 

What did i mess up?