Music reactive matrix LED cube
prusaprinters
<p>Music reactive matrix LED cube. Very easy print and electronics installation.</p><p> </p><p><strong>Functions:</strong></p><ul><li>9 music reactive vu-meters and 3 non-music reactive animations</li><li>Currently 1 vu-meter with user selectable color </li><li>Web interface to change settings, update the code and reset the WiFi settings to default</li><li>The web interface is available in german and english language</li><li>In the settings you can choose your favourite vu-meters and animations to reduce button presses to switch between your favourites</li><li>With a short press on the button you can cycle through the vu-meters and animations. Green LEDs in the corners show your input as reply</li><li>With a longer button press you can step back to the 1st selcted vu-meter/animation. Red LEDs in the corners show your input as reply</li><li>WiFi manager usage with a captive portal to setup your WiFi connection without the need of changing the code</li><li>Simply upload the code to the ESP with Arduino IDE. No code changes really needed to use the project. Settings can be done in the web interface</li><li>Code updates can be done without Arduino IDE with the use of the provides .BIN file</li></ul><p> </p><p><strong>Web interface:</strong></p><p><img src="https://media.printables.com/media/prints/296022/rich_content/4dd5e3f8-0a3e-45d9-bd84-a0fa54f0dd1d/0b565344-93e9-48b8-9ba6-3d2d814c8e0b.jpeg#%7B%22uuid%22%3A%22bf3aa580-39dc-4dc5-b179-fc56a67e650d%22%2C%22w%22%3A2048%2C%22h%22%3A2594%7D"><br><img src="https://media.printables.com/media/prints/296022/rich_content/2123a3c2-134f-4e16-8672-db7e19cf4004/4efbaf14-f932-47ca-8639-e7f6aaec44bd.jpeg#%7B%22uuid%22%3A%222a99cf51-e402-4fca-b3aa-4d404ae27c9d%22%2C%22w%22%3A2048%2C%22h%22%3A1329%7D"> </p><p> </p><p><strong>LEDs and status LED colours during startup:</strong></p><ol><li>White squares will be shown raising from the bottom to the top to check the wiring</li><li>In the matrix corners blue LEDs will show that the device is not connected to WiFi yet. If you start the cube for the first time, connect to the temporary WiFi access point "RGBLEDCUBE" created by the ESP and follow the WiFi setup. If your smartphone, tablet or computer does not navigate to the URL “http://192.168.4.1” automatically, please open this URL manually after you connected to the WiFi access point “RGBLEDCUBE”</li><li>After the WiFi settings were set correctly the blue LEDs will turn green on a successfull connetion to your local WiFi or will turn red if the connetion to your local WiFi was not successful. In this case the temporary WiFi access point "RGBLEDCUBE" will be created again by the ESP to change the local WiFi values from step 2</li><li>After a restart the corner LEDs will always shortly turn blue and then green when the device is connected to your WiFi. The settings page then can be used. Check the URL to connect to in your Arduino IDE serial monitor output after startup</li><li>A short rainbow animation will be shown to check the function again</li><li>Note: The animations used in step 1 and 5 can be switched off in the settings</li></ol><p> </p><p><strong>Video: </strong></p><figure class="media"><oembed url="https://www.youtube.com/embed/vaeDpYg-Tsc"></oembed></figure><p>Music credit: Used some free music from Apple iMovie</p><p> </p><p><strong>Hardware used:</strong></p><ul><li>1x <a href="https://www.amazon.de/gp/product/B074Q27ZBQ">Node MCU V3</a> ESP8266</li><li>1x <a href="https://www.amazon.de/gp/product/B01KU4KL90">Microphone MAX4466</a> (Please use this one. Cheaper ones do not work well!) Ø9.6mm</li><li>1x <a href="https://www.amazon.de/gp/product/B0811QKG1R">Push button</a> Ø12mm</li><li>1x<a href="https://www.amazon.de/gp/product/B00HGAJM5Q"> Barrel jack</a> for power input Ø12mm</li><li>5x <a href="https://www.amazon.de/gp/product/B00QYQCMQY">LED matrix 8x8</a> (Please use this one. Others might not fit to the case!)</li><li>1x <a href="https://www.amazon.de/gp/product/B07F849K8P">5V / 4A power supply</a> with barrel jack connector</li><li><a href="https://www.amazon.de/gp/product/B01JAD578C">Some 0,25mm² wires </a>in different colours</li><li><a href="https://www.amazon.de/gp/product/B003O6EDXC">Some 0,50mm² wires</a> for the LED matrix power wires</li><li>18x <a href="https://www.amazon.de/gp/product/B083S14ZDZ">Soldering cable shoes M3</a></li><li>30x <a href="https://www.amazon.de/gp/product/B07ZPTWHL5">M3x8 screws</a></li><li>21x <a href="https://www.amazon.de/Stück-Sechskantmuttern-Edelstahl-DIN-Muttern/dp/B07WZBFXGL">M3 nuts</a> (30 if you want to fix the panels even more in place, but not really needed)</li></ul><p> </p><p><strong>Wiring instructions:</strong></p><figure class="table"><table><tbody><tr><td style="background-color:rgb(250, 104, 49);"><strong>ESP:</strong></td><td style="background-color:#fa6831;"><strong>LED matrix (1,3,4,5):</strong></td><td style="background-color:rgb(250, 104, 49);"><strong>Power jack:</strong></td><td style="background-color:rgb(250, 104, 49);"><strong>Microphone:</strong></td><td style="background-color:rgb(250, 104, 49);"><strong>Push button:</strong></td><td style="background-color:rgb(250, 104, 49);"><strong>Wire color:</strong></td></tr><tr><td>VCC</td><td>5Volt</td><td>+5V</td><td> </td><td> </td><td>red</td></tr><tr><td>GND</td><td>GND</td><td>GND </td><td> </td><td> </td><td>black</td></tr><tr><td>ID6</td><td>DIN</td><td> </td><td> </td><td> </td><td>green</td></tr><tr><td>3.3V</td><td> </td><td> </td><td>VCC</td><td> </td><td>red</td></tr><tr><td>GND</td><td> </td><td> </td><td>GND</td><td> </td><td>black</td></tr><tr><td>A0</td><td> </td><td> </td><td>OUT</td><td> </td><td>orange</td></tr><tr><td>D5</td><td> </td><td> </td><td> </td><td>Pin 1</td><td>blue</td></tr><tr><td>GND</td><td> </td><td> </td><td> </td><td>Pin 2</td><td>black</td></tr></tbody></table></figure><p> </p><ul><li>Wiring order the 5 matrix and cube sides:<ul><li>Matrix 1: As shown above from the ESP —> Front side</li><li>Matrix 2: From matrix 1 as shown in the wiring diagram as 2nd panel —> Top side</li><li>Matrix 3: As shown above from the ESP —> Right side</li><li>Matrix 4: As shown above from the ESP —> Back side</li><li>Matrix 5: As shown above from the ESP —> Left side</li><li>Please follow this cube sides order to make the code work correctly.</li></ul></li><li>Please take a look at the photos and take care of the screw orientation to avoid electric shorts between the top matrix and the front as well as the back matrix. The screws of the top matrix are switched 180° to avoid electric shorts between the TOP, FRONT and BACK matrix!</li></ul><figure class="image"><img src="https://media.printables.com/media/prints/296022/rich_content/8a439199-2759-48c7-b353-a4ba53d7b865/schematic.png#%7B%22uuid%22%3A%22417bd902-05db-4a54-bb1e-ebbb7294d1d7%22%2C%22w%22%3A1047%2C%22h%22%3A767%7D"></figure><p> </p><p><strong>Code:</strong></p><ul><li>The code can be found on my <a href="https://github.com/AWSW-de/Music-reactive-matrix-LED-cube">GitHub repository</a>.</li></ul><p> </p><p><strong>⚠ Important notes: ⚠ </strong></p><ul><li>The provided code limits the amount of simultaneously used LEDs, used colours, their intensity and therefor the power usage to fit to a 20W power supply with 5V/4A! Take care of this too when changing the code!</li><li>Raising the intensity, used colours or simultaneously used LEDs can easily drain to much power and can end in dangerous usage of the power supply and the connections between the panels and other devices/wires used in this project!</li><li>Example: <ul><li>Setting all LEDs on 1 matrix panel only to 100% intensity and white color will drain already 3.3A already - on 1 single matrix only!</li><li>For the 5 matrix panels used in this project the 100% white setting would try to use 16.5A and would cause to drain more than 4 times the possible amperage of the power supply. This will not end good… Take care… Seriously !!!</li></ul></li><li>All provided vu meters were set to values to take care to not drain more than the 20W out of the power supply. </li><li>Use a good and secure ≥5V/4A power supply to avoid serious damage!</li><li>The real question about this all is, if you will actually need higher values of f.e. the intensity. The in the video and pictures shown animations were set to a value of 15 from up to 255 which already is really bright as shown…</li><li>The software limits the slider to the value 128 of 255 to avoid overload of the power supply.</li></ul><p> </p><p><strong>Printing instructions:</strong></p><ul><li>0.3 draft profile used</li><li>No supports needed</li><li>No brim needed</li></ul><p> </p><p>Happy printing :)</p>
With this file you will be able to print Music reactive matrix LED cube with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Music reactive matrix LED cube.