This is an updated version of the first arrangement.
Wiring a double switch for light and fan.
In this wiring the source is at the switch and 3 wire cable runs from there to the fan and light.
If the existing wiring has only 1 switch for control and the power comes to the switch first then you can only control power to the ceiling fan assembly via the switch and you have to control the fan and the light with the pull chain switches when the wall switch is on.
The source neutral and ground are spliced through to the fan location.
With double switch wiring a fan with a light is connected to a double wall switch that controls power to the fan and the light separately.
Https youtu be iqq3pyqllqq check more videos about switches.
A single wall switch controls the power to the fan and light together whereas a dual wall switch has two separate switches one for the fan and the other for the light.
Though it is not difficult to wire a double switch careful attention to safety is crucial to prevent injury.
For example you might want to turn on a bathroom light separately from the ceiling fan.
Because the electrical code as of the 2011 nec update requires a neutral wire in most new switch boxes a 3 wire cable runs between the light and switch.
If the existing wiring is such that the power comes in to the ceiling.
Connect the black fan cable together with the black light wire and the black switch wire and.
The wiring instructions for your new hunter fan differ slightly based on the type of wall switch and your fan s control system pull chain remote control etc.
The red and black are used for hot and the white neutral wire at the switch box allows for powering a timer remote control or other programmable switch.
Connect a light and a fan to a new switch.
The fan has power when the switch is on while the fan speed and the light if the fan has one are controlled by pull chains on the fan itself or by a remote control device.
They also usually have an isolation switch to allow for safe cleaning of the fan.
Locate the switch cable which must be glued through the top or side of the box that serves the fan or the light.
Using wire strippers peel an inch of insulation from the end of the black and white wires.
Some bathroom fans also run by timer meaning they are triggered by the light switch and then work for a predetermined amount of time after the light is switched off in order to clear the air in the room.
Learn how to install a double switch or combination two switches.
The source hot wire is spliced to the black fan wire to hardwire it directly to the circuit and to a pigtail connecting the switch.
This video with new full edited instruction for those who asked.
Wiring a fan and light to a single switch.