Introduction - If you have any usage issues, please Google them yourself
The passive buzzer does not have a shock source inside, so if the signal can not be called with a DC signal, it is necessary to drive it with the square wave of 2K~5K. The sounding of a passive buzzer on the raspberry pie