Arduino Forum

Products => The Arduino Starter Kit and Basic Kit => Topic started by: eligijusjuodagalvis on Jan 18, 2017, 10:31 am

Title: Project 12 / Knock Lock
Post by: eligijusjuodagalvis on Jan 18, 2017, 10:31 am
Good morning,

I have one question about this project. How the piezo element responds to 5 kHz frequency waves ? We know that this project have:

// variables for the high and low limits of the knock value
const int quietKnock = 30;
const int loudKnock = 100;

So... how can we know how much we need kHz to reach like this 30 - 100 value ?