harvie
Full Member level 1
Hello,
i have approximately 32 Linux servers with 115200 baud serial console and i would like to connect all of them to single ESP32. While keeping things relatively scalable.
I know that first i have to convert the serial level to TTL using MAX232. Then i have to somehow manage all that lines.
Currently i am using raspberry PI with lots of USB serial converters and USB hubs, but it's kinda overkill, not very robust or reliable and far from being elegant. There are even solutions like https://freetserv.github.io/ , but i still want to stay clear of using such complex solution, because of reliability and security issues.
First i was thinking about using some multiplexer or analog switch IC to switch between individual RS232 lines, so i can connect any of the 32 lines to the hardware serial of ESP32. That would kinda work and i already like it more than raspberry solution, but can only use one line at time. (i don't usualy need to use all 32 lines at the same time, but more lines the better)
Now i am wondering if there's some UART transciever IC that would work over i2c (or SPI), so i can adress individual serial lines using i2c address and the IC would be able to buffer some of the data before i manage to read it. That way i could read one console, while not loosing the data from others. Even better if such IC would have more than one UART, so i don't have one IC per port.
Any ideas how to tackle this issue?
i have approximately 32 Linux servers with 115200 baud serial console and i would like to connect all of them to single ESP32. While keeping things relatively scalable.
I know that first i have to convert the serial level to TTL using MAX232. Then i have to somehow manage all that lines.
Currently i am using raspberry PI with lots of USB serial converters and USB hubs, but it's kinda overkill, not very robust or reliable and far from being elegant. There are even solutions like https://freetserv.github.io/ , but i still want to stay clear of using such complex solution, because of reliability and security issues.
First i was thinking about using some multiplexer or analog switch IC to switch between individual RS232 lines, so i can connect any of the 32 lines to the hardware serial of ESP32. That would kinda work and i already like it more than raspberry solution, but can only use one line at time. (i don't usualy need to use all 32 lines at the same time, but more lines the better)
Now i am wondering if there's some UART transciever IC that would work over i2c (or SPI), so i can adress individual serial lines using i2c address and the IC would be able to buffer some of the data before i manage to read it. That way i could read one console, while not loosing the data from others. Even better if such IC would have more than one UART, so i don't have one IC per port.
Any ideas how to tackle this issue?