add configurable serial port interface,use the native serialport function to communicate with arduino board