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 2758 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…
Parents
  • 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
Reply
  • 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
Children
  • s1buell
    s1buell over 6 years ago in reply to michaelkellett

    Well you have thrown a wrench into my plans.....

    But after looking at things a FPGA would be a nice solution that we could use in other applications (RS485 for example)

    Im looking at the Lattice XP2.

     

    In the end the circuit will look a little like this.

     

    image

     

     

    Sure simplifies what I had already started using the conventional method. This will reduce the cost and IC count for sure.

     

     

    image

     

     

    I`m going to buy the proto board to get things moving. In the background I`ll create the PCB and maybe intigrate the CPU.

     

    image

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

    Looks like you're making some progress Tom - am I right in thinking you wanted separate grounds though for the serial ports?

     

    If you want isolated ports, I've used onto-isolators in the past for the Tx and Rx signals, and a dc-dc convertor to isolate the power supplies for each channels MAX232 chip. You need to be wary of the speed of signals through the opto-isolators (limited myself to 2400baud once.... don't want anyone to repeat that mistake! image).

     

    TI have done a reference design using a capacitive isolator, and powered that from the RS232 line itself, which might be an interesting read and something to consider - http://www.ti.com/lit/ug/tidu298/tidu298.pdf

     

    A

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

    I think I have one of those dev boards - although with Lattice I usually go straight to a custom pcb because I know the parts quite well.

    You'll need a clock and a debugging port (can be used to program it on board as well)  for the FPGA in the final design.

     

    MK

    • Cancel
    • Vote Up +1 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