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 ground fault circuit interrupter wiring diagram of the same device leaves the switch out of the protected circuit. With this arrangement the receptacle is protected but the switch remains outside the circuit. This arrangement can be used to control a light or other device where the extra protection of a gfci is not necessary.
This wiring diagram illustrates the connections for dual controls, a speed controller for the fan and a dimmer for the lights. The source is at the controllers and the input of each is spliced to the black source wire with a pigtail. From the controllers, 3-wire cable runs to the ceiling outlet box.
To wire an exhaust fan to a wall switch, use this diagram. These fans usually come with a small electrical connection box welded to the side of the housing. There will be a cover on the connection box that fastens with a small screw. Open it, pop the plug out of one of the wire holes and thread a wire clamp into it.