Brake controllers have 4 wires: red, black, white, and blue. The red wire connects to the brake light switch, the black is for ground, the white connects to the negative battery terminal, and the blue wire activates the trailer brakes.