Go Down

Topic: USB - Serial - TTL - RS232 (Read 631 times) previous topic - next topic

Marciokoko

Id like to understand what my usb-ttl converter actually does. 

RS232 is a serial communications standard which runs from +3 to +15V and -3 to -15V.

Whereas the ttl standard runs from +0.8V to 2 & 5V?

Im sure there are other differences but I guess thats the main one?  At least the main difference which requires the use of the usb/ttl converter?

AWOL

No, there's the whole USB protocol and negotiation stuff, as well as the low voltage differential signalling to high voltage level conversion.

Grumpy_Mike

RS232 signals TX and RX are upside down compared to TTL. That is normally TTL is high and RS232 is -12V

CrossRoads

RS232 is full duplex normally, both sides can transmit at the same time, with large signal swing as noted above. Data rate is very slow, 1 Mbit would be fast for RS232.
USB 2 (USB 1.1 not used much) is simplex, one side transmits over the D+/D- wires (like 2-wire RS485 does), the other side can then transmit back over the same 2 wires. USB can also be very high speed, 12 Mbits to 400 Mbits, with small signal swing, 0.4V.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

DrAzzy

Also - RS232 voltage levels are uncommon (not rare) on Arduino projects. Almost everything is TTL. Usually people use a MAX232 or similar to interface between TTL and RS232 voltage levels.

Inaccurate marking (mainly describing TTL serial as RS232) is very common.

TTL and RS232 are otherwise the same protocol.

USB is totally different protocol, uses differential signaling, and has a protocol for negotiating with the host and telling it that it's a serial adapter (or a mouse, or a flash drive, or whathaveyou), and it's much, much faster.
ATTinyCore for x4/x5/x61/x7/x8/x41/1634/828/x313 megaTinyCore for the megaavr ATtinies - Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts, mosfets, awesome prototyping board in my store http://tindie.com/stores/DrAzzy

Go Up