Quick-WLED, developed by Napkin to Billboard, is a versatile library designed for controlling addressable LED strips and arrays using a variety of microcontrollers. It simplifies the process of creating dynamic lighting effects and animations, enabling users to manage color, brightness, and patterns with ease. Whether you're building a decorative lighting project, an interactive display, or a custom lighting system, Quick-WLED provides the tools to bring your ideas to life.
Quick-WLED is a software library, but it is designed to work with specific hardware components. Below are the key technical details and pin configurations for typical setups:
The following table outlines the typical pin connections for using Quick-WLED with an ESP32 or Arduino UNO:
Pin Name | Description | Example Pin (ESP32) | Example Pin (Arduino UNO) |
---|---|---|---|
Data Pin | Sends data to the LED strip | GPIO 5 | Digital Pin 6 |
Ground (GND) | Common ground for the circuit | GND | GND |
Power (VCC) | Supplies power to the LED strip | 5V | 5V |
Note: Always check the datasheet of your specific LED strip for exact wiring requirements.
Connect the LED Strip:
Data Pin
of the LED strip to the designated GPIO pin on your microcontroller.GND
pin of the LED strip to the microcontroller's ground.VCC
pin of the LED strip to a 5V power source.Install the Quick-WLED Library:
Sketch > Include Library > Manage Libraries
.Write Your Code:
#include <QuickWLED.h> // Include the Quick-WLED library
#define DATA_PIN 6 // Define the data pin connected to the LED strip
#define NUM_LEDS 30 // Define the number of LEDs in the strip
QuickWLED strip(NUM_LEDS, DATA_PIN); // Initialize the Quick-WLED object
void setup() {
strip.begin(); // Initialize the LED strip
strip.show(); // Ensure all LEDs are off at the start
}
void loop() {
// Set the entire strip to red
strip.fill(strip.Color(255, 0, 0)); // RGB: Red, Green, Blue
strip.show(); // Update the LEDs with the new color
delay(1000); // Wait for 1 second
// Set the entire strip to green
strip.fill(strip.Color(0, 255, 0)); // RGB: Red, Green, Blue
strip.show(); // Update the LEDs with the new color
delay(1000); // Wait for 1 second
// Set the entire strip to blue
strip.fill(strip.Color(0, 0, 255)); // RGB: Red, Green, Blue
strip.show(); // Update the LEDs with the new color
delay(1000); // Wait for 1 second
}
LEDs Not Lighting Up:
Flickering or Unstable Colors:
Incorrect Colors Displayed:
Library Not Found:
Q: Can I use Quick-WLED with non-addressable LEDs?
A: No, Quick-WLED is specifically designed for addressable LED strips and arrays.
Q: How many LEDs can I control with Quick-WLED?
A: The number of LEDs depends on the microcontroller's memory and processing power. For example, an ESP32 can handle thousands of LEDs, while an Arduino UNO is limited to a few hundred.
Q: Can I create custom animations with Quick-WLED?
A: Yes, Quick-WLED provides functions for creating custom animations and effects. Refer to the library documentation for advanced features.
Q: Is Quick-WLED compatible with other libraries like FastLED?
A: Quick-WLED is a standalone library, but it can coexist with other libraries in your project if there are no conflicts.
By following this documentation, you can easily integrate Quick-WLED into your projects and create stunning lighting effects!