Arduino远程接线 - 这还是一件事吗? [英] Arduino Remote Wiring - Is this still a thing?

查看:90
本文介绍了Arduino远程接线 - 这还是一件事吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我没有在github或论坛上看到很多关于远程接线的活动,我觉得这是因为以下因素而被遗弃的努力:




*如上所述,我直接从github和官方发布的应用程序中试用了教程和示例存储,并通过USB连接时出现此错误:



 / * 
UsbSerial :: connectToDeviceAsync失败,带有Platform :: Exception类型。 (消息:灾难性故障无法初始化设备。您是否忘记了清单中的USB设备功能?SerialDevice :: FromIdAsync返回null。)
* /



$
伙计们,我是远程接线的新手,对UWP来说有点新,但是当谈到UWP时我不是一个新手MS技术和编码,并且dang,我只是试着踢掉轮胎并且在NOWHERE但是倒立和侧身 - 现在感觉真的很愚蠢。   Hello World(远程
Blinky)应该可以正常工作!  时间段!  通过USB连接和与Arduino交谈的秘诀是什么?  为什么初学者的样本不关注USB而不是Blutooth作为最低标准?  (你需要的所有
是Arduino,而不是Arduino + BT模块)。  呃。


如果有人启动新项目,请将NuGet软件包链接到远程接线,将StandardFirmata上传到您的Uno,通过USB连接并闪烁LED没有问题,请回复,所以我可以在一个角落哭,因为没有能够完成一些东西到
简单。  (哦,并且如果有任何无证件调整你必须做或得到的话,请分享,因为这会让我感觉更好)。



  • Windows 10 14393
  • VS 2017 RTM
  • Arduino Uno,StandardFirmata默认加载57600波特



解决方案

< blockquote>

你好Neoscoop,


Arduino远程接线就是你所做的。 它是一个独立的GITHUB示例,您可以编译,但您需要按照
中记录的步骤 https:/ /github.com/ms-iot/remote-wiring


特别是错误消息告诉您错过了这一步:


验证您的 package.appxmanifest Windows解决方案中的文件包含必要的
设备功能


请明确按照说明进行操作,您不应该遇到任何问题,但请注意,这是一个示例,并且没有任何隐含的支持。 您应该能够调试解决方案以确定您的问题。


此致,


IoTGirl




I don't see a lot of activity on github or forums for Remote Wiring, and I am feeling like this is an abandoned effort on account of the following:

  • I recently walked through the beginner tutorial which is outdated and refers to things that don't exist
  • Said tutorial is way different than the samples on github
  • The samples don't work! *
  • The samples project literally has NO issues posted (until mine tonight) in it's entire 2 year existence.
  • How is that possible?
  • The Arduino Remote Experience app likewise doesn't work! *

*As mentioned above, I tried the tutorial and the samples directly from github AND the official published app in the Win Store, and get this error when connecting via USB:

/*
UsbSerial::connectToDeviceAsync failed with a Platform::Exception type. (message: Catastrophic failureUnable to initialize the device. Did you forget your USB device capabilities in the manifest? SerialDevice::FromIdAsync returned null.)
*/



Folks, I'm new to Remote Wiring, and somewhat new to UWP, but I'm not a noob when it comes to MS tech and coding, and dang, I just tried to kick the tires and got NOWHERE but upside down and sideways - feeling really stupid right now.  Hello World (Remote Blinky) should just work!  Period!  What is the secret sauce to just connect and talk to the Arduino at all, via USB?  And why doesn't the begginner sample focus on USB rather than Blutooth as the lowest common denominator?  (all you need is an Arduino, not Arduino + BT module).  Ugh.

If someone fires up a new project, links the NuGet packages for Remote Wiring, uploads the StandardFirmata to your Uno, connects via USB and blinks an LED without issue, please reply so I can go cry in a corner for not being able to accomplish something to simple.  (oh, and do share if there are any undocumented tweaks you had to do or gotchas, because that will make me feel better).

  • Windows 10 14393
  • VS 2017 RTM
  • Arduino Uno with StandardFirmata loaded at default 57600 baud


解决方案

Hi Neoscoop,

Arduino Remote Wiring is literally what you make of it.  It is a stand alone GITHUB sample that you can compile but you do need to follow the documented steps at https://github.com/ms-iot/remote-wiring

Specifically the error message is telling you that you missed this step:

Verify your package.appxmanifest file in your Windows solution contains the necessary device capabilities.

Please follow the instructions explicitly and you should not have an issue but note also that this is a sample and has no implied support.  You should be able to debug the solution to identify your issue.

Sincerely,

IoTGirl



这篇关于Arduino远程接线 - 这还是一件事吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