Using USB Ports to connect a RS232/USB converter
mikeardy last edited by
for a my project I need to connect a device that can communicates only in RS232 and I'm asking for possibility to use a RS232/USB converter connected directly to USB ports of the Neuron.
I'm using CODESYS.
Could be possible to drive this device?
DavidCozens last edited by
This should be possible if you have the appropriate Linux device drivers installed. This is really a feature of CODESYS for Raspberry PI - there is an explanation of how to do this in the CODESYS Forum https://forum.codesys.com/viewtopic.php?t=5699
Please note that if you support the USB serial device then my understanding is you will no longer be able to access the built in serial ports on the Neuron with CODESYS (Because CODESYS appends the COM port number to a base DeviceFile, and the internal ports would have a different base name to the USB ones.). If you need further detail on this issue I suggest that the CODESYS Raspberry Pi forum is the best place to get further assistance.
GarRiney last edited by
Hi..i am a new user here. As per my knowledge many times you would not use the power from the USB-UART converter. The target device will provide power to the UART. All you need to connect is Rx,Tx and Ground. The TTL signals come in different flavors. 5V, 3.3V and 1.7V being common. This is all the more reason why not to use the power from the UART adapter. Put 5V TTL on 1.7V TTL pins and something will fry. Use no power from the UART adapter.