The Adafruit LED Sequin - Ruby Red is a compact, luminous LED designed to add eye-catching visual indicators to various projects. With its vibrant red glow, it is particularly popular in wearable electronics and decorative applications. The LED Sequin is easy to sew onto fabric or attach to other materials, making it versatile for hobbyists and designers alike.
Pin Number | Name | Description |
---|---|---|
1 | + | Positive power supply input (Anode) |
2 | - | Ground connection (Cathode) |
// Define the pin connected to the LED Sequin
const int ledPin = 9; // Can be any digital pin
void setup() {
pinMode(ledPin, OUTPUT); // Set the LED pin as an output
}
void loop() {
digitalWrite(ledPin, HIGH); // Turn on the LED
delay(1000); // Wait for 1 second
digitalWrite(ledPin, LOW); // Turn off the LED
delay(1000); // Wait for 1 second
}
Q: Can I power the LED Sequin directly from an Arduino pin? A: Yes, but ensure you use a current-limiting resistor and do not exceed the maximum current rating of the pin (typically 20mA).
Q: How do I attach the LED Sequin to fabric? A: You can sew the LED Sequin onto fabric using conductive thread, making sure to connect the "+" and "-" pins to your power supply and ground, respectively.
Q: Is it possible to control the brightness of the LED Sequin?
A: Yes, you can control the brightness by using pulse-width modulation (PWM) on a digital pin of a microcontroller like an Arduino. Use the analogWrite()
function to adjust the duty cycle.