Control the current flow between a BLDC motor, a battery and a charger
Hello,
what components do I need in order to control programmatically the current flow between a BLDC motor, a battery and a charger?
The motor is a BLDC hoverboard motor 36V 4.4A and the battery is 36V 5A.
please see image: