Connect the red wire from the fan to the other terminal on the fan switch and the black wire to the light switch. In the ceiling are 2 sets wires one has 3 wires.
How To Wire A Switch With White Black And Ground Wires
Red black white and ground wires for ceiling fan. There is a green ground wire on the ceiling fan mount plate. Being the main hot wire the primary function of the black wire is to provide current to the fans motor. During installation of the ceiling fan this white wire should be attached to the other neutral wire of the house wiring. The wires are black blackwhite and white. Green wire is for the ground. Black white and bare.
If your ceiling fan does not have a light fixture then simply cap off the red wire and attach the fan motor to the black wire. The other has 4 wires. The white wire of the ceiling fan is the main neutral for both the light fixture and the fan motor. Place the ceiling fan motor on the floor and position the canopy on top of the motor feeding the. Red wire is sometimes included and acts as a conductor to carry power to the light kit. Feed the black white red and copper wires through the hole in the center of the mounting plate.
Blue wire is for the light if light is included with the fan. A red wire up in the ceiling fan junction box usually indicates that the wiring has been installed which provides separate switch for the light and a separate switch for the fan motor. Black white red and bare. Black wire is for the fan. If you had a red wire coming from your ceiling it is hooked up to your wall switch. White wire is neutral.
Now coming out of the fan are 3 wires and the green ground. Twist all the white wires in the box together and cap them. Make a pigtail of the ground wire using two 6 inch lengths of bare wire and connect one ground wire to the fan switch and one to the light switch.