且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Raspberry Pi 3带有wino IoT,远程arduino

更新时间:2022-02-08 07:43:56

你好

我没有Arduino的经验,但我会尽力帮助我可以

i dont have experience with Arduino but i will try to help as good as i can

如果我正确地理解了这一部分,可以在我的c#应用程序中记下我的arduino代码,并在arduino上写下line for line for line。

您似乎在谈论Windows Remote Arduino,它使您可以编写在Windows 10 IoT上运行的C ++ / CX / C#或JavaScript代码使用Firmata固件控制Arduino的核心设备,但此组件需要蓝牙,
USB,WiFi或以太网连接,这不是您想要的

it seems you are talking about Windows Remote Arduino which gives you the possibility to write C++/CX/C# or JavaScript code running on a Windows 10 IoT Core device to control a Arduino with Firmata Firmware but this component require a Bluetooth, USB, WiFi, or Ethernet connection which is not what you want

但是我希望有串口连接,直接连接在arduino和pi之间。

基本上可以通过UART将Windows 10 IoT核心设备连接到Arduino上的串口但是取决于Arduino器件,您可能必须使用电压电平转换器(Raspberry Pi工作电压为3.3V且不能承受5V电压)

basically its possible to connect a Windows 10 IoT Core device through UART to a serial port on Arduino but depending on the Arduino device you may have to use a voltage level shifter (the Raspberry Pi works with 3.3V and is not 5V tolerant)

这样您就可以发送Arduino命令/代码而无需需要额外的库,请参考相应的Arduino论坛,你可以通过串口连接做什么

by this you would send Arduino commands/code without the need of additional libraries, please consult the appropriate Arduino forum what you can do over serial connection

我也看到了一个解决方案,我可以为我的覆盆子pi添加一个盾牌有更多的PWM信号,这是正确的吗?

检查此帖子  HTTPS: //social.msdn.microsoft.com/Forums/en-US/dfc5f516-f731-4f88-8fca-38a80eb2ed20/what-options-do-i-have-for-operating-multiple-dc-motors-with-a- raspberry-pi-3-and-windows-iot?forum = WindowsIoT

check this thread https://social.msdn.microsoft.com/Forums/en-US/dfc5f516-f731-4f88-8fca-38a80eb2ed20/what-options-do-i-have-for-operating-multiple-dc-motors-with-a-raspberry-pi-3-and-windows-iot?forum=WindowsIoT

那盾会让我的arduino多余吗? 

取决于上面的帖子和你使用的盾牌可能不是,但我不熟悉Arduino上的PWM,似乎***在Arduino论坛上询问PWM功能

depending on the above posting and the shield you use may be not but i am not familiar with PWM on Arduino, seems its better to ask on Arduino forum about PWM capability

你会推荐这样一个项目的Windows IoT,还是那不是什么?

当然它取决于预算以及Windows 10 IoT Core必须履行的任务以及您使用的设备,与o相比,Raspberry Pi *相当慢Windows 10物联网核心设备,你必须决定Windows 10物联网核心作为运营的好处
系统让你与其他系统相比"没有"操作系统

of course it depends on the budget and which tasks Windows 10 IoT Core has to fulfill and which device you use, a Raspberry Pi* is pretty slow compared to other Windows 10 IoT Core devices and you have to decide what benefits Windows 10 IoT Core as Operating System gives you compared to other systems "without" an OS

Arduino和Windows 10

Windows Remote Arduino

Raspberry Pi 2& 3针映射/串行UART

br

Andre