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.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using moitessier hat and GPIO
#25
Paddy, 
I believe you helped me pointing me towards the SignkSens earlier. I've run into another challenge now with my MPU 9250. I have added the sensor to my D1 mini and set the path to navigation.attitude.
When looking up sensor info i get this:
... websocketClientConnectedPort":3000,"websocketClientConnected":true,"sensors":[{"address":"Local","type":0,"attrs":[{"name":"systemHz","signalKPath":"sensors.D1MiniCompass.systemHz","value":"2537.00"},{"name":"freeMem","signalKPath":"sensors.D1MiniCompass.freeMem","value":"16488"},{"name":"uptime","signalKPath":"sensors.D1MiniCompass.uptime","value":"85.24"}]},{"address":"0x68","type":4,"attrs":[{"name":"tempK","signalKPath":"navigation.attitude.temperature","offset":0,"scale":1,"value":"304.64"},{"name":"yaw","signalKPath":"navigation.attitude","offset":0,"scale":1,"value":"0.5835"},
{"name":"pitch","signalKPath":"navigation.attitude","offset":0,"scale":1,"value":"0.0458"},
{"name":"roll","signalKPath":"navigation.attitude","offset":0,"scale":1,"value":"-0.0845"}......

I would think that I would get the values right. However, when I look up the sensor in my signal K instrument panel, the attitude sensor is added, but it displays this:
navigation.attitude
yaw: -.----°
pitch: -.----°
roll: -.----°

So no numbers.
When setting up a subscribe node in node red, and subscribing to navigation.attitude i get a value that resembles the value I should get from "roll". What to do? How do I get the data where it is supposed to be. I tested (wrongly) to declare navigation.attitude.yaw etc as three separate sensors, but I assume that's not how its's supposed to be done. Help! :-D
Reply


Messages In This Thread
Using moitessier hat and GPIO - by Ranur - 2019-10-23, 09:00 PM
RE: Using moitessier hat and GPIO - by jim321 - 2019-10-24, 07:37 PM
RE: Using moitessier hat and GPIO - by Ranur - 2019-10-24, 07:59 PM
RE: Using moitessier hat and GPIO - by jim321 - 2019-10-24, 08:39 PM
RE: Using moitessier hat and GPIO - by PaddyB - 2019-10-25, 05:57 AM
RE: Using moitessier hat and GPIO - by Ranur - 2019-10-25, 11:13 PM
RE: Using moitessier hat and GPIO - by Ranur - 2019-11-01, 08:56 AM
RE: Using moitessier hat and GPIO - by Ranur - 2019-12-26, 01:35 PM
RE: Using moitessier hat and GPIO - by Max1947 - 2019-10-25, 10:40 AM
RE: Using moitessier hat and GPIO - by PaddyB - 2019-11-01, 09:33 AM
RE: Using moitessier hat and GPIO - by Ranur - 2019-11-01, 10:00 AM
RE: Using moitessier hat and GPIO - by PaddyB - 2019-11-01, 10:04 AM
RE: Using moitessier hat and GPIO - by Ranur - 2019-11-02, 06:47 PM
RE: Using moitessier hat and GPIO - by PaddyB - 2019-11-06, 10:36 PM
Using moitessier hat and GPIO - by tkurki - 2019-11-01, 05:19 PM
RE: Using moitessier hat and GPIO - by PaddyB - 2019-11-01, 07:52 PM
RE: Using moitessier hat and GPIO - by Ranur - 2019-12-10, 05:11 PM
RE: Using moitessier hat and GPIO - by Ranur - 2019-12-10, 06:15 PM
RE: Using moitessier hat and GPIO - by Blue Ocean - 2019-12-20, 07:23 PM
RE: Using moitessier hat and GPIO - by Blue Ocean - 2019-12-22, 02:55 PM
RE: Using moitessier hat and GPIO - by Ranur - 2019-12-25, 01:20 PM
RE: Using moitessier hat and GPIO - by abarrow - 2019-12-20, 07:57 PM
RE: Using moitessier hat and GPIO - by Blue Ocean - 2019-12-25, 03:45 PM
RE: Using moitessier hat and GPIO - by Ranur - 2019-12-25, 07:07 PM
RE: Using moitessier hat and GPIO - by jim321 - 2019-12-26, 01:49 PM
RE: Using moitessier hat and GPIO - by Ranur - 2019-12-26, 02:05 PM
RE: Using moitessier hat and GPIO - by jim321 - 2019-12-26, 02:50 PM
RE: Using moitessier hat and GPIO - by Ranur - 2019-12-26, 04:04 PM
RE: Using moitessier hat and GPIO - by tjmack - 2020-04-23, 11:58 PM
RE: Using moitessier hat and GPIO - by Ranur - 2020-04-25, 04:10 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)