In a German tutorial video about EAGLE, starting at 1:15 the author adds a trim potentiometer for regulating the contrast of an A162 display. Between the slider and ground he adds a 100 nF capacitor.

What is the capacitor for?

Screen shot showing the circuit with capacitor C4:

Screen shot of YouTube video

Note that the author stresses that the video is about the basic features of EAGLE, not about circuit design and not even about good layout of a circuit. He says that he didn't build the circuit, and it may not work. The tutorial is very good —  I learned using EAGLE from scratch.

  • \$\begingroup\$ Do you know what the chip is? Do you know if pin 3 is input or output? \$\endgroup\$
    – Andy aka
    Aug 6, 2013 at 11:26
  • \$\begingroup\$ @Andyaka The author of the video says that that the display component A162 exists, and that there is a datasheet. That's all I know. \$\endgroup\$
    – feklee
    Aug 6, 2013 at 11:51

2 Answers 2


The capacitor filters noise, making the voltage at V0 more stable. A capacitor resists changes in voltage. The rate of change of voltage, current, and capacitance are related by:

$$ I = C \frac{\mathrm{d}v}{\mathrm{d}t} $$

The larger the capacitance, the more current required to make a change in voltage. Since there is only so much noise current, the more capacitance, the less the voltage noise.

Possible sources of noise:

Another way to view it: the capacitor and resistor together make a low-pass RC filter. This attenuates higher frequencies, while not attenuating the lower frequency. Since you are interested in the nearly constant voltage selected by the potentiometer, and the lowest frequency is a voltage that doesn't change at all, this is good.

  • \$\begingroup\$ Phil, do you know what the chip is or if it's an output it's connected to?? \$\endgroup\$
    – Andy aka
    Aug 6, 2013 at 13:12
  • \$\begingroup\$ @Andyaka I'm guessing it's an LCD display module like this one. The V0 pin is an input, and controls the display contrast. \$\endgroup\$
    – Phil Frost
    Aug 6, 2013 at 13:49
  • \$\begingroup\$ I was also thinking: A capacitor behaves like a rechargeable battery. Properties: 1. It provides the voltage with which it was charged. 2. When charging, it initially has low resistance. Let's say the potentiometer was untouched for some time, and now I move it abruptly. When the resistance between slider and ground drops, then for a brief moment the capacitor provides the previous voltage (1), preventing an abrupt drop in voltage. When that resistance increases, then for a brief moment the capacitor's resistance drops (2), preventing an abrupt change in resistance, thus voltage. \$\endgroup\$
    – feklee
    Aug 7, 2013 at 9:26
  • \$\begingroup\$ @feklee That's a little bit right, but also wrong. The resistance of a capacitor does not change with time. \$\endgroup\$
    – Phil Frost
    Aug 7, 2013 at 11:41

The VO pin is the power to the LED segments. The amount of current drawn on this pin may vary somewhat as the display is scanned, in a matter which will vary with display content. This can cause annoying horizontal streaks on the display. Adding a capacitor will ensure that any variations in voltage that may result from changing current demands are slow enough that they affect the display uniformly.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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