How switched mode power supply affect microcontroller functionality

microcontrollerpower supplyswitch-mode-power-supply

I am using a switch mode power supply RAC06-05SC to power up the microcontroller (ATMega16L) a wifi module (RN-131G) and a 5V relay. This power supply is already regulated (as stated in the datasheet) and it is regulated further down to 3.3V for the micro and the wifi module using a linear regulator.

I am told that switched mode power supplies generate a lot of noise, and I am trying to use this with a microcontroller which will use the ADC. My questions are given below:
1. Does a switched mode power supply affect radio frequencies of 2.4GHz?
2. Will the supply abruptly switch off the power?
3. Will it effect the functionality of UART?
4. Will it effect an external oscillator?

Or any thing else I should know?

EDIT

My relay schematic
enter image description here

Best Answer

In general you can assume that as long as the ripple is not too bad on a supply then it shouldn't cause an issue for functionality of an IC. In this case the datasheet gives a ripple of 100mV peak-to-peak, BUT you seem to imply that you're taking this voltage and further regulating it down. Passing a signal with a relatively small ripple and putting it through a linear regulator like a 7803 or an LDO will significantly reduce the ripple and cut back on switching noise passed through to the final circuit. So a ripple which is less than 5% of the expected voltage like this, being passed through a second line of regulation, should be fine for 95% of projects, even one using analog components like an ADC. Just make sure to have input and output filtering capacitors on the linear regulator, and not too much (2200μF is the limit for the power supply you gave) (maybe 47uF and 4.7uF (or 220uF and 22uF if you want it really smooth)).

Because the ripple is so small this supply would probably be fine for digital operations if you were using a 5V compatible chip and you weren't doing Analog work, but I digress.

So looking at the datasheet you provided, the operating frequency of the power supply is 132kHz. The chances that the noise from that is going to manage to produce harmonics in the 2.4GHz spectrum is pretty limited, especially at such small power outputs. Where you really have to start worrying about generated EMI is when you have isolating switching supplies, because these will pass power through the magnetic field, and the interface leaks EMI on most supplies I've used. Generally the higher-power the switching power supply the more noise it generates. I've had a 100Watt isolating switching power supply which put so much noise out I had 30V of noise on the frame of my robot, but that's way beyond the scope of this. I think you'll be fine with your usage!

Hope that helps!