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

  • 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.

  • You might want to have a look at the Dallas/Maxim 80C410:

    www.maxim-ic.com/.../4535

    TCP/IP stack is available, small dev board is available.

  • Why do you specifically want to do it with an 8051?

    It is certainly possible - but not really a beginner's project.

    You would probably find it easier to start with a serial interface.

    On the other hand, if your main interest is TCP/IP, you would probably find it easier not to use an 8051.
    I would suggest one of the Luminary Micro Stallaris chips with built-in ethernet...

    See: http://www.keil.com/tcpip/

  • Microchip has an SPI Ethernet controller with a free stack.