IOT开发套件对话框半导体DA14583:测量雷竞技电竞平台角度数据而不是角度

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
11 posts / 0 new
Last post
Divya Panchal.
Offline
最后一次露面:3 years 1 month ago
加入:2017-10-31 08:37
IOT开发套件对话框半导体DA14583:测量雷竞技电竞平台角度数据而不是角度

Hello,

Hope someone can advise me here !

我正在研究对话半导体IOT开发套雷竞技电竞平台件DA14583,我正在使用da1458x_iot_v5.160.1.19.zip for sensor fusion码和原始数据文件,但在这里我得到了非常有限的图书馆的值。我对此有很少的疑虑。

我的问题:

1)首先使用移动android应用程序连接Dialog Dongle时,它具有内置的.log文件。因此,当我将蓝牙加密狗与移动和配对配对连接时,首先我必须根据我的应用程序(即陀螺仪速率和加速度计速率)进行一些设置,并且在此之后,能够在IoT对话框移动应用程序中实现可穿戴的记录。这是必要的吗?而且当我在基本设置中启用传感器融合原始选项时,我们可以看到BMI160和BMM150的曲线,因此必须启用所有时间此选项?
在应用中需要哪种设置以获得BMI160(Gyro + Accel)传感器的大量数据,因为这里我使用BMI160 Bosch Sensor和MPU6050并行检查兼容性。与此对话框进行比较加密狗数据我们在其他传感器中获得了非常好的数据。
2)MPU6050具有DMP库,它给了我们DMP值。这个图书馆(https://github.com/jrowberg/i2cdevlib/blob/master/arduino/mpu6050/mpu605 ...)给了我们欧拉角数据。
在Dialog Dongle中哪个库需要进行角度数据?
3)Dialog Dongle可能会给我们带来的角度数据率,在这里我想要角度数据,所以它需要哪种图书馆?
4)如何在PC中获取测量数据的曲线?

如果有人知道任何疑问的答案,请给我一个反馈意见。

感谢致敬,
divya.

设备:
mt_dialog.
Offline
最后一次露面:3个月4天前
Staff
加入:2015-06-08 11:34
嗨divya panchai,

嗨divya panchai,

1.Please re-phrase your question since i am not able to understand what exactly you are asking, please check the UM-B-063 DA14583 IoT Sensor Development Kit.

2&3我不知道是否有BMI160的图书馆,如果有一个,那么它将在网上,但如果你想得到角度位置,你可以轻松地集成角度数据并获得位置。

4.没有对对话工具会绘制PC上的数据,您可以使用.log文件,然后使用express工具来制作图表或者您必须通过通过IOT传输数据BLE或UART并将其发送到PC上的应用程序,将以图形方式表示它们。

谢谢mt_dialog.

Divya Panchal.
Offline
最后一次露面:3 years 1 month ago
加入:2017-10-31 08:37
你好支持,

你好支持,

谢谢for quick response!!

我读取了um-b-063_da14583_iot_sensor_development_kit_1v3.pdf并通过它。但我对角度数据有一些疑问。

So My Questions:

1) IOT APP : If we load Raw Software and Check log file on phone
(a)原始数据在DEG / SEC或DEG中?
(b) If it is deg/sec,how to decode or convert data in actual angles?
2)IOT应用程序:如果我们加载SFL软件
(a) Log File is giving data in deg/sec or deg?
(b) If deg/sec , how to convert it in to deg?
3)我们是否可以自定义报表日志以仅获取SFL数据,如果是如何?
4)这里我附上了我们从移动应用程序捕获的报表日志,你能告诉我从中获取SFL值的过程是什么?

谢谢,
divya.

mt_dialog.
Offline
最后一次露面:3个月4天前
Staff
加入:2015-06-08 11:34
嗨divya panchai,

嗨divya panchai,

  1. Since that data is raw, you are getting the data as extracted from the gyro sesnor, so they are rates and not angles so they are deg/sec.
  2. 我已经提到了,你可以集成原始值并只使用陀螺数据估计实际角度,但在任何情况下,这个问题都不脱离了这个论坛的范围。
  3. 日志文件再次记录原始数据是deg / sec
  4. 在答案2中提到的相同方式,在不同的项目之间,原始数据是相同的,但馈送传感器融合引擎使用所有传感器的融合来提供角度的估计。
  5. 我想你可以自定义Android应用程序,以便仅输出您想要的数据,但我们不支持Android应用程序的修改,源代码可用,以便您检查它。雷竞技安卓下载或者您可以修改SFL项目,以便仅发送SFL数据而不是SFL的RAW,但这需要对项目进行重大修改,而不仅仅是一个简单的#define或简单的mod。
  6. Regarding the sensor fusion data, the sensor fusion packet is described on Table 12 : Report Structure for sensor fusion, the values return by the sensor fusion algorithm, the algorithm outputs the orientation in quartenions, if you would like to isolate only the SFL reports from the log file you could process the log using somekind of sw, excell or something similar, please check the Appendixes A and B for the sensor fusion data.

谢谢mt_dialog.

Divya Panchal.
Offline
最后一次露面:3 years 1 month ago
加入:2017-10-31 08:37
Hi

Hi

谢谢回复。

If we load SFL software and take the log from the Mobile APP if its giving us Raw Data, can you please let me know how we can convert that data to angles? Any document which we can refer?

