Hello, my friends, I made a quick Halloween project for Arduino.
It emulates lightning and thunder by flashing white LED strips and playing thunder sound files (mp3). It only requires some basic components:
- Arduino Nano
- DFPlayer Mini MP3 player module
- Micro SD card (8 GB)
- Breadboard and jumper wires
- MOSFET (1x IRFZ44N)
- Resistors (2x 1K)
- LED strip (5m, 12V, cool white)
- Test leads with alligator clips
- Power supply (12V, 2A)
This is not a “sound to light” system. The sketch (randomly) flashes the LEDs first and then plays the sound file after a short (random) delay. I think that’s more realistic than flashing the LEDs in reaction to the volume of the sound like other projects/systems do.
In the near future, I want to convert it from Arduino to ESP8266 or ESP32.
Find the project description on my blog: Lightning & thunder: Arduino Halloween DIY project
Watch the short YouTube movie here: Lightning & thunder: Arduino Halloween DIY project