Hi,
I am aiming to find a light trigger system that has 3 individual triggered drums that sync to bright flood lights when hit. I was hoping to have a set up that would have a trigger on each drum connected to an on/off flood that was powered by a 110 volt power strip. Boom drum = Flood on
Is this the right place to inquire?
Thanks in advance.
The Knock Example should get you started.
For the floods you can use Solid State Relays.
This type of solid state relay is easy to connect with screws. A regular electro-mechanical relay can "work" but an Arduino can't directly drive a relay coil so you need a driver circuit. (You can get relay boards with a built-in driver). And, regular relays make a "click" noise and a solid state relay is just "better" if you are flashing a light on & off quickly and frequently.
You might want to hold the lamp on for 1/10th of a second or so. If you are using regular-old incandescent lights, they take about 1/10th of a second to get-to full-brightness and maybe slightly longer to go completely dark. LED lamps will probably be faster but they have circuitry inside so they aren't all the same.
but you'll have to avoid delay() because the processor isn't doing anything during delay() so it can't detect another drum hit. Study the Blink Without Delay Example. You'll need 3 different hold times which means you'll need 3 different previousMillis variables and 3 different Interval variables. i.e. previousMillis1 or previousMillisRed, etc. There is only one currentMillis.