Hello,
Hope someone can advise me here !
我正在研究对话半导体IOT开发套雷竞技电竞平台件DA14583,我正在使用da1458x_iot_v5.160.1.19.zip for sensor fusion码和原始数据文件,但在这里我得到了非常有限的图书馆的值。我对此有很少的疑虑。
我的问题:
1) First when I connect Dialog Dongle with mobile android application, it has inbuilt .log file. So when I connect Bluetooth dongle with mobile and pair with that, first I have to do some settings according to my application (i.e. gyroscope rate and accelerometer rate) and after that enable a wearable logging which is basic setting in IOT dialog mobile application. so is this necessary ? and also when i enable the sensor fusion raw option in basic setting, we can see the plot of BMI160 and BMM150, so is this necessary to enable all time this option?
and which kind of setting It needed in application to get huge data of BMI160 (gyro + accel) sensor because here I am parallel using BMI160 Bosch sensor and MPU6050 also to check compatibility. Compare to this dialog dongle data we got very better range of data result in other sensor.
2)MPU6050具有DMP库,它给了我们DMP值。这个图书馆(https://github.com/jrowberg/i2cdevlib/blob/master/Arduino/MPU6050/MPU605...)给了我们欧拉角数据。
在Dialog Dongle中哪个库需要进行角度数据?
3)Dialog Dongle可能会给我们带来的角度数据率,在这里我想要角度数据,所以它需要哪种图书馆?
4)如何在PC中获取测量数据的曲线?
如果有人知道任何疑问的答案,请给我一个反馈意见。
感谢致敬,
divya.

Hi 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.没有对话框工具,可以画出数据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.
谢谢mt_dialog.
你好支持,
谢谢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.
Hi Divya Panchai,
谢谢mt_dialog.
Hi
谢谢for the reply.
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?
In our end application, we wanted to use Sensor fusion data so we need to use the method as described in Appendixes A and B to read the correct values, is it correct?
At what rate/Frequency sensor fusion data is updated?
谢谢
divya.
嗨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.
你好支持,
非常感谢您在我的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) How to refresh the data of sensors?
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..
嗨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.
嗨支持,
I am attaching the log file that I received after vigorously moving the iot dongle in all directions for almost 2 mins.
I have sorted the values so that reading the change in acc , or gyroscope data gets easy. Even after moving the dongle for 2 mins I could log data for almost 6 secs only during which the dongle was still in motion but the data in the log is not changed much showing less or no motion at all.
以下是我在移动应用程序(Android)中使用的设置
The range of acc = 2g
Gyro = 2000 DPS的范围
两者频率= 25Hz
传感器融合率= 25Hz
calibration mode = static
自动校准模式=基本
我的固件版本为5.160.01.19
如果我做错了什么,请告诉我。
谢谢,
divya..
嗨divya panchal,
显然存在在目前上传的IOT应用程序版本中的问题,当应用程序位于将呈现数据的任何屏幕上,应用程序或融合屏幕应用程序将禁用日志记录机制。例如,如果您切换到设置并在该点设置启用日志记录,则应记录数据,如果切换到可视化数据的任何屏幕,则应用程序将禁用日志记录机制,并且将记录值。该团队正在努力解决这个问题,预计将在下次申请版本上得到修复。显然,您看到的数据是设备仍然存在的值,并且当您开始移动传感器时,也许您在标准屏幕上切换,则禁用日志操作。
谢谢mt_dialog.
你好支持,
Thank You very much for very Quick reply!
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.
so for that i used,https://evothings.com/dialog-iot-sensor-tarter-guide/.
创建自己的应用是非常有用的,现在我正在得到我所需要的。
Thanking you,
divya..