Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: buzibus on January 26, 2013, 03:46:49 AM

Title: USB TTL connector to Olinuxino A13 UART ?
Post by: buzibus on January 26, 2013, 03:46:49 AM
Hello,

I've a USB to TTL converter like many of those sold cheaply in ebay and other places.

Those adapters connect to a computer USB port and (with an installed driver) simulate a RS232 output with 4( or 5) pins: 3v/5v, GND, TX, RX.

I use it for programming microcontrolers like the LPC1114 that have ISP.


Can I use it to connect my PC/Laptop to my Olinuxino ?

The connection should be something like:


USB 2 TTL GND  ----  GND olinuxino
USB 2 TTL TX   ----  RX olinuxino
USB 2 TTL RX   ----  TX olinuxino


Would this work ? should the 3.3v pins be connected too ?



Thanks in advance



EDIT:


For reference, the USB to TTL adapter looks like this:


(http://www.vallesolucoes.net/product_images/c/390/TTL__99269_zoom.jpg)


the pins usually are labelled 5v, 3.3v ( there's usually some type of regulator ), TX, RX, GND and Reset.
Title: Re: USB TTL connector to Olinuxino A13 UART ?
Post by: JohnS on January 26, 2013, 09:16:25 AM
Yes it should work.  You ought to check how the power (+3/5) is connected and if the chip needs 3 or 5, and connect as appropriate.  Mine is similar but different chip which needed 3.3V so I connected that (thus, 4-wires connected) and it's good.

You may get Tx & Rx the wrong way round.  So long as you've figured the above out just try them the other way.

John
Title: Re: USB TTL connector to Olinuxino A13 UART ?
Post by: buzibus on January 29, 2013, 03:18:49 AM

AFAIK the + pins should not be connected as, only the GND pins

the A13 will get power from the wall-wart adapter, and the USB dongle from the USB connection to the computer


TX goes to RX and RX to TX :)



I need to try this out soon, or just buy the olimex adapter cable
Title: Re: USB TTL connector to Olinuxino A13 UART ?
Post by: JohnS on January 29, 2013, 09:39:47 AM
For sure try it without + but realise that some adapters need power from the non-USB end in which case you need to connect + and will need to make sure the voltage is right.

The "standard" for where Rx & Tx go is abused so often that you should not be surprised if you have toswap the connectors.