Friends,
It's been a while! I have come a long way since I started, and now that I am onto more complicated projects, I have a question that I hope you can help with.
I created a cat tower for... well my cat.
It is running off of an Arduino Micro with the following components.
USB powered water fountain that is hooked up to a 5v relay.
A laser Pointer that is around 2.5 Vs (about 2 grams)
Two Tower pro servo SG90s (the are connected to make a X Y arm for the laser pointer, so the load must be small)
HC-SR04 Ultrasonic Distance Sensor Module
The Water Pump's USB is connect to a wall adapter,everything else is powered by 4 AA batteries.
As you could already guess, this is not enough power. The result is the Ultrasonic sensor is giving wrong data, and the relay is tripping endlessly. However, if I plug the USB cable into the Arduino while the batteries are also plugged in, everything works fine.
So finally to get to my questions, does having the USB plugged into the Arduino while also having the batteries plugged in mean I am giving the circuit more power?
What is the best way to determine the power needed for a project? Is it, to get the specs for everything and just add up the voltage? (I know very little about power needs and consumption, as you can tell with my 4 AA battery fail)
Thank's for all your help! ![]()