If the driver card is rated for the power and current and voltage of the
motor, with margins. What are the motor ratings ?
What card are you contemplating ?
To measure RPM you would use an optocoupler to allow Arduino to
count, over a time interval, shaft rotations :
Arduino varies speed of DC Motor using PWM and measures its RPM using optical sensor and displays them on LCD
projecthub.arduino.cc
If motor is 380V I am guessing significant currents involved, which will make
routing these currents such that they do not affect Arduino operation will be
challenging. Bypassing crucial, as well as terminating inputs to Arduino so'
they do not experience crosstalk/coupling of motor noise.... Consult the folks
doing robots, they have dealt with this problem extensively.
And of course significant safety issues you need to address due to high voltages
involved.
Regards, Dana.