how to connect ardupilot on NodeMcu Esp-8266 12E

NodeMCU has serial I/O on board, the TX and RX pins (aka D9 and D10). For specific commands, you have to check the Ardupilot documentation.