Use this wiring when the source is at the fixture and you want to control the feed to both components with the same switch. Three-wire cable runs from the fan to the switch box and the source neutral is spliced to the white wire and to the fan neutral.
This diagram illustrates a switch and receptacle in the same outlet box located in the middle of the circuit. This wiring allows the electricity to continue from the receptacle, on to any other outlets in the circuit and it provides a switch to control a light fixture or other load, such as another receptacle or a fan.
This diagram shows the wiring for multiple receptacles in an arrangement that connects each individually to the source. All wires are spliced to a pigtail which is connected to each device. This wiring allows for voltage at each device independent of the other outlets in the circuit.
In this diagram, two receptacle outlets are wired in the same box with a separate 120 volt source feeding each. Three-wire cable runs into the box. The black and red wires are hot and each is connected to one of the receptacles. The white, neutral wire is splice to each outlet so they share the return path. This is appropriate for standard duplex receptacles, but should not be used for GFCI receptacles. GFCI’s must have dedicated neutral connections to work properly.