Hey everyone,
I'm kind of new to arduino and coding and need some help for a project. I'm working on a theatreperformance that involves an interactive boxing bag which, when punched, will activate sound/visuals/lights. I have a computer program to arrange all the sound/visual and light cues which can be activated using the spacebar.
So basically what I need is a piezomicrophone inside the boxing bag and some code that will trigger when enough vibration (caused by the punching) passes through the piezomicrophone. That code must then send a signal to the computer, making it think that the spacebar is being pressed.
Any advice on how to write this specific code and how to improve this system is very welcome. Thanks in advance!!