• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Using USB Ports to connect a RS232/USB converter

    Scheduled Pinned Locked Moved CODESYS
    3 Posts 3 Posters 5.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mikeardy
      last edited by

      Hi,
      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?
      Thanks.

      1 Reply Last reply
      Reply Quote 0
      • D
        DavidCozens
        last edited by

        Hi,
        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.

        regards David

        1 Reply Last reply
        Reply Quote 0
        • G
          GarRiney
          last edited by GarRiney

          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.

          percentage calculator

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post