Lastly to remove ripples from the power line, consider using a 1 to 100µF aluminum electrolytic capacitor near the power supply terminal of the PCB. Do not use one with too much capacitance, though, or inrush current might be a problem when the system is powered on.