element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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
Wireless
  • Technologies
  • More
Wireless
Forum USB or Ethernet to replace RS232?
  • Blog
  • Forum
  • Documents
  • Polls
  • Quiz
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Wireless to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 4 replies
  • Subscribers 219 subscribers
  • Views 750 views
  • Users 0 members are here
Related

USB or Ethernet to replace RS232?

M0DCD
M0DCD over 16 years ago

I have had a discussion about this in email, on the subject of replacing RS232 interfaces with either of these two options.

 

My points are that if the item only needs local connectivity (ie download data, setup machine etc) then a generic USB solution such as provided by the FTDI modules is adequate, rather than have to go through having to redesign an existing product. Field service seems to be one application where the technology has run forward (you try and find a laptop with RS232 on it these days). Yes you could use a dingle, but then doesn't Windows keep changing the port number for you?

 

TCP/IP is nice, but if you don't need the machine permanently connected to a network or just have a basic interface, it may be too good a solution. Yes, you can add extra features and a web interface, but would a water level monitor (for instance) that only communicates twice a year need this?

  • Sign in to reply
  • Cancel
  • awinning
    awinning over 16 years ago

    I think the correct answer is both, or both and others. RS232 used to be almost the only commonly used port on a PC, so naturally all serial peripherals were based on it. Now we have many types of ports and applications use the standards that suit them best. USB and all its iterations including the new wireless standard look good for short range applications especially. Ethernet can carry more data over longer distances, so it is used for the applications that require these specifications.

     

    We also have to consider wireless protocols like Bluetooth, Zigbee, WiFi, WiMAX and others, which have found their own specific niches. In my opinion we will never see another unified standard like RS232.

     

    If the FTDI modules and chips can let you retrofit and get the features you require, than it is a good idea to use them. For your water level sensor example, Zigbee would be a decent shout, or Bluetooth if it requires laptop connectivity, but these would require a redesign. I can see these type of applications using energy harvesting modules, ultra-low-power MCUs and Zigbee connectivity in the near future which should provide up to ten years self power

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • M0DCD
    M0DCD over 16 years ago in reply to awinning

    RS232 has been round for a very long time in engineering terms, and for short distance links it has worked well, remembering back to the 1970's when a 9600 baud rate was fairly exotic. Most of the applications I have seen industrially has been to set or read parameters in equipment or diagnostics where this low data rate isn't an issue. Limiting physical access to the port is a very good solution in such as vending machines, if it's using wireless technology it could leave potential "back doors" open.

     

    Where they are possibly only a few hundred units in service, the amount of work to develop a Zigbee solution becomes a big part of the project cost, and there are a lot of these small projects out in the wilds. My opinion is that Zigbee hasn't settled down as yet, there are still issues between the technology providers where the extensions don't cross over suppliers.

     

    It's not a case of retrofitting designs, if it's changed to TCP/IP or Zigbee it's a fairly large redesign job, whereas adding modules to an existing PCB whose design may go back years is much easier. In the present climate this is a reasonable solution, especially as some industries don't seem to ever be too keen on adopting new technology (utilities, railways etc).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 16 years ago

    We do a fair bit of RS232 because its easy to use and has been around since the electron was discovered imageand we use the FTDI modules. Out in the field we use a Netbook running Linux rather than windows with VMware Worstation (on a laptop running Linux) to run any legacy windows apps. Frankly adding a USB dongle is the best option and if it gets zapped by some surge or other you replace the dongle not the whole shebang. Netbooks running Linux are terrific for field engineering, light small long battery life and don't cost an arm and a leg to replace if they get thumped. A bit off topic I know but RS232 has shifted out of the mainstream so I would suggest dongles and commodity hardware is the way to go.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • M0DCD
    M0DCD over 16 years ago in reply to M0DCD

    Ironically, I did mention using the dreaded SCC devices in Field Service, but someone said they hadn't a clue what they were. I'm not sure if they give you Hyperterminal in Vista, but for those in Linux will probably find communicating with KTerm (or similar) does exactly the same. Not that you'll ever configure the port to anything other than 9600,N,1 anyway.

     

    Fine about the dongles, yes they are cheap enough to replace on a regular basis, they aren't designed to be rattled round in the bottom of a toolbag, but as it's been a long time since laptops has RS232 and netbooks never even considered them. I have an EeePC701 myself as well as a full sized laptop and not a copy of Vista in sight.

    • 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 © 2026 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