The invention relates to a programmable
infrared obstacle-avoided device of
robot, which comprises a multi-path
infrared emission unit, an
infrared receiving unit, a band-pass filter circuit, a control / judgment circuit and a central
processing element. Wherein, the band-pass filter comprises a band-pass filter circuit and a second online
programming interface formed by programmable analogue devices to receive the
signal transferred by every receiving unit and transfer the filtered
signal to the control / judgment circuit; the control / judgment circuit comprises a
control unit, a judgment unit and a first online
programming interface formed by programmable digital devices; the
control unit can distribute
fixed frequency band or code to each emission unit and receiving unit and operate the trigger circuit of each emission unit; the judgment unit can judge that if the
signal transferred from band-pass filter is the echo-wave signal of emission unit; and the circuits of
control unit and judgment unit can be modified by the first online
programming interface while the band-pass filter circuit can be modified by the second online programming interface. The invention is an optical-electrical obstacle-avoided device with online regulation, high integrated degree and strong anti-interference ability.