Electronic – DB9 male or female Connector in Board

db9rs232

In my design I am using RS232 with DB9 connector in my PCB. idea is to log the data in PC and for programming via serial. Which connector I need to use in my board , it is male DB9 or female DB9.
enter image description here

Q1) What connector I need to use in my board male or female
Q2) If I use male connector in my board then Pin TO1 will need to connect to pin 2 or pin 3.

Best Answer

Use Db9 female connector in your board, since PC have DB9 male connector , or if your PC dont have DB9 then you may need to used RS232 to USB converter cable, which has male DB9 port.