RobertoA wrote:
> The Raspberry4 board has 6 native uart
> I'm not talking about serial ports via usb but uart on the gpio
> connector of the Raspberry board
> Having to control devices via uart (for example gps receivers,
> electronic scales, etc.) it would be useful to create a device that,
> communicating with the control computer via ethernet, would allow the
> computer to 'see' the virtual com ports, corresponding to the uart of
> the card Raspberry
> So it will be necessary to program the Raspberry so that it has a tcp /
> ip server inside, which will pass the information to the uart ports
> On the computer side it will be necessary to install programs to
> 'virtualize' the com port and connect it to the tcp / ip server on the
> Raspberry
> How to proceed?
I built one Rs323 to RS232 adapter during the first lock down this year. I
had this project on my todo list since 3-4years already. I connect it to
the GPIO pins and have a serial console, where I can see exactly
everything. It works great. It helped me debug and setup the TFTP boot. But
of course you can also buy a ready to use one. Pay attention on the chipset
and manufacturer. There is tons of fake and buggy crap out there. There are
also Serial to IPv4 converters, so that you can access your serial port via
internet. AFAIR they are RS232 (12V) so perhaps a TTL level shifter
(323-232) and a Serial to IPv4 is what you are looking for.
I am not aware of any additional software (besides setting up the serial
port on the RPI4)
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|