问题描述
我想捕捉来自传感器的距离,使用一个Arduino和。我该怎么做?
I want to capture distances from sensors, using an Arduino and a Windows Phone device. How can I do that?
推荐答案
在Windows Phone 7 SDK不给访问手机上的USB端口或蓝牙,所以你不能使用它。因此,我认为最好的办法(以及在Windows Phone 7可能是唯一的办法)将communcate通过互联网或本地网络与Arduino的作为其Windows Phone 7的应用程序连接过的服务器。
The Windows Phone 7 SDK does not give access to the USB port or Bluetooth on the phone, so you can't use that. So I think the best way (and probably only way on Windows Phone 7) would be to communcate over Internet or local network with the Arduino acting as a server which the Windows Phone 7 app connects too.
下面是一个Arduino 和 TCP服务器。
Here are some examples of an Arduino web server and TCP server.
有关在Windows Phone客户端我会检查出不是或插座一>
For the Windows Phone client I would check out either WebClient or sockets.
这篇关于我怎样一个Arduino连接的Windows Phone设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!