ATX power supply and microcontroller

Thread Starter

buzaiandras

Joined Jul 18, 2011
54
Hi,

I need to power a PIC microcontroller (PIC16F688) from an ATX power supply (SMPS) of a PC and I have some concerns about this.
How bad/good is to power a microcontroller from an SMPS power supply?
What effects will the ripple (+-5% ripple) have on the workings of the microcontroller? Unfortunately I can't use a linear regulator.
So I would like to find out more about how ripple affects the workings of the microcontroller.

Thank you,

Buzai
 

spinnaker

Joined Oct 29, 2009
7,830
Hi,

I need to power a PIC microcontroller (PIC16F688) from an ATX power supply (SMPS) of a PC and I have some concerns about this.
How bad/good is to power a microcontroller from an SMPS power supply?
What effects will the ripple (+-5% ripple) have on the workings of the microcontroller? Unfortunately I can't use a linear regulator.
So I would like to find out more about how ripple affects the workings of the microcontroller.

Thank you,

Buzai

Isn't that overkill? The PSU is capable of supplying far more current than the MCU will ever hope to use.
 

Thread Starter

buzaiandras

Joined Jul 18, 2011
54
The MCU will no be the only current consumer. It will be mounted inside a PC.
Anyway I would like to know how the ripple affects the MCUs in general.
Is it ok to power MCUs from SMPS power sources? Does the ripple cause the MCU to behave erratically? How exactly? Unfortunately I could not find much information about this on the internet.

Thank you,

Buzai
 

MrChips

Joined Oct 2, 2009
30,821
If the chips on a PC can handle the +5V supply from the ATX power supply then your MCU will be fine. Just make sure you have 0.1uF and 10uF capacitors across the power and ground lines.
 

Felo

Joined Feb 20, 2012
91
Yup, decoupling and stabilizing capacitors should be enough, I had some PIC's sucking power out of ATX's before, no problems so far.
 

debjit625

Joined Apr 17, 2010
790
ATX PSU are specially designed to work with standard digital components and mcu comes under them.ATX SMPS is totally perfect for microcontrollers, just use some capacitors greater than 10 mfd to filter it ,as when other sections of motherboard are switching it may cause a brown out reset of your mcu sometimes.

spinnaker said:
Isn't that overkill? The PSU is capable of supplying far more current than the MCU will ever hope to use
It doesn’t matters how much PSU can supply current ,it matters how much the load will consume at a particular voltage level, if the mcu is rated to work with 5VDC ,then you can use a power source of 5VDC with any amount of current ,of course it should be greater than the rated over all current of the mcu.

buzaiandras said:
Does the ripple cause the MCU to behave erratically?
For that it has already been said about filtering, MrChips said use a 10 mfd and 0.1mfd to filter it. If your mcu is consuming large current i.e.. its output pins are driving larger loads then use a capacitor greater than 10 mfd ,i normally use 100 to 220 mfd and remember try to put the 0.1 mfd capacitor close to the power pins of your mcu.

HaborsBarolyn said:
I would like to know how the ripple affects the MCUs in general.
It depends how much ripple you are talking about...normally with minor filtering ripples from an ATX PSU is acceptable for mcu stuffs.

Good Luck
 

Thread Starter

buzaiandras

Joined Jul 18, 2011
54
Thank you all for your replies.

It depends how much ripple you are talking about...normally with minor filtering ripples from an ATX PSU is acceptable for mcu stuffs.
The maximum ripple would be +-5% of the 5V line (it is a standard ATX PSU).
So the peak-to-peak maximum ripple should be 500mV, right?.

I've a query! What exactly are you planning to do? PIC inside your CPU?? Why?
Actually I am creating a hardware module to start/stop the PC (media center) from a SONY remote control.
So far I have done all the test with a regulated linear power supply and it is working properly. But before I install it inside the PC I needed to know if there are any problems running the MCU on a SMPS power supply.
Also I am interested about how a SMPS power supply affects the MCU behavior, for my general knowledge.

By the way: the IR receiver shouldn't be affected by the ripple, right? :) (filtered with capacitors).

Thank you,

Buzai
 

debjit625

Joined Apr 17, 2010
790
So the peak-to-peak maximum ripple should be 500mV, right?.
Right,250mV peak that gives us 500mV p-p

While considering the power supply, just remember that whatever power supply you use the voltage level of the power supply should be within the allowed voltage range of the mcu.Now for example my PIC18F4502 have a voltage range of -0.3V to +7.5V
so -/+ 500mV on 5V will not affect my mcu,yes it could create noise in the circuit so we can filter it with capacitors.

By the way: the IR receiver shouldn't be affected by the ripple, right? filtered with capacitors
Yes it will be not affected,even without filtering it will work if you are running it with an ATX PSU.

Good Luck
 
Top