Posts: 29
Threads: 4
Joined: Sep 2019
Reputation:
0
Have you tried without the mpu connected? Maybe it is doing something to the voltages of the esp.
Posts: 102
Threads: 20
Joined: Sep 2019
Reputation:
4
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
Posts: 799
Threads: 46
Joined: Jun 2017
Reputation:
25
2019-12-26, 01:49 PM
(This post was last modified: 2019-12-26, 02:05 PM by jim321.)
what are you doing for calibration on the MPU 9250.?
what are you tying to accomplish.?
its normally connected to the pi wth I2C to use the scripts from pypilot..
Posts: 799
Threads: 46
Joined: Jun 2017
Reputation:
25
2019-12-26, 02:50 PM
(This post was last modified: 2019-12-26, 02:51 PM by jim321.)
i will have to try the setup when i get time it sounds like a good way to get i2c data to an x86 machine.
Posts: 15
Threads: 1
Joined: Nov 2019
Reputation:
2
Hi Ranur. Did you ever find a good solution to your original question? Did you get a Moit Hat? I like your questions because I have all the same questions, and your newbie skills are better than mine! Thanks. Tom