Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: rmore on July 13, 2012, 09:46:52 PM

Title: UART Hardware related issue
Post by: rmore on July 13, 2012, 09:46:52 PM
Hello All,

I am planning to add UART feature to my robot in order to read the sensor output values. So I was reading thru Admin's post and decided on going for the:

TTL --> TTL to USB Adaptor --> PC approach.

And hence would buy the - SparkFun Breakout Board for CP2103 USB.

Being a rookie, I ask this question - I need a male/male USB cable to use this above breakout board isnt it?
This cable should supposedly connect the breakout board to the PC....

Please correct me if I am wrong.

Further, can I go ahead any buy this:

http://www.sparkfun.com/products/512 (http://www.sparkfun.com/products/512)

Thank you for your help.

Rmore
Title: Re: UART Hardware related issue
Post by: newInRobotics on July 15, 2012, 08:03:38 AM
Being a rookie, I ask this question - I need a male/male USB cable to use this above breakout board isnt it?
This cable should supposedly connect the breakout board to the PC....
Correct.

Why not to go with something like this --> USB to TTL Serial Module with four PCB header wires
 (http://www.ebay.co.uk/itm/USB-to-TTL-Serial-Module-with-four-PCB-header-wires-/251106966935?pt=UK_Computing_Parallel_Serial_PS_2&hash=item3a77243d97)
I own one myself and it works great.
Title: Re: UART Hardware related issue
Post by: rmore on July 15, 2012, 09:19:31 AM
new In Robotics,

Thanks. So basically with the hardware that you are using and have suggested, I will anyways have to buy a male/male USB cable to connect this new hardware to the PC. Right?

Also, I believe the 4 wires that are seen in the pic are the ones going to the microcontroller (VCC,GND,RX and TX). What are the 6 pin-outs from the board for then?

Rmore
Title: Re: UART Hardware related issue
Post by: newInRobotics on July 26, 2012, 06:26:02 AM
Hi

So basically with the hardware that you are using and have suggested, I will anyways have to buy a male/male USB cable to connect this new hardware to the PC. Right?
Right, all You have to use is A-type male to A-type male cable, or You can put header pins on Your board for USART access and simply make custom cable that fits header on the board and has USB to TTL module on the other end, that way You can use one cable for many devices.

Also, I believe the 4 wires that are seen in the pic are the ones going to the microcontroller (VCC,GND,RX and TX). What are the 6 pin-outs from the board for then?
If You give a better look to the description of the device You would notice the following:
Quote
6pins for 3.3V, RST, TXD, RXD, GND & 5V.
:)
Title: Re: UART Hardware related issue
Post by: Gertlex on July 26, 2012, 10:44:00 AM
If you want to buy from sparkfun, this would be a better board than the one in your initial post: https://www.sparkfun.com/products/9716 (https://www.sparkfun.com/products/9716)

The one that newInRobotics linked should work fine, too.

I'm not sure why people keep finding that overpriced sparkfun board with uncommon USB connector that you mention in your first post...
Title: Re: UART Hardware related issue
Post by: CdRsKuLL on July 27, 2012, 09:26:16 AM
I'm also using usb --> serial converter to listen / talk to my Arduino. I've wrote a simple program in VB.net. If you would like a copy of the source then let me know. It just allows you to talk to the arduino via the PC. :-)

thanks,