The Music Reactive LED Strip is an innovative project that combines the power of C/C++ programming with hardware interfacing to create a dynamic LED lighting experience. Utilizing an ESP microcontroller, this project allows for an LED strip to be controlled via Bluetooth. The core functionality lies in its ability to receive audio data through the A2DP protocol and manipulate the LED brightness in response to the bass volume. This effect is achieved by analyzing the audio data using Fast Fourier Transform (FFT) algorithms, creating a synchronized light show that matches the rhythm and intensity of the music. Video
- Bluetooth connectivity using A2DP protocol.
- Real-time audio data analysis with FFT.
- Dynamic LED brightness control based on bass volume.
- Easy to set up and customizable.
- ESP microcontroller (model specifics)
- LED strip compatible with ESP
- Bluetooth module (if not integrated into the ESP)
- Power supply for LED strip and ESP
- C/C++ programming environment
- Libraries for FFT analysis
- ESP Bluetooth libraries
- Set up your C/C++ development environment.
- Clone the repository:
git clone [repository URL]
. - Install the necessary libraries mentioned in the Software Requirements section.
- Assemble the hardware components as per the schematic provided in the
docs
folder. - Flash the ESP microcontroller with the provided code.
- Pair your audio device with the ESP module via Bluetooth.
- Play music, and the LED strip will react to the bass volume in real-time.
- Customize the sensitivity and patterns through the code if required.
Contributions to the Music Reactive LED Strip project are welcome. Please follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature (
git checkout -b feature/AmazingFeature
). - Commit your changes (
git commit -m 'Add some AmazingFeature'
). - Push to the branch (
git push origin feature/AmazingFeature
). - Open a pull request.