I used the box I put my circuit in as the base for the light itself so there was no need to build it as small as possible. Use the pictures of mine as a guide if it helps but there is no need to copy them exactly just make sure all the connections get to the right pins and it will work. Lay the components out on some perforated copper cladded circuit board with enough space between everything to add the power and signal connections. Arranging them around the sides of a square produced good results. I used WS2812 LEDs that came as strips of 8 on short lengths of PCB material. Both do the same thing and you only need to use one. ![]() In the pictured example there are two monentary buttons, one on the circuit board for testing and a second external one for after the project was completed. I suggest using whatever style of connectors you like best. ![]() Use pins and connectors to plug the external LEDs and button into the circuit board in a convenient fashion and another connector for the main power input. A 10k Ohm resistor for the arduino and the button and a 200 ohm resistor inline with the WS2812 data pin to add some extra power protection. There are two resistors on the circuit board. I suggest using a suitable battery or a 12 volt mains adapter that can provide at least an amp to power everything. The voltage range is large because of the use of switching power supplies internally. The whole circuit is powered by a 7 to 26 volt DC power supply. The circuit could be built with one power supply and no extra capacitors and it would probably be fine. The grounds on both power supplies should be common and it's worth putting some 470uf electrolytic capacitors across each power supply to add extra power filtering. There is a second switching power supply for the LEDs as these are higher current devices than the arduino and microphone and doing this can help separate the arduino from any noise generated by the LEDs. The control circuitry consists of an arduino with a MAX9814 microphone and a button, hooked up to a switching power supply and some WS2812 LEDs. The case was 3D printed using translucent PLA.Ī google documents spreadsheet of the parts required can be found here This microphone works particularly well with the arduino compared to most cheaper microphones and is what allows the LEDs to respond to sound.Īpart from these basic components there is a power supply, a button to change modes, a couple of resistors, some nuts and bolts and miscellaneous wires and connectors. The arduino runs code that allows it to take an input from a MAX9814 auto gain microphone. It maxes out at 512 LEDs which is enough to produce good results. An arduino is a simple, cheap and slow 8 bit computer that can run software to generate a signal to control WS2812 LEDs. They use 3 wires 5 volts, ground and a signal wire.Īn arduino micro controller generates the signal. They update at high speeds to produce colour mixing effects and even animations. These LEDs consist of a red, green and blue LED on one chip combined with a tiny micro controller that takes a signal in and sets the brightness of all 3 colours using an 8 bit value for each channel. The project uses modern WS2812 addressable LEDs to produce the lighting effects. Some of the patterns contain multiple sub patterns. ![]() It cycles through different sound reactive light patterns when a button is pushed. It is also a fun electronics project with which to learn more about arduino programming and electronics. It serves no purpose other than decorative but does look very nice and can add to the atmosphere in a room where music is playing. The aim of the project was to produce a colourful sound responsive LED display.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |