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.
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
hi Oleg, What you said is correct.But i have heard that we get secondary attachment module through which we can connect 8051 to ethernet. But i do not specificaly know what it is called. Thanks
hi, if you do not know details so how may I ? I even do not know which interface (coaxial/wire pairs/wi-fi/BT etc) and protocol (IPX, TCP etc) are used with your ethernet and how will 8051 be connected to that module. If this module is "intellectual" device than it performs all transactions over ethernet itself and you just send/receive serial data with UART. If it is just a transceiver (interface converter) then you come to big work. I suggest you start to learn TCP stack then. Regards, Oleg
Hi, I don't want to make a converter between serial data to ethernet.But i want one.So i want what it is called.My data is serial data from 89S51 that i want to get it on ethernet.So i need a module which does this. thanks rutu
Maybe google can help?
hi, My data is serial data from 89S51 that i want to get it on ethernet. and then...? Please continue the idea. 89S51 sends data via UART to module which passes them to ethernet. Then data comes over ethernet to server where ... where what? Do you have software which reads packets from network card plugged into PC? Or should it be the second module which converts data back to RS-232 standard and passes them to COM port? I still cannot understand the idea. Do you wish to see MCU as ethernet point/client or do you just need to use ethernet cable as carrier line? P.S. Seems this question has nothing with Keil software and I suggest you to find yet another forum for your question. Regards, Oleg
Maybe this helps: http://www.atmel.com/products/8051/atweb.asp
Something like this: http://www.digi.com/products/embeddeddeviceservers/digiconnectme.jsp OR this: http://www.lantronix.com/device-networking/embedded-device-servers/xport.html
"So i want what it is called" Use keywords like "Device Server" or "Terminal Server" I'm sure you can take it from there...
This product probably does what you want: http://www.saxcess.com.au/product_info.php?cPath=3&products_id=33
Here's an Si-Labs (nee Cygnal) Reference Design: http://www2.silabs.com/public/documents/tpub_doc/anote/Microcontrollers/Precision_Mixed-Signal/en/an133.pdf And a couple of free IP stacks claiming to be suited to 8-bit microcontrollers: http://www.gmiet.com/products/ETS100.asp?id=4 http://www.sics.se/~adam/uip