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

Need to get on ethernet.

Hi All,

I need to get data from my data logger which has AT89S51 and RS232 port over ehternet to server computer.

So i need to know the best way to do this RS232 data to computer via ethernet(through HUB or SWITCH).

Thank you,
rutu.

Parents
  • hi,

    So i need to know the best way to do this RS232 data to computer via ethernet(through HUB or SWITCH).

    Hmm, ask yourself, for example, how to connect a serial mouse to a computer via ethernet?
    Which protocol is it used there? TCP, IPX other? RS-232 is hardware interface designed to send signals with levels about +/-12V. It has nothing with protocol used over it. If you use RS-232 with protocol like 8n1 then it is not problem to connect 8051 to PC via COM port. But for network cards, another protocols are used! UART of 8051 cannot support them, surely. So either use 8051 derivative which has TCP supported or try to create own network (for example, RS-422 or RS-485, CAN etc). Indeed, you will be need with appropriate network card.

    Regards,
    Oleg

Reply
  • hi,

    So i need to know the best way to do this RS232 data to computer via ethernet(through HUB or SWITCH).

    Hmm, ask yourself, for example, how to connect a serial mouse to a computer via ethernet?
    Which protocol is it used there? TCP, IPX other? RS-232 is hardware interface designed to send signals with levels about +/-12V. It has nothing with protocol used over it. If you use RS-232 with protocol like 8n1 then it is not problem to connect 8051 to PC via COM port. But for network cards, another protocols are used! UART of 8051 cannot support them, surely. So either use 8051 derivative which has TCP supported or try to create own network (for example, RS-422 or RS-485, CAN etc). Indeed, you will be need with appropriate network card.

    Regards,
    Oleg

Children