Ceiling fan wiring may have a somewhat different color scheme than regular domestic circuit lines. It's critical to comprehend what each wire accomplishes and how they interact with one another.
The most typical way to wire a ceiling fan is using four wires. An additional color wire, however, may be included. The following are the meanings of each wire color:
The black wire that connects to the switch is the hot wire.
The white wire serves as a neutral and completes the circuit.
The ground wire is copper or green wire, and it protects the fan from electrical surges.
There should be two switches on the wall if there is a blue and black cable coming from the domestic circuit.
The red cable that comes from the ceiling is connected to the wall switch.