An open API service indexing awesome lists of open source software.

https://github.com/ticklemycode/electrical-wiring


https://github.com/ticklemycode/electrical-wiring

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Bathroom Electrical Wiring Diagram - Linear Feed-Through Design

[![Code Compliant](https://img.shields.io/badge/NEC-Compliant-green.svg)](https://www.nfpa.org/codes-and-standards/all-codes-and-standards/list-of-codes-and-standards/detail?code=70)
[![Safety](https://img.shields.io/badge/Safety-GFCI_Protected-blue.svg)](#safety-considerations)
[![Design](https://img.shields.io/badge/Design-Linear_Feed_Through-orange.svg)](#design-overview)

## ๐Ÿ  Project Overview

This project documents a **complete bathroom electrical wiring system** using a **linear feed-through design** that provides:

- โšก **GFCI Protection** for the entire bathroom circuit
- ๐Ÿ’ก **Main Light** with 3-way switch control (2 locations)
- ๐Ÿชฉ **Vanity Light** with 3-way switch control (2 locations)
- ๐ŸŒ€ **Exhaust Fan** with single-pole switch control
- ๐Ÿ”Œ **GFCI Outlet** for bathroom electrical needs

## ๐ŸŽฏ System Features

### **Linear Power Flow**
Power flows efficiently through the physical box layout:
```
Box 1 (GFCI) โ†’ Box 2 (Vanity SW) โ†’ Box 4 (Main SW) โ†’ Box 7 (Control Center)
```

### **Smart Control Layout**
- **Box 2**: Vanity Light Switch 1 (3-way)
- **Box 4**: Main Light Switch 1 (3-way)
- **Box 7**: Control Center with all secondary switches:
- Main Light Switch 2 (3-way)
- Vanity Light Switch 2 (3-way)
- Fan Switch (single-pole)

### **Code-Compliant Design**
โœ… All white wires used only as neutrals
โœ… Proper GFCI protection throughout
โœ… Standard 14 AWG wire for 15A circuit
โœ… Equipment grounding for all devices
โœ… NEC-compliant box fill calculations

## ๐Ÿ“ Project Structure

```
bathroom-wire-diagram/
โ”œโ”€โ”€ README.md # Project overview (this file)
โ”œโ”€โ”€ diagrams/
โ”‚ โ””โ”€โ”€ linear-design-mermaid.md # Complete wiring diagram with Mermaid
โ”œโ”€โ”€ docs/
โ”‚ โ””โ”€โ”€ switch-wiring-guide.md # Box-by-box wiring instructions
โ”œโ”€โ”€ LINEAR-INSTALLATION-MATERIALS.md # Materials list & installation guide
โ”œโ”€โ”€ POWER-FLOW-DIAGRAMS.md # Visual power flow when switches are ON
โ”œโ”€โ”€ 3WAY-SWITCH-VERIFICATION.md # 3-way switch operation verification
โ”œโ”€โ”€ COMPLETE-SYSTEM-VERIFICATION.md # Comprehensive electrical flow analysis
โ””โ”€โ”€ PROJECT-COMPLETION.md # Final project summary
```

## ๐Ÿš€ Quick Start

### **1. View the Complete Wiring Diagram**
๐Ÿ“„ **[Linear Design Mermaid Diagram](diagrams/linear-design-mermaid.md)**
- Visual flowchart showing all connections
- Color-coded cable specifications
- Wire-by-wire breakdown
- System operation explanation

### **2. Get Materials & Installation Guide**
๐Ÿ“„ **[Linear Installation Materials](LINEAR-INSTALLATION-MATERIALS.md)**
- Complete materials list with quantities
- Cable run specifications table
- Step-by-step installation sequence
- Box fill calculations

### **3. Wire the Switches**
๐Ÿ“„ **[Switch Wiring Guide](docs/switch-wiring-guide.md)**
- Box-by-box connection instructions
- Wire nut groupings for each box
- Device terminal connections
- Testing procedures

### **4. See Power Flow Visualizations**
๐Ÿ“„ **[Power Flow Diagrams](POWER-FLOW-DIAGRAMS.md)**
- Visual diagrams showing power flow when lights are ON
- Step-by-step power paths through all boxes
- 3-way switch logic with visual truth tables
- Complete system power flow when all devices are active

### **5. Verify 3-Way Switch Operation**
๐Ÿ“„ **[3-Way Switch Verification](3WAY-SWITCH-VERIFICATION.md)**
- Circuit analysis for vanity and main light controls
- Visual diagrams showing traveler wire paths
- Truth tables for all switch positions
- Verification that switches work as expected

### **6. Complete System Analysis**
๐Ÿ“„ **[Complete System Verification](COMPLETE-SYSTEM-VERIFICATION.md)**
- Comprehensive hot and neutral flow analysis
- Every switch position combination tested
- Complete electrical path verification
- System-wide state matrix with all operating conditions

## ๐Ÿ”ง System Specifications

| Component | Specification | Notes |
|-----------|---------------|-------|
| **Circuit** | 15A, 120V | Standard bathroom circuit |
| **Wire Gauge** | 14 AWG | NM-B cable throughout |
| **GFCI Protection** | Box 1 LINE/LOAD | Protects entire circuit |
| **Total Cables** | 8 cables | 6 ร— 14-2 + 2 ร— 14-3 |
| **Total Boxes** | 7 boxes | 4 switches + 1 outlet + 2 fixtures |
| **Switch Types** | 4 ร— 3-way, 1 ร— single-pole | All 15A rated |

## ๐ŸŽฎ How It Works

### **Power Distribution**
1. **Panel** โ†’ **Box 1**: Main 15A feed to GFCI outlet
2. **Box 1** โ†’ **Box 2**: Protected power continues to vanity switch
3. **Box 2** โ†’ **Box 4**: Power continues to main light switch
4. **Box 4** โ†’ **Box 7**: Final power feed to control center

### **3-Way Switch Operation**

#### **Vanity Light Control**
- **Switch 1** (Box 2): Controls vanity light via travelers to Box 7
- **Switch 2** (Box 7): Receives travelers, sends switched hot back to vanity

#### **Main Light Control**
- **Switch 1** (Box 4): Controls main light via travelers to Box 7
- **Switch 2** (Box 7): Receives travelers, sends switched hot back to main light

### **Fan Control**
- **Single Switch** (Box 7): Direct control of exhaust fan

## ๐Ÿ›ก๏ธ Safety Considerations

โš ๏ธ **ELECTRICAL WORK WARNING**: This project involves electrical wiring that can cause serious injury or death if performed incorrectly.

### **Before Starting**
- โœ‹ **Hire a Licensed Electrician** if you're not qualified
- ๐Ÿ”Œ **Turn OFF power** at the breaker before any work
- ๐Ÿงช **Test circuits** with a non-contact voltage tester
- ๐Ÿ“– **Check local codes** - requirements may vary by location

### **GFCI Requirements**
- ๐Ÿ›ก๏ธ **GFCI protection required** for all bathroom outlets (NEC 210.8)
- ๐Ÿ”„ **Monthly testing recommended** using TEST/RESET buttons
- โšก **Replace immediately** if GFCI fails to trip or reset

### **Bathroom-Specific Codes**
- ๐Ÿ“ **Box placement**: Follow height and clearance requirements
- ๐Ÿ’ง **Moisture protection**: Use appropriate boxes and covers
- ๐ŸŒก๏ธ **Ventilation**: Exhaust fan required in bathrooms without windows

## ๐ŸŽจ Design Advantages

### **Why Linear Feed-Through?**
โœ… **Follows Natural Flow**: Power moves in logical box order
โœ… **Simple GFCI Wiring**: Only 2 cables at GFCI (LINE/LOAD)
โœ… **Standard Practice**: Most common residential approach
โœ… **Easy Troubleshooting**: Clear power path to follow
โœ… **Efficient Installation**: Install boxes in sequence

### **User Benefits**
โœ… **Convenient Control**: All primary switches in Box 7
โœ… **Full 3-Way Function**: Control lights from 2 locations each
โœ… **Logical Layout**: Switch locations match room usage
โœ… **Future Maintenance**: Easy to trace and service

## ๐Ÿ“ž Support & Resources

### **Documentation**
- ๐Ÿ”— **[National Electrical Code (NEC)](https://www.nfpa.org/codes-and-standards/all-codes-and-standards/list-of-codes-and-standards/detail?code=70)** - Official electrical code
- ๐Ÿ  **Local Building Department** - Permit and inspection requirements
- ๐Ÿ‘ท **Licensed Electrician** - Professional installation and consultation

### **Tools Required**
- Wire strippers and cutters
- Non-contact voltage tester
- Drill with bits for box installation
- Fish tape or wire pulling system
- Screwdrivers (flathead and Phillips)
- Wire nuts and electrical tape

## โš–๏ธ Legal Disclaimer

This documentation is for educational and planning purposes only. Electrical work must comply with local codes and regulations. Installation should be performed by qualified individuals or licensed electricians. The authors assume no responsibility for improper installation or code violations.

---

**๐Ÿ“ง Questions?** Review the detailed documentation in the `diagrams/` and `docs/` folders, or consult with a licensed electrician for your specific installation requirements.