Hi,
Below is a circuit created to detect impact on a Piezo. Apologies for the lack of quality in the image, its a copy paste of the software im using.
The divider circuit on the left will centre my piezo voltage and when all components are configured correctly should give me an ADC output on the lower buffer of +/- 1.65v around the centre voltage of 1.65v - So 1.65v is my 0v when i think of it as AC.
The output of the upper buffer does the same at the moment and its output is fed to a comparator. What i would like to achieve is an output on the upper comparator of 0-3.3v (or 0-5v) So i need to shift the voltage back to 0v rather than it being halved (if that makes sense)
The reason for this is that the comparator is used as a trigger. With the compared voltage being either above or below 1.65v i can only capture the upper or lower AC wave. I want to trigger on the first rising or falling edge, but currently its anyones guess which edge will be seen first.
Can anyone help?
Thanks
Below is a circuit created to detect impact on a Piezo. Apologies for the lack of quality in the image, its a copy paste of the software im using.
The divider circuit on the left will centre my piezo voltage and when all components are configured correctly should give me an ADC output on the lower buffer of +/- 1.65v around the centre voltage of 1.65v - So 1.65v is my 0v when i think of it as AC.
The output of the upper buffer does the same at the moment and its output is fed to a comparator. What i would like to achieve is an output on the upper comparator of 0-3.3v (or 0-5v) So i need to shift the voltage back to 0v rather than it being halved (if that makes sense)
The reason for this is that the comparator is used as a trigger. With the compared voltage being either above or below 1.65v i can only capture the upper or lower AC wave. I want to trigger on the first rising or falling edge, but currently its anyones guess which edge will be seen first.
Can anyone help?
Thanks
Last edited: