Music Reactive Diorama
Project
A quick guide on how to make a music reactive diorama using a blacklight LED strip, a laser and a water pump.
What You Need
~ Arduino UNO
~ Solderless breadboard
~ Jumper wires
~ Momentary switch
~ 560 Ohm resistor
~ Grove Loudness Sensor
~ 5V - 12V water pump
~ 2X LED diode
~ 5V Blacklight LED
~ 5V - 12V Laser
~ 12V PSU or a 5V to 12V USB converter
~ (Wooden) plates
~ Screws
~ Filler
~ Primer
~ (Spray) Paint
~ Sanding paper
~ Drill and jigsaw (optional: circular saw)
Prepare the Case
Put all of the items you want to be used in the diorama on a plate. Mark all the cutting areas and afterwards cut the plate where needed. I used a circular saw for the straight cuts and a jigsaw for rounded cuts. To be able to cut the circle with jigsaw you'll first need to make a hole of approx. 10mm with a drill.
Assemble, Finish and Paint the Case
All the parts for the case are prepared. Now it's time to put the screws in place using a drill.
Use wood filler to fill the holes and unevennesses. When dry, use sanding paper to smoothen all surfaces. Afterwards clean with water and apply some primer.
When the primer is dry, you can paint it with an (air)brush, spraycan, ... I chose to use a brush and forest green paint.
Let it dry for several days before going over to the next step.
Install LED, Laser, Water Pump and Plants
Install the LED strip and laser where you want it and put the water pump in the scale with water. I used a 3D printed fountain in PLA (glow in the dark). You can find the file for free on: https://www.thingiverse.com/thing:4780932
Put the plants and/or objects on the scene.
Prepare the Breadboard and the Code
Check the diagram and connect all the electronics properly (sensor on the diagram is the Grove Loudness Sensor)
Download and upload the code.
Tinkercad: https://www.tinkercad.com/things/dkU6tdP3jL2-copy-of-arduino-simulator/editel?sharecode=0_kGcPO7sPYI95GaOnwks7luxKrnFZebP0omDlO2vDQ
You can change the averages in the void loop to calibrate your sensor to the loudness of the music.
You can open the plotter to analyze the ideal averages for your setup and environment.