Serial over Ethernet implementation solutions? - Page 1
Forum section: electronics / beginners

author: bhj99
author_rank: Contributor
timestamp: February 19, 2023, 05:08:10 pm
content: Hello all,Does anyone have experience with implementing Serial over Ethernet solutions on a PCB design? Basically, the aim is to convert RS232, RS422, or RS485 interfaces from legacy devices to 10/100/1000BASE-T Ethernet packets. I do know of many serial-to-Ethernet converters available as cables dongles or modules, but I'm interested if anyone knows of any chip/ICs that will support translation between these protocols. I'm thinking a microcontroller would be needed to provide drivers to both serial and Ethernet sides. Any help would be greatly appreciated.

author: fcb
author_rank: Super Contributor
timestamp: February 19, 2023, 05:22:36 pm
content: Wiznet W5100/W5500WCH CH9121

author: coppice
author_rank: Super Contributor
timestamp: February 19, 2023, 05:44:24 pm
content: These are surprisingly high volume production devices. So, if you find an MCU with the right resources, you'll probably find a reference design for the software to support it.

author: rstofer
author_rank: Super Contributor
timestamp: February 19, 2023, 09:15:24 pm
content: I would use Berkeley Sockets which just about every Ethernet interface/library supports. I used it with an mbed LPC1768 by using the provided library. Do a little homework on sockets and you will see how easy it is.http://networkprogrammingnotes.blogspot.com/p/berkeley-sockets.htmlYou can write a trivial host and client application program and run them both on a Linux box using either the assigned IP address or the default. Start the server and it will listen on a port. Then start the client and do whatever. Or, start the server and use it with something like PuTTY and you will have it.PuTTY won't be useful for machine to machine communication but it will be helpful for debugging the host. You would simply type commands into PuTTY and it will forward them to the server and grab up any replies.

author: konohimawm
author_rank: Newbie
timestamp: August 18, 2023, 11:22:24 am
content: Eğer bir mikrodenetleyici ile kendiniz tasarlayacaksanız WIZnet Firmasının W5500 yongasını tavsiye ederim.https://www.signal.com.tr/urundetay/W5500/SGNLidV1Q4G2AF/WIZID00005Bu entegre devre full-Stack TCP/IP içeriyor.Başlık dosyalarını doğrudan işlemcinize entegre ederek ürün geliştirebilirsiniz. Tavsiye edilen uygulama şemaları da mevcut.Eğer PC ya da Ethernet üzerinden konfigüre edilebilir ön programlanmış bir SoC IC arıyorsanız. Bu konuda en iyi çözüm W7500P-S2Eİçerisinde PHY yongası var, ön tanımlı MAC IP var, ve hepsi ARM cortex M-0 Bir işlemciye yüklü firmware ile yönetiliyor.Sadece PC'den kofigürasyon ile kullanımı var.https://www.signal.com.tr/urundetay/W7500P-S2E/SGNLidQKPWUO1S/WIZID00010

author: kripton2035
author_rank: Super Contributor
timestamp: August 18, 2023, 11:42:04 am
content: the W32-ETH01 module, has been made for this. it is 10/100 Mb only, but you even have an ESP32 to program the way you wanthttps://www.aliexpress.com/item/1005002023196214.html

author: Terry Bites
author_rank: Super Contributor
timestamp: August 19, 2023, 02:35:08 pm
content: We used a startech NETRS2321P very easy set up.Not cheap, but great vfm for our machine shop needs.We're milling for England now.

author: m k
author_rank: Super Contributor
timestamp: August 20, 2023, 05:28:07 pm
content: Some PCs have Intel's AMT SOL.

author: Doctorandus_P
author_rank: Super Contributor
timestamp: August 20, 2023, 07:03:59 pm
content: It also depends on what you want to do with the ethernet part. Do you want to interface with something as old fashioned as telnet or netcat. Or do you want to use something more modern and encrypted such as with SSH.I guess that each small linux platform can quite easily pipe one protocol to the other (and there are quite small and cheap linux SBC's). And as already mentioned. It's quite common, so when you've got Ethernet running on any microcontroller, then connecting it to a uart is quite trival, and I would be surprised if there are less than 100 or such projects on github.I once experimented shortly with serial/sathosimn on a "Blue Pill" (stm32f103) This project plugs into an USB port and then acts as three serial ports. I only did a few short tests though. Just started some terminal emulators, and copied text between those ports by connecting though some pins on the breadboard.