I’m building my first robot and I’m looking for some help with my design, specifically selecting power and motors since those seem like items I don’t want to screw up. My microcontroller will be a Raspberry Pi (5V 1A). My robot is going to be a 25lb (worst case) line following robot that will carry a laptop USB connected to the Raspberry Pi. It will follow a turning track that I expect to be about a 200m loop. Speed is not a priority as the robot will be making a dozen or so stops along the track for 2-5 minutes at a time to take some readings and measurements. So if I traverse the track in an hour or two I will be fine as long as I can do it on a single charge. I’m anticipating tires of probably 4" or maybe 6" lawnmower wheels but I’m not very sure about that yet. The floor is linoleum tile. My peripherals will be a light/color sensor, two distance sensors and potentially a stepper motor in the future.
Based on some research it looks like I will want to use two 12V geared DC motors with a motor controller board and a 12V to 5V power distribution control board. Using the drive motor sizing tool on this website I came up with a required torque of ~16 ozf in (my inputs: 25lb, 2 motors, 12V, 2m/s, 0.2m/s2, 2 hour run-time, 2.5" wheel radius). Does that sound reasonable and does anyone have any suggestions for reliable motors and motor controller they would recommend? What would be the best way to power this? A bank of D batteries or maybe a 12V lead acid battery? Is 12V my best option?
Other questions I have:
Would a design of 2 rear motor driven wheels and 2 front casters work for my robot or will 2 front casters cause me problems?
Do I need an encoder in my motors?
Do I need a PWM pin on my microcontroller for each DC motor I want to control?
I appreciate any help,
Larry