I want to create a 4 mecanum-wheeled robot that can follow code and move in a series of directions autonomously (forward, backward, side to side). The movements have to be very precise, and I have a couple concerns about the hardware.
The robot needs to be powered with 6 1.5v AA batteries, totaling to 9v. would it be possible to power an arduino uno, 2 L298N drivers, and 4 6v motors?
Are there any part recommendations for precise motors or better drivers?
I also want to include a button or sensor to initiate a program of instructions for movement. Is that possible?
Will I need a buck converter? Or any other hardware/wires?
Can you please tell us your electronics, programming, arduino, hardware experience?
How do you mean "autonomously"?
Or do you mean by remote control?
Autonomously means on its own, which means you will need sensors on the robot so the robot can detect and react to its surroundings, like avoid objects.
I have fluent understanding in programming, mainly c++ and python, bit of experience in electronics and hardware.
By autonomously, i mean I want the robot to move for example, 20 inches left and then 5 inches right, all on its own, from simply running the program. I don't want to remote control the robot.
I dont want sensors for the robot, so the vehicle will be running blind.
Is the precise the vehicle or the motor rotation? Put some numbers on the precise. How often will your program make the decision about what to move and hoe far to move it? Will any motion be repetitious? Meaning it will make the identical movement some number of time before doing the next thing.
Mecanum wheels are not precise. They "slip" to move, relying on low friction and rotating treads (beads). You will want to make a lot of measurements to get better results.
L298N is not a good choice, there is, for example, TB6612. As already written, if you want to get an accuracy of less than an inch, then this is a problem, I think a stepper motor is the maximum accuracy in your case, if you need accuracy within three meters, then you can use a GPS / GLONASS module, and writing the program forward and left will be simple.