Controlling an array of 64 small motors

If each motor should have an ID number, then you would need some logic (an arduino or maybee something simpler) with each motor, because the motor itself of course can not understand anything but current running through it.

So you could create 64 small controllers with a driver circuit for the motor (H bridge ) and a minimal Arduino . Hook them all up on a RS485 bus. Have a central master that controls all the small controllers.

Just remember that 64 motors create a lot of electronic noise that can cause problemes for communication, and you would still need wiring to all the controllers and motors (the RS485 "bus" and power).

Another problem is that you need motors that can actually move 5 Kg, they need quite a lot of power, and are not cheap.