two wheel cart balancing-battery connection

The controller Input power voltage is 24 VDC±10%.
The motor controller came wit the motor itself
using arduino deumilanove as the micro controller