The button functions through microswitches and mechanical structures. When the elevator button is not pressed by the passenger, the elevator car command and floor call command lines are disconnected. At this time, the elevator background does not do any processing. When a passenger presses the button, the elevator car command and floor call command are in the channel state. At this time, the microswitch outputs the corresponding command to the elevator communication board, and the elevator background receives the corresponding command and outputs the corresponding command. Using the principle of elevator buttons, the intelligent machine connected elevator module, located on the car roof, parallels two unrelated dry contact normally open signal lines on the button on/off signal line. Then, a normally open relay is used to simulate a human button, with a on/off time of 1 second. The robot outputs corresponding floor commands to the IoT module through the cloud, and the IoT module outputs corresponding commands to the corresponding relay, achieving elevator riding, The principle is basically the same as that of passengers taking elevators, only providing on-off signals to microswitches.