1.Once hardware connection, Tuya module is connected to the MCU via serial port.
2. In terms of software functions, the MCU is responsible for parsing the data sent by the module, and controlling the corresponding peripherals, such as relays, motors, etc. through the commands sent by the module.