I've revised my project’s power scheme and would appreciate some input on the new plan. Here's what I'm thinking:
Arduino: Powered by a 9V battery.
MPU6050 Sensor & IR Module: Both will be powered from the Arduino’s 5V pin since they have minimal current/voltage requirements.
Servos & L298N Motor Driver: The servos and the motor driver (which will control 4 geared motors) will be powered by a separate 6AA battery pack.
My main questions are:
Is it safe and effective to power the sensors (MPU6050 & IR module) from the Arduino’s 5V pin in this configuration will it still power the Arduino or will it reset due to not enough power being supplied?
Are there any potential issues with using the 6AA battery pack for the servos and L298N driver (especially regarding voltage drop or current demands)?
Do you have any suggestions for ensuring proper grounding and avoiding interference between the two separate power sources?
I’d really appreciate any wiring tips, potential pitfalls to watch out for, or alternative suggestions if necessary.
6AA alkalines make 9V. Sounds high for servo. Also L298N has a voltage drop ~2V. Is 7V good for your motors.
What's the current draw of your motors and servos?
The servo draws around 100-250 mA under light to moderate load and for the motors, it's like under light load it's 300mA-500mA.
Also, what do you mean by both GNDs are connected at one point like, I understand that the l298N has to have a common ground with the Arduino but does the battery also have a common ground with the Arduino?
The only way to know if it is safe to power those two sensors is for you to post links to the datasheets.
I would swap the L298 driver (toaster) for a modern MOSFET type, like the TB6612FNG.
Connect ALL grounds at a common point.
So you mean that 4AA would solve all of the problems for the servo and motor with good wiring and what do you think like will the two other components like the IR receiver and the MPU6050 will operate perfectly from the 5V output pin from the Arduino without the Arduino resetting?
Also the thing with buying TBB6612FNG is that it would make my budget go way up cause for the competition I need to be within the budget of $100, will alternatives like L298D work fine?
I don't know how many servos you have.
And if you use L298, the motors are getting only 4V (rated 3-6V). TB6612 would be much better. They are available for few dollars.
Also, use premium quality batteries.
Your MPU and IR are ok powered from arduino, but you need to verify the correct voltage of MPU. Your link opens IR receiver.
MEMS 3-axis accelerometer and 3-axis gyroscope values combined
Power Supply: 3-5V
Communication: I2C protocol
Built-in 16-bit ADC provides high accuracy
Built-in DMP provides high computational power
It can be used to interface with other IIC devices like magnetometer
Configurable IIC Address
In-built Temperature sensor