

The Illuminated Tact LED Switch 12.7mm with Supports is a compact tactile switch that combines a push-button mechanism with an integrated LED indicator. This dual-functionality design allows for both easy activation and visual feedback, making it ideal for user interfaces, control panels, and status indication systems. The 12.7mm size ensures compatibility with a wide range of applications, while the included supports provide secure and stable mounting on circuit boards.








| Parameter | Value |
|---|---|
| Switch Type | Tactile push-button |
| LED Type | Integrated single-color LED |
| LED Voltage | 2.0V to 3.2V (typical) |
| LED Current | 20mA (maximum) |
| Switch Voltage Rating | 12V DC |
| Switch Current Rating | 50mA |
| Operating Temperature | -25°C to +70°C |
| Dimensions | 12.7mm x 12.7mm |
| Mounting Type | PCB through-hole with supports |
The Illuminated Tact LED Switch has four pins: two for the tactile switch and two for the LED. The pin configuration is as follows:
| Pin Number | Function | Description |
|---|---|---|
| 1 | LED Anode (+) | Positive terminal for the integrated LED |
| 2 | LED Cathode (-) | Negative terminal for the integrated LED |
| 3 | Switch Terminal 1 | One terminal of the tactile switch |
| 4 | Switch Terminal 2 | The other terminal of the tactile switch |
Note: The LED terminals are polarized and must be connected correctly to function.
Mounting the Switch:
Connecting the LED:
Connecting the Switch:
Below is an example of how to connect the Illuminated Tact LED Switch to an Arduino UNO. The LED will light up when the switch is pressed, and the Arduino will detect the button press.
// Define pin connections
const int buttonPin = 2; // Pin connected to the switch terminal
const int ledPin = 13; // Built-in LED on Arduino for feedback
void setup() {
pinMode(buttonPin, INPUT_PULLUP); // Set button pin as input with pull-up resistor
pinMode(ledPin, OUTPUT); // Set LED pin as output
}
void loop() {
// Read the button state (LOW when pressed due to pull-up resistor)
int buttonState = digitalRead(buttonPin);
if (buttonState == LOW) {
digitalWrite(ledPin, HIGH); // Turn on the Arduino LED
} else {
digitalWrite(ledPin, LOW); // Turn off the Arduino LED
}
}
LED Does Not Light Up:
Switch Not Detected by Microcontroller:
Switch Feels Loose on PCB:
LED Flickers When Pressing the Switch:
Q: Can I use this switch with a 3.3V system?
A: Yes, the LED can operate at 3.3V, but ensure the current-limiting resistor is adjusted accordingly.
Q: Is the LED color customizable?
A: The LED color depends on the specific model purchased. Check the product details for available colors.
Q: Can this switch handle AC voltage?
A: No, this switch is designed for DC voltage only. Using it with AC may damage the component.
Q: How do I clean the switch if it gets dirty?
A: Use a soft, dry cloth or compressed air. Avoid using liquids or abrasive materials.
This concludes the documentation for the Illuminated Tact LED Switch 12.7mm with Supports.