Skip navigation
TechXchange
Digi-Key TechXchange Communities > Projects and Designs > Discussions
3773 Views 4 Replies Latest reply: May 31, 2014 12:42 PM by baycollie RSS
Currently Being Moderated

May 5, 2014 11:07 AM

Computer connection to project

As I'm working on some projects, I've been using an RS-232 interface with my computer and it's been working alright so far.  But, are there any recommendations you have out there for computer/project communications?  Is it getting easier to interface with USB?  Because the connection would be a lot easier if I could drop the RS-232 logic level converter and the USB-RS232 converter and go directly to a USB mini or micro.

 

If it is getting easy to USB, are there any recommendations on what platforms to use?  Or any interfacing tidbits that would help?

 

If not USB, any other recommendations?

 

Thanks for your help!

  • boborrob Novice 35 posts since
    Apr 4, 2014
    Currently Being Moderated
    May 15, 2014 11:26 PM (in response to JohnDavis)
    Online resources

    Hi John!

     

    There are a lot of resources on that topic on the web. It is quite common to find 'VS' posts on these 2 particular connection types. From what i gather, USB has been designed to replace serial and parallel ports. Although RS 232 is still used and still works well for your need, i would advice to defer to USB. Thre are a lot of advantages that USB has to offer and you wouldn't need to use converters.

     

    I found this article and it looks like it has a lot of answers as well as links to sources.

     

    Moderating TechExchange - updating/adding posts

     

    http://deltas.blog.com/2012/11/28/usb-vs-rs-232/

     

    I hope that helps!

  • LanceLK Novice 47 posts since
    Apr 4, 2014
    Currently Being Moderated
    May 21, 2014 2:45 AM (in response to JohnDavis)
    Computer connection to project

    as far as i know, the main difference is speed... if you have an option for USB, chose USB

    • Riley Novice 88 posts since
      Apr 7, 2014
      Currently Being Moderated
      May 23, 2014 3:41 PM (in response to LanceLK)
      Computer connection to project

      But isn't USB harder to implement?  I've had a little success getting RS-232 to work with PuTTY (using an RS-232 to USB converter) but I don't even know where to start with USB.  Could I still use PuTTY?  What do I need with my microcontroller?

  • baycollie Novice 8 posts since
    May 29, 2014
    Currently Being Moderated
    May 31, 2014 12:42 PM (in response to JohnDavis)
    Computer connection to project

        There are inexpensive USB to TTL converters on the market that will handle the translation from USB to TTL voltage levels. The Arduino uses an atmega 16u2 to do this. The 16u2 is an avr with USB built in. If one wants to make a USB to TTL converter, the schematic is part of the Aruino UNO R3 schematic, The firmware for the 16u2 is included with the arduino software. I built a standalone USB to TTL converter using the Arduino design and firmware, though I think it would be less expensive to buy one than make it.

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 3 points