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

    Hello Tom,

     

    I haven't used Atmel ARMs for a very long time - I did one project which was successful with a pretty early part (pre- Cortex) but I wasn't thrilled with the support at the time.

     

    I moved over to ST ARM based micros more than 10 years ago and I haven't seen any reason to change.

     

    On a board like this the cost of the processor is trivial - why not use something like an STM32F407 or even an STMH7xx part (400MHz, lots of RAM, 16bit ADC etc etc.)

     

    It looks as if your IO goes direct to the processor - OK for playing but no good for real life in industrial settings.

     

    I have a vague plan for a board for my own use - I'm a bit busy right now but I'll try to set down a few notes and we can see if there is any common ground.

     

    MK

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

    Hi Tom,

     

    Is it for production, or for others to self-assemble? The QFN package may be hard for others.

    It definitely needs some isolation, which could be done using (say) opto-isolators or relays. The board I'm working on is constrained in size, so it's only got two inputs and two outputs (using opto and relays in this case), but it's got an option to attach another board. It's described here at high-level, but full details and BoM will be published at some stage. It uses a Pi i.e. Cortex-A, and has the advantages and disadvantages of that, there's a market for Cortex-M controllers as you've noticed too.

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

    michaelkellett

     

    The first CPU project is just a project to test the CPU, create firmware etc. Its my first go at a cpu so I started with the basics (Just to play)

    The mian issue we are having now is the firmware. I`ve ordered a Atmel-ICE to start this part.

     

    I actually picked this processor mainly to work with circiut python and onboard memory storage. No more compiling. But the target was to make the CPU easy to program and for operations people to have access to the last code used (hence circuit python)

    https://en.wikipedia.org/wiki/CircuitPython

    https://github.com/adafruit/circuitpython

     

    image

     

    And the application of this unit will be more for IIOT sensor reading with long range data transmission.

    The STM32F407/417 looks is really nice! The price is also good $11.06000 Digikey. I will put this on my radar.

    • I have a ton of questions but need to do some reading on the cpu first.

     

    shabaz

    In the end it will be for production (If no one cancels the project.....again lol)

     

    Size is important but not a constraint for us (smaller the better). Im going to use 20pin connectors to allow for any type of expantion board to be added

     

    Here a picture of the concept:

    These have a two channel DAC to allow for 4-20ma boards to be added (concept picture only). Well its an actual PCB but untested.

     

    image

     

    Shabaz

     

    BTW love the project!!!!!   (https://www.element14.com/community/external-link.jspa?url=https%3A%2F%2Fmedium.com%2F%40shabaz_yousaf%2Fviki-an-open-so… )

     

    I would be interested in producing and playing with this project....

     

    We use a PI addon boad to connect to the PI`s only for reading sensors and a little control if needed (basic stuff)

     

    T

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

    Hi Tom,

     

    That makes sense, the dual-module approach looks neat.

    Also, it's great to hear you find the VIKI project interesting. it should just be a matter of weeks and then we'll hopefully have the documentation, BoM, etc published.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • phoenixcomm
    phoenixcomm over 5 years ago

    s1buell Tom, cool problem. Because everybody has thrown there 2 cents in I will toss mine into the ring. First I don't think that your Arduino could ever handle 8 UARTs full speed. I don't think that USB will work (again speed issues),

    first, remember that a URART is an 8-bit device with two registers, and the IO side of the gear you will need TTL to RS232 chip like a MAX back to the computer side of the world. all of the data lines are run in parallel between the USARTs and your CPU now. then you take the 8 interrupt lines and put them through an 8 to BCD encoder. As well as OR tieing them together to your interrupt pin.  the software looks at the interrupt pin, when it comes in it reads the URART address and gate the data on to the data bus and then read it. Here is a neet TI dual UART TL16C2752. Its package is a RHB 32 or QVFN 5mm x 5mm.

    Good Luck

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