I am currently working on an audio playback installation in a small room that is approximately one meter from the door to the installation at the end of the room. My objective is to trigger the audio file when a person enters the room but not have it start again if the person leaves after the audio has finished playing.
One solution I have considered involves using two sensors. The audio will only play if the sensor near the door is activated first and then the sensor near the installation is activated. If the sensor near the installation is triggered before the one near the door, the audio will not play.
Do you think this idea is feasible? If so, how can I implement it? Do you have any other suggestions that might be simpler to execute?
Thanks