0
\$\begingroup\$

So I've been getting into the world of building circuits with an Arduino controller and a breadboard. I've been working in IT for years, but I'm not super familiar with electronics at this level.

While following a tutorial for building a "knock sensor" using a piezo speaker as the sensor, it connected the piezo speaker from ground to an analog input pin on the Arduino. Then, it connected a 1M ohm resister in parallel to that. All it said was that doing so protected the Arduino from the voltage spikes caused by the knock sensor.

After asking around, I learned that this resistor was called a "burden resistor," but I can't seem to understand how adding a resistor in parallel to the element that generates the voltage would protect the Arduino board.

Can someone explain this to a newbie like me?

This is the webpage that shows the burden resistor: http://arduino.cc/en/Tutorial/Knock

\$\endgroup\$
2
\$\begingroup\$

The piezo can generate very large voltages (e.g. 90V) above the operating range (6V) of the ATmega and would blow any input. That said the power is very little and any resistance will load the spike, so that current is absorbed in the 1Mg ohm resister, rather then the hi-impedance input of the ATmega.

Here is a link to Electrical Over-Stress and Electrostatic Discharge Protection of ICs by IT E2E group. It has link to a PDF presentation that does a great job explaining how the chips internals can tolerate or fail such voltages.

\$\endgroup\$
  • \$\begingroup\$ the 1Mg takes the burden of the surge. \$\endgroup\$ – mpflaga Jan 4 '14 at 2:41
  • \$\begingroup\$ So the burden resistor going from the input pin to the ground provides a lower resistance pathway for the current to flow? In that case, why put a resister there at all? Why not just use a regular wire? Also, am i correct in assuming that the analog input is reading the voltage between the piezo and ground? Sorry if my questions are dumb. \$\endgroup\$ – Gogeta70 Jan 4 '14 at 2:46
  • \$\begingroup\$ @Gogeta70 A mere wire would short-circuit the input. I don't understand the suggestion. \$\endgroup\$ – user207421 Jan 4 '14 at 4:38
  • 1
    \$\begingroup\$ kirchhoff's current law - it is not black and white, rather proportional. The input impedance of the IO pins is very large, Possibly 10MgOhms, not perfectly infinite. See ampbooks.com/home/tutorials/lesson-005. So more of the charge is dissipated through the resistor then the HiZ input of the ATmega. \$\endgroup\$ – mpflaga Jan 5 '14 at 0:30
  • 1
    \$\begingroup\$ in response to above, a wire short instead of a resistor would be blank and white in that all the current would go through the shunt and none (even the very little needed) for the ATmega Input. Also not V=IR and if R=0 then V=0. And you don't want that as your input. \$\endgroup\$ – mpflaga Jan 5 '14 at 0:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.