Here's a simple circuit for you:
You are unlikely to need any voltage gain, the piezo input will be a high voltage.
The 2 transistors Q1 and Q2 form a fast limiter to about ±8V. The power supply connections are not shown, but should be ±9V or greater
To connect it to an arduino (analog input?) you don't need any gain at all (most likely).
Use this circuit:
This is essentially a sample & hold for a piezo. You can read the value on the cap at your leisure, and then discharge the cap by forcing the pin to be a low output.
You are unlikely to need any voltage gain, the piezo input will be a high voltage.
The 2 transistors Q1 and Q2 form a fast limiter to about ±8V. The power supply connections are not shown, but should be ±9V or greater
To connect it to an arduino (analog input?) you don't need any gain at all (most likely).
Use this circuit:
This is essentially a sample & hold for a piezo. You can read the value on the cap at your leisure, and then discharge the cap by forcing the pin to be a low output.
- D1 protects D2 and D3 from reverse voltages;
- D3 allows you to capture the positive peak;
- D3 limits the voltage to Vcc + 0.6V (or less if you use a schottky);
- R1 limits the input current (only an issue if someone connects something inappropriate (like a battery));
- R2 limits the current through the input protection where the voltage on the capacitor is Vcc + 0.6V, and also the discharge current of the capacitor.