To wire two ceiling light fixtures to one switch when they are on the same circuit, you can use a basic wiring configuration called "parallel wiring." Here's a step-by-step guide:
Turn off the power: Before working with any electrical wiring, ensure that the power to the circuit is turned off at the breaker box. Use a voltage tester to confirm that there is no electrical current.
Plan the wiring route: Determine the route the wires will take from the switch to the first light fixture and then to the second light fixture. Plan the path to minimize visible wiring and ensure it adheres to electrical codes.
Install the switch box: Install a single-pole switch box where you want the switch to be located. Run a 2-wire cable (typically Romex) from the switch box to the first light fixture.
Connect the wires at the switch box: Inside the switch box, connect the black wire (hot wire) from the power source to one terminal screw on the switch. Connect the white wire (neutral wire) from the power source directly to the white wire of the cable going to the light fixtures using a wire nut. Finally, connect the black wire from the cable going to the light fixtures to the other terminal screw on the switch.
Install the light fixtures: At the first light fixture location, connect the black wire from the cable coming from the switch to the black wire on the light fixture. Connect the white wire from the cable to the white wire on the fixture. Ground the fixture according to local electrical codes.
Continue to the second light fixture: Run a 2-wire cable from the first light fixture to the second light fixture. Connect the black wire from the cable coming from the first fixture to the black wire on the second fixture. Connect the white wire from the cable to the white wire on the second fixture.
Complete the wiring connections: At the second light fixture, connect the white wire from the cable coming from the first fixture to the white wire on the second fixture. Ground the second fixture according to local electrical codes.
Mount the light fixtures: Securely mount the light fixtures to the ceiling according to the manufacturer's instructions.
Test the circuit: Once the wiring is complete, turn on the power at the breaker box and test the circuit by flipping the switch on and off to ensure both light fixtures respond correctly.
Remember, it is always recommended to consult a qualified electrician or follow local electrical codes and regulations when working with electrical wiring.