Hi! I found a tutorial to connect the PWM driver TLC5940 to Aduino and the following diagram was included:
Which role have the capacitors?
I suppose they are uncoupling capacitors but, Why 0.1 and 4.7 uF and the last one electrolytic?
What capacitors should I use?
Decoupling capacitors are to prevent switching noise from getting into the electronics, or to prevent oscillation.
You probably don't need the 4.7uf cap, but check the manufacture's datasheet to see if they recommend it. Electrolytic capacitors don't "act like" capacitors at very-high frequencies, so depending on the application it's not unusual to put a smaller ceramic capacitor in parallel with an electrolytic.
P.S.
The TLC5940 datasheet says:
The Vcc power supply voltage should be decoupled by placing a 0.1uF ceramic capacitor close to Vcc pin and GND plane. Depending on panel size, several electrolytic capacitors must be placed on board equally distributed to get a well regulated LED supply voltage (VLED).
DVDdoug:
Decoupling capacitors are to prevent switching noise from getting into the electronics, or to prevent oscillation.
You probably don't need the 4.7uf cap, but check the manufacture's datasheet to see if they recommend it. Electrolytic capacitors don't "act like" capacitors at very-high frequencies, so depending on the application it's not unusual to put a smaller ceramic capacitor in parallel with an electrolytic.
P.S.
The TLC5940 datasheet says:
Thanks so much!!
Then, the 4.7uF electrolytic capacitor can be useful for my application, right?
C2 and C1 are connected to 5v, vcc is also connected to 5v. Electrically they are connected in the diagram (assuming its not two separate 5v sources). Physically the decoupling should be as close as possible to vcc pin.
They put the capacitors in a very odd spot in the schematic.
alka:
C2 and C1 are connected to 5v, vcc is also connected to 5v. Electrically they are connected in the diagram (assuming its not two separate 5v sources). Physically the decoupling should be as close as possible to vcc pin.
They put the capacitors in a very odd spot in the schematic.
That's not particularly odd.
I've seen schematics where all the decoupling caps were off in the corner, so you see a big pile of 0.1uf caps in the corner of the schematic. I mean, not that I advocate that practice, but it's not uncommon :-/
Yes, it is very common in schematics to have all the bypass capacitors off in a corner of the sheet. Relying on the knowledge of whomever is laying out the board to put them in the correct place.