This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Lpc2368 communication

Hello,
I want communicate with my lpc2368 by the Ethernet port using an application whose create with visual basic.
It is possible ?
How ?

Thanks,

Mickael

Parents
  • If you are going to use the ethernet connection similar to a serial connection, where the technician connects his laptop to the heat pump, then it is likely that the technician initiates the connect, i.e. the PC is the client.

    If the heat pump is the client, then it would have to constantly try to connect (and fail) until a PC finally gets connected.

    Not only that - if you want to be able to control/reconfigure multiple heat pumps that have fixed IP on the internet from "any" computer, then the heat pump will be unable to know the IP number of that "any" computer. Hence, the heat pump must be server and given a fixed IP.

    The alternative is that you don't have technicians who connect to individual heat pumps. You may have a central server that monitors multiple heat pumps (where each heat pump must be connected on Internet). Then each heat pump should be a client and be configured to know the IP number of this central server.

    But the person who hands out the money for the project must have a document that describes what the expected result should be of this project. From the requirements in that document, it should be obvious which side is client, and which side is server. Figuring out which side is client or server is one of the smallest decisions in this kind of projects. Most people make this decision in their heads before even starting to put down the actual requirements of the system.

    It may be worth it to consider a consultant for this job - someone who have ample knowledge would be able to implement a well-working solution in much shorter time. Getting a working product in a shorter time will offset the higher hourly charge for the consultant. Since the consultant is likely to consume less hours, even the work cost may be lower if a consultant is used. Just make sure that you have a copy of the tools needed to build the project, so you know that you can update the system even five years from now.

Reply
  • If you are going to use the ethernet connection similar to a serial connection, where the technician connects his laptop to the heat pump, then it is likely that the technician initiates the connect, i.e. the PC is the client.

    If the heat pump is the client, then it would have to constantly try to connect (and fail) until a PC finally gets connected.

    Not only that - if you want to be able to control/reconfigure multiple heat pumps that have fixed IP on the internet from "any" computer, then the heat pump will be unable to know the IP number of that "any" computer. Hence, the heat pump must be server and given a fixed IP.

    The alternative is that you don't have technicians who connect to individual heat pumps. You may have a central server that monitors multiple heat pumps (where each heat pump must be connected on Internet). Then each heat pump should be a client and be configured to know the IP number of this central server.

    But the person who hands out the money for the project must have a document that describes what the expected result should be of this project. From the requirements in that document, it should be obvious which side is client, and which side is server. Figuring out which side is client or server is one of the smallest decisions in this kind of projects. Most people make this decision in their heads before even starting to put down the actual requirements of the system.

    It may be worth it to consider a consultant for this job - someone who have ample knowledge would be able to implement a well-working solution in much shorter time. Getting a working product in a shorter time will offset the higher hourly charge for the consultant. Since the consultant is likely to consume less hours, even the work cost may be lower if a consultant is used. Just make sure that you have a copy of the tools needed to build the project, so you know that you can update the system even five years from now.

Children