Position: Index > Simple Circuit >

Simple TTL to RS232 adapter

2015-01-09 16:32  
Declaration:We aim to transmit more information by carrying articles . We will delete it soon, if we are involved in the problems of article content ,copyright or other problems.

During spare time I made quick design of TTL to RS232 adapter, that works with my AVR development board. This adapter helps to connect TTL (Transistor-Transistor Logic) level signals to RS232 interface. TTL side is 9-pin female connector and RS232 sire is male connector.

Unit is powered from target board using power pins.

The RS232 TTL adapter circuit:

RS232_adapter_circuit.png

 

Put all the in plastic case and see what I have got:

RS232_adapter.jpg

 

The inside of the box:

RS232_adapter_board.jpg

 

RS232 adapter in action:

RS232_action.jpg

 

Let’s do some test with this RS232 adapter. First of all write some example routine for AVR microcontroller:

AVR_Uart_test.PNG

 

Compile this program with WinAVR ad burn to chip.

Then download Bray’s terminal or other terminal software open it and select required baud rate and other settings like parity bits and so on. Start terminal and reset the AVR microcontroller:

RS232_terminal.JPG

 

Get the results. Everything is working fine.

Download UART AVR project files here. Don’t forget that in this source AVRLIB library is used. So you need to download it in order to be able to build.


Reprinted Url Of This Article:
http://www.scienceprog.com/simple-ttl-to-rs232-adapter/