Space Module is a 100x100x100 mm cube, which is regular and compactness. Each module has four connection surfaces and one degree of freedom, which can be used to form different robot configurations with different functions. Docking method adopts electropermanent magnet, which can be used for posture judgment and communication. 70 N attachment force can be maintained. Each module has a lithium-ion polymer battery, a micro-controller and a 2.4GHz NRF24L01 transceiver module unit. The cluster of modules is controlled by a central computer running a Python program that sends serial commands to control the degrees of freedom, magnet on/off and communication of each module. The wireless network is provided by a wireless serial port with a range of about 20m, allowing high-speed communication between the modules and the host computer. In addition, each module has infrared sensor and IMU to measure distance and feedback acceleration.