What fault codes does a faulty O2 sensor trigger?

A faulty O2 sensor typically triggers codes P0130 to P0167. The specific code indicates which sensor has failed - P0130 to P0138 relate to Bank 1 sensors and P0150 to P0158 relate to Bank 2 sensors. An OBD2 scanner will identify the exact sensor location.