Power supply problems for my project Answered
Hi everyone. I'm stuck with power supply problems in my project. My project is a drink dispenser (cocktail machine) with water level indicators. I was thinking of putting 4 water pumps connected to relay modules, controlled by Arduino or microcontroller (something like attiny). The microcontroller would receive a command with 2 push buttons (tasters) and depending on the button pressed, it would combine 2 liquids from 2 tanks into one glass. Now, the code isn't a problem. I need to add a liquid level indicator to the circuit (4 indicator circuits for 4 liquid tanks). Now, the pump I was thinking of buying is rated 5V and the current draw is about 150-250 mA. Attiny2313 operates on 2.7V-5.5V. I found the water level indicator circuit also rated 5V ("https://www.electronicshub.org/water-level-alarm-using-555-timer/" but I was thinking about the one without 555 timer). Now, my question is, what is the best way to power all these components. I was thinking about getting a 220V to 5V 2A PSU adapter ("https://www.ebay.com/itm/AC-110V-220V-TO-DC-5V-12V-24V-Switch-Power-Supply-Driver-Adapter-LED-Strip-Light/152134115704?hash=item236be66178:m:mnohYz4NZlT_Dq5l5lWNUMg:rk:1:pf:0"). Will that be enough and will it destroy any of my components. Thanks in advance!