Sound to Colour Light Effects – Arduino Compatible

  • Rajkumar Sharma
  • 878
    Views
  • moderate
  • Tested

This is a fun-loving project based on the Arduino platform. The project creates color light effects with sound level sense by an onboard condenser microphone. The project consists 20 x WS2812B RGB LEDs, an Atmega328 micro-controller, condenser microphone along with pre-amplifier, RCA connector, and trimmer potentiometer to direct feed audio. The project can be used in fun parties, disco parties etc. Just power the board and RGB LEDs will create different colors as per sound level. Board has the option of direct audio input or sound sense by the microphone, users may change the Arduino example code as per requirement or write their own code.

The default Arduino code works with the microphone as the sound sensor. The project also works with direct audio signal input. In this case use RCA connector J1 to feed the audio, trimmer potentiometer PR1 provided to adjust the audio input signal level. The input audio signal should not be more than 4Vpp (peak to peak.). The audio signal is connected to A1 analog pin of Arduino. Since the project is Arduino compatible, many applications such as sound to light effects, audio to light effects, VU meter, sound level meter are possible with this board.

Arduino Code

Arduino example code is available as a download. A new Atmega328 chip requires, Bootloader and Arduino code, follow the links below to learn more about programming the chip.

Arduino Pin Configuration

Digital pin D2 is connected to WS2812B LED, Analog pin A0 to Microphone, Analog pin A1 direct audio signal input.

Applications

  • Sound to Light Effects
  • Audio Signal to Light Effects
  • Sound Level Meter
  • Audio VU Meter

Features

  • Supply 5V DC @ 250mA when all LEDs are ON
  • Detect Sound using on Board Microphone
  • Direct Audio Signal Input RCA Connector
  • PCB Dimensions 179.71 x 16.51 mm

Schematic

Parts List

NOQNTY.REFDESC.MANUFACTURERSUPPLIERSUPPLIER PART NO
11CN14 PIN MALE HEADER PITCH 2.54MMWURTHDIGIKEY732-5317-ND
223C1 to C20 + C23,C25,C270.1uF/50V SMD SIZE 0805MURATA/YAGEODIGIKEY
32C21,C2222PF/50V SMD SIZE 0805MURATA/YAGEODIGIKEY
41C2422uF/16V SMD SIZE 1210TDKDIGIKEY445-1436-1-ND
52C26,C281uF/25V SMD SIZE 1206MURATA/YAGEODIGIKEY
61C2910uF/16V SMD 1206 OR 1210MURATA/YAGEODIGIKEY
71D11N4148MICROCHIPDIGIKEY1N4148UR-1-ND
81J1RCA JACKCUI DEVICESDIGIKEYCP-1459-2-ND
91MK1MICCUI DEVICESDIGIKEY102-1721-ND
105R1,PR1,R2,R4,R610K 5% SMD SIZE 0805
111Q1BC847ALON SEMIDIGIKEY2156-BC847ALT1G-OS-ND
121R3560K 5% SMD SIZE 0805DIGIKEY
131R50EDIGIKEY
141R71M 5% SMD SIZE 0805DIGIKEY
1520U1 to U20WS2812BSPARKFUNDIGIKEY1568-COM-16347CT-ND
161U21ATMEGA328-DIP28MICROCHIPDIGIKEYATMEGA328-PU-ND
171Y116MHZECS INCDIGIKEY X1103-ND

Connections

Gerber View

Photos

Video

WS2812B Datasheet

WS2812B

PCB

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

RELATED PROJECTS

X
Arduino Nano 33 IoT Giveaway

By continuing to use the site, you agree to the use of cookies. more info

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close