The invention discloses a wiring box; the wiring box is connected with multiple serially connected photoelectric
cell units, and communicates with
control equipment. The wiring box comprises multiple diodes, two interfaces, a switch element and a communication module; the multiple diodes are connected with the photoelectric
cell units in parallel one by one, and connected with each other in series to form a
diode string; the two interfaces are respectively connected with the two ends of the
diode string and the photoelectric
cell units, and used for outputting
direct current from the photoelectric cell group; the switch element is connected between the
diode string and the interfaces; the communication module is connected with the switch element, and used for receiving a
control signal from the
control equipment to control the closing or opening of the switch element, so as to control whether the interface outputs the
direct current or not. The wiring box controls the closing or opening of the switch element by the
control signal of the
control equipment, so as to control whether to output the
direct current or not. The management of the wiring box is convenient and the safety is ensured.