简体   繁体   English

Raspberry pi-如何在Windows IOT中使用Arduino Nano CH340

[英]Raspberry pi - How to use Arduino Nano CH340 with Windows IOT

I am trying to get data from usb serial. 我正在尝试从USB串行获取数据。 Sharp GP2Y0A02YK0F sensor connect with Arduino CH340. 夏普GP2Y0A02YK0F传感器与Arduino CH340连接。 Its connect to Raspberry pi via usb. 它通过USB连接到Raspberry pi。 I cant get data because Windows IOT not found usb serial port. 我无法获取数据,因为Windows IOT找不到USB串行端口。 Is there a any driver or any alternative way how to use sharp sensor with windows IOT. 是否有任何驱动程序或任何替代方式如何与Windows IOT一起使用锋利的传感器。

ps : I already tried FTDI but it won be fix it. ps:我已经尝试过FTDI,但可以解决它。 I install it correctly but when I try to get info via devcon status "USB\\VID_0403&PID_6001" its return no found device 我安装正确,但是当我尝试通过devcon状态“ USB \\ VID_0403&PID_6001”获取信息时,找不到设备

Thanx. 谢谢

I'm attaching FTDI 232R USB-To-Serial to Rapsberry Pi 2 USB port running fresh windows IoT Core 10.0.10586.0. 我将FTDI 232R USB转串口连接到运行新的Windows IoT核心版10.0.10586.0的Rapsberry Pi 2 USB端口。 No additional device driver is installed, the FT232R USB UART is correctly recognized, 没有安装其他设备驱动程序,可以正确识别FT232R USB UART,

在此处输入图片说明

For code samples using serial ports, refer to https://github.com/ms-iot/samples/tree/develop/SerialSample . 有关使用串行端口的代码示例,请参阅https://github.com/ms-iot/samples/tree/develop/SerialSample I have verified it works with IoT version 10.0.10586.0 and above. 我已验证它可与IoT版本10.0.10586.0及更高版本一起使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM