EmbeddedRelated.com
Forums

controlling an embedded board through internet

Started by piyushpandey April 20, 2011
Hello guys


I have an arm board with ethernet controller in it named DM9000.

Actually what I want to know is that I want to control it through the
internet by connecting it through the LAN with it's ethernet port.


The arm board is installed with the embedded linux operating system and has
it's own ip address and all other features which can be accessed with the "
ifconfig " command.


But I am not getting the clue that how should I control it through the
internet by connecting it to the LAN and can control it from anywhere.


Thank you	   
					
---------------------------------------		
Posted through http://www.EmbeddedRelated.com
On 4/20/2011 12:30 AM, piyushpandey wrote:
> I have an arm board with ethernet controller in it named DM9000. > > Actually what I want to know is that I want to control it through the > internet by connecting it through the LAN with it's ethernet port. > > The arm board is installed with the embedded linux operating system and has > it's own ip address and all other features which can be accessed with the " > ifconfig " command. > > But I am not getting the clue that how should I control it through the > internet by connecting it to the LAN and can control it from anywhere.
Depends on what you want to control. Begin here: "How would I 'control it' if I were seated at the 'console'?"
> >Depends on what you want to control. > >Begin here: > "How would I 'control it' if I were seated at the 'console'?" >
Actually I want to control my embedded board of ARm through the internet from other computer from anywhere and for that I want to control it through the webpage and not only control it but also want to study it's status . waiting for reply Thank you --------------------------------------- Posted through http://www.EmbeddedRelated.com
On 4/20/2011 11:01 PM, piyushpandey wrote:
>> Depends on what you want to control. >> >> Begin here: >> "How would I 'control it' if I were seated at the 'console'?" > > Actually I want to control my embedded board of ARm through the internet > from other computer from anywhere and for that I want to control it through > the webpage and not only control it but also want to study it's status . > > waiting for reply
Re-read my original answer. Until you can answer that, you won't know how to proceed.
piyushpandey wrote:

>> >>Depends on what you want to control. >>Begin here: >> "How would I 'control it' if I were seated at the 'console'?" > > Actually I want to control my embedded board of ARm through the internet > from other computer from anywhere and for that I want to control it > through the webpage and not only control it but also want to study it's > status .
The point is that you're going to have to invent a language or protocol to express the controls you want to effect. You have a lot of options: -- binary packets like the contents of C structs sent via UDP -- serial character strings (as you would type at a terminal) sent via TCP -- HTTP requests and responses between your Web Client and a Web Server in the embedded device. There's no one way, and lots of reasons for loving or hating the various options. Mel.
> >Re-read my original answer. Until you can answer that, you >won't know how to proceed. >
hello bro I have read your answer very carefully and what I got is that your point is in controlling the device through the telnet from the console............right but I don't want that , what I actually want is that I want to control my board through the internet with the help of a webpage designed to get the status of the devices connected to my board and than controlling them according to the situation. So I think I am pretty clear now. thank you --------------------------------------- Posted through http://www.EmbeddedRelated.com
>The point is that you're going to have to invent a language or protocol to
>express the controls you want to effect. You have a lot of options: >-- binary packets like the contents of C structs sent via UDP >-- serial character strings (as you would type at a terminal) sent via
TCP
>-- HTTP requests and responses between your Web Client and a Web Server in
>the embedded device. > >There's no one way, and lots of reasons for loving or hating the various >options. > > Mel.
hello mel I want to go to the third on which you have suggested , yeah I want to control the board through the webpage designed for it and in which I can get the status of the peripherals connected to my arm board and than want to control them accordingly. But I am not able to just get the clue that how could I proceed and what things I will require in particular. Thank you --------------------------------------- Posted through http://www.EmbeddedRelated.com
piyushpandey wrote:

> I want to go to the third on which you have suggested , yeah I want to > control the board through the webpage designed for it and in which I can > get the status of the peripherals connected to my arm board and than want > to control them accordingly. > > > But I am not able to just get the clue that how could I proceed and what > things I will require in particular.
We did this on a fairly heavyweight embedded system -- Mini-ITX board with Debian and a standard LAMP-like system: Apache, PostgreSQL, PHP, plus custom C programs run under Common Gateway Interface. CGI is compute-intensive but simple to program under. Somebody here accused me of not being an embedded programmer at all, because that setup really is an orthodox web application. Performance requirements were not high -- there are hints that that software may be too heavy (I'd rather use SQLite), but that isn't my problem yet. Programs under CGI just use HTML to say what they have to say, and pick apart FORM POST data to do what they have to do. The Web is full of instructional help. Mel.
On 4/21/2011 6:04 AM, piyushpandey wrote:
>> >> Re-read my original answer. Until you can answer that, you >> won't know how to proceed. >> > > hello bro > > I have read your answer very carefully and what I got is that your point is > in controlling the device through the telnet from the > console............right > > but I don't want that , what I actually want is that I want to control my > board through the internet with the help of a webpage designed to get the > status of the devices connected to my board and than controlling them > according to the situation. > > So I think I am pretty clear now.
No, you're just repeating the same VAGUE request. Forget the internet. Until you have *some* way of sitting down AT THE CONSOLE (keyboard + display "somehow" attached to your board) and getting the information and control you want from your I/O's, there is no way you will be able to magically do this "over the wire". "I bought an internal combustion engine (size unspecified). How can I control the aircraft remotely?" (i.e., there are too many things missing between the first statement and the following query: is the engine sufficiently powered to provide necessary lift in a propellor driven aircraft? is it, instead, to be used in a lighter-than-air vessel? what ground speed will it achieve? What range will the "control" be required to operate over? etc.) *I* have a scalpel -- would you entertain questions regarding how to perform an appendectomy? :-/ Here's your answer: - set up a web server on your host - create some pages that show the status you want to observe - create some pages that implement the controls you want - write everything "in the middle" to make it work That's about as vague as your query...
On Apr 20, 3:30=A0am, "piyushpandey"
<piyushispandey07@n_o_s_p_a_m.gmail.com> wrote:
> Hello guys > > I have an arm board with ethernet controller in it named DM9000. > > Actually what I want to know is that I want to control it through the > internet by connecting it through the LAN with it's ethernet port. > > The arm board is installed with the embedded linux operating system and h=
as
> it's own ip address and all other features which can be accessed with the=
"
> ifconfig " command. > > But I am not getting the clue that how should I control it through the > internet by connecting it to the LAN and can control it from anywhere. > > Thank you =A0 =A0 =A0 =A0 =A0
A few references that might help you to get started: Jan Axelson's ethernet web page: http://www.lvr.com/ethernet.htm A $25 Web Server: www.picoweb.net/download/ccol9908.pdf Access Your Embedded Controller with Ease through a Web Server: http://focus.tij.co.jp/jp/general/docs/lit/getliterature.tsp?literatureNumb= er=3Dspmy001&fileType=3Dpdf -- Joe