I am an engineering student doing a project on controlling a lab throgh a remote user to LPC2378 microcontroller placed in lab. For the remote user to enter the details and recieve information i have designed a website in asp.net using Visual Basic language. Now i want to link the site to the LPC2378 through ethernet. Please could any one help me with this.
Where did you get stuck?
Do you have the Real-Time Library so you have access to the TCP/IP stack?
Surely, your website neither knows nor cares what target its clients are running on?
Similarly, the client neither knows nor cares what host the server is running on - nor what tools were used to create the site.
So, this should be just a question of implementing an HTTP client...?
I don't think the ARM is expected to have a web client. Either a web server or just any ethernet server. It sounds like the user surfs to a web server running on a PC, and this PC should then contact the ARM board, to request information or actions.
But it is hard to say, since the original post is very short and uninformative.
Sir, the purpose of the website is to be a Graphical user interface where the user can enter the parameters of some experiment to be done... That data will be taken from the user through ethernet and is suppose to give instructions to the microcontroller (LPC2378). The microcontroller is suppose to do the experiment using the program i have written and then send the output back through the ethernet to the user who has access to the website.. So the user can actually perform experiments while he may be in another city e.g. in Distance Learning Programs.. I hope I made the problem clear to you Sir..
So the website is, in fact, entirely irrelevant to the microcontroller (LPC2378).
You need to devise some protocol for transporting the required commands from the server to the microcontroller, and the microcontroller's responses back to the server.
You could do this using "raw" sockets, or you could use one of the higher-level protocols such as Telnet, FTP, HTTP, etc, etc, etc,...
This is a fundamental part of the design of your project!
For a tutorial on sockets, see: www.frostbytes.com/.../sockets.html (BSD), Or: www.frostbytes.com/.../winsock.html (Windows)
And here's one on HTTP: www.jmarshall.com/.../