Powersupply setup with sensors, relays and perlistatic pumps

I'm asking for some advice. What kind of power supply setup would you guys suggest for me. It needs to power atmgea328p, two 12v perlistatic pumps trough relays, ph-sensor and nokia5110lcd screen.
Currently with one 12v-2a power supply this system works but has some problems: adc value from ph-sensor has some fluctuation, lm7805 voltage regulator get pretty hot and (sometimes) my program seems to start restaring itself after power off - power on cycle. Seems like there is some sudden voltage drop when relays power up. I have added some capacitors but it didn't fully fix my issue. Whit two power supplies, one for atmega328 and one for pumps and relays this system works fine and adc value is stable.

Thanks for the tips and have a nice holidays!

Please post links to all the specs of all components, a schematic diagram and your code. This is all requested in the forum guide, which you should read before posting. The forum members cannot see into your house or your mind!

Hi
They still can't, but in the future.........! :grinning:

I hope you are NOT intending for continuous ph readings over more than a minute or so.
Pau

What were the answers on the other Forum? I saw a very similar question a short time back and a schematic and links were asked for.

Hi, @vaizq
Welcome to the forum.

Please read the post at the start of any forum , entitled "How to use this Forum".

This will help with advice on how to present your code and problems.

As previously asked, a schematic would be much appreciated.

Thanks.. Tom... :grinning: :+1: :coffee: :australia: