The invention provides a two-way interface circuit. The two-way interface circuit comprises an input interface, an input enable interface, an input
receiver, an output interface, an output driver and an output
overcurrent protector. The two-way interface circuit is capable of achieving two-way
signal transmission by use of a single
signal wire; the two-way interface circuit has an
overcurrent protection function, and is capable of automatically detecting the current in the circuit and automatically opening the circuit for protection once the
overcurrent phenomenon is found. After the fault is eliminated, the interface circuit automatically returns to work normally. In addition, the two-way interface circuit is capable of expanding the IO level range of an internal
microprocessor of an industrial camera, so that the input / output level range can be 30V. The
signal transmission time delay of the interface circuit is less than 5us, and is far less than the time
delay within the range of 30 to 50us of an interface circuit formed by a photoelectric coupler. When the interface circuit is applied to the industrial camera, the control accuracy on relevant parts such as the camera and a
flashlight can be remarkably improved, and therefore, the image pick-up and the gating of an external
flashlight can be synchronized in a relatively good way.