Not being a dick here...I'd suggest you check the heater circuit. It doesn't make the reading work, it only helps preheat the sensor to work better quicker. Having a code means you need to check it. And I am not 100%, think that the heater is a seperate power source than the sensor voltage.
Brand new battery eh? I asked about the connections and cables. Pull your cables off, look at the cables themselves. A clean battery and nastly cables is often found to cause plenty of issues. It's pretty common to. We assume our side posters don't corrode as much and yet.. I've seen some nasty green cables in the past.