使用asp.net接口arduino [英] interface arduino using asp.net
问题描述
我想界面arduino组件的状态,即温度传感器值,光传感器值,当他们读取不同的值。
所以asp.net如何获取feed从arduino到他们来的时候,arduino如何向本地服务器发送提要或帖子(网络应用程序)
谢谢。
硬件:Arduino uno R3 + ENC28j60(以太网模块)
软件:Asp.net,Arduino 1.0。 5只是
我使用asp.net建立了独立的网站,我想更新页面中的子组件(即列表框),其中包含由arduino发送的数据
<我想要的是什么是什么代码在asp中接收arduino发送的数据以及什么arduino代码和库将数据发送到asp.net网站
Hi, i want to interface arduino component's status i.e temperature sensor value , light sensor value when ever they read different value.
so how asp.net gets feeds from arduino whenever they come , how does arduino sends feeds or posts to that local server (web application)
thanks.
Hardware : Arduino uno R3 + ENC28j60 (ethernet module)
Software : Asp.net , Arduino 1.0.5 only
I built independent Web Site using asp.net ,and I want to update sub component in the page (i.e listbox) with data which are sent by arduino
what i need is what code in asp to receive data sent by arduino and what arduino code and libraries to send data to asp.net web site
推荐答案
取决于您拥有的Arduino,有许多不同的版本。
如果您有带WiFi或E的Arduino通过网络屏蔽,可以对Arduino进行编码,直接向服务器发送更新。如果您只使用Arduino及其内置串口或USB端口(如果有),那么将它连接到您的服务器将需要更多的工作。
Depends on what Arduino you have, there are many, many different versions.
If you have an Arduino with a WiFi or Ethernet shield, then the Arduino can be coded to send an update directly to your server. If you are using just the Arduino with its built-in serial port or USB port (if it has one), then getting it to your server will require more work.
您总是可以找到一些代码与Arduino接口。串口(COM)端口的使用很常见:
http://playground.arduino.cc/Interfacing / Csharp [ ^ ],
http://www.technicana.com/物理计算/ 73-connect-to-arduino-with-c-.html [ ^ ]。
此CodeProject文章告诉关于USB连接: Arduino,C#和串行接口 [ ^ ]。
根据您的型号,您可以试试找到更多: http://bit.ly/18e6eUt [ ^ ]。
-SA
You can always find some codes interfacing with Arduino. A serial (COM) port use is very usual:
http://playground.arduino.cc/Interfacing/Csharp[^],
http://www.technicana.com/physical-computing/73-connect-to-the-arduino-with-c-.html[^].
This CodeProject article tells about USB connectivity: Arduino, C#, and serial interface[^].
Depending on what model you have,… you can try to find some more: http://bit.ly/18e6eUt[^].
—SA
这篇关于使用asp.net接口arduino的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!