cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

I'm looking for a way to read piezo vibrations in a constant stream, both positive and negative AC voltage signals.  How would I set that up with the ADC to get the correct readings?

0 Likes
Reply
6 Replies
Esteemed Contributor II

You need to do a level-shift so that all values are positive. Use an R-ladder.

   

 

   

Bob

0 Likes
Reply
Valued Contributor II

for example, you can do so

   

0 Likes
Reply
Anonymous
Not applicable

That looks pretty fancy, but perhaps I posted in the wrong forum or wasn't specific were I should have been.  I'm using a PSoC4-BLE.

0 Likes
Reply
Valued Contributor II

Sorry, this is my carelessness.
Another variant.

0 Likes
Reply
Anonymous
Not applicable

Awesome!  Thank you very much.  I will give this a try.  So I guess t he output from the opAmp would run to the ADC?

0 Likes
Reply
Valued Contributor II


Yes, next - ADC.
You need to calculate resistors  so to get into the range of the ADC.
R2 and R3 - determine the amplification of the signal,
U (Pin_5) - shifts the signal to the positive region.

0 Likes
Reply