Just reading about USART connection in AVR microcontrollers and i faced this question:
What is the digital logic used in USART(RXC, TXC and other internals) of the AVR microcontrollers?
I've found the answer to this question in the datasheet of the microcontroller(It says that the logic is TTL), But i can't find out why we use other logic convertors like MAX232 to change the serial communication protocol to RS232C. Is that needed for long-distance serial communications?
Finally, do we need to use another MAX232 to convert the previous converted protocol to TTL again? If yes, then the following setup for the ATmega16 USART connection with a virtual terminal would be true.