I started working with Arduino's about a month ago, and decided to do my first big project.
So I wanted to make an automatic alcohol dispenser using one of those cheap IR sensors and an Arduino Pro Micro.
I've already written the code, and I'm waiting for the parts, but I wanted some advice on what should I use to power the whole thing.
Since both the relay and the water pump are 5v, I think I can use an USB charger capable of supplying 1.50 amps.
I'm wondering if I can power the Arduino, the relay and the pump all from the same charger, by just striping the wires, and connecting them to all of the inputs. Will this work or will it cause any problems?