Switch Wiring
Part of Lighting
Wiring single, two-location, and dimmer switches for DC and AC lighting circuits.
Why This Matters
A switch is the most fundamental control element in any lighting system. Without switches, lights run until the battery dies or someone disconnects a wire. With properly placed switches, each light can be controlled independently, lights turn off automatically when spaces are vacated, and power is conserved with minimal effort.
Switch wiring errors are a primary cause of electrical accidents in improvised systems. A switch wired in the wrong position β on the neutral rather than the hot conductor β leaves the light fixture live even when βswitched off,β creating shock hazards during lamp changes and maintenance. A switch with exposed live contacts can shock anyone who touches the switch plate.
This article covers correct switch wiring for the most common configurations: single-pole switches, two-location (three-way) switching, and simple voltage-based dimming approaches. All principles apply to both DC (battery systems) and AC circuits.
Basic Switch Principles
A switch is a mechanical device that opens or closes a conductor. When open, current cannot flow and the load (lamp) is off. When closed, current flows and the lamp is on.
Critical rule: Always switch the hot (positive/live) conductor. Never switch the neutral (negative/return) conductor.
Why this matters: If you switch the neutral, the lamp is electrically isolated from the return path when βoff,β but the hot conductor still connects to the lamp. The lampβs socket, wiring, and bulb base remain at full voltage. Anyone changing a bulb while the switch is βoffβ is touching live parts. On DC systems, one terminal of the bulb is always positive. On AC, both poles alternate, but the switched-neutral arrangement is equally dangerous.
CORRECT:
(+) source βββ [SWITCH] βββ lamp βββ (-) return
WRONG:
(+) source βββ lamp βββ [SWITCH] βββ (-) return
In the correct arrangement, switching off disconnects the lamp from the energy source. The switch isolates the lamp completely.
Single-Pole Switch
The simplest switch: one switch controls one lamp (or lamp group) from one location.
Materials:
- A switch mechanism (salvaged from any wall outlet box, appliance, or electrical panel)
- Appropriate wire for the circuit current
- Insulating enclosure (plastic or ceramic switch box)
Wiring a DC circuit:
Battery (+) βββ to switch input terminal
Switch output terminal βββ to lamp positive terminal
Lamp negative terminal βββ back to battery (-)
All connections must be insulated β no bare conductors except at the actual terminal contact points.
Wiring an AC circuit:
Source hot (black) βββ to switch input
Switch output βββ to lamp hot terminal
Lamp neutral terminal βββ directly back to source neutral (white)
Ground (green/bare) βββ to switch metal housing if any, and to lamp housing
Testing: With the switch installed and power connected, use a voltmeter to confirm:
- Switch open: full voltage between switch input and switch output
- Switch closed: near-zero voltage drop across switch (small drop is normal from contact resistance)
- Switch either position: correct voltage at lamp terminals when switch is closed
Fabricating Simple Switches
If commercial switches are unavailable, functional switches can be fabricated:
Toggle knife switch: A piece of copper strip pivoting on a bolt. In one position, the copper strip bridges two contacts (ON). Pivot away and the bridge breaks (OFF). Enclose in a wooden or ceramic housing so only the toggle lever is accessible, not the contacts.
Rocker switch: A lever pivots on a central fulcrum. Pressing one end depresses a copper contact onto a fixed contact (ON). Pressing the other end lifts the copper strip away (OFF). Requires precise fabrication but is compact and finger-friendly.
Knife switch (open type): A flat copper blade pivots at one end and drops into a copper clip at the other. Traditional in early electrical labs. Functional but should only be used at low voltage and low current β the contacts are exposed. Acceptable for a 12V DC battery system in a dry location.
Current and voltage ratings: Every switch contact creates a small arc when opening under load. This arc erodes contacts over time. Rate your fabricated switches conservatively β a copper contact switch that handles 5A at 12V DC comfortably may fail after hundreds of operations at 10A.
Two-Location (Three-Way) Switching
Two-location switching allows one lamp to be controlled from two different switch positions β essential for corridors, stairways, and any space with two entry points.
The circuit requires two special switches, each with three terminals: one common terminal and two traveler terminals.
How it works: Each switch connects its common terminal to either Traveler A or Traveler B. The two travelers run between both switches. The lamp turns on whenever the two commons are connected via the same traveler path. Any change in either switchβs position changes the lamp state.
Wiring:
Hot βββ Common [SW1] ββ¬β Traveler A ββ¬β [SW2] Common βββ Lamp βββ Neutral
ββ Traveler B ββ
With SW1 on Traveler A and SW2 on Traveler A: current flows (lamp ON) With SW1 on Traveler A and SW2 on Traveler B: no path (lamp OFF) With SW1 on Traveler B and SW2 on Traveler A: no path (lamp OFF) With SW1 on Traveler B and SW2 on Traveler B: current flows (lamp ON)
Either switch position change toggles the lamp state.
Practical wiring notes:
- The two travelers run as a pair in the same cable between SW1 and SW2
- Hot enters SW1; neutral returns directly from the lamp, bypassing both switches
- Three-way switches are labeled or marked with the common terminal (usually a different color screw or a marking)
- In salvage, identify three-way switches by the three terminals β standard single-pole switches have only two
Fabricating three-way switches: Requires a rocker or slider that connects one common contact to one of two traveler contacts. More mechanically complex than a simple on-off switch but achievable with precise metalwork.
Dimming Methods
True dimmer switches use phase-cut electronics for AC or pulse-width modulation (PWM) for DC. These are effective but require electronic components. Simpler approaches exist for survival contexts.
PWM Dimming for DC LED Circuits
A PWM (Pulse Width Modulation) dimmer rapidly switches the LED on and off many times per second. Human vision perceives the average β fast switching at 50% on/50% off appears as 50% brightness. LEDs respond to PWM without flicker down to very low frequencies because they have no thermal inertia.
A simple 555-timer astable circuit with a variable resistor produces PWM at adjustable duty cycles. At 1kHz switching frequency, no flicker is perceptible. The LED current during βonβ periods is full rated current; average current is duty-cycle Γ rated current.
Advantage: The LED runs at its rated current (which is efficient) rather than at reduced voltage (which is inefficient and changes color). PWM dimming does not affect LED color or lifespan negatively.
Resistance Dimming (Simple but Wasteful)
Adding a variable resistor (rheostat) in series with the LED reduces current and dims the LED. This is electrically wasteful β the power not reaching the LED is dissipated as heat in the rheostat. Acceptable as a simple solution for low-power LED circuits.
Wire-wound rheostat: Wind resistance wire (nichrome or iron) on a ceramic tube. A sliding contact taps off varying lengths of resistance wire. Effective but generates significant heat at high power levels.
Two-Level Switching (Practical Pre-Electronic Approach)
Install two separate circuits with different wattage lamps or LED counts:
- Low circuit: Small LED array, minimal power, suitable for early morning/late evening
- High circuit: Full lamp bank for work activities
- Each circuit has its own switch
- Both can be on simultaneously for maximum brightness
This achieves three levels (low, high, both) with only standard switches. Requires slightly more wiring but no electronic components.
Switch Boxes and Housing
Every switch must be enclosed. Exposed switch contacts are a shock and fire hazard.
Requirements for a switch enclosure:
- Non-conductive material (plastic, ceramic, dry hardwood) OR insulated internal components with metal housing properly grounded
- Sufficient size to keep wires from touching each other or the housing without intentional connection
- Secure mounting so the switch does not move when operated
- Cover plate that prevents accidental contact with internal wiring
Salvaged electrical boxes: Steel or plastic outlet/switch boxes from building wiring are ideal. They have knock-outs for wire entry, mounting flanges for wall installation, and screw holes for cover plates. Collect and reuse every one.
Improvised box: A shallow wooden box with a lid is adequate for DC systems at low voltage. Coat interior with shellac or varnish for moisture resistance. Ensure the toggle or lever passes through the lid via a hole that does not allow access to internal terminals.
Common Wiring Errors and How to Avoid Them
Error β Switch on neutral: Test before use. With switch open, check that the lamp is truly de-energized (no voltage from any lamp terminal to ground). If the lamp still shows voltage with the switch off, the switch is on the neutral conductor. Correct by swapping which conductor passes through the switch.
Error β Loose terminal connections: A loose screw terminal creates a high-resistance joint that arcs and overheats under load. After tightening connections, tug gently on each wire β it should not move. Retighten if it does.
Error β Wrong wire gauge at switch: The switch and its connecting wires must be rated for the circuit current. A 20A circuit fed by 12-gauge wire cannot be interrupted by a switch rated for 10A or by 18-gauge wire feeding the switch. The switch and entire wire run from power source to load must match the circuitβs fuse rating.
Error β No box fill calculation: Do not cram too many wires into a switch box. More wires = more heat = risk of insulation damage from contact. Standard electrical code allows about 2.5 cubic inches per 14-gauge wire, 3 cubic inches per 12-gauge. When in doubt, use a larger box or split into two boxes.