Author Topic: Help with power interference?  (Read 2528 times)

0 Members and 1 Guest are viewing this topic.

Offline tribble222Topic starter

  • Newbie
  • Posts: 8
  • Country: us
Help with power interference?
« on: November 29, 2011, 09:37:23 pm »
Sorry if this is a very beginner question, but I can't figure this one out.   :-\

I've built a device that plugs into the wall outlet and uses the Recom RAC04-05SA (http://www.recom-international.com/pdf/Powerline-AC-DC/RAC04-SA.pdf) to power an atmega328p chip that drives an LCD.

Everything works fine unless I have it plugged into the same outlet as my mini-fridge. As soon as the mini fridge starts up my LCD becomes all garbled and never recovers until I turn my device off and back on.

I assume there's some kind of power supply problem with surges or voltage dips or something. Any idea how I can fix this? I have it set up just like the bottom of page 2 in the datasheet. I tried adding the optional capacitors they show in the datasheet but it is still having the same problem.

Thanks in advance  :)
 

Offline amspire

  • Super Contributor
  • ***
  • Posts: 3802
  • Country: au
Re: Help with power interference?
« Reply #1 on: November 29, 2011, 10:30:39 pm »
First thing I would try a much bigger electrolytic capacitor across the output.  It looks like that supply can handle up to 8000uF, but something like 1000 or 2000uF should be fine. The capacitor can be any voltage rating as long as it is above 5V.

Normally, the 47uF should be fine.

Richard
 

Online Psi

  • Super Contributor
  • ***
  • Posts: 10107
  • Country: nz
Re: Help with power interference?
« Reply #2 on: November 30, 2011, 12:17:21 am »
yeah, fridges (or anything with a motor) are really bad on the power when they start.

I agree with amspire, try a bigger output cap.

Also make sure you have a dedicated 0.1uF cap for your micro and your lcd controller power channels (and any other ICs you have) mounted next to the power pins of the IC. It could be that the LCD controller is crashing from the power glitch, might not be the mcu at all.
« Last Edit: November 30, 2011, 12:19:38 am by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 

Online IanB

  • Super Contributor
  • ***
  • Posts: 12019
  • Country: us
Re: Help with power interference?
« Reply #3 on: November 30, 2011, 12:27:54 am »
What about some input filtering like a ferrite bead on the mains lead?
 

Offline tribble222Topic starter

  • Newbie
  • Posts: 8
  • Country: us
Re: Help with power interference?
« Reply #4 on: December 04, 2011, 09:43:02 pm »
A bigger capacitor did the trick! Thanks!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf