Detection device and operation method thereof
An operation method of a detection device and a detection device are provided. The detection device includes a first interface and a second interface. The operation method includes the following. A voltage signal is received through the first interface. A voltage value of the voltage signal is determined. One of a plurality of functional modules is selected according to the voltage value, so as to transmit a signal through the second interface.
1 . An operation method of a detection device, wherein the detection device comprises a first interface, a second interface, a comparator, and a switch, wherein the first interface is a power transmission interface, and the second interface is a communication interface, and the operation method comprises:
receiving different signals with different voltage values through the first interface;
receiving the different voltage values and outputting a switch signal according to the different voltage values through the comparator;
receiving the switch signal and selecting one of a plurality of functional modules according to one of the plurality of voltage values through the switch; and
transmitting a signal corresponding to the selected functional module through the second interface.
2 . The operation method according to claim 1 , wherein the one of the plurality of functional modules is a network communication module, the signal comprises network data, and the network data comprises image data.
3 . The operation method according to claim 1 , wherein the one of the plurality of functional modules is a detection module, and the signal comprises status data of the detection device.
4 . The operation method according to claim 1 , wherein the one of the plurality of functional modules is a programming module, and the signal comprises firmware data.
5 . The operation method according to claim 1 , wherein the one of the plurality of functional modules is a debug module, and the signal comprises debug data of the detection device.
6 . The operation method according to claim 1 , wherein the first interface receives the voltage signal through a first connection line, and the second interface transmits the signal through a second connection line.
7 . The operation method according to claim 1 , wherein the step of selecting one of the functional modules according to the voltage value, so as to transmit the signal through the second interface comprises:
controlling, through a logic determination device, a switch to turn on a signal transmission channel between one of the functional modules and the second interface according to the voltage value.
8 . The operation method according to claim 1 , wherein the step of selecting the one of the plurality of functional modules comprises:
controlling, through a controller, the switch according to the one of the plurality of voltage values, so as to conduct the second interface to the one of the plurality of functional modules through the switch.
9 . The operation method according to claim 1 , wherein the step of transmitting the signal corresponding to the selected functional module comprises:
when a first voltage is received by the first interface, transmitting a first signal corresponding to a first functional module through the second interface; and
when a second voltage is received by the first interface, transmitting a second signal corresponding to a second functional module through the second interface,
wherein the first voltage and the second voltage are different, and the first functional module and the second functional module are different.
10 . A detection device, comprising:
a first interface, wherein the first interface is a power transmission interface configured to receive different signals with different voltage values;
a second interface, configured to transmit the different signals;
a comparator, configured to receive the different voltage values and output a switch signal according to the different voltage values;
a switch, configured to receive the switch signal and to select one of a plurality of functional modules according to one of the plurality of voltage values,
wherein the second interface is a communication interface configured to transmit a signal corresponding to the selected functional module.
11 . The detection device according to claim 10 , wherein the one of the plurality of functional modules is a network communication module, and the signal comprises network data.
12 . The detection device according to claim 11 , wherein the network data comprises image data.
13 . The detection device according to claim 10 , wherein the one of the plurality of functional modules is a detection module, and the signal comprises status data of the detection device.
14 . The detection device according to claim 10 , wherein the one of the plurality of functional modules is a programming module, and the signal comprises firmware data.
15 . The detection device according to claim 10 , wherein the one of the plurality of functional modules is a debug module, and the signal comprises debug data of the detection device.
16 . The detection device according to claim 10 , wherein the first interface receives the voltage signal through a first connection line, and the second interface transmits the signal through a second connection line.
17 . The detection device according to claim 16 , wherein the first connection line and the second connection line are integrated as one single transmission line.
18 . The detection device according to claim 10 , further comprising:
a logic determination device, coupled to the comparator and the switch and configured to control the switch to turn on a signal transmission channel between one of the functional modules and the second interface according to the voltage value.
19 . The detection device according to claim 10 , further comprising:
a controller, coupled to the comparator and the switch and configured to control the switch according to the one of the plurality of voltage values, so as to conduct the second interface to the one of the plurality of functional modules through the switch.
20 . The detection device according to claim 10 , wherein when a first voltage is received by the first interface, the second interface transmit a first signal corresponding to a first functional module,
wherein when a second voltage is received by the first interface, the second interface transmit a second signal corresponding to a second functional module,
wherein the first voltage and the second voltage are different, and the first functional module and the second functional module are different.