no resistor or diode. rx and tx tied together for data, and ground is ground.

normal usb cable. (if you use a charging cable, you'll know, there will be no data...)