I'm working on a project about a self-stirring robot with sensors to avoid walls.
This project is composed by one Raspberry responsible for all the algorithms, one Arduino to deal with the sensor and the motors, one sensor to measure the distance in front of the car and two motors to make the car walk though the environment.
I need to place everything correctly in such a way that the car moves freely without wires connected to it for not much than 1-2 hours.
What I'm actually doing is powering up the Raspberry with his micro-usb wire then connecting the Arduino to the Raspberry USB port and then connecting the rest to the Arduino power source.
Obviously the Arduino isn't providing the necessary power for the two motors and the sensor although when I was searching I read that the motors need an independent power source because of network distortion they make...
So what kind of battery configuration circuit will I need to keep all this up? Maybe a 12V lithium battery?
Information I've collected about the power needed in:
- 1 Raspberry (3): Works with 5V/2A
- 1 Arduino (Uno): Works with 7-12V
- 1 Sensor (HC-SR04): Works with 5V (normally from Arduino)
- 2 motors (28BYJ-48 with driver ULN2003): Works with 5-12V