Skip to content

Changing led strip color based on the music you listen to, connecting to esp32 via Bluetooth

Notifications You must be signed in to change notification settings

benjamin32561/Led-Strip-Based-On-Music

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Music Reactive LED Strip

Introduction

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

Features

  • 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.

Hardware Requirements

  • ESP microcontroller (model specifics)
  • LED strip compatible with ESP
  • Bluetooth module (if not integrated into the ESP)
  • Power supply for LED strip and ESP

Software Requirements

  • C/C++ programming environment
  • Libraries for FFT analysis
  • ESP Bluetooth libraries

Installation

  1. Set up your C/C++ development environment.
  2. Clone the repository: git clone [repository URL].
  3. Install the necessary libraries mentioned in the Software Requirements section.
  4. Assemble the hardware components as per the schematic provided in the docs folder.
  5. Flash the ESP microcontroller with the provided code.

Usage

  1. Pair your audio device with the ESP module via Bluetooth.
  2. Play music, and the LED strip will react to the bass volume in real-time.
  3. Customize the sensitivity and patterns through the code if required.

Contributing

Contributions to the Music Reactive LED Strip project are welcome. Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch for your feature (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a pull request.

About

Changing led strip color based on the music you listen to, connecting to esp32 via Bluetooth

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published