For a university project, I'm creating my own small speaker. This speaker includes a speaker driver circuit consisting of a transistor and 3 resistors (see figure below).
The voltage boost circuit actually is an oscillating circuit including an inductor, diode, switch (oscillating) and a capacitor (see figure below). I think the "timed switch" can be attached to the "feedback" pin from the piezo.
Since the piezo driver circuit is a kind of oscillating circuit, I thought it would be nice to combine both circuits. So the piezo driver circuit would be used as the oscillating circuit of the voltage boost circuit.
Both circuits work separately, but not combined. When replacing the light bulb with the piezo, the piezo doesn't vibrate since the capacitor keeps the voltage constant, but the piezo needs to be turned on and off very quickly in order to vibrate.
Somehow, the capacitor needs to power the piezo driver circuit again, but I cannot yet figure out how. Below is my attempt.
Can any of you maybe guide me in the right direction?
I hope you understand what I'm trying to do. Otherwise I'll be happy to try to explain it in a different way.