Random reboot MCU

Thread Starter

FroceMaster

Joined Jan 28, 2012
630
Have this setup,
And have these randoms reboots,
Could be 2 weeks or even just 2 hours between.
Have a feeling that it is do to the powersupply,
Powersupply is a outlet from 220v to 5v USB where i have just taken the GND and 5v.
When i turn on some lamps or other thing in the house it could reset.
Should i put in some caps or ???
and where. ?
 

Attachments

nerdegutta

Joined Dec 15, 2009
2,676
Have you tried, just for the fun of it, power it from a PC's USB port? And then turn light on/off.

I agree with @spinnaker that you need some caps.

How much mA does your powersupply give?
 

nerdegutta

Joined Dec 15, 2009
2,676
When I make powersupplies for microcontrollers, I'm using a LM7805 or LM78L05 regulator with a 0.1uF ceramic and 100uF electrolytic cap on both input and output. Close to the powerpin on the microcontroller, I put a 0.1uF ceramic.
 

nerdegutta

Joined Dec 15, 2009
2,676
If you have an oscilloscope, you could probably measure the USB supply when you turn lights off/on. I don't know if you'd get a reading with a DMM.
 
Top