An interface device comprising: a housing; a first connector configured to be exposed to outside of the housing and include a first number of pins; a second connector configured to be exposed to the outside of the housing and to include a second number of pins; and a circuit configured to provide an electrical connection between the first number of pins and the second number of pins, wherein the first number is different from the second number, and wherein, when the first connector is connected with a first external electronic device and the second connector is connected with a second external electronic device, the circuit is further configured to: receive, from the first external electronic device, analog identification, ID, information of the first external electronic device through at least one pin among the first number of pins, receive, from the first external electronic device, at least one of data information or power information through at least one other pin among the first number of pins, generate digital ID information based on the analog ID information by converting the received analog ID information to digital ID information, transmit, to the second external electronic device, the digital ID information through at least one pin among the second number of pins, and transmit, to the second external electronic device, the at least one of data information or power information through at least one other pin among the second number of pins. a housing; a first connector configured to be exposed to outside of the housing and include a first number of pins; a second connector configured to be exposed to the outside of the housing and to include a second number of pins; and a circuit configured to provide an electrical connection between the first number of pins and the second number of pins, wherein the first number is different from the second number, and wherein, when the first connector is connected with a first external electronic device and the second connector is connected with a second external electronic device, the circuit is further configured to: receive, from the first external electronic device, analog identification, ID, information of the first external electronic device through at least one pin among the first number of pins, receive, from the first external electronic device, at least one of data information or power information through at least one other pin among the first number of pins, generate digital ID information based on the analog ID information by converting the received analog ID information to digital ID information, transmit, to the second external electronic device, the digital ID information through at least one pin among the second number of pins, and transmit, to the second external electronic device, the at least one of data information or power information through at least one other pin among the second number of pins. receive, from the first external electronic device, analog identification, ID, information of the first external electronic device through at least one pin among the first number of pins, receive, from the first external electronic device, at least one of data information or power information through at least one other pin among the first number of pins, generate digital ID information based on the analog ID information by converting the received analog ID information to digital ID information, transmit, to the second external electronic device, the digital ID information through at least one pin among the second number of pins, and transmit, to the second external electronic device, the at least one of data information or power information through at least one other pin among the second number of pins.