The idea is to reproduce an audio file once movement has been detected.
I'm connecting the sensor to pin 12 which as I have read corresponds to MISO. I'm able to have a loop where I'm detecting movement and reproduce the audio file once, but after a while it just stop working, it keeps detecting movement but not play the audio.
I'm not sure if I shouldn't connect the sensor to pin 12, because somekind of conflict.