Hello, I'm very new to arduino and this is my first time using it for a class project. My idea is to have a piezo sensor connected to the arduino UNO and have the vibrations that the sensor picks up control a small motor. The motor would be used to open a small door or container.
I was wondering if there is actually a way to have the vibrations that the piezo picks up control a motor and if anyone knows how to go about doing this. I'm guessing that there is some code that can make this possible but I haven't been able to find anything so far.
Any advice would be greatly appreciated.