If it’s the exact same loud beeping and you don’t hear it directly from the detector you replaced. You’ll need to go into the attic if it has one of those malfunctioning detectors. It might not have anything to do with the wires if that one is battery operated.