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
Last seen:3 years 1 month ago
加入:2017-10-31 08:37
IOT开发套件对话框半导体DA14583:测量雷竞技电竞平台角度数据而不是角度

Hello,

Hope someone can advise me here !

I am working on Dialog semiconductor IOT development kit DA14583, and here I am using DA1458x_IOT_v5.160.1.19.zip for sensor fusion code and raw data files but here I got very limited values of both library. I have few doubts regarding this.

My questions:

1)首先使用移动android应用程序连接Dialog Dongle时,它具有内置的.log文件。因此,当我将蓝牙加密狗与移动和配对配对连接时,首先我必须根据我的应用程序(即陀螺仪速率和加速度计速率)进行一些设置,并且在此之后,能够在IoT对话框移动应用程序中实现可穿戴的记录。这是必要的吗?而且当我在基本设置中启用传感器融合原始选项时,我们可以看到BMI160和BMM150的曲线,因此必须启用所有时间此选项?
在应用中需要哪种设置以获得BMI160(Gyro + Accel)传感器的大量数据,因为这里我使用BMI160 Bosch Sensor和MPU6050并行检查兼容性。与此对话框进行比较加密狗数据我们在其他传感器中获得了非常好的数据。
2) MPU6050 has DMP library which gave us DMP values. this library (https://github.com/jrowberg/i2cdevlib/blob/master/arduino/mpu6050/mpu605 ...) gave us euler angular data.
In Dialog Dongle which library it needed to get angular data?
3) Dialog Dongle may be give us rate of angles data and here I want angular data so for that which kind of library it needs?
4) How to get plot of measured data in PC?

If anyone has know answer of above any doubts please give me a feedback.

Thanks and Regards,
Divya

Device:
MT_dialog
Offline
Last seen:3 months 4 days ago
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 I am not aware if there is such kind of library for the BMI160, if there is one then it will be on the net, but if you would like to get angular position you can easily integrate the angular data and get position.

4. There is no dialog tool that will plot the data on your PC, you can either use the .log file which you then use an excell tool in order to make your graphs or you will have to transfer the data from the IoT either via BLE or UART and send it to an application on the PC that will represent them graphically.

Thanks MT_dialog

Divya Panchal.
Offline
Last seen:3 years 1 month ago
加入:2017-10-31 08:37
Hello Support,

Hello Support,

Thanks for quick response!!

I read UM-B-063_DA14583_IoT_Sensor_Development_Kit_1v3.pdf and go through that. but i have some doubts regarding angular data.

So My Questions:

1) IOT APP : If we load Raw Software and Check log file on phone
(a) Raw data is in deg/sec or deg?
(b) If it is deg/sec,how to decode or convert data in actual angles?
2) IOT APP : If we load SFL Software
(a) Log File is giving data in deg/sec or deg?
(b) If deg/sec , how to convert it in to deg?
3) Can we Customize report log to get SFL data only , If yes than How?
4) Here I attached the report log we captured from mobile application,Can you tell me what is the procedure to get SFL values from it?

谢谢,
Divya

MT_dialog
Offline
Last seen:3 months 4 days ago
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. I ve allready mentioned that you can integrate the raw values and estimate the actual angle using only the gyro data, but in any case this question is out of scope of this forum.
  3. The log file logs raw data so again is deg/sec
  4. The same way mentioned in answer 2, between the different projects the raw data are the same, but the feeding the sensor fusion engine provides an estimation of the angle using a fusion of all the sensors.
  5. I suppose that you can customize the android application in order to output only that data that you would like, but we dont support modifications on the android applications, the source code is available in order for you to check it. Or you can modify the SFL project in order to send only SFL data instead of raw with SFL but this would require significant modifications on the project and its not just a simple #define or a simple 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.

Thanks MT_dialog

Divya Panchal.
Offline
Last seen: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中所述的方法来读取正确的值,是正确的吗?

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

Thanks
Divya

MT_dialog
Offline
Last seen:3 months 4 days ago
Staff
加入:2015-06-08 11:34
Hi Divya Panchal,

Hi 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.

Yes, the Appendixes A and B describe the output of the sensor fusion data of the SFL library and how should be interpreted, there is also a reference to the appropriate wikipedia explanation.

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.

Thanks MT_dialog

Divya Panchal.
Offline
Last seen:3 years 1 month ago
加入:2017-10-31 08:37
Hello Support,

Hello Support,

Thank you very much for very quick respond on my 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)我们把所有的设置(如新stalled application).
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) Here i attached the log file which we got from SFL code for your reference,you can check that there all data are same.
6) "07 02 03 FC 7F EC FF D4 01 01 00" <-------- Can you please decode this string in angular form?
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
Last seen:3 months 4 days ago
Staff
加入:2015-06-08 11:34
Hi Divya Panchal,

Hi 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.

Thanks MT_dialog

Divya Panchal.
Offline
Last seen:3 years 1 month ago
加入:2017-10-31 08:37
Hi Support,

Hi Support,

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秒的数据,只有在其中,加密狗仍然在运动中,但是日志中的数据根本没有变化显示较小或没有动作。
here are the settings that I used in the mobile application (android)
ACC = 2G的范围
range of gyro = 2000 dps
frequency for both = 25hz
sensor fusion rate = 25hz
校准模式=静态
auto calibration mode = basic

and my firmware version is 5.160.01.19

please let me know if I am doing anything wrong.

谢谢,
Divya.

Attachment:
MT_dialog
Offline
Last seen:3 months 4 days ago
Staff
加入:2015-06-08 11:34
Hi Divya Panchal,

Hi Divya Panchal,

Apparently there is an issue in the currently uploaded version of the IoT application, when the application is on any of the screens that will present the data, either raw or fusion screen the application will disable the logging mechanism. For example if you switch to settings and set the enable logging at that point then the data should logged, if you switch to any of the screens that visualize the data the application will disable the logging mechanism and the values wont be recorded. The team is working on this issue and is expected to be fixed on the next release of the application. Apparently the data that you saw are values when the device was still and when you start moving the sensor perhaps you switched on the standard screen and the logging mechanism was disabled.

Thanks MT_dialog

Divya Panchal.
Offline
Last seen:3 years 1 month ago
加入:2017-10-31 08:37
Hello Support,

Hello Support,

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

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-starter-guide/.

it is very useful to create our own application and now i am getting what i need.

Thanking you,
Divya.