1 track audio player without buttons

Hey everyone. I'm new with Arduino and I'm excited to start building. I'm in a competition called Science Olympiad and I'm building a Rube Goldberg machine. I would like to implement an Arduino One to play a single track that says "The end."

I would like to activate this sound without the use of a button, for example, with a thermistor or with IR. I have an NTC thermistor, and the IR transmitter and receiver diodes (neither are a remote) are arriving soon. My idea is to basically just have the sound module activated when it gets a "HIGH" signal due to an IR pulse from a transmitter diode (connected to a separate circuit and Arduino) or from a reading of an NTC thermistor's resistance.

I have watched several YouTube tutorials on MP3 sound modules and they all use either the DFPlayer or the Elechouse MP3 shield, but in the videos they are always controlled with push buttons or IR remotes. I would prefer to use the DFPlayer or another cheap alternative, and I would like to do this without push buttons. Thanks!!

Did you read the DFPlayer documentation?
What makes you think that you can only use it with a button?

Pieter

Hey Pieter, thanks for the response and the datasheet, I could not find it before. I am new to this and from what I saw on YouTube, I thought you could only use it with buttons because that's how everyone else controlled it. After looking at 3) I/O Mode in the documentation, I saw the connection diagram, and it looks simple to make. However, I am still confused as to how you would get the module to play the sound. Which pin on the DFPlayer would I send the high signal to? There are no buttons or anything on the I/O mode diagram, so could I control this with some other device attached to the Arduino in place of a button? Could I, for example, have the Arduino connected to an LDR, then create an if statement so that if its resistance increased past a certain value, it would turn on the DFPlayer and play my track once?

Yes.