Newbie needs help with a project

I am brand new to Arduino, and I need some assistance with a project. This is for a haunted house type attraction. Here's what I'd like to happen:

  1. Guest opens a door
  2. Inside there's a monster mannequin.
  3. When the door opens, an audio file plays and a light comes on to light the monster.
  4. When the audio file is done, the light goes off

How do I go about doing this? Which bits do I need? I am tech savvy, but new to Arduino. Talk to me like I'm 5. Lol. Any help is greatly appreciated, especially with the code side of things.

TIA

Get yourself a DFPlayer module and a SD card that is under 32gb. That would be a good start.

For the light assuming it will be powered by 120/240 VAC, you will need a relay module, regular or solid state is fine. Make sure it’s a logic level module otherwise you will need extra circuitry to connect it to the Arduino.

Speaking of Arduino, you can pretty much use any of them, so which ever you go with should work just fine. Just know there are 3.3v and 5v versions. The DFPlayer operates at 3.3v logic so if you get a 5v Arduino, you will need a 1K resistor to control the DFPlayer module.

Well, you're off to a good start.

You've got the sequence sorted out. If you flesh that out, you're a good way to doing some code. Doing things in sequence is what the Arduino boards do well.

It may be possible to do this with only the DFplayer module and no Arduino!

The ADKEY_1 pin can be used to trigger the player to play the first track on the SD card, when connected to ground. If you can get your door sensor to do the same...

The BUSY pin goes low when sound is playing. Maybe it could trigger a relay module for your light.

+1 re the DFR capability. With a micro switch and relay to turn the light on.
But if the door is allowed to remain open after the shriek of horror then, to be Arduino-free, an RC circuit would be needed to turn the light off.

This is great! Thanks so much for the assistance everyone. Now, I know all the parts I need for this and, thanks to some tutorials, I know how to connect them. Now comes the question of coding. Does anyone have links to examples that might point me in the right direction?

Did they include sketches?

There are hundreds of examples on this forum alone. And thousands of hits to a Google search for ‘DFR MP3 Player Arduino’.

Have you therefore now decided not to pursue the ‘no Arduino’ (so no ‘code’) approach? For an Arduino approach come back for more help when you’ve made a practical start on the project.

So, after looking more into the DFPlayer only option, it seems to do exactly what I need it to. This is great! Thanks so much for al of your help. Gonna place an order!