I'm trying to make a simple car robot. It has a shield where i plug a 11.8V battery in and it'll power the Arduino through the VIN pin after going through a 7805 regulator. However should i just use the 5V from the regulator to power my L298N or should i use the 5V pin of the arduino to power it instead? The motor that im using also is quite hefty. Attached is the description of the motor.
Use a better motor driver module. The L298 consumes about 4V, so that less than 8V remain for your "hefty" 12V motor. Then check again the power consumption of the new board.
TraceL:
I'm trying to make a simple car robot. It has a shield where i plug a 11.8V battery in and it'll power the Arduino through the VIN pin after going through a 7805 regulator.
This sounds all wrong to start with.
The Vin connection needs a voltage in the range 6v to 20v and the the recommended range is 7v to 12v. If you are using a 7805 regulator then its output should go to the Arduino's 5v pin.
It's not clear if by "power my L298N" you mean power for the motor or power for the electronics on the L298N. Power for the motor should come directly from the 11.8v battery. If the L298N also needs a 5v connection then that should come from the 7805.
...R
Robin2:
This sounds all wrong to start with.The Vin connection needs a voltage in the range 6v to 20v and the the recommended range is 7v to 12v. If you are using a 7805 regulator then its output should go to the Arduino's 5v pin.
It's not clear if by "power my L298N" you mean power for the motor or power for the electronics on the L298N. Power for the motor should come directly from the 11.8v battery. If the L298N also needs a 5v connection then that should come from the 7805.
...R
I meant power L298N's logic circuits. And thank you for the advice.
DrDiettrich:
Use a better motor driver module. The L298 consumes about 4V, so that less than 8V remain for your "hefty" 12V motor. Then check again the power consumption of the new board.
Thank you for the advice.