Pages: [1]   Go Down
Author Topic: capacitor in 595 tutorial  (Read 898 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 9
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hej,

I have only a very small knowlege about electronics and want to use some 595s parallel.

The tutorial about this topicis is really nice (http://www.arduino.cc/en/Tutorial/ShiftOut) but the capacitor in the tutorial has in the text a value of 0.1µf and in the image a value of 1µf. Since I do not really understand capictors and am not able to calculate the right value my question is: What is the right value (or are they maybe both usable)?
Logged

France
Offline Offline
Faraday Member
**
Karma: 36
Posts: 3435
There is an Arduino for that
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In my opinion this capacitor is of no use if there is no error in your sketch.
It is a good practice to keep ST_CP at the LOW level when not needed and pulse it (HIGH immediately followed by LOW) when you want to transfer the data from the shift register to the output one. In that case there is no reason for a capacitor on that pin.
Logged

Copenhagen / Denmark
Offline Offline
Edison Member
*
Karma: 6
Posts: 2360
Do it !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It's a decoupling capacitor, and it should be 0.1uF.

It's common practice to use such a capacitor acros the powersupply pinns on all digital IC's.

http://en.wikipedia.org/wiki/Decoupling_capacitor
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17262
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No it does not appear to be a simpe power decoupling capacitor. It is hooked to the latching signal and appears to be there to slow down the signal timing a little.

From the text: "Notice the 0.1[ch65533]f capacitor on the latchPin, if you have some flicker when the latch pin pulses you can use a capacitor to even it out. "

I would go with .1 as the text says as 1mfd is quite a bit to hang on a logic signal.

Lefty
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 9
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you for your answers. I will go with the 0,1 capacitor but if the 1 is wrong in the image shouldnt it be corrected (well, not from me cause i have too less clue)? Anyway from the little I understand from the wikipedia article I could imagine that the described use is the same as the one of an decoupling cpacitor ... reducing noise and therefore less flicker.
Logged

Copenhagen / Denmark
Offline Offline
Edison Member
*
Karma: 6
Posts: 2360
Do it !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Arrgh.
I should have read the text before answering - sorry
Logged

Pages: [1]   Go Up
Jump to: