I've been trying to pin down how to hook this thing up to my circuit for a week and I'm no closer to an answer.
I need to power a servo which I can't power firectly off the Arduino because I don't have enough mA left in my design, and don't want to power directly off the Arduino because I'm concerned about noise in the circuit.
To mitigate these issues I've decided to use a 6v regulator connected directly to my 9v power source. (Batteries)
Problem is, I know I need to connect some capacitors to the thing to stabilize it and reduce noise, but every source I turn to I find incomplete information and conflicting answers.
One source that appeared reputable suggested that ceramic capacitors were a no-no. Yet that same source was a few years old and also suggested that regulatores are being made for ceramics. Also, the tanatlum capacitors that they suggested have a tendancy to explode and catch fire, and were reccomended against by a different source.
Another source of conflict is that most photos I find of circuits using these regulators seem to use electrolytic capacitors for at least one of the caps, presumably the larger of the two. Yet most schematics I find have no polarity indicators on the caps, nor do they specify if elecrolyic or ceramic caps should be used.
Lastly, the size of the caps and their location seems to vary wildly. I see 1uf, 0.1uF, 0.01uF for the smaller one, and 470uF, 220uF, 10uF, .33uF for the larger one. And the side on which the larger one is isn't consistent either, sometimes it's on the input, sometimes it's on the output. And sometimes there's both large and small capacitors on both sides. I've even seen one large capacitor on the input and four small ones on the output.
To make matters even more complicated, it seems like half the regulators out there have their pins setup in INPUT GROUND OUTPUT order, while the other half have INPUT OUTPUT GROUND, which means I gotta pick one out now before I have the boards made.
Anyway, at this point I'm left simply making a guess as to what caps I should go with that are most likely to work. And going by these two datasheets, for a 5v and a 6v regulator:
http://focus.ti.com/lit/ds/symlink/tl750l05.pdf
http://www.st.com/stonline/books/pdf/docs/2574.pdf
...I want a .1uF ceramic cap on the input and a 10uF electolytic cap on the output.
Of course I can't count on getting clear information even from the single source of one specific company, can I? Here's another 6v regulator by the same company as the 6v where they specify a .33uF on the input and a .1uF on the output, which you'll note is the opposite arrangement of the above with a different large cap size:
http://www.st.com/stonline/products/literature/ds/2143/l7805.pdf
So what's the deal here? Is there one specific cap size I need for each regulator? Does it not matter if the big cap is on the input or the output, or is that specific to each regulator as well? Or is the type of load/source on each size of the regulator what matters for where the big and small caps need to be? Ie, should I have a small cap on the battery size to cut noise from the servo from getting to the Arduino which is also connected to the battery, and a large cap on the servo side to provide juice when it's needs spike suddenly? Or should I have the small cap on the servo side to prevent noise from it impacting the regulator, and the large cap on the battery side to provide the regulator with more juice when it needs it? I would be inclined to say the large cap should be on the servo side because the regulator is less likely to be able to respond quickly to demands for current than the battery. But then, maybe the large cap is needed on the battery side for when there are large spikes so the Arduino doesn't brown out.
[smiley=cheesy.gif]