你好,
我是否有可能在100 Hz以上的加速率?
Same question for gyroscope.
thanx!
aris.
Keywords:
Device:
你好,
我是否有可能在100 Hz以上的加速率?
Same question for gyroscope.
thanx!
aris.
嗨Jyro_gr,
应用的可用最大数据速率为100Hz,传感器可支持1600Hz,但传感器融合实现无法处理快速更新速率,因此数据速率更高的任何实现。同样的陀螺仪也可以支持最多3200Hz的数据速率但不是应用。
由于MT_dialog
So if i don't really care about the 'fusion' and i need just raw data, i can increase the data rate?
This has to be changed in the app or in the IOT code (via keil5 etc)?
thanx.
嗨Jyro_gr,
它不仅传感器融合,限制也适用于原始项目,因为在更高的数据生成速率下,BLE不会一次将数据传输一个中断的链接一个中断。更高的数据速率需要通过BLE允许的最小连接间隔的连接间隔。允许的最小最小值为7.5,并且我们使用约10ms连接间隔的数据速率。您可以通过keil更新IoT原始固件,以便在一份报告期间获取更多数据(以单个连接间隔包装的更多数据),但应用程序不会遵循应用程序,因此显示的内容应滞后在应用程序中,并且还没有在超出默认数据速率的操作中进行测试。
You can test this by undefining the USE_SPI_FLASH_CONFIG in order to load data from the default array and in the user_app_wrbl_config.h change the SENSOR_SAMPLE_RATE_IMU to a user sample case, for example SENSOR_SAMPLE_RATE_USER_CASE2 and choose for that sample case BMI160_ACCEL_OUTPUT_DATA_RATE_200HZ and BMI160_ACCEL_OUTPUT_DATA_RATE_200HZ.
由于MT_dialog
嗨了。
After taking several measures, i can see that the measurements rate (in the .log file) is the same as fusion rate! this means that even if accel rate is 100 Hz, the final rate is fusion rate=25Hz (i get 25 measurements / sec)
When i deactivate the fusion etc, i get no data at all, and the app's images are static.
即使在100Hz时,我如何获得适当的数据?
此外,我在哪里可以找到融合算法?
thanx.
Jyro
嗨Jyro_gr,
As i mentioned in my previous post the application and the fw isn't ment to support this kind of data rate, regarding the FUSION algorithm, the source code is not available, only the object files.
由于MT_dialog
我明白这一点>100Hz.
What i'm not able to understand, is why can't the app support 100Hz since it's a choice in the app?
The sensor can measure at those (100 Hz) rates but the BT isn't that capable of even those rates?
我彻底地问了这一点,因为我真的需要了解它是否有或不可能在日志文件中具有最大100测量/秒的日志...
Thank you for your answers.
嗨Jyro_gr,
关于传感器融合固件,数据生成取决于FIFO的WM从传感器中收集数据,该WM取决于传感器融合所选速率和传感器的实际速率。当该WM达到某个级别时,生成中断并且应用程序从FIFO读取数据。之后,处理包括加速度计,陀螺仪和磁力计数据的原始传感器数据,然后传递到传感器融合更新功能。在处理FIFO阵列并更新传感器融合算法后,只有一个原始数据的一部分都会通过ble发送。在原始项目中,所有原始数据都会通过BLE发送到中央设备。
上述所有内容都可以在第7.3节“一般操作”中的“IOT用户手册UM-B-063上”找到。
由于MT_dialog
thanx.a lot, i read the manual and was very enlightening!
我理解“在原始项目中,所有原始数据都会通过BLE发送到中央设备”,
but my problem is how can i trigger all this? Which keil5 target_app example do i choose or modify in keil5, so i can load it via SmartSnippets onto my tag?
在your mobile app, when i choose fusion disabled, only environmental data are shown, so i guess there's no RAW project option in this one, right?
Thank you!
Jyro
嗨Jyro_gr,
我不太明白,如何触发什么?如果您的意思是如何将设备被迫开始发送数据,这取决于中心侧,使用适当的配置写入适当的特性,以便设备开始发送数据。两个项目都可以通过Smarts Scippets下载到583,原始项目不使用传感器融合库和SFL使用此库。如果您仅对原始数据感兴趣,原始项目就是您应该选择的。
由于MT_dialog
谢谢您的回答,please let me be more specific.
1) I received the tags already programmed with the default program. The one that cooperates with your mobile app. This is an only SFL project or it can be used as a RAW project as well, depending on the mobile app i make?
2)我在标签上下载了SDK的各种示例(带片段)。我需要下载原始默认程序。我在哪里可以找到这个?
3)“两个项目都可以通过Smarts Scippets下载到583”,我在哪里可以找到这些项目?我下载的SDK的哪个文件夹?
thanx.a lot!
Jyro
嗨Jyro_gr,
1) There are two projects regarding the IoT sensor kit (RAW and SFL), both of them provide raw data measurements but with different implementations for each project. Only the SFL project returns sensor fusion results the RAW project returns only raw valus. So depending on which characteritsic you read you get a specific value.
2)示例不包含在SDK中,您将能够在583产品(DA14583 IOT传感器开发套件)的参考设计部分中找到项目。
3)一样Q2。
Also please, for further questions please try to create a new thread instead of posting on the same post, since the current one has allready more than one replies and different questions and its difficult for someone to follow.
由于MT_dialog
就那么简单!
Big thanx!
Works like a charm!
~Jyro
thanx很多,我很快就会试试and come up to you with the results!
你好,
我使用“SmartBond IoT传感器开发套件”进行融合数据。通过使用“物联网传感器移动应用程序”,我能够在旋转传感器开发套件时看到手机上的3D运动。目前,我正在使用其他Android应用程序(应用程序特定的Android应用程序)来在手机上旋转图像。但我无法在Android应用程序上获得旋转。我想,我没有遵循正确的程序和因素来计算偏航,。间距和卷值。
我能够从IoT传感器开发套件中收到融合数据到我的Android应用程序。请指导我完成计算以获取参数以使图像在Android应用程序上旋转。
问候,
Mahesh.Chandana.
Hi Mahesh,
IOT通过在文档中指示的自定义报告(请在UM-B-063文档中查看表12)将相应的数据从Senor Fusion算法发送到移动电话。如果您的应用程序遵循与IOT应用程序相同的约定,则应能够获得一些3D移动。您的应用程序是否能够从IOT的报告中解析数据?我可以做些什么,以帮助您向您发送IoT Android / IOS代码,如果您愿意将其用作参考。
由于MT_dialog
你好,
Our application able to parse the data from the IoT. Please android code. it may helpful to understand the Fusion data processing.
Thank you very much for quick response.
问候,
Mahesh.Chandana.
Hi Mahesh,
邮件已发送到已注册的电子邮件地址。
由于MT_dialog
你好,
感谢您的答复。我会更新给你。
Regrads,
Mahesh.Chandana.
你好,
我正在使用DA14583的IoT代码(版本:v5.160.1.19)。根据“UM-B-063_DA14583_IOT_SENSOR_DEVELINMENT_KIT_1V1.PDF”,它支持4个操作模式。
1. Gyroscope, Accelerometer and Magnetometer (GAM) mode
2.陀螺仪和加速度计(GA)模式
3. Gyroscope Only (G) mode
4.加速度计和磁力计(AM)模式
Please guide me to understand the procedure to configure the mode. Where I can change the mode of operation in the code.
问候,
Mahesh.Chandana.
Hi Mahesh,
What sensors are enabled in your device depends in the sensor_config variable, which is populated either from the default values of the sensor_config_default variable in the user_sensor_config.c file or directly from the non-volatile memory, the sensor_combination member of the struct is the one that controls what sensors are going to be enabled. The default value is ENABLE_ALL_SENSOR_FLAGS. The code will check which flags are set in the user_init_sensor_combination and will enable the corresponding sensors.
由于MT_dialog
你好,
What you have told is for enabling the sensors.
请问请解释程序,以便在计算传感器融合时,物联网硬件仅使用陀螺仪和加速度计数据。
Please guide me to how to proceed.
问候,
Mahesh.Chandana
Hi Mahesh,
Your question was how to configure the mode of operation in the code between the available options (GAM, GA, G, AM). By enabling the sensors the device will feed the sensor fusion engine with the appropriate data available from the enabled sensors. For more information on the functionality of the IoT you can check the UM-B-063 in section 7.3 where the general operation is described in detail in every different state of the system.
由于MT_dialog