What power supply can I use for my Arduino project?

I am creating a touchless soap dispenser with the use of an Arduino Uno and a PCB. Below is a list of components I am using (some of the components are to fulfill required specifications)

  • 2 12V Pumps
  • 2 Infrared Sensors
  • 4 Solenoid Valves
  • 1 Accelerometer
  • 1 HC-05 Bluetooth Module
  • 1 Piezo Speaker
  • 1 RBG LED
  1. Is one Arduino Uno microcontroller enough for all components?

  2. What power supply would be sufficient enough for this? Is it possible to use a battery?

What are the current requirements of the different components ?

Show us a good schematic of your circuit.
Show us a good image of your ‘actual’ wiring.
Give links to components.

1 Like

How much current do the pumps require (stall current of the motors)?
What is the voltage and current of the solenoid valves?

You will need drivers for the pumps and solenoids. Those can be simple MOSFET drivers.

Maybe. Can't tell without more complete details on the parts.
pumps and solenoid valves >>>> 1 pin each. Do the pumps need PWM?
Accelerometer >>>> 1, 2 or 3 axis? Analog, I2C, ... ?
HC05 >>>>>> 2 pins for software serial (at least for development).
speaker >>>>> 1 pin
RGB LED >>>> can't say how many pins. Could be 1 or 3.

1 Like

What's the accelerometer for?

What are the demands on the dispenser? Just bought and installed a 10 USD dispenser from Banggood....

Of course it is!

Good question. A "tilt" warning?

Generally simpler and cheaper.

Now I come to think of it ...

Two different lots of soap? Does it discriminate between men and women?

Or between black and white.......

Oooh! Didn't think of that! :astonished:

I do not have any schematics put together, I am very new to electronics and am not sure how to get started on the wiring for it.

Components:

  • 2 pumps: 12V, 350mA, 4.8W
    Amazon.com

  • 2 IR Sensors: 5V, about 60μA
    Amazon.com

  • 4 Solenoid Valves: 12V, I believe 320mA

  • 1 Accelerometer: 1.8V, 350μA

  • 1 Voice Module (this instead of Bluetooth module): 4.5-5.5V, <40mA

  • 1 Piezo Speaker: I am not sure yet on this either...

I do not have any schematics put together, I am very new to electronics and am not sure how to get started on the wiring for it.

Components:

Haha, different portion sizes.

By all means, start to draw a wiring diagram. Don't make any connections until You know where, what and how to connect things.
Else You, in the lucky case, end up with a totally dead creation. In the worst case You'll se smoke coming, maybe even call the firebrigade.

Surely there's a way to run a single pump longer or shorter to vary the dosage.

May I ask - is this a school or college assignment?

These are fountain pumps, entirely unsuitable for dispensing. if you think the valves will control this, you will be sorely disappointed.

Also, they say "not for corrosive liquids". I venture to say that most soaps are somewhat corrosive.

For metering pumps, you need either piston or "peristaltic" pumps.

Thank you for the information, Paul. I will look into peristaltic pumps and replace with what I have now.

Say I had 2 12V, 300/400 mA peristaltic pumps and 4 12V, 320mA solenoid valves, along with the other components I have listed. What power supply is feasible for these components?

I'm aware one pump can do that, but the second pump is for a different requirement.

Don't you just love secret projects?

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.