

A flush switch is a type of electrical switch designed to be mounted flush with the surface of a wall, providing a sleek and unobtrusive appearance. It is commonly used in residential, commercial, and industrial settings to control lighting, fans, or other electrical devices. The switch is activated by pressing its surface, making it a simple and user-friendly interface for electrical control.








Flush switches typically have two or more terminals for wiring. Below is a general description of the terminals:
| Terminal | Description |
|---|---|
| L (Line) | Connects to the live (hot) wire from the power source. |
| L1 | Connects to the load (e.g., light bulb, fan) to complete the circuit. |
| L2 (optional) | Used in multi-way switches for controlling a single load from multiple points. |
Note: The exact terminal configuration may vary depending on the type of flush switch (e.g., single-pole or multi-way).
Flush switches can also be used as input devices for microcontrollers like the Arduino UNO. Below is an example of how to connect and use a flush switch with an Arduino:
// Define the pin connected to the flush switch
const int switchPin = 2;
// Variable to store the switch state
int switchState = 0;
void setup() {
// Set the switch pin as input with an internal pull-up resistor
pinMode(switchPin, INPUT_PULLUP);
// Initialize serial communication for debugging
Serial.begin(9600);
}
void loop() {
// Read the state of the switch (LOW when pressed, HIGH when released)
switchState = digitalRead(switchPin);
// Print the switch state to the Serial Monitor
if (switchState == LOW) {
Serial.println("Switch Pressed");
} else {
Serial.println("Switch Released");
}
// Add a small delay to debounce the switch
delay(50);
}
Note: The internal pull-up resistor in the Arduino is used to simplify the circuit. If you prefer, you can use an external pull-up resistor instead.
Switch Does Not Work After Installation:
Flickering Lights:
Overheating of the Switch:
Switch Feels Loose in the Wall:
By following this documentation, users can confidently install, use, and troubleshoot a flush switch in various applications.