Description
What it is
Backlit button with red LED at 12V, dimensions 12×12 mm.
Features
- LED Color: Red
- Operating Voltage: 12V
- Dimensions: 12×12 mm
What it is for
Ideal for Arduino and electronics projects where a clear visual signal is required. It can be used to indicate the status of a system, for intuitive user interfaces, or to create home alarms.
Tutorial: How to Use Red Backlit Button 12V
The red backlit button at 12V is ideal for lighting and user interaction projects where a clear visual indication is essential. This component is perfect for both beginners and more experienced makers.
What you need
- Arduino Uno
- Jumper wire
- 12V power supply
Steps
- Connect the inner ring of the button (backlit side) to the GND pin of the 12V power supply
- Connect the central connector of the button (main contact) to a digital pin of Arduino to read the button state
- Connect the outer ring of the button (lighting side) to the VCC pin of the 12V power supply
- Check that the red LED lights up when you press the button
- Write an Arduino sketch to read the state of the button and control the backlighting
Example code
void setup() {
pinMode(2, INPUT_PULLUP);
}
void loop() {
if (digitalRead(2) == LOW) {
Serial.println("Pulsante premuto");
}
}
Mini project
Create a home security system that sends an email notification when the button is pressed
Common mistakes
- Incorrectly connecting the backlighting to the VCC pin results in no lighting
- Using voltage higher than 12V risks damaging the component
- Ignore the use of a pull-up/pull-down resistor for the digital pin
Recommended accessories
- Arduino Uno
- 12V Power Supply
- Wi-Fi Shield for Arduino
- Ethernet Shield Module for Arduino
Frequently asked questions
Can the button be used at 5V?
Check the datasheet, but it often requires a minimum voltage of 12V
How can I control the color of the lighting?
This component does not support color change. Only red.
What is the maximum light intensity?
Check the datasheet for precise values.







Reviews
There are no reviews yet.