element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum USB to RS232
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 25 replies
  • Subscribers 393 subscribers
  • Views 2763 views
  • Users 0 members are here
Related

USB to RS232

s1buell
s1buell over 6 years ago

Does anyone here have any experience with this topic?

 

I`m going from a TUSB2077APTRTUSB2077APTR controller to two FT232RL-REELFT232RL-REEL IC`s just to test this prototype idea.

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 6 years ago in reply to s1buell +7
    Hello Tom, I quite like FPGAs - but then that's what I do quite a bit. If this is a commercial project I could help you with FPGA design for money ! If not, then I'll be able to help a bit on E14 with…
  • michaelkellett
    michaelkellett over 6 years ago +6
    It looks as if you want an Arduino with 8 RS232 ports. The neatest way to do this is to use an FPGA - something fairly small will do. You can connect the FPGA to the Arduino via UART or SPI at logic level…
  • beacon_dave
    beacon_dave over 6 years ago in reply to s1buell +5
    "The idea is to connect 7 RS232 connections. Then access them via Arduino (or similar type proto board) in the end." Perhaps take a look at the ATxmega A1U or A3U family of AVR 8-bit microcontroller which…
  • shabaz
    shabaz over 6 years ago

    Hi,

     

    I'm not sure those two together will meet your requirement.

    You've posted in the Arduino space, are you looking to attach the Arduino serial pins to a PC via USB?

    If so, then the functionality you need is just a USB-to-UART chip.

     

    If you're looking to attach the Arduino serial pins to a RS232 device, then USB is not required, just a 'RS232 transceiver' chip.

     

    If it is completely unrelated to Arduino and you're looking to create some adapter to connect a PC to a RS232 device then the functionality you need is a USB to UART chip, and a RS232 transceiver chip.

    If you want two RS232 interfaces, a dual UART USB chip can be used (no need for a USB hub chip). and the RS232 transceiver chip(s).

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • balearicdynamics
    balearicdynamics over 6 years ago in reply to shabaz

    I have the same doubt of you Shabaz. Then it is not a USB chip but a USB HUB chip, that makes the difference. As far as I know, from the hub you connect USB devices. To at least one piece is missing in the design idea.

     

    Enrico

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • s1buell
    s1buell over 6 years ago in reply to shabaz

    Ok....

     

     

     

    The idea is to connect 7 RS232 connections. Then access them via Arduino (or similar type proto board) in the end.

     

    I`m just starting with two channels for  testing. USB ---> TUSB2077APTRTUSB2077APTR-> FT232RL-REELFT232RL-REEL ---> ADM213EARUZADM213EARUZ 

     

    In the end I would like to have Arduino --> TUSB2077APTRTUSB2077APTR->  FT232RL-REELFT232RL-REEL ---> ADM213EARUZADM213EARUZ

     

    Now one thing to keep in mind each channel requires a separate ground so I will only have one channel per set ( FT232RL-REELFT232RL-REEL and ADM213EARUZADM213EARUZ)

     

    Does this help?

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 6 years ago in reply to s1buell

    Hi Tom,

     

    If it's possible to sketch what you wish to do (and specify the end equipment and purpose too) it will make it easier to follow, rather than specifying parts, because then I need to go looking at what each part does.

    The Arduino isn't a USB host, so it cannot attach to a hub to connect out to USB devices.  The Arduino plays a USB device role, not a host role (and technically not even that - the embedded programmer/debugger on the Arduino is the thing that is playing the USB device role).

    Unless you're using some unusual Arduino that I'm not aware of (I'm assuming Arduino Uno, but there are hundreds of Arduino variants/copies out there, so I'm not sure).

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • s1buell
    s1buell over 6 years ago in reply to s1buell

    Guy`s let me get back to you on this.

     

     

    The first test we did was Arduino to USB proto board then into a 8 channel RS232 hub and everything worked great. We could read all the RS232 data from all channels.

     

    Now for me the request is to make a shield to connect direct to the Arduino proto board. Let me check.

     

    Thanks for the responces

     

    T

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • mp2100
    mp2100 over 6 years ago in reply to s1buell

    If I understand, you've used a hub something like this (easysync) device, except you want 8 ports ?  I've use this previously, with good results.

    image

    It's been a while since I opened this up, I can look into my parts bin and tell you what chip is inside that does the 'magic' converting 1 USB into multiple RS232.  I think it was an FTDI chip, which is  common.  https://www.ftdichip.com/

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • beacon_dave
    beacon_dave over 6 years ago in reply to s1buell

    "The idea is to connect 7 RS232 connections. Then access them via Arduino (or similar type proto board) in the end."

     

    Perhaps take a look at the ATxmega A1U or A3U family of AVR 8-bit microcontroller which appear to have 8 / 7 USARTs to play with.

    http://ww1.microchip.com/downloads/en/DeviceDoc/30010135D.pdf

    Add some MAX232's and away you go.

     

    Unfortunately the XMEGA A1U Xplained Pro evaluation kit only appears to break 5 of them out to headers but it may still be useful for proof of concept.

    ATXMEGAA1U-XPRO - Evaluation BoardATXMEGAA1U-XPRO - Evaluation Board

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Cancel
  • michaelkellett
    michaelkellett over 6 years ago

    It looks as if you want an Arduino with 8 RS232 ports.

     

    The neatest way to do this is to use an FPGA - something fairly small will do. You can connect the FPGA to the Arduino via UART or SPI at logic level (care needed if it's a 5V Arduino).

     

    If you need true RS232 ports at correct levels then you'll need level shifters like the TI device you mentioned.

     

    The FPGA work will be challenging if you've never done any before, but you would be able to get true simultaneous operation of all 8 ports with buffering and good control of latency.

     

    If you are more used to processors consider using a fast ARM based part which will be able to do 8 UARTs in software at 9600 baud quite easily.

     

    As is so often the case, it would be much easier to make good suggestions if you would describe what you actually want to achieve in a bit more detail.

     

    For example, you might be able to use an ST Nucleo board (NUCLEO-F429ZI would be suitable)

    with a nice fast processor to do everything you need, including simulate 8 UARTS.

     

    MK

    • Cancel
    • Vote Up +6 Vote Down
    • Sign in to reply
    • Cancel
  • s1buell
    s1buell over 6 years ago

    Ok, Had a talk with the guy`s and here`s what they would like to see in the end.

     

    image

     

    • We will also need to produce a prototype PCB in the end. So I like to keep it simple the first go round.
    • True simultaneous operation of all ports with buffering and good control of latency.

     

     

    michaelkellett I like the idea of the FPGA I will look into this. I`m a little worried about the programming I`m not sure we have the skills/knowable at this point to pull this off. Are they easy to program? I have one guy here that is/has some knowledge of them

    • If you are more used to processors consider using a fast ARM based part which will be able to do 8 UARTs in software at 9600 baud quite easily.(This was our original idea).

     

     

    mp2100

    Yes we used this version for the first testing and everything worked quite nice.

    image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • michaelkellett
    michaelkellett over 6 years ago in reply to s1buell

    Hello Tom,

     

    I quite like FPGAs - but then that's what I do quite a bit.

     

    If this is a commercial project I could help you with FPGA design for money !

     

    If not, then I'll be able to help a bit on E14 with some advice but in the end you'll need to do the actual work. As FPGA applications go this is not a bad one to start with - nothing too fast or horribly complex.

     

    If you will make a lot of these the cost of the FPGA will be important, if only up to a few hundred then I would look at Lattice XP2 parts or Altera MAX 10, if lots and lots then look at Lattice ice40 parts.

     

    Do you just need RX and TX on the RS232 or do you need some or all of the handshake pins as well ?

     

    MK

    • Cancel
    • Vote Up +7 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube