measuring the current of the Dc motor

MarkT:
The ACS712 30A current sensor will not be useful for measuring small currents (the L293D can only
handle small currents).

For small currents a simple shunt resistor in the ground-return from the motor driver is all you need
to measure current.

ok thank you so much