The picture shows standard connection between 8051 and DB-9 via MAX232. 14th pin is the translated output of the transmitted data by 8051, so this should be connected to the receiver pin of DB-9, which is pin 3, but here it goes to pin 2, which is called 'transmitted data', so should we read "transmitted data=receiver of DB-9" and "Received data=transmitter of DB-9"? Because, to me the DB-9
Label seems opposite as expected.
Max232 to DB9 connection confusion
8051max232
Related Topic
- Electronic – How to connect RS232 (“Opto-RS232”)
- Electronic – arduino – Voltage level too low for MAX232
- Electronic – arduino – Problems with homemade RS232-to-TTL converter board based on TI’s MAX232
- Changing the port values inside the loop (8051)
- Electronic – arduino – Max232 giving incorrect values at pins
- Electronic – Electronic switch with negative and positive voltage
- Electronic – Serial Communication 8051
Best Answer
There's 2 common pinouts for DB9 RS232,
Data Terminal equipment
(DTE) andData Circuit-terminating Equipment
(DCE).DTE is the male DB9 pinout typically found on PC's. DCE is the female DB9 pinout found on various RS232 devices such as modems.
The pinouts for DTE and DCE are such that the transmit pin on the one type matches the receive pin on the other type and vice versa... Connecting 2 DTE devices together (such as 2 PC's) requires what is known as a "null-modem" cable that crosses RXD and TXD.
Image Source
As you can see, your schematic above matches the pinout for the DB9 Female DCE. This allows the device to be connected to a PC (DTE) with a normal 1 to 1 male-female DB9 cable.