Go Down

Topic: Power (Read 3011 times) previous topic - next topic

FishArduino

Hello All.

As some of you might know, I am building/Have built an Arduino reef controller. Everything is flawless EXCEPT (why is there always an except....) that when I run the full thing, with load on the Futurlec Opto-Four relay switched outlets, and a 20 x 4 Backlight LCD, my LCD goes wacko. Originally I had the Arduino running off a 10V 250 ma transformer (Measured loaded voltage with a multimeter), and every single time I powered up the relay boards the LCD would get screwed up. Thinking it was a power supply issue, I switched to a 10v .5 Amp transformer. Now it does it slightly less, but it is still common. USB power is about equivalent to the 500 mA supply. Do I need to use a 1 amp supply, or should I drive the LCD with a second transformer, or something else? If at all possible, I would GREATLY prefer not to use a seperate transformer for the LCD.

FishArduino

Also, If i need a bigger supply, any ideas where to get one??

I saw a 12v 5 amp supply on adafruit here http://www.adafruit.com/products/352, but the 12V worries me.

FishArduino

Sorry, I should have been clearer. The Opto-Fours are powered by a separate, 12 V transformer. The Arduino, 5 Pushbuttons, a 20 x 4 White / Blue Backlit LCD, and whatever current it takes to switch the transistors in the Opto-four are being provided by the second power supply, which plugs into the Arduino's voltage reg. I say 12v scares me because it is towards the top of the acceptable range for the Arduino's reg.

Basically, if the 12v supply powering the optos is off, everything works, but when I plug in that transformer, the LCD gets screwed up.

mmcp42

a circuit diagram would be handy

are you using smoothing/decoupling capacitors?
there are only 10 types of people
them that understands binary
and them that doesn't

FishArduino

http://www.flickr.com/photos/58035235@N02/5573548577/

Are decouplers even necessary when the 12v is isolated by opto-isolators?

FishArduino

The boards ( i have 2) are just directly hooked up to the Arduino for data and 5v; the 12v, as I said, is supplied by a separate transformer.

mmcp42

hmm can't actually read the words on the circuit
decoupling capacitors would remove any random noise you are picking up
there are only 10 types of people
them that understands binary
and them that doesn't

FishArduino

I read the article/page, and since the only "official"  ICs I am using, outside of the Arduino itself, are in the LCD, I assume I need to decouple the LCD logic power supply, correct? And would the "usual" 47 uF and .01 uF caps work? If not, how would I determine the correct cap sizes? The equation he gives is all well and good but how do I apply it?

floresta

Quote
... the LCD gets screwed up.

Could you be a bit more specific?

Don

FishArduino

The text becomes extremely dim (backlight stays perfectly lit) and is random characters and  numbers.

FishArduino

I have a NKC electronics MegaProtoShield. The LCD is wired up exactly per Adafruit's LCD tutorial, 5V and GND going to their respective buses on the shield. All other 5v and GND is wired to these buses as well.

FishArduino

A month later...............

It's FIXED!!!

How, you might ask?

I routed the data line from the relay boards to the microprocessor right past a transformer. Re-routed, added a 100 uF cap on main arduino 5v supply, and a 33uF and .1 uF on the LCD power itself, all problems fixed.

Thanks!

floresta

Quote
I routed the data line from the relay boards to the microprocessor right past a transformer.

Which is precisely what KE7GKP was getting at when he said "Sorry, verbal descriptions are NEVER going to cut it for this kind of question. It is a matter of PHYSICALLY how things are wired together. How big the wires are, exactly how they are connected, what goes where, etc."

Don

FishArduino

Revision. Fixed with a light load, if more than ~1 amp is pulled from the strip, no go. Also pumps screw it up.

Thus:

Pictures  :) :) :) :) :)

http://www.flickr.com/photos/58035235@N02/5967831575/in/photostream/
(Just click your way through the photostream to see all the pics of the strip. Last one is a schematic of the Relay Boards themselves.)
I know the issue is that I am running a data line next to a power line, but the question is how do I fix it?

Would this shielded wrapped flat work?

http://www.mouser.com/ProductDetail/3M-Electronic-Solutions-Division/3659-10-CUT-LENGTH/?qs=sGAEpiMZZMsJiFh04Lj2rhlO6VJHoBHcsjsxNUrSjEE%3d

FishArduino

Sorry if there was some confusion. The decoupling problem in the arduino is fixed. I am now asking how to route the ribbon cable through the power strip, and what cable to use. The pictures are of the power strip, which I believe is the pertinent part.

Go Up