Pages: [1]   Go Down
Author Topic: Using piezo sensors as input  (Read 536 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
Karma: 2
Posts: 254
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am looking to use piezo sensors are force sensors, and am having a hard time understanding how to interface it with my Arduino.

According to the official Arduino docs, only a 1M resistor in parallel w/ the sensor is required (

But piezo sensors output AC waveforms, and thats not being accounted for in the example. What happens when the negative parts of the waveform enters the ATMega's ADC? Are they ignored, or can it cause problems?

I want to protect my ADC from damage, so I thought of also placing a 1N4007 diode in parallel with the sensor (in addition to the resistor) to only allow positive voltages through - but then theres the 1.0V voltage drop problem. Most of the small signals will not come through.

Any ideas?

Grad student, creative technologist, OSHW engineer

Online Online
Shannon Member
Karma: 215
Posts: 12489
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The negative parts of the waveform will dissipate harmlessly through the protection diodes for such a high impedance source.

You can tie one side of the piezo/resistor combination to a 2.5V potential divider (1k to +5V, 1k to gnd) and the other end to the analog input - thus seeing the whole waveform.

If you want less sensitivity reduce the value of the 1M resistor.

[ I won't respond to messages, use the forum please ]

Pages: [1]   Go Up
Jump to: