TXD (P3.1)
TXD (P3.1)
Since Rs-232 is not compatible with microcontroller, we need a line driver (voltage converter)
to convert the RS-232’s signal to TTL voltage level that will be acceptable to the 8051’s TXD
and RXD pins.
The MAX 232 converts from RS 232 voltage levels to TTL voltage levels and vice
versa. One advantage of the MAX232 chip is that it uses a +15V power source which is same
as the source voltage for the 8051.
In other words with a single +15v power supply we can power both the 8051 and MAX
232 with no need for the dual power supplies that we common in older system.
The MAX 232 has two sets of line drivers for transferring & receiving data. The line
drivers used for TxD are called T1 & T2.
11 11 14 2 5
TXD (P3.1)
10 12 13 3
TXD (P3.0)
The line drivers for RxD are designated as R1 & R2. In Many application only one of each is
used. For example, T1 & R1 are used together for TxD and RxD of the 8051 and the second
set is left unused. Max 232 requires four capacitors ranging from 1 to 22µF.