Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/csharp-4.0/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Uwp 将MPU6050与Windows 10物联网(Windows.设备.传感器)集成_Uwp_Raspberry Pi_Windowsiot_Windows Iot Core 10_Mpu6050 - Fatal编程技术网

Uwp 将MPU6050与Windows 10物联网(Windows.设备.传感器)集成

Uwp 将MPU6050与Windows 10物联网(Windows.设备.传感器)集成,uwp,raspberry-pi,windowsiot,windows-iot-core-10,mpu6050,Uwp,Raspberry Pi,Windowsiot,Windows Iot Core 10,Mpu6050,我目前正在使用通过I2C连接的Windows 10 IoT和RaspberryPi 3b+MPU6050 环顾四周,我发现了windows.devices.sensors.Accelerator和windows.devices.sensors.gyrometer。 我认为这些类可以在Windows Phone上用于访问传感器读数,所以我想知道: 是否可以集成我的MPU6050传感器板加速计和陀螺仪以与这些类一起工作?要通过I2C将MPU6050与Windows IoT核心连接,请参考“”和“”

我目前正在使用通过I2C连接的Windows 10 IoT和RaspberryPi 3b+MPU6050

环顾四周,我发现了windows.devices.sensors.Accelerator和windows.devices.sensors.gyrometer。 我认为这些类可以在Windows Phone上用于访问传感器读数,所以我想知道:


是否可以集成我的MPU6050传感器板加速计和陀螺仪以与这些类一起工作?

要通过I2C将MPU6050与Windows IoT核心连接,请参考“”和“”

如果要检查windows.devices.sensors.Accelerator API是否正常工作,可以参考“”。但要使用这些API,需要支持传感器。您可能需要相关的驱动程序

传感器的驱动器必须指示硬件已集成 使用PC机箱,可通过此命名空间访问。 未标记为PC集成的传感器,即使它们是受支持的 类型,将无法访问。驱动程序开发人员可以参考 有关详细信息,请参阅SensorConnectionType枚举。()


你知道在哪里可以找到相关的驱动程序吗?@Stephan你可以联系MPU经销商,看看他们是否可以提供驱动程序。建议使用Windows.Devices.I2c API来控制MPU。它更易于实现。