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

8051 and tcp/ip

Hello, i want to make a project with an 8051.
I want to control the 8051 through the pc with visual c++ and the controller will control some sensors. the diagram is: pc->8051->sensors.
The idea is to communicate the pc with the 8051 via tcp/ip protocol. Is it possible?What am i need?
If it is possible i want to give me informations(software,hardware,circuits or links) about this project.
thanks

Parents
  • I have no experience with 8051 I'm afraid but I expect there must be some basic, free TCP/IP stacks out there that have already been ported to your platform.

    I assume that you want to do this over Ethernet. You don't mention Ethernet, and TCP as a protocol itself can be used over all sorts of mediums so I understand; however, I think it's safe to assume that what you want to build is a board with an 8051, plus an Ethernet PHY and socket, and drivers of some sorts for your control outputs. I assume that there are 8051 variants with inbuilt Ethernet..?

    There simply MUST already be some reference designs out there. Have you looked? Do any of the 8051 device vendors provide you with a simple, free TCP/IP stack for use with their microcontrollers? That's where I would be looking first. For example, I know that ST provide a simple, free and downloadable TCP/IP stack that you can use on their ST ARM7/ARM9 processors.

    I haven't done much TCP/IP programming on the PC, but I did dabble with sockets programming very briefly once and it seemed quite trivial.

Reply
  • I have no experience with 8051 I'm afraid but I expect there must be some basic, free TCP/IP stacks out there that have already been ported to your platform.

    I assume that you want to do this over Ethernet. You don't mention Ethernet, and TCP as a protocol itself can be used over all sorts of mediums so I understand; however, I think it's safe to assume that what you want to build is a board with an 8051, plus an Ethernet PHY and socket, and drivers of some sorts for your control outputs. I assume that there are 8051 variants with inbuilt Ethernet..?

    There simply MUST already be some reference designs out there. Have you looked? Do any of the 8051 device vendors provide you with a simple, free TCP/IP stack for use with their microcontrollers? That's where I would be looking first. For example, I know that ST provide a simple, free and downloadable TCP/IP stack that you can use on their ST ARM7/ARM9 processors.

    I haven't done much TCP/IP programming on the PC, but I did dabble with sockets programming very briefly once and it seemed quite trivial.

Children