在我们的最终应用程序中,我们想要使用传感器融合数据,因此我们需要使用附录A和B中所述的方法来读取正确的值,是正确的吗?

更新的速率/频率传感器融合数据是什么?

谢谢
divya.

mt_dialog.
Offline
最后一次露面:3个月4天前
Staff
加入:2015-06-08 11:34
嗨divya panchal,

嗨divya panchal,

As mentioned, the raw data that you can use and get actual angles are the data from the gyro, integrating the data will give an estimation of the rotation of the object over the three gyro axis but there are downsides when using only the gyro to estimate position. The IoT in order to aquire the orientation uses data from all three sensors, accelerometer, gyroscope and magnetometer (depending on the configuration) in order position the object's orientation more accurate. Dialog's SFL library and the sensor fusion algorithm is not provided. There are methods and approprite explanations over the internet that describe how to estimate the position of an object in space that are available.

是的,附录A和B描述了SFL库的传感器融合数据的输出,以及如何解释,还有一个对适当的维基百科的解释。

The log in the SFL will provide you both with raw data and SFL data on demand (sensor fusion raw enable option), regarding the rate of the sensor fusion this is configurable and depends on the rate of the accelerometer and the gyroscope, please check the UM-B-063 DA14583 IoT Sensor Development Kit.pdf on paragraph 7.3 in order to understand how the sensor fusion rate is calculated and what data are send over the air.

谢谢mt_dialog.

Divya Panchal.
Offline
最后一次露面:3 years 1 month ago
加入:2017-10-31 08:37
你好支持,

你好支持,

非常感谢您在我的Comnets上非常快速回复。

If we load SFL software and take the log from the Mobile APP, i got repeated values of all sensor(accel+gyro). so there received data are are also same.

Is there any solution to solve this problem,
1)如何刷新传感器的数据?
2)我们保留所有设置(作为新安装的应用)。
3) We erased Flash memory of dialog IOT Dongle using Smartsnippets and loaded the SFL code using IOT Sensor development Kit.
4) We deinstall and reinstall the app several times,but we got the same results.
5)这里我附上了从SFL代码获取的日志文件供参考,可以检查所有数据是否相同。
6) “07 02 03 FC 7F EC FF D4 01 01 00”<--------能否请您解读这些字符串角形式?
7) I refer UM-B-063_DA14583_IoT_Sensor_Development_Kit_1v3.pdf and Appendix A and B of their also.we did not any kind of changes in mobile application and their SFL code also.is there any changes needed?
8) In our end application we wanted to use angular data of Sensor fusion.so can u please give me appropriate guidance to solve my problems.

谢谢,
divya..

Attachment:
mt_dialog.
Offline
最后一次露面:3个月4天前
Staff
加入:2015-06-08 11:34
嗨divya panchal,

嗨divya panchal,

1) Regarding refreshing the data on the sensors, on the SFL the data should be updated automatically you dont have to do anything explictly, if you are getting the same data on your log, are you moving the sensor so that you can obtain new data ?

6) The IoT application uses the SFL data and translates them in roll, pitch and yaw in order to move the 3D image if that is what you mean as "angular form" then you can check the android source code which is available on line and check how the application is using the received data in the updateScene method and converts the SFL data. Those data are also logged after the application gets a SFL data packet.

谢谢mt_dialog.

Divya Panchal.
Offline
最后一次露面:3 years 1 month ago
加入:2017-10-31 08:37
嗨支持,

嗨支持,

I am attaching the log file that I received after vigorously moving the iot dongle in all directions for almost 2 mins.
我已经对值进行了排序,以便阅读ACC的变化,或陀螺数据变得容易。即使在移动加密狗2分钟后,我也可以仅在其中记录近6秒的数据,只有在其中,加密狗仍然在运动中,但是日志中的数据根本没有变化显示较小或没有动作。
以下是我在移动应用程序(Android)中使用的设置
ACC = 2G的范围
Gyro = 2000 DPS的范围
两者频率= 25Hz
传感器融合率= 25Hz
校准模式=静态
自动校准模式=基本

我的固件版本为5.160.01.19

如果我做错了什么,请告诉我。

谢谢,
divya..

Attachment:
mt_dialog.
Offline
最后一次露面:3个月4天前
Staff
加入:2015-06-08 11:34
嗨divya panchal,

嗨divya panchal,

显然存在在目前上传的IOT应用程序版本中的问题,当应用程序位于将呈现数据的任何屏幕上,应用程序或融合屏幕应用程序将禁用日志记录机制。例如,如果您切换到设置并在该点设置启用日志记录,则应记录数据,如果切换到可视化数据的任何屏幕,则应用程序将禁用日志记录机制,并且将记录值。该团队正在努力解决这个问题,预计将在下次申请版本上得到修复。显然,您看到的数据是设备仍然存在的值,并且当您开始移动传感器时,也许您在标准屏幕上切换,则禁用日志操作。

谢谢mt_dialog.

Divya Panchal.
Offline
最后一次露面:3 years 1 month ago
加入:2017-10-31 08:37
你好支持,

你好支持,

非常感谢您非常快速的回复!

Actually i used your given application but can not decode the received data of sensor fusion library and i need angular data(yaw pitch & roll) of dialog DA-14583 sensor fusion data.

所以我用了,https://evothings.com/dialog-iot-sensor-tarter-guide/.

创建自己的应用是非常有用的,现在我正在得到我所需要的。

Thanking you,
divya..