I've always used 100uF on the input and 10uF on output. is this ok?
Those are fine values for general applications, yes. However, I would probably want to look at the voltages on a 'scope, on both sides of the regulator just to be sure. Just my experience, but I've had some dirrrrrty input voltages cause stupid problems.
Do you have a schematic of the circuit you're trying to supply? Or at least, could you describe it?
Could you explain what u mean by proper protection?
Condoms.
j/k
Basic circuit protection should
always be used, e.g. circuit breakers, fuses, PTCs (poly-fuses), etc., simply to prevent secondary effects, such as physical damage and fire.
The other commonly-implemented protection scheme, specific to this type of device, has been mentioned, namely (reverse-biased) diodes. I'm attaching a schematic (from an LM317 data sheet) that shows how they're to be connected in the circuit. Be sure to get the polarity correct.
EDIT: I just noticed that the part number for D
2 [1N4002] overlaps the C
O connection to ground. Please disregard that; the D
2 part number should have been located ABOVE the diode for better clarity. Silly co-op students.