Solenoid switched by optocoupler?

Not sure but detector switch is assigned to pin 15. All switches seem to operate ok, only problem I can see it solving is run once and reboot on the light and sound? Give it a go, what's the worst that can happen.
Are you getting any feedback in the set up menu from your sensors? When I was playing with a piezo I found that some have a better frequency range, so you may have the equivalent of a knock sensor. I dismantled mine and found that gently bending gave feedback but it was no good for sound that's when I bought the small mic.
Light sensor seems fine although I had wired it wrong earlier on. Not sure i can see a lot of use for it. I have seen a project on here for a trip wire using a laser pointer and photo transistor, might be useful for wildlife?
Still fiddling with I.R. its working but not sure its reliable. Is yours triggering?
Getting a few good drop collisions but not with the accuracy I was expecting, thought I would be getting more repeatable results.