Sound to Colour Light Effects – Arduino Compatible

  • Rajkumar Sharma
  • 1.213 Views
  • moderate
  • Tested
  • SKU: EL111627
  • Quote Now
socialicon

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

Please follow and like us:
Pin Share

PCB

Subscribe
Notify of
guest

1 Comment
Inline Feedbacks
View all comments
mojtap

Hi there!
I’m a bit confused to connecting pin 2 in first WS2812B(U1) to next one(U2)or to micro, so at the beginning i linked pin 2nd of U1 to micro my mean its PD2_(PCINT18/INT0) to pin 2(DOP) in U1,am i corrected on it ?!
i putted pin 4 of first WS2812B(U1) to pin 2 of the second WS2812B(U2)
and the same for the next .

another point is with U20 what we should do with pin 4 how and where it should connect ?.
its my first project that i decided to build and design on Proteus .
thanks

RELATED PROJECTS