I have to create a car-like robot that will use 4 motors, an arduino UNO, a motor driver (L293D), power supply, etc. So, this is my first time creating a project like this and i have several doubts, so im looking for some help:
I searched online for projects like this and they seem simple, but i dont want to damage any component because im on a limited budget.
My plan of connecting everything is as follows (remember this is a car-like robot):
1- Motor shield L293D goes on top of the Arduino UNO. I choose this driver because it can handle 4 motors.
2- The motors I choose are G12-N20 Geared Mini DC Motor. I choose this one because it offers the torque i need for this. The datasheet of this item shows this important information:
3- Power supply, i choose a 2x Li-ion 3.7V battery 7800 mAh.
4- Connect everything. Motors to motor driver, power supply to motor driver, connect jumper on motor driver so it powers up the arduino uno.
5- Mount everything of top of the chassis. Connect wheels to motors as well.
So, i have several questions regarding this project:
1- As far as i know, the L293D should be used with motors that have less than 600 mA of current consumption. The datasheet of the N20 Micromotor says that it has a stall current of 1A, wont this be a problem?
2- Connecting the power supply to the motor shield and connecting the jumper so it can power the arduino, it this the recommended way of doing it? or should i use a separate power supply for the arduino?
The L293 DC motor driver is ancient and inefficient technology. Its BJT darlington output stage will drop 2V to over 4V of the supply voltage, dissipating that power as heat. That means that that driver is less than ideal for battery powered projects. Modern MOSFET output drivers are much more efficirnt.
Yes, you're completely right. My partners and I thought that we can kind of use ultrasonic sensors to measure distance to a front wall (because the robot will go straight to a stair step and climb it) so if we measure distance with both sensors we could correct the path.
We didnt investige this much because its not a top priority aspect right now, but if you know a better approach im all ears.
Can You point into the datasheet showing that? It looks like the low voltage parts can use either motor power voltage or externa voltage. Conclusion: No 5 volt generated.
Do You think of a board containing the L293D, having more circuitry "doing things"?
What's the current situation? What works and what doesn't?
I think that i was confused about how the L293D and the Arduino are powered when they are togheter. I dont believe now that the L293D can output 5V to the arduino. If im using both i should use a separate power supply for each part.
The construction of the project has not started yet. We are in the Planning/Design part of the process, right before ordering the parts. Because we are completely new to this kind of projects we are using a lot of our time to investigate this topics first.
Using proper power for the controller, the controller can power the 5 volt circuitry via its 5 volt pin, or the strap on the driver fixes that.
Rather, the design is ongoing. Fully okey.
As stated by @ groundFungus that driver is a low cost, power wasting thing, scrapping 2 - 4 volt. This is unfavourable regarding battery operations.
To give motor the full voltage the power supply needs to be give some 2 - 4 volt higher then the motor voltage.