Sonsivri

Electronics => General Electronics => Topic started by: gabriel on August 20, 2010, 11:05:03 11:05



Title: 5V usb to serial converter, reliable?
Post by: gabriel on August 20, 2010, 11:05:03 11:05
Hello:
I bought recently a USB-to-serial converter, after doing some tests I noticed that outputs signals aren't +/- 8 V like old ones, but they are logic levels 0/5V.
is this normal? are they reliable? anyone has already experienced them? can we interface them directly to a microcontroller without a MAX232?

thanks


Title: Re: 5V usb to serial converter, reliable?
Post by: romi007 on August 20, 2010, 01:28:46 13:28
Check data sheet of converter, it should says that it is USB to RS232 with TTL output. You can use it directly to uC if it is powered by 5V.
Regards,
Roman.


Title: Re: 5V usb to serial converter, reliable?
Post by: gabriel on August 20, 2010, 04:12:45 16:12
it's a converter without a datasheet nor a brand name, it comes just with a CD for the driver


Title: Re: 5V usb to serial converter, reliable?
Post by: romi007 on August 20, 2010, 05:04:16 17:04
Well, if you are shure it is 0/5V (TTL level) then you can connect it directly to uC.


Title: Re: 5V usb to serial converter, reliable?
Post by: oldvan on August 20, 2010, 05:19:54 17:19
RS232 is inverted from TTL, so at the very least need to invert the signals
to interface to a uC UART.


Title: Re: 5V usb to serial converter, reliable?
Post by: romi007 on August 20, 2010, 05:30:54 17:30
I have MOXA converter (USB to RSR232) and never have to invert signals. Probably it is already done with USB/RS232 chip inside converter. But good to remember.


Title: Re: 5V usb to serial converter, reliable?
Post by: DreamCat on September 15, 2010, 09:59:52 09:59
"Serial" just means the signal is serial transimission. maybe is RS232 standard, or TTL, or the other..


Title: Re: 5V usb to serial converter, reliable?
Post by: Sideshow Bob on September 15, 2010, 11:41:51 11:41
Check data sheet of converter, it should says that it is USB to RS232 with TTL output. You can use it directly to uC if it is powered by 5V.
Regards,
Roman.
I have heard that cheap USB to RS232 converters do this trick. The problem is that it may not work well on all RS232 equipment. It is also true what the RS232 signals are inverted. But this always taken care of by the RS232 to TTL level converter IC. That is why the IO on say a MAX232 chip is drawn as inverters
(http://www.lookrs232.com/img/max232a.gif)


Title: Re: 5V usb to serial converter, reliable?
Post by: DarkClover on September 15, 2010, 01:24:07 13:24
Well, almost every USB to RS232 converter you can buy in store just has
TTL level on the RS232 interface.
To get the "real" levels you need some step-up electronic and op-amps.

A while ago i did that for a project. There was a step-up converter which created
~10V out of 5V USB voltage for driving the op-amps and they made the general
level conversion. It's quite complicated to do such upconversions because you don't
have enough current for every component so be sure to use low power design.

It worked well but if you just want to drive some microcontroller you only need
a RS232 level converter IC (e.g MAX232) and your cheap USB to RS232 adapter.


Title: Re: 5V usb to serial converter, reliable?
Post by: pickit2 on September 15, 2010, 01:45:46 13:45
Also a lot of laptops that have a rs232 output port, the output is at TTL or 9V level never at original true - & + 12V Level.