-
Apr 2nd, 2014, 11:10 AM
#1
Thread Starter
New Member
How to Connect arduino + ethernet shield to vs 2010?
Hi,
I'm new with visual studio 2010,and here i don't know the code how to connect my arduino into VS 2010 through ethernet. I want to show the analog input value of my arduino+ethernet shield to visual studio 2010. Can't anyone help me with this?
I really appreciate any help
-
Apr 2nd, 2014, 03:51 PM
#2
Re: How to Connect arduino + ethernet shield to vs 2010?
I would think that maybe googling around would be your best bet.
A quick search on "vb.net arduino ethernet" quickly lead to a number of sites. I looked at two of them, and this one seems to have resolved to some basic TCP connection (the VB.Net code about 80 % of the way down the page), which starts with (not going to post it all since its not my code, you'll have to follow the link).
Code:
Imports System.Net.Sockets
Imports System.Text
Public Class Form1
Dim tcpClient As New System.Net.Sockets.TcpClient()
Dim networkStream As NetworkStream
Dim KeyPressed As Integer
Private Function Arduino_Connect(ByVal IP As String, ByVal Port As Integer) As Boolean
tcpClient.Connect(IP, Port)
'...
Above that is a another link to sourceforge.net which also looks interesting, but I don't work with arduino devices, so no point in my downloading or investigating too far.
-
Apr 2nd, 2014, 08:43 PM
#3
Hyperactive Member
Re: How to Connect arduino + ethernet shield to vs 2010?
I don't know much about arduino's except for what they actually are and/or used for. A lot of car/pc enthusiats use them and have coded for them. There might be a library already built for this. A quick google search brought upon these links as well:
https://code.google.com/p/sharpduino/
http://forum.arduino.cc/index.php/topic,39416.0.html
Good luck!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|